1 #ifndef __TLCS900_H__ 2 #define __TLCS900_H__ 3 4 enum tlcs900_inputs 5 { 6 TLCS900_NMI=0, 7 TLCS900_INTWD, 8 TLCS900_INT0, 9 TLCS900_INTAD, 10 TLCS900_INT4, 11 TLCS900_INT5, 12 TLCS900_TIO, 13 TLCS900_NUM_INPUTS 14 }; 15 16 enum 17 { 18 TLCS900_PC=1, TLCS900_SR, 19 TLCS900_XWA0, TLCS900_XBC0, TLCS900_XDE0, TLCS900_XHL0, 20 TLCS900_XWA1, TLCS900_XBC1, TLCS900_XDE1, TLCS900_XHL1, 21 TLCS900_XWA2, TLCS900_XBC2, TLCS900_XDE2, TLCS900_XHL2, 22 TLCS900_XWA3, TLCS900_XBC3, TLCS900_XDE3, TLCS900_XHL3, 23 TLCS900_XIX, TLCS900_XIY, TLCS900_XIZ, TLCS900_XNSP, TLCS900_XSSP, 24 TLCS900_DMAS0, TLCS900_DMAS1, TLCS900_DMAS2, TLCS900_DMAS3, 25 TLCS900_DMAD0, TLCS900_DMAD1, TLCS900_DMAD2, TLCS900_DMAD3, 26 TLCS900_DMAC0, TLCS900_DMAC1, TLCS900_DMAC2, TLCS900_DMAC3, 27 TLCS900_DMAM0, TLCS900_DMAM1, TLCS900_DMAM2, TLCS900_DMAM3 28 }; 29 30 UINT8 tlcs900_internal_r(UINT32 offset); 31 void tlcs900_internal_w(UINT32 offset, UINT8 data); 32 33 //typedef struct _tlcs900_interface tlcs900_interface; 34 //struct _tlcs900_interface 35 //{ 36 // void (*to1)(UINT32 offset, UINT8 data); 37 // void (*to3)(UINT32 offset, UINT8 data); 38 //}; 39 40 41 #endif 42