]> Shamusworld >> Repos - virtualjaguar/blob - src/op.h
20e71902deed3270705e0f7a484666b95edaef57
[virtualjaguar] / src / op.h
1 //
2 // OBJECTP.H: Object Processor header file
3 //
4
5 #ifndef __OBJECTP_H__
6 #define __OBJECTP_H__
7
8 #include "types.h"
9
10 void OPInit(void);
11 void OPReset(void);
12 void OPDone(void);
13
14 void OPProcessList(int scanline, bool render);
15 uint32 OPGetListPointer(void);
16 void OPSetStatusRegister(uint32 data);
17 uint32 OPGetStatusRegister(void);
18 void OPSetCurrentObject(uint64 object);
19
20 //uint8 OPReadByte(uint32, uint32 who = UNKNOWN);
21 //uint16 OPReadWord(uint32, uint32 who = UNKNOWN);
22 //void OPWriteByte(uint32, uint8, uint32 who = UNKNOWN);
23 //void OPWriteWord(uint32, uint16, uint32 who = UNKNOWN);
24
25 // Exported variables
26
27 extern uint8 objectp_running;
28
29 #endif  // __OBJECTP_H__