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 > ARM7 and ARM9

#131230 - Kaluriel - Tue Jun 12, 2007 7:28 pm

Is there any downsides to passing an audio pointer from ARM9 to ARM7 for the music to play, or would it be better to pass a command to play that audio piece specifically?

#131241 - tepples - Tue Jun 12, 2007 11:04 pm

You'll need to make sure that the ARM9 flushes its data cache (use DC_InvalidateRange) after writing to any memory that the ARM7 can see. You'll also need to make sure that the ARM7 doesn't see a structure that the ARM9 has only half filled in.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.