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.

DS development > gba/ds coding

#82421 - ghuldan - Sat May 06, 2006 3:34 am

I just dont know anything about DS but here is my question :
Can i take my gba code and add fonctionalities, or ds's registers are way differents.
Is ds works with mode 0-5, with X backgrounds, X rotations registers, dma etc etc ? I guess VRAM, palette memories are bigger (like 2x).
Must i rewrite all my code if i want to switch to ds ?

#82429 - Dwedit - Sat May 06, 2006 6:32 am

You can have the same code run on a DS and GBA, but it's very limited. Since the systems are completely different, you're better off making a separate GBA and NDS version, unless you need to have a GBA and DS version run from the same cartridge for some reason, such as a GBA Movie Player replacement firmware.
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."