|
|
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:
1.1.1.2 ! root 11: #define DMASNDCTRL_PLAY 0x01
! 12: #define DMASNDCTRL_PLAYLOOP 0x02
1.1 root 13:
1.1.1.2 ! root 14: #define DMASNDMODE_16BITSTEREO 0x40
! 15: #define DMASNDMODE_MONO 0x80
1.1 root 16:
17: extern Uint16 nDmaSoundControl;
18:
19: extern void DmaSnd_Reset(BOOL bCold);
20: extern void DmaSnd_MemorySnapShot_Capture(BOOL bSave);
21: extern void DmaSnd_GenerateSamples(int nMixBufIdx, int nSamplesToGenerate);
22: extern void DmaSnd_InterruptHandler(void);
23: extern void DmaSnd_SoundControl_ReadWord(void);
24: extern void DmaSnd_SoundControl_WriteWord(void);
25: extern void DmaSnd_FrameCountHigh_ReadByte(void);
26: extern void DmaSnd_FrameCountMed_ReadByte(void);
27: extern void DmaSnd_FrameCountLow_ReadByte(void);
28: extern void DmaSnd_SoundMode_ReadWord(void);
29: extern void DmaSnd_SoundMode_WriteWord(void);
30: extern void DmaSnd_MicrowireData_ReadWord(void);
31: extern void DmaSnd_MicrowireData_WriteWord(void);
32: extern void DmaSnd_MicrowireMask_ReadWord(void);
33: extern void DmaSnd_MicrowireMask_WriteWord(void);
34:
35: #endif /* HATARI_DMASND_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.