1 #include "v60.h" 2 3 void v60Init(); 4 void v70Init(); 5 6 void v60Exit(); 7 void v60Reset(); 8 void v60Open(int cpu); 9 void v60Close(); 10 11 INT32 v60Run(int cycles); 12 13 void v60SetIRQLine(INT32 irqline, INT32 state); 14 15 void v60SetIRQCallback(int (*callback)(int irqline)); 16 void v60SetWriteByteHandler(void (*write)(UINT32,UINT8)); 17 void v60SetWriteWordHandler(void (*write)(UINT32,UINT16)); 18 void v60SetReadByteHandler(UINT8 (*read)(UINT32)); 19 void v60SetReadWordHandler(UINT16 (*read)(UINT32)); 20 void v60MapMemory(UINT8 *ptr, UINT32 start, UINT32 end, UINT32 flags); 21 22 INT32 v60TotalCycles(); 23 void v60RunEnd(); 24 void v60NewFrame(); 25 INT32 v60GetActive(); 26 27 INT32 v60Scan(INT32 nAction); 28 29 void v60WriteROM(UINT32 a, UINT8 d); 30 UINT8 v60CheatRead(UINT32 a); 31 32 extern struct cpu_core_config v60Config; 33 34 // depreciate this and use BurnTimerAttach directly! 35 #define BurnTimerAttachV60(clock) \ 36 BurnTimerAttach(&v60Config, clock) 37