Dead Hackers Society
Other BBSes »
 
 

68k Inside

Sommarhack 2024

Silly Venture 2024 SE
Demoscene  Coding  CT60  Buy/sell

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]

Topic Posted by  Date 
Trigger 030 interupt using DSP jason Jan,23.2005-21:09
  Re: Trigger 030 interupt using earx Jan,24.2005-10:09
    Re: Trigger 030 interupt using jason Jan,25.2005-07:29
      Re: Trigger 030 interupt using earx Jan,25.2005-11:52
        Sample XFER on the Host Port jason Jan,26.2005-04:22
          Re: Sample XFER on the Host Po earx Jan,27.2005-13:18
            Re: Sample XFER on the Host Po jason Jan,28.2005-04:29
              Re: Sample XFER on the Host Po earx Jan,28.2005-13:57


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

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.
© 1994-2024 Dead Hackers Society Contact: Anders Eriksson