Diff for /xmil/io/fdc.h between versions 1.11 and 1.15

version 1.11, 2004/08/18 08:08:13 version 1.15, 2009/03/23 15:02:25
Line 1 Line 1
   
 // #define      SUPPORT_MOTORRISEUP  /* #define SUPPORT_MOTORRISEUP */
   
 enum {  enum {
         FDCDIR_NONE                     = 0x00,          FDCDIR_NONE                     = 0x00,
         FDCDIR_IN                       = 0x01,          FDCDIR_TAO                      = 0x01,
         FDCDIR_OUT                      = 0x02,          FDCDIR_IN                       = 0x02,
         FDCDIR_TAO                      = 0x03          FDCDIR_OUT                      = 0x03
 };  
   
 enum {  
         FDC_BUFFERS             = 0x3000  
 };  };
   
 enum {  enum {
Line 21  enum { Line 17  enum {
   
 typedef struct {  typedef struct {
         UINT8   cmd;          UINT8   cmd;
         UINT8   type;          UINT8   ctype;
         UINT8   data;          UINT8   data;
         SINT8   step;          SINT8   step;
         UINT8   drv;          UINT8   drv;
Line 62  typedef struct { Line 58  typedef struct {
         SINT32  motorclock[4];          SINT32  motorclock[4];
 #endif  #endif
   
         UINT8   buffer[FDC_BUFFERS];  #if !defined(CONST_DISKIMAGE)
           UINT8   wt_mode;
           UINT8   wt_sectors;
           UINT8   wt_padding[2];
           UINT    wt_ptr;
           UINT    wt_datpos;
           UINT    wt_datsize;
   
           UINT8   buffer[0x3000];
   #else
           UINT8   crcbuf[6];
   #endif
 } FDCSTAT;  } FDCSTAT;
   
 typedef struct {  typedef struct {
         UINT    dummy;          UINT8   diskstat[4];
   #if defined(CONST_DISKIMAGE)
           UINT8   *buffer;
   #endif
 } FDCEXT;  } FDCEXT;
   
 typedef struct {  typedef struct {
         FDCSTAT s;          FDCSTAT s;
           FDCEXT  e;
 } FDC;  } FDC;
   
   
Line 85  void fdc_callback(void); Line 96  void fdc_callback(void);
 #define fdc_callback()  #define fdc_callback()
 #endif  #endif
   
 void IOOUTCALL fdc_o(UINT port, REG8 value);            // x1_fdc_w  void IOOUTCALL fdc_o(UINT port, REG8 value);
 REG8 IOINPCALL fdc_i(UINT port);                                        // x1_fdc_r  REG8 IOINPCALL fdc_i(UINT port);
   
 void fdc_reset(void);  void fdc_reset(void);
   

Removed from v.1.11  
changed lines
  Added in v.1.15


RetroPC.NET-CVS <cvs@retropc.net>