--- xmil/io/fdc.h 2004/08/13 01:35:59 1.9 +++ xmil/io/fdc.h 2004/08/18 08:08:13 1.11 @@ -1,8 +1,11 @@ +// #define SUPPORT_MOTORRISEUP + enum { FDCDIR_NONE = 0x00, FDCDIR_IN = 0x01, - FDCDIR_OUT = 0x02 + FDCDIR_OUT = 0x02, + FDCDIR_TAO = 0x03 }; enum { @@ -54,8 +57,10 @@ typedef struct { SINT32 loopclock; +#if defined(SUPPORT_MOTORRISEUP) UINT8 motorevent[4]; SINT32 motorclock[4]; +#endif UINT8 buffer[FDC_BUFFERS]; } FDCSTAT; @@ -74,7 +79,11 @@ extern "C" { #endif void neitem_fdcbusy(UINT id); +#if defined(SUPPORT_MOTORRISEUP) void fdc_callback(void); +#else +#define fdc_callback() +#endif void IOOUTCALL fdc_o(UINT port, REG8 value); // x1_fdc_w REG8 IOINPCALL fdc_i(UINT port); // x1_fdc_r