#76307 - HyperHacker - Mon Mar 20, 2006 12:20 pm
I was hoping to build a GBC flash cart, but apparently I don't have the resources (read: any sort of wire that's spaced properly to solder to a cart connector), so I'm moving to plan B. I have a GB Mega Memory Card, which is a passthrough device that backs up game saves; you put the cartridge in it, and put it in the GBC. I figure if I can dump its ROM, I can figure out how to write to it, and replace its firmware with a small program of my own.
Of course, to dump the ROM or upload a new one, I need some way to read/write the cart. I don't have any spare Game Boys around that I can rip connectors out of, so I figure my best chance is to get my own code running on something else that can read and write the cart. I've come up with a number of ideas, but I'm not sure if any will work. Can anyone tell me if I should try any of these?
1) Make a GBA multiboot cable, and have a GBA ROM read the cart. Probably easiest (as I can code for DS, so I imagine I could learn GBA pretty quick), but can a GBA multiboot app access the GBC cart, or will it just switch into GBC mode as soon as I put it in?
[edit] I realized I could load multiboot apps off my GBAMP, so I fiddled with that a bit. They all don't seem to mind the cart being removed, but don't like a GBC cart being inserted. (PocketNES blanks out, Goomba blanks out and plays the GBC boot sound O_o and Tetanus on Drugs freezes with a lot of weird sounds.) GBATek mentions a Game Pak Interrupt that triggers when removing the cartridge, wonder if that might be the cause?
2) Use my N64. I have a Gameshark Pro, which can link to a PC to transfer things in and out of RAM, so I could upload a program into some game's memory. (There's a GB emulator that does this.) I also have the GB Transfer Pak, which lets N64 games access GBC carts. Only thing is I have very little N64 coding experience. (I made some simple ASM hacks for various games, like an item select hack for Mario Kart, that's about it.) Is there any documentation on how to use the Transfer Pak, or would I be wasting my time?
3) Use my SNES. I know that GBC games running on SuperGB can upload and run SNES code. Maybe if I had a program running on the SNES, I could stick the SGB in and read the cart there? SNES carts are much bigger, so I could probably build a flash cart for it. But to do this I would have to load my program into RAM, then swap the flash cart for the SGB. Can this be done, or would it go blooie as soon as I pull the cart out?
4) Use my Gamecube. Upload some code via PSO exploit, and access the cart through GB Player. Thing is I'm not sure if GCN apps can access the cart, and I'd want to be 100% sure before I spend the money on PSO and a BBA.
[edit] Another idea; maybe if I had some simple GBC code running on the GBA, it could talk to the GCN via controller port link? I can upload GBC code into games' memory via memory editor on Codebreaker (a cheat device), but it's tedious since I have to write every byte in by hand... not a good way to do it!
Any feedback would be appreciated. :-)
Of course, to dump the ROM or upload a new one, I need some way to read/write the cart. I don't have any spare Game Boys around that I can rip connectors out of, so I figure my best chance is to get my own code running on something else that can read and write the cart. I've come up with a number of ideas, but I'm not sure if any will work. Can anyone tell me if I should try any of these?
1) Make a GBA multiboot cable, and have a GBA ROM read the cart. Probably easiest (as I can code for DS, so I imagine I could learn GBA pretty quick), but can a GBA multiboot app access the GBC cart, or will it just switch into GBC mode as soon as I put it in?
[edit] I realized I could load multiboot apps off my GBAMP, so I fiddled with that a bit. They all don't seem to mind the cart being removed, but don't like a GBC cart being inserted. (PocketNES blanks out, Goomba blanks out and plays the GBC boot sound O_o and Tetanus on Drugs freezes with a lot of weird sounds.) GBATek mentions a Game Pak Interrupt that triggers when removing the cartridge, wonder if that might be the cause?
2) Use my N64. I have a Gameshark Pro, which can link to a PC to transfer things in and out of RAM, so I could upload a program into some game's memory. (There's a GB emulator that does this.) I also have the GB Transfer Pak, which lets N64 games access GBC carts. Only thing is I have very little N64 coding experience. (I made some simple ASM hacks for various games, like an item select hack for Mario Kart, that's about it.) Is there any documentation on how to use the Transfer Pak, or would I be wasting my time?
3) Use my SNES. I know that GBC games running on SuperGB can upload and run SNES code. Maybe if I had a program running on the SNES, I could stick the SGB in and read the cart there? SNES carts are much bigger, so I could probably build a flash cart for it. But to do this I would have to load my program into RAM, then swap the flash cart for the SGB. Can this be done, or would it go blooie as soon as I pull the cart out?
4) Use my Gamecube. Upload some code via PSO exploit, and access the cart through GB Player. Thing is I'm not sure if GCN apps can access the cart, and I'd want to be 100% sure before I spend the money on PSO and a BBA.
[edit] Another idea; maybe if I had some simple GBC code running on the GBA, it could talk to the GCN via controller port link? I can upload GBC code into games' memory via memory editor on Codebreaker (a cheat device), but it's tedious since I have to write every byte in by hand... not a good way to do it!
Any feedback would be appreciated. :-)