[hatari-devel] DMA sound improvements

Thomas Huth huth at users.berlios.de
Mon Apr 11 07:23:00 CEST 2011


Am Sun, 10 Apr 2011 22:47:45 +0200
schrieb Nicolas Pomarède <npomarede at corp.free.fr>:

> Le 10/04/2011 21:43, Laurent Sallafranque a écrit :
> > Hi Nicolas,
> >
> > I was reading about your DMA patch.
> >
> > I think it would have been better to add a Sound_HBL_Update()
> > function in sound.c
> >
> > In this function, there would be a test like this :
> > if falcon
> > call crossbar_update_hbl
> > else
> > call dma_snd_update_hbl.
> >
> > Like this, I could use the hbl udpate too in crossbar.c
> 
> Well, I thought about this, but the fact is that I really don't know
> how the falcon "ste dma emulation mode" works regarding the
> interaction with the video, the bus accesses and the use of an 8
> bytes FIFO or not (I don't have docs on this, but my guess would be
> that the falcon uses the same registers for compatibility but doesn't
> have the same hardware logic behind).

IIRC I once read that the Falcon behaves differently concerning the
"buffering" of samples, e.g. it only buffers 2 instead of 8 samples or
so...

 Thomas



More information about the hatari-devel mailing list