#13328 - MumblyJoe - Thu Dec 11, 2003 6:21 am
I have a large sample of sound in a game I am writing, and it plays great. Only problem is stopping it. The way I understand it, I have two choices... either use interrupts or count something like vblanks which have a predictable rate and stop it based on length.
I have been trying to use interrupts, but I am having alot of problems, in fact it stops my game from running the second I enable them. My interrupt handler is in iwram and uses arm code (i hear both those things are important) and i put its address in the right memory location, but nothing. I have enabled everything right and gone over it with a fine tooth comb, but with no luck.
So basically, is there a better way?
_________________
www.hungrydeveloper.com
Version 2.0 now up - guaranteed at least 100% more pleasing!
I have been trying to use interrupts, but I am having alot of problems, in fact it stops my game from running the second I enable them. My interrupt handler is in iwram and uses arm code (i hear both those things are important) and i put its address in the right memory location, but nothing. I have enabled everything right and gone over it with a fine tooth comb, but with no luck.
So basically, is there a better way?
_________________
www.hungrydeveloper.com
Version 2.0 now up - guaranteed at least 100% more pleasing!