Register | Login | |||||
Main
| Memberlist
| Active users
| ACS
| Commons
| Calendar
| Online users Ranks | FAQ | Color Chart | Photo album | IRC Chat |
| |
1 user currently in Rom Hacking: |
Acmlm's Board - I2 Archive - Rom Hacking - Music ASM Hack Question | | | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
User | Post | ||
||bass Programmer Admin Level: 44 Posts: 306/817 EXP: 570813 For next: 40472 Since: 03-15-04 From: Salem, Connecticut Since last post: 26 days Last activity: 11 days |
| ||
If I threw some code together to take some spc data and just dump it straight into the SPC700 chip, would that actually work? | |||
Tweaker Red Paragoomba Level: 12 Posts: 10/57 EXP: 6490 For next: 1431 Since: 03-20-05 From: Rochester, NY Since last post: 25 days Last activity: 13 days |
| ||
I don't know much about the SNES hardware, but I believe that as long as your code was written to interpret the SPC music format, it should work. Think of it as an SPC player ported to the SNES. It should work if you do that. | |||
blackhole89 LOLSEALS Moderator of ROM hacking EmuNET IRC network admin Head GM of TwilightRO Level: 47 Posts: 639/971 EXP: 739208 For next: 26995 Since: 03-15-04 From: Dresden/Germany Since last post: 14 hours Last activity: 12 hours |
| ||
I don't think it would be as easy, since you can't make the boot code of the SPC write to hardware registers like the program counter, thus being unable to restore the exact state an SPC dump conserves. Then again, I might be wrong... I never actually thought about that myself, to be honest. | |||
Dish Spiny Level: 38 Posts: 332/596 EXP: 355646 For next: 14801 Since: 03-15-04 From: Disch Since last post: 18 days Last activity: 18 days |
| ||
Originally posted by ||bass I'm no expert on the subject of SPCs, but I'd imagine that'd work just fine -- and in fact, that's exactly what most games probably do. AFAIK the SPC has its own seperate processor, so if you feed it an executable and get it up and running, the music will play itself. |
|||
Geiger Buster Beetle Level: 34 Posts: 351/460 EXP: 241080 For next: 12571 Since: 03-15-04 From: Indianapolis, IN, USA Since last post: 6 hours Last activity: 6 hours |
| ||
Yes, but there is some chip setup involved. If there were not, then you could just stuff the music data from any game in any ROM and have it work wonderfully. Most games are not compatible, and many of the ones that are have single-direction compatibility or only partial compatibility. ---T.Geiger |
|||
d4s Panser Level: 29 Posts: 165/325 EXP: 142151 For next: 5734 Since: 03-23-04 Since last post: 13 days Last activity: 1 day |
| ||
Originally posted by ||bass please be more specific. do you want to play back an *.spc file ripped from a game(aka a dump of a running song) or do you want to execute your own code on the spc700? playing back an *.spc file on the snes is very well possible, theres a tool out there that will make a smc rom out of spcs, spc2rom, get it here: http://www.alpha-ii.com/Download/SPC2R110.rar it will upload the spc file to the spc700s ram, then set all registers (well, at least the writeable ones). putting a random spc file into another existing snes game is very difficult though and a totally different story. the problem here is that the spc700 is totally independent from the 65816 and can only be accessed through 4 8bit ports. that means the 65816 cant write to its ram directly, reset it or receive some sort of irq from it (the spc can generate an irq, but its not connected physically). In other words: theres no generic way to control or stop the spc700 once you upload a program to it and start execution. at the _very_ least, you'd have to hack every *.spc file you want to use to include a reset handler that mutes the dsp, reenables the ipl rom and jumps to it at $ffc0. to execute code on the spc700, youd have to upload data to it using a simple protocol thats automatically executed when the chip recovers from reset. byuus spc disassembler is quite useful for reverse-engineering stuff. i use wla dx to compile code for the spc700. |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
Acmlm's Board - I2 Archive - Rom Hacking - Music ASM Hack Question | | | |