| version 1.3, 2004/08/11 12:08:16 | version 1.9, 2004/08/18 08:08:13 | 
| Line 1 | Line 1 | 
 |  |  | 
 |  | enum { | 
 |  | CTC_OPM                 = 0, | 
 |  | CTC_TURBO1              = 1, | 
 |  | CTC_TURBO2              = 2 | 
 |  | }; | 
 |  |  | 
 |  |  | 
 | typedef struct { | typedef struct { | 
 | UINT32  baseclock; | UINT32  baseclock; | 
 | UINT8   vector; | UINT8   vector; | 
 | UINT8   intr; | UINT8   intr; | 
 |  | UINT8   irq; | 
 | UINT8   num; | UINT8   num; | 
 | UINT8   padding; |  | 
 | UINT8   cmd[4]; | UINT8   cmd[4]; | 
 |  | UINT8   scale[4]; | 
 | UINT8   basecnt[4]; | UINT8   basecnt[4]; | 
 | SINT32  count[4]; | SINT32  count[4]; | 
 | SINT32  countmax[4]; | SINT32  countmax[4]; | 
 |  | SINT32  range[4]; | 
 |  | } CTCCHST; | 
 |  |  | 
 |  | typedef struct { | 
 |  | UINT    neventid; | 
 |  | UINT32  ieventbit; | 
 |  | } CTCCHEX; | 
 |  |  | 
 |  | typedef struct { | 
 |  | CTCCHST s; | 
 |  | CTCCHEX e; | 
 | } CTCCH; | } CTCCH; | 
 |  |  | 
 | typedef struct { | typedef struct { | 
| Line 20  typedef struct { | Line 39  typedef struct { | 
 | extern "C" { | extern "C" { | 
 | #endif | #endif | 
 |  |  | 
 | // void x1_ctc_int(void); |  | 
 | void neitem_ctc(UINT id); | void neitem_ctc(UINT id); | 
 | BRESULT ieitem_ctc(UINT id); | BRESULT ieitem_ctc(UINT id); | 
 |  | void ieeoi_ctc(UINT id); | 
 |  |  | 
 | void IOOUTCALL ctc_o(UINT port, REG8 dat);                      // x1_ctc_w | void IOOUTCALL ctc_o(UINT port, REG8 dat);                      // x1_ctc_w | 
 | REG8 IOINPCALL ctc_i(UINT port);                                        // x1_ctc_r | REG8 IOINPCALL ctc_i(UINT port);                                        // x1_ctc_r |