Diff for /np2/io/fdc.h between versions 1.4 and 1.6

version 1.4, 2004/01/22 01:10:04 version 1.6, 2004/01/30 01:29:13
Line 61  enum { Line 61  enum {
 };  };
   
 typedef struct {  typedef struct {
           UINT8   equip;
           UINT8   support144;
           UINT8   ctrlfd;
           UINT8   padding;
   
         UINT8   us, hd;          UINT8   us, hd;
         UINT8   mt, mf, sk;          UINT8   mt, mf, sk;
         UINT8   eot, gpl, dtl;          UINT8   eot, gpl, dtl;
Line 73  typedef struct { Line 78  typedef struct {
         UINT8   lastdata;          UINT8   lastdata;
         UINT8   tc;          UINT8   tc;
   
           UINT8   crcn;
           UINT8   ctrlreg;
           UINT8   chgreg;
           UINT8   reg144;
   
         UINT32  stat[4];          UINT32  stat[4];
         UINT8   treg[4];          UINT8   treg[4];
           UINT8   rpm[4];
   
         int             event;          int             event;
         int             cmdp;          int             cmdp;
Line 88  typedef struct { Line 99  typedef struct {
         BYTE    cmds[15];          BYTE    cmds[15];
         BYTE    data[16];          BYTE    data[16];
   
         UINT8   ctrlfd;  
         UINT8   crcn;  
         UINT8   ctrlreg;  
         UINT8   busy;  
         UINT8   chgreg;  
         UINT8   rpm;                                                                                                    // 1.44  
         UINT8   padding[2];  
   
         BYTE    buf[0x8000];          BYTE    buf[0x8000];
 } _FDC, *FDC;  } _FDC, *FDC;
   
Line 106  extern "C" { Line 109  extern "C" {
   
 #define CTRL_FDMEDIA    fdc.ctrlfd  #define CTRL_FDMEDIA    fdc.ctrlfd
   
 void fdc_reset(void);  void fdc_intwait(NEVENTITEM item);
 void fdc_bind(void);  
 void fdc_interrupt(void);  void fdc_interrupt(void);
   
 void DMACCALL fdc_datawrite(REG8 data);  void DMACCALL fdc_datawrite(REG8 data);
Line 117  REG8 DMACCALL fdc_dmafunc(REG8 func); Line 120  REG8 DMACCALL fdc_dmafunc(REG8 func);
 void fdcsend_error7(void);  void fdcsend_error7(void);
 void fdcsend_success7(void);  void fdcsend_success7(void);
   
 void fdcbusy_error7(NEVENTITEM item);  void fdc_reset(void);
   void fdc_bind(void);
   
 #ifdef __cplusplus  #ifdef __cplusplus
 }  }

Removed from v.1.4  
changed lines
  Added in v.1.6


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