--- xmil/io/fdc.h 2005/02/13 22:27:53 1.13 +++ xmil/io/fdc.h 2009/03/23 15:02:25 1.15 @@ -1,5 +1,5 @@ -// #define SUPPORT_MOTORRISEUP +/* #define SUPPORT_MOTORRISEUP */ enum { FDCDIR_NONE = 0x00, @@ -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);