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 > porting gba to ds?

#130824 - gauauu - Fri Jun 08, 2007 3:25 pm

Question for y'all...I haven't spent a lot of time reading up on DS programming (since I don't have one yet). So if you'll excuse my laziness, maybe I can get a quick answer without having to invest all the time.

I have a gba game that I've been working on (Anguna) for quite a while now. There's been some interest in a DS version (which would be functionally pretty much the same) from people.

My question: how hard is it to convert a GBA game to DS? I assume almost all the work would come from the graphics system, since I assume it's totally different. It is anywhere near a 1:1 conversion, or will I totally need to restructure things?

The stuff I'm more worried than basic backgrounds/sprites are things like windows (I'm using a sprite based window to do a cool lantern darkness thing), and hblank dma as well. I assume these don't translate directly to DS ways of doing things?

Also, are there good open libraries for playing mods (particularly xm's)?

Thanks for excusing my laziness!

#130869 - sgeos - Fri Jun 08, 2007 10:32 pm

You will need to do some restructuring. How abstracted are your libraries?

-Brendan

#131009 - gauauu - Sun Jun 10, 2007 4:14 am

They're reasonably abstracted, but there are bits and pieces where stuff gets intermingled (where it was significantly more work to get to abstract out a minor piece).