From: | Joseph Fenton |
Date: | 26 Dec 99 at 08:55:32 |
Subject: | Re: [warpup] Quake Porting Group... |
Frank Wille wrote:
>
> Steffen H�user wrote:
>
> > - Sound Code (CD Audio works already, but not yet the Sound FX) -
>
> This is somewhat tricky, as you need the current position in your
> sound buffer, which Amiga hardware can't tell you (SNDDMA_GetDMAPos).
> The rest is easy.
This is one area where the 68K cpu comes in handy; set the PAULA
to run in interrupt mode and have the 68K set the audio and a dma
position. This gives a dma position accurate to 2 bytes. Doesn't
matter that this mode uses more CPU time as the 68K shouldn't
be doing much anyways.