--- np2/io/pit.h 2003/11/12 20:02:54 1.2 +++ np2/io/pit.h 2004/03/12 18:19:57 1.6 @@ -1,8 +1,11 @@ typedef struct { - BYTE mode[4]; - BYTE flag[4]; - BYTE high[4]; + UINT8 mode[4]; + UINT8 flag[4]; + UINT8 intr[4]; +#if 0 + UINT8 stat[4]; +#endif UINT16 value[4]; UINT16 latch[4]; } _PIT, *PIT; @@ -17,9 +20,9 @@ void systimer(NEVENTITEM item); void beeponeshot(NEVENTITEM item); void rs232ctimer(NEVENTITEM item); -void itimer_setflag(int ch, BYTE value); -BOOL itimer_setcount(int ch, BYTE value); -BYTE itimer_getcount(int ch); +void pit_setflag(int ch, REG8 value); +BOOL pit_setcount(int ch, REG8 value); +REG8 pit_getcount(int ch); void itimer_reset(void); void itimer_bind(void);