Diff for /np2/io/fdc.h between versions 1.2 and 1.5

version 1.2, 2003/12/08 00:55:32 version 1.5, 2004/01/29 09:41:50
Line 73  typedef struct { Line 73  typedef struct {
         UINT8   lastdata;          UINT8   lastdata;
         UINT8   tc;          UINT8   tc;
   
           UINT8   ctrlfd;
           UINT8   crcn;
           UINT8   ctrlreg;
           UINT8   chgreg;
           UINT8   reg144;
           UINT8   padding[3];
   
         UINT32  stat[4];          UINT32  stat[4];
         UINT8   treg[4];          UINT8   treg[4];
           UINT8   rpm[4];
   
         int             event;          int             event;
         int             cmdp;          int             cmdp;
Line 87  typedef struct { Line 95  typedef struct {
         UINT8   cmd;          UINT8   cmd;
         BYTE    cmds[15];          BYTE    cmds[15];
         BYTE    data[16];          BYTE    data[16];
         BYTE    buf[0x8000];  
   
         UINT8   ctrlfd;          BYTE    buf[0x8000];
         UINT8   crcn;  
   
         UINT8   ctrlreg;  
         UINT8   busy;  
   
         UINT8   chgreg;  
         UINT8   rpm;                                                                                                    // 1.44  
 } _FDC, *FDC;  } _FDC, *FDC;
   
   
Line 106  extern "C" { Line 106  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_DataRegWrite(REG8 data);  void DMACCALL fdc_datawrite(REG8 data);
 REG8 DMACCALL fdc_DataRegRead(void);  REG8 DMACCALL fdc_dataread(void);
 REG8 DMACCALL fdc_dmafunc(REG8 func);  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);
   
   void fdc144_reset(void);
   void fdc144_bind(void);
   
 #ifdef __cplusplus  #ifdef __cplusplus
 }  }

Removed from v.1.2  
changed lines
  Added in v.1.5


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