#3661 - Alunze - Tue Mar 04, 2003 1:06 pm
Hi, I'm writing my little game and got everything to work, except the sound department. It sounds nice and all, using DMA and the VBLANK interrupt to count the samples and stop the sound when the clip has finished. The problem is, by some unknown reason to me, this causes some sporadic crashes, sometimes filling the screen with garbage. I've fiddled with the code and realized the game only crashes when I used the DMA, else it runs fine (with no sound). Has anyone an idea of what can be causing this? I've not mentioned the game only crashes if flashed on a cart, it runs fine on emulators, so I guess this must be due to some obscure (maybe not that much) hardware issue I should have consideded. I can post my sound code if needed, I just didn't do it in case the solution is somewhat obvious ^_^U and to avoid cluttering the message.
Thanks in *advance* (heh heh) XD
Thanks in *advance* (heh heh) XD