--- xmil/io/fdc.h 2005/02/04 06:42:11 1.12 +++ xmil/io/fdc.h 2009/03/23 15:02:25 1.15 @@ -1,11 +1,11 @@ -// #define SUPPORT_MOTORRISEUP +/* #define SUPPORT_MOTORRISEUP */ enum { FDCDIR_NONE = 0x00, FDCDIR_TAO = 0x01, FDCDIR_IN = 0x02, - FDCDIR_OUT = 0x03, + FDCDIR_OUT = 0x03 }; enum { @@ -72,17 +72,16 @@ typedef struct { #endif } FDCSTAT; -#if defined(CONST_DISKIMAGE) typedef struct { + UINT8 diskstat[4]; +#if defined(CONST_DISKIMAGE) UINT8 *buffer; -} FDCEXT; #endif +} FDCEXT; typedef struct { FDCSTAT s; -#if defined(CONST_DISKIMAGE) FDCEXT e; -#endif } FDC; @@ -97,8 +96,8 @@ void fdc_callback(void); #define fdc_callback() #endif -void IOOUTCALL fdc_o(UINT port, REG8 value); // x1_fdc_w -REG8 IOINPCALL fdc_i(UINT port); // x1_fdc_r +void IOOUTCALL fdc_o(UINT port, REG8 value); +REG8 IOINPCALL fdc_i(UINT port); void fdc_reset(void);