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 > VRAM usage

#167000 - albinofrenchy - Wed Feb 25, 2009 9:48 pm

My understanding is that there are 9 actual memory chips for VRAM in the DS, but only 4 are mapable at a time.

Is there a way to access the unused space without mapping beforehand? If not, is the mapping business basically just a flag in the hardware? If so, I imagine one could rapidly remap some segment of memory to store whatever they want, assuming they didnt actually need that segment. Is this a bad idea for any reason?

#167001 - elhobbs - Wed Feb 25, 2009 10:05 pm

there are 9 vram banks (A-I) that can be set to different modes - like backgrounds, textures, sprites, etc. not all banks can be used for all purposes.http://nocash.emubase.de/gbatek.htm#dsmemorycontrolvram