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 > Can ARM7 code write to VRAM?

#141532 - NeX - Wed Sep 26, 2007 6:46 pm

I'm trying to get ARM7 code in a combined project to write to BG_GFX_SUB (or whatever it is) and nothing is happening. Does it have access?
_________________
Strummer or Drummer?.
Or maybe you would rather play with sand? Sandscape is for you in that case.

#141534 - DekuTree64 - Wed Sep 26, 2007 6:57 pm

Nope.

Although a couple of the 128KB banks can be allocated to ARM7. ARM9 can't access them then, but you could do a double buffering system with them, or maybe just pass one over during VBlank, have ARM7 write stuff to it, and then switch it back.
_________________
___________
The best optimization is to do nothing at all.
Therefore a fully optimized program doesn't exist.
-Deku

#141659 - gladius - Fri Sep 28, 2007 12:45 am

Interesting side note, when vram is assigned to the arm7 it supports 8 bit writes correctly.