]> Shamusworld >> Repos - virtualjaguar/blob - src/dac.h
Added jaguar memory locations to memory.cpp.
[virtualjaguar] / src / dac.h
1 //
2 // DAC.H: Header file
3 //
4
5 #ifndef __DAC_H__
6 #define __DAC_H__
7
8 //#include "types.h"
9 #include "memory.h"
10
11 void DACInit(void);
12 void DACReset(void);
13 void DACDone(void);
14
15 // DAC memory access
16
17 void DACWriteByte(uint32 offset, uint8 data, uint32 who = UNKNOWN);
18 void DACWriteWord(uint32 offset, uint16 data, uint32 who = UNKNOWN);
19 uint8 DACReadByte(uint32 offset, uint32 who = UNKNOWN);
20 uint16 DACReadWord(uint32 offset, uint32 who = UNKNOWN);
21
22 // Global variables
23
24 //extern uint16 lrxd, rrxd;                                                     // I2S ports (into Jaguar)
25
26 #endif  // __DAC_H__