gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Coding > Emulator compatibility

#1583 - TrisOver - Mon Jan 20, 2003 2:47 pm

If my code works on a GBA Emulator (VisualBoy Advance PC), can I be sure that it will work on GBA without bugs (perhaps synchro/speed problems; but no alloc problems, no VRAM or OAM bugs, ...).
Can I develop a game without regular real GBA tests ?

#1588 - ampz - Mon Jan 20, 2003 4:18 pm

It would be wise to try it out on a GBA once in a while... It looks very different on hardware compared to the emulators... Also, emulators are not perfect...
I hardcoded my colisionmap to EXTRAM... Worked perfectly in many emulators, didn't work at all on hardware... Found out that I missed one zero in the EXTRAM adress, so my colisionmap was actually written right over the BIOS area. Some emulators accept that, the hardware does not :)

#1614 - Arek the Absolute - Mon Jan 20, 2003 7:18 pm

Generally speaking you shouldn't have any problems, but as has been said, it's probably not a good idea. Emulators, for example, will not give you any idea of how dark the Gameboy's screen really is. Things look different on emulators. Also, occasionally you will run across problems that emulators don't duplicate... See my thread on sprite overlap problems for an example.

Yes, you can write them without testing on hardware, and be fairly confident it will turn out okay on hardware. It's just not a particularly good idea. :)
_________________
-Arek the Absolute