#81435 - Dwedit - Sat Apr 29, 2006 4:11 am
Is there a way to check whether the GBC Mode button is pressed or not? I noticed that you can press that button, and the GBA won't reboot or anything.
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."
#81439 - tepples - Sat Apr 29, 2006 4:40 am
Make a quick program that reads *(vu16 *)0x04000204 (WSCNT or WAITCNT or whatever your header calls it) every frame and prints it in binary. Watch the numbers as you press the switch in and out on your GBA or GBA SP.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#81635 - Dan2552 - Sun Apr 30, 2006 7:48 pm
What GBC mode button?
#81662 - tepples - Mon May 01, 2006 12:25 am
Look inside your GBA, GBA SP, or GameCube Game Boy Player. On one side of the cart edge, there should be a switch that senses whether the cart has an indentation (for GBA) or no indentation (for GBC). The Game Boy micro, Nintendo DS, and Nintendo DS lite do not have this switch because they are not compatible with Game Boy Color games.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#90389 - dantheman - Fri Jun 30, 2006 2:23 am
Wow, that's pretty interesting. I had wondered how it could tell the difference between a GBC cart and a GBA one.
Oh, and Dwedit, you can press the button without the GBA rebooting, but if you actually insert a GB(C) cartridge into the slot, it will reboot into GBC mode. I actually have managed to insert a GBC cartridge while the GBA bios loads without it rebooting into GBC mode, although it's very rare that it works, and the system just hangs at that screen. My linker software locks up at that point, and I have been unable to use this trick to obtain the saves off my now-dead Azure Dreams GBC cartridge.
EDIT: erm, sorry about the gravedig. I didn't realize that the topic was that old.