[hatari-devel] Little question about SteDMA sound
Laurent Sallafranque
laurent.sallafranque at free.fr
Wed Sep 16 11:40:15 CEST 2009
Hello,
In Ste Dmasound.c, there's a value I don't understand:
static void DmaSnd_StartDspXmitHandler(void)
{
...
/* Internal 25.175 MHz clock */
nFreq = 25175000 / nClkDiv;
Int_AddRelativeInterrupt((8013000+nFreq/2)/nFreq/2,
INT_CPU_CYCLE, INTERRUPT_DSPXMIT);
...
In 3 parts in the code, there's this this value : 8013000
What is it ?
I thought it could be the processor frequency, but it is 8021247 hz.
Any help ?
Regards,
Laurent
More information about the hatari-devel
mailing list