|
|
1.1 ! root 1: /* ! 2: Hatari - dmaSnd.h ! 3: ! 4: This file is distributed under the GNU Public License, version 2 or at ! 5: your option any later version. Read the file gpl.txt for details. ! 6: */ ! 7: ! 8: #ifndef HATARI_DMASND_H ! 9: #define HATARI_DMASND_H ! 10: ! 11: #define DMASNDCTRL_PLAY 0x01 ! 12: #define DMASNDCTRL_PLAYLOOP 0x02 ! 13: ! 14: #define DMASNDMODE_MONO 0x80 ! 15: ! 16: extern Uint16 nDmaSoundControl; ! 17: ! 18: extern void DmaSnd_Reset(BOOL bCold); ! 19: extern void DmaSnd_MemorySnapShot_Capture(BOOL bSave); ! 20: extern void DmaSnd_GenerateSamples(int nMixBufIdx, int nSamplesToGenerate); ! 21: extern void DmaSnd_InterruptHandler(void); ! 22: extern void DmaSnd_SoundControl_ReadWord(void); ! 23: extern void DmaSnd_SoundControl_WriteWord(void); ! 24: extern void DmaSnd_FrameCountHigh_ReadByte(void); ! 25: extern void DmaSnd_FrameCountMed_ReadByte(void); ! 26: extern void DmaSnd_FrameCountLow_ReadByte(void); ! 27: extern void DmaSnd_SoundMode_ReadWord(void); ! 28: extern void DmaSnd_SoundMode_WriteWord(void); ! 29: extern void DmaSnd_MicrowireData_ReadWord(void); ! 30: extern void DmaSnd_MicrowireData_WriteWord(void); ! 31: extern void DmaSnd_MicrowireMask_ReadWord(void); ! 32: extern void DmaSnd_MicrowireMask_WriteWord(void); ! 33: ! 34: #endif /* HATARI_DMASND_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.