Diff for /np2/fdd/sxsi.h between versions 1.4 and 1.7

version 1.4, 2004/01/26 14:49:14 version 1.7, 2004/02/13 20:31:55
Line 1 Line 1
   
   #if defined(SUPPORT_SCSI)
 enum {  enum {
         SASIHDD_MAX             = 2,          SASIHDD_MAX             = 2,
         SCSIHDD_MAX             = 4          SCSIHDD_MAX             = 4
 };  };
   #else
   enum {
           SASIHDD_MAX             = 2,
           SCSIHDD_MAX             = 0
   };
   #endif
   
 enum {  enum {
         SXSITYPE_NONE           = 0x0000,          SXSITYPE_NONE           = 0x0000,
Line 35  typedef struct { Line 42  typedef struct {
 } THDHDR;  } THDHDR;
   
 typedef struct {  typedef struct {
         BYTE    dummy[4];  
         BYTE    hddtype[4];  
         BYTE    headersize[4];  
         BYTE    hddsize[4];  
         BYTE    sectorsize[4];  
         BYTE    sectors[4];  
         BYTE    surfaces[4];  
         BYTE    cylinders[4];  
 } HDIHDR;  
   
 typedef struct {  
         char    sig[16];          char    sig[16];
         char    comment[0x100];          char    comment[0x100];
         BYTE    headersize[4];          BYTE    headersize[4];
Line 57  typedef struct { Line 53  typedef struct {
 } NHDHDR;  } NHDHDR;
   
 typedef struct {  typedef struct {
           BYTE    dummy[4];
           BYTE    hddtype[4];
           BYTE    headersize[4];
           BYTE    hddsize[4];
           BYTE    sectorsize[4];
           BYTE    sectors[4];
           BYTE    surfaces[4];
           BYTE    cylinders[4];
   } HDIHDR;
   
   typedef struct {
         char    sig[3];          char    sig[3];
         char    ver[4];          char    ver[4];
         char    delimita;          char    delimita;
Line 102  void sxsi_open(void); Line 109  void sxsi_open(void);
 void sxsi_flash(void);  void sxsi_flash(void);
 void sxsi_trash(void);  void sxsi_trash(void);
   
   BOOL sxsi_issasi(void);
   BOOL sxsi_isscsi(void);
   BOOL sxsi_iside(void);
   
 REG8 sxsi_read(REG8 drv, long pos, BYTE *buf, UINT size);  REG8 sxsi_read(REG8 drv, long pos, BYTE *buf, UINT size);
 REG8 sxsi_write(REG8 drv, long pos, const BYTE *buf, UINT size);  REG8 sxsi_write(REG8 drv, long pos, const BYTE *buf, UINT size);
 REG8 sxsi_format(REG8 drv, long pos);  REG8 sxsi_format(REG8 drv, long pos);

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


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