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 > Sound problem with GBFS

#68924 - dieudunet - Fri Jan 27, 2006 11:37 am

Hi guys,

i try to compile Sound with GBFS on my NDS using a Supercard and a SuperPass to test it. All compile fine but i can't get any sound on it

I use the last DevKitPro release and i try this sample

http://www.double.co.nz/nintendo_ds/nds_develop6.html

It work well, the file size and the name was ok but i don't get any sound while pushing 'A'.......

So does anyone already see this problem ?

thank a lot for your answer
[/b][/url]

#69051 - tepples - Sat Jan 28, 2006 4:08 am

Are you making sure to copy the sound data from GBA ROM into RAM? It's likely that the Nintendo DS audio channels' DMA can't read GBA ROM, as no official DS game would need that.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#69071 - dieudunet - Sat Jan 28, 2006 9:10 am

tepples wrote:
Are you making sure to copy the sound data from GBA ROM into RAM? It's likely that the Nintendo DS audio channels' DMA can't read GBA ROM, as no official DS game would need that.


How can i be sure tnah it comes from GBA ROMS ? what surprised me is that the SuperPass loader load all my roms in memory before starting......I think that using GBFS can allow me to streaming data but actually i already got this limitation in size..........

#69119 - tepples - Sat Jan 28, 2006 4:12 pm

dieudunet wrote:
How can i be sure tnah it comes from GBA ROMS ? what surprised me is that the SuperPass loader load all my roms in memory before starting

Here, "GBA ROM" refers to the 32 MB portion of address space from 0x08000000 to 0x09FFFFFF. It's likely that the DS audio DMA can't read from this area, just as GBA DMA0 can't.

Quote:
I think that using GBFS can allow me to streaming data

By copying it into RAM piece-by-piece first.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.