|
Atari coding BBS
Re: Trigger 030 interupt using |
Posted by: earx
|
Jan,25.2005-11:52
|
i see what you mean by the exception. this is a line from the DSP that triggers an exception on the CPU side =) you can indeed use this for double buffering your sound.
the more common way is to do the following:
set up a timer on cpu, for instance 50 Hz, and let this talk with the dsp. the dsp runs through it's internal buffer by using the sample clock and outputs directly to the DACs. all the interrupt does is ask the dsp how many words it requires and then provide it with those words (all done over hostport ofcourse).
this has advantages: little dsp time used and it's relatively simple.
and disadvantages: alot of cpu time used. (dma is only causes bus load, hostport causes load on cpu itself too).
|
[All messages in this thread] [Start new thread]
What's the anti-troll code? That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
|