#26556 - toddy - Sat Sep 18, 2004 3:23 pm
Hey all!
I've got a sound problem with my GBA demo. My sound engine used to work fine when it was developed but now it only works for BoycottAdvance 0.2.8 and VisualboyAdvance v.1.5.1 or earlier. That is, it doesn't work (make any sound) at all with MappyVM, on real hardware or on Visualboy v.1.6a or newer.
The VBA changelog only seem to have two things concerning sound that might seem relevant from 1.5 to 1.6:
- fixed sound envelope bug when set to 0 to mute sound. (Doesn't concern me, I don't use channels 1-4)
- sound problems loading old save states should be gone. (Save states aren't relevant are they..)
I've tried googling for the problem and I've searched through this forum too but I have only found two threads kinda similar but they didn't help. One was concerning volatile registers (check) and the other was solved by 0-ing registers (check).
I use Direct Sound A, Timer0 and DMA1 as the code is built from "Audio Programming on the GameBoy Advance Part 1" by Chris Strickland.
http://www.gamedev.net/reference/articles/article1823.asp
I've been stuck with this crap for quite some time now, I am thankfull for any help!
/toddy
I've got a sound problem with my GBA demo. My sound engine used to work fine when it was developed but now it only works for BoycottAdvance 0.2.8 and VisualboyAdvance v.1.5.1 or earlier. That is, it doesn't work (make any sound) at all with MappyVM, on real hardware or on Visualboy v.1.6a or newer.
The VBA changelog only seem to have two things concerning sound that might seem relevant from 1.5 to 1.6:
- fixed sound envelope bug when set to 0 to mute sound. (Doesn't concern me, I don't use channels 1-4)
- sound problems loading old save states should be gone. (Save states aren't relevant are they..)
I've tried googling for the problem and I've searched through this forum too but I have only found two threads kinda similar but they didn't help. One was concerning volatile registers (check) and the other was solved by 0-ing registers (check).
I use Direct Sound A, Timer0 and DMA1 as the code is built from "Audio Programming on the GameBoy Advance Part 1" by Chris Strickland.
http://www.gamedev.net/reference/articles/article1823.asp
I've been stuck with this crap for quite some time now, I am thankfull for any help!
/toddy