--- hatari/src/falcon/crossbar.h 2019/04/09 08:48:45 1.1 +++ hatari/src/falcon/crossbar.h 2019/04/09 08:53:21 1.1.1.4 @@ -1,8 +1,8 @@ /* Hatari - crossbar.h - This file is distributed under the GNU Public License, version 2 or at - your option any later version. Read the file gpl.txt for details. + This file is distributed under the GNU General Public License, version 2 + or at your option any later version. Read the file gpl.txt for details. */ #ifndef HATARI_CROSSBAR_H @@ -22,6 +22,9 @@ extern Uint16 nCbar_DmaSoundControl; +/* Called by audio.c */ +void Crossbar_Compute_Ratio(void); + /* Called by mfp.c */ extern void Crossbar_GenerateSamples(int nMixBufIdx, int nSamplesToGenerate); @@ -59,13 +62,17 @@ extern void Crossbar_TrackRecSelect_Writ extern void Crossbar_CodecInput_WriteByte(void); extern void Crossbar_AdcInput_WriteByte(void); extern void Crossbar_InputAmp_WriteByte(void); -extern void Crossbar_OutputReduct_WriteByte(void); +extern void Crossbar_OutputReduct_WriteWord(void); extern void Crossbar_CodecStatus_WriteWord(void); +extern void Crossbar_Microwire_WriteWord(void); /* Called by cycint.c */ extern void Crossbar_InterruptHandler_25Mhz(void); extern void Crossbar_InterruptHandler_32Mhz(void); +/* Called by dmaSnd.c */ +extern void Crossbar_InterruptHandler_Microwire(void); + /* Called by dsp.c */ void Crossbar_DmaPlayInHandShakeMode(void); void Crossbar_DmaRecordInHandShakeMode_Frame(Uint32 frame);