Detecting Gameboy Advance?

Discussion of programming and development for the original Game Boy and Game Boy Color.
Post Reply
strat
Posts: 409
Joined: Mon Apr 07, 2008 6:08 pm
Location: Missouri

Detecting Gameboy Advance?

Post by strat »

Any idea how the Zelda Oracle games know if they're running on GBA? A GBA game can detect NDS by using the bios checksum software interrupt, but the Gameboy/GBC doesn't have software interrupts. Maybe they added a new IO area to the GBC hardware inside the GBA just for that purpose.
User avatar
lai
Posts: 4
Joined: Sat Jan 31, 2009 6:25 pm

Post by lai »

They check if bit 0 of register B is set on startup. If it is, then it's on GBA.
User avatar
Dwedit
Posts: 4924
Joined: Fri Nov 19, 2004 7:35 pm
Contact:

Post by Dwedit »

They also "brighten" the screen colors, making everything faded and white, and horrible looking on a GBA-SP, in order to compensate for the original GBA's terrible screen.
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!
Post Reply