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.

Graphics > Best Memory/aspect ratio ?

#137342 - Ben_j - Fri Aug 10, 2007 3:18 pm

I want to add graphics to my application (a Midi controller) without it filling the memory. What would be the best technique to use ?

#137343 - Lick - Fri Aug 10, 2007 4:15 pm

The platform is GBA I suppose? Are you using the VRAM for other purposes? Graphics usually don't have to go outside of that space.
_________________
http://licklick.wordpress.com

#137344 - Ben_j - Fri Aug 10, 2007 4:23 pm

ah I thought I was on DSdev :/

The platform is DS

#137349 - Lick - Fri Aug 10, 2007 5:22 pm

Well my post still stands. There are a few memories that you can use to store data in. For graphics that would be the VRAM. If you include your graphicsdata inside the NDS binary, then it will end up in the Main RAM as well.

So be specific in what memory you're trying to save up on. How big is your binary right now? Do you plan to use libfat for FAT access?
_________________
http://licklick.wordpress.com

#137351 - Ben_j - Fri Aug 10, 2007 5:41 pm

Hm I don't really know. I've just started programming on DS with the PaLib tutorials. The thing is my program works flawlessly without any graphics but since I added sprites and gif backgrounds to it, it stops working properly after 10mn (doesn't send MIDI messages anymore)

So I'd like to know what could be the problem and what's the best way to get nice graphics that don't mess with the rest of the program at all