Diff for /np2/fdd/sxsi.h between versions 1.5 and 1.8

version 1.5, 2004/01/27 03:24:19 version 1.8, 2005/02/07 14:46:09
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 31  typedef struct { Line 38  typedef struct {
 } SASIHDD;  } SASIHDD;
   
 typedef struct {  typedef struct {
         BYTE    cylinders[2];          UINT8   cylinders[2];
 } 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];          UINT8   headersize[4];
         BYTE    cylinders[4];          UINT8   cylinders[4];
         BYTE    surfaces[2];          UINT8   surfaces[2];
         BYTE    sectors[2];          UINT8   sectors[2];
         BYTE    sectorsize[2];          UINT8   sectorsize[2];
         BYTE    reserved[0xe2];          UINT8   reserved[0xe2];
 } NHDHDR;  } NHDHDR;
   
 typedef struct {  typedef struct {
           UINT8   dummy[4];
           UINT8   hddtype[4];
           UINT8   headersize[4];
           UINT8   hddsize[4];
           UINT8   sectorsize[4];
           UINT8   sectors[4];
           UINT8   surfaces[4];
           UINT8   cylinders[4];
   } HDIHDR;
   
   typedef struct {
         char    sig[3];          char    sig[3];
         char    ver[4];          char    ver[4];
         char    delimita;          char    delimita;
         char    comment[128];          char    comment[128];
         BYTE    padding1[4];          UINT8   padding1[4];
         BYTE    mbsize[2];          UINT8   mbsize[2];
         BYTE    sectorsize[2];          UINT8   sectorsize[2];
         BYTE    sectors;          UINT8   sectors;
         BYTE    surfaces;          UINT8   surfaces;
         BYTE    cylinders[2];          UINT8   cylinders[2];
         BYTE    totals[4];          UINT8   totals[4];
         BYTE    padding2[0x44];          UINT8   padding2[0x44];
 } VHDHDR;  } VHDHDR;
   
 typedef struct {  typedef struct {
Line 106  BOOL sxsi_issasi(void); Line 113  BOOL sxsi_issasi(void);
 BOOL sxsi_isscsi(void);  BOOL sxsi_isscsi(void);
 BOOL sxsi_iside(void);  BOOL sxsi_iside(void);
   
 REG8 sxsi_read(REG8 drv, long pos, BYTE *buf, UINT size);  REG8 sxsi_read(REG8 drv, long pos, UINT8 *buf, UINT size);
 REG8 sxsi_write(REG8 drv, long pos, const BYTE *buf, UINT size);  REG8 sxsi_write(REG8 drv, long pos, const UINT8 *buf, UINT size);
 REG8 sxsi_format(REG8 drv, long pos);  REG8 sxsi_format(REG8 drv, long pos);
   
 #ifdef __cplusplus  #ifdef __cplusplus

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


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