Diff for /xmil/io/fdc.h between versions 1.4 and 1.10

version 1.4, 2004/08/10 08:28:49 version 1.10, 2004/08/15 11:14:42
Line 1 Line 1
   
   // #define      SUPPORT_MOTORRISEUP
   
 enum {  enum {
         FDCDIR_NONE                     = 0x00,          FDCDIR_NONE                     = 0x00,
         FDCDIR_IN                       = 0x01,          FDCDIR_IN                       = 0x01,
Line 9  enum { Line 11  enum {
         FDC_BUFFERS             = 0x3000          FDC_BUFFERS             = 0x3000
 };  };
   
   enum {
           FDCMOTOR_STOP           = 0,
           FDCMOTOR_STARTING       = 1,
           FDCMOTOR_READY          = 2,
           FDCMOTOR_STOPING        = 3
   };
   
 typedef struct {  typedef struct {
         UINT8   cmd;          UINT8   cmd;
         UINT8   type;          UINT8   type;
Line 39  typedef struct { Line 48  typedef struct {
         UINT    bufsize;          UINT    bufsize;
         UINT    bufpos;          UINT    bufpos;
   
           UINT8   busy;
         UINT8   hole;          UINT8   hole;
         UINT8   padding[3];          UINT8   curtime;
           UINT8   equip;
         UINT    crcnum;          UINT    crcnum;
         UINT32  busyclock;  
         UINT32  busystart;          SINT32  loopclock;
   
   #if defined(SUPPORT_MOTORRISEUP)
           UINT8   motorevent[4];
           SINT32  motorclock[4];
   #endif
   
         UINT8   buffer[FDC_BUFFERS];          UINT8   buffer[FDC_BUFFERS];
 } FDCSTAT;  } FDCSTAT;
Line 61  typedef struct { Line 77  typedef struct {
 extern "C" {  extern "C" {
 #endif  #endif
   
 REG8 fdcisbusy(void);  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.4  
changed lines
  Added in v.1.10


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