--- np2/io/fdc.h 2004/01/30 01:29:13 1.6 +++ np2/io/fdc.h 2007/11/03 00:00:20 1.9 @@ -52,7 +52,10 @@ enum { FDCRLT_DD = 0x200000, FDCRLT_CM = 0x400000, - FDCRLT_EXT = 0x80000000, + FDCRLT_NT = 0x80000000, + FDCRLT_AT = 0x00000040, + FDCRLT_IC = 0x00000080, + FDCRLT_AI = 0x000000c0, FDCSTAT_CB = 0x10, FDCSTAT_NDM = 0x20, @@ -96,10 +99,10 @@ typedef struct { int bufcnt; UINT8 cmd; - BYTE cmds[15]; - BYTE data[16]; + UINT8 cmds[15]; + UINT8 data[16]; - BYTE buf[0x8000]; + UINT8 buf[0x8000]; } _FDC, *FDC; @@ -120,7 +123,7 @@ REG8 DMACCALL fdc_dmafunc(REG8 func); void fdcsend_error7(void); void fdcsend_success7(void); -void fdc_reset(void); +void fdc_reset(const NP2CFG *pConfig); void fdc_bind(void); #ifdef __cplusplus