--- np2/io/pic.h 2004/01/29 00:27:29 1.5 +++ np2/io/pic.h 2007/11/03 00:00:20 1.7 @@ -1,20 +1,15 @@ typedef struct { - int levels; - UINT8 level[8]; - - UINT8 pry[8]; UINT8 icw[4]; UINT8 imr; // ocw1 - UINT8 ocw3; + UINT8 isr; UINT8 irr; - UINT8 ext; + UINT8 ocw3; - UINT8 isr; - UINT8 isrbak; + UINT8 pry; UINT8 writeicw; - UINT8 padding; + UINT8 padding[2]; } _PICITEM, *PICITEM; @@ -64,7 +59,7 @@ void pic_resetirq(REG8 irq); void picmask(NEVENTITEM item); -void pic_reset(void); +void pic_reset(const NP2CFG *pConfig); void pic_bind(void); #ifdef __cplusplus