--- xmil/io/ctc.h 2004/08/05 04:53:15 1.2 +++ xmil/io/ctc.h 2004/08/13 01:35:59 1.5 @@ -1,11 +1,15 @@ typedef struct { + UINT32 baseclock; + UINT8 vector; + UINT8 intr; + UINT8 num; + UINT8 padding; UINT8 cmd[4]; + UINT8 scale[4]; UINT8 basecnt[4]; - SINT32 countmax[4]; SINT32 count[4]; - UINT8 vector; - UINT8 int_flag; + SINT32 countmax[4]; } CTCCH; typedef struct { @@ -17,7 +21,9 @@ typedef struct { extern "C" { #endif -void x1_ctc_int(void); +void neitem_ctc(UINT id); +BRESULT ieitem_ctc(UINT id); + void IOOUTCALL ctc_o(UINT port, REG8 dat); // x1_ctc_w REG8 IOINPCALL ctc_i(UINT port); // x1_ctc_r