Diff for /xmil/io/fdc.h between versions 1.7 and 1.13

version 1.7, 2004/08/12 14:03:14 version 1.13, 2005/02/13 22:27:53
Line 1 Line 1
   
   // #define      SUPPORT_MOTORRISEUP
   
 enum {  enum {
         FDCDIR_NONE                     = 0x00,          FDCDIR_NONE                     = 0x00,
         FDCDIR_IN                       = 0x01,          FDCDIR_TAO                      = 0x01,
         FDCDIR_OUT                      = 0x02          FDCDIR_IN                       = 0x02,
           FDCDIR_OUT                      = 0x03
 };  };
   
 enum {  enum {
         FDC_BUFFERS             = 0x3000          FDCMOTOR_STOP           = 0,
           FDCMOTOR_STARTING       = 1,
           FDCMOTOR_READY          = 2,
           FDCMOTOR_STOPING        = 3
 };  };
   
 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 45  typedef struct { Line 51  typedef struct {
         UINT8   equip;          UINT8   equip;
         UINT    crcnum;          UINT    crcnum;
   
         UINT8   buffer[FDC_BUFFERS];          SINT32  loopclock;
   
   #if defined(SUPPORT_MOTORRISEUP)
           UINT8   motorevent[4];
           SINT32  motorclock[4];
   #endif
   
   #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;
   
   #if defined(CONST_DISKIMAGE)
 typedef struct {  typedef struct {
         UINT    dummy;          UINT8   *buffer;
 } FDCEXT;  } FDCEXT;
   #endif
   
 typedef struct {  typedef struct {
         FDCSTAT s;          FDCSTAT s;
   #if defined(CONST_DISKIMAGE)
           FDCEXT  e;
   #endif
 } FDC;  } FDC;
   
   
Line 61  typedef struct { Line 90  typedef struct {
 extern "C" {  extern "C" {
 #endif  #endif
   
 void nvitem_fdcbusy(UINT id);  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  void IOOUTCALL fdc_o(UINT port, REG8 value);            // x1_fdc_w
 REG8 IOINPCALL fdc_i(UINT port);                                        // x1_fdc_r  REG8 IOINPCALL fdc_i(UINT port);                                        // x1_fdc_r

Removed from v.1.7  
changed lines
  Added in v.1.13


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