Diff for /np2/bios/sxsibios.c between versions 1.14 and 1.16

version 1.14, 2004/03/12 18:19:57 version 1.16, 2005/02/07 14:46:07
Line 51  static REG8 sxsibios_write(UINT type, SX Line 51  static REG8 sxsibios_write(UINT type, SX
         long    pos;          long    pos;
         UINT32  addr;          UINT32  addr;
         UINT    r;          UINT    r;
         BYTE    work[1024];          UINT8   work[1024];
   
         size = CPU_BX;          size = CPU_BX;
         if (!size) {          if (!size) {
Line 82  static REG8 sxsibios_read(UINT type, SXS Line 82  static REG8 sxsibios_read(UINT type, SXS
         long    pos;          long    pos;
         UINT32  addr;          UINT32  addr;
         UINT    r;          UINT    r;
         BYTE    work[1024];          UINT8   work[1024];
   
         size = CPU_BX;          size = CPU_BX;
         if (!size) {          if (!size) {
Line 249  REG8 sasibios_operate(void) { Line 249  REG8 sasibios_operate(void) {
 static void scsibios_set(REG8 drv, REG8 sectors, REG8 surfaces,  static void scsibios_set(REG8 drv, REG8 sectors, REG8 surfaces,
                                                                         REG16 cylinders, REG16 size, BOOL hwsec) {                                                                          REG16 cylinders, REG16 size, BOOL hwsec) {
   
         BYTE    *scsiinf;          UINT8   *scsiinf;
         UINT16  inf;          UINT16  inf;
   
         scsiinf = mem + 0x00460 + ((drv & 7) * 4);          scsiinf = mem + 0x00460 + ((drv & 7) * 4);
Line 295  static REG8 scsibios_init(UINT type, SXS Line 295  static REG8 scsibios_init(UINT type, SXS
   
 static REG8 scsibios_sense(UINT type, SXSIDEV sxsi) {  static REG8 scsibios_sense(UINT type, SXSIDEV sxsi) {
   
         BYTE    *scsiinf;          UINT8   *scsiinf;
   
         scsiinf = mem + 0x00460 + ((CPU_AL & 7) * 4);          scsiinf = mem + 0x00460 + ((CPU_AL & 7) * 4);
         if (CPU_AH == 0x24) {          if (CPU_AH == 0x24) {
Line 374  REG8 scsibios_operate(void) { Line 374  REG8 scsibios_operate(void) {
   
 // ---- np2sysp  // ---- np2sysp
   
 #if defined(SUPPORT_SASI) || defined(SUPPORT_SCSI)  #if defined(SUPPORT_IDEIO) || defined(SUPPORT_SASI) || defined(SUPPORT_SCSI)
 typedef struct {  typedef struct {
         UINT16  ax;          UINT16  ax;
         UINT16  cx;          UINT16  cx;
Line 417  static void reg_pop(const REGBAK *r) { Line 417  static void reg_pop(const REGBAK *r) {
 }  }
   
 typedef struct {  typedef struct {
         BYTE    r_ax[2];          UINT8   r_ax[2];
         BYTE    r_bx[2];          UINT8   r_bx[2];
         BYTE    r_cx[2];          UINT8   r_cx[2];
         BYTE    r_dx[2];          UINT8   r_dx[2];
         BYTE    r_bp[2];          UINT8   r_bp[2];
         BYTE    r_es[2];          UINT8   r_es[2];
         BYTE    r_di[2];          UINT8   r_di[2];
         BYTE    r_si[2];          UINT8   r_si[2];
         BYTE    r_ds[2];          UINT8   r_ds[2];
 } B1BREG;  } B1BREG;
   
 static void reg_load(UINT seg, UINT off) {  static void reg_load(UINT seg, UINT off) {
Line 463  static void reg_store(UINT seg, UINT off Line 463  static void reg_store(UINT seg, UINT off
 }  }
 #endif  #endif
   
 #if defined(SUPPORT_SASI)  #if defined(SUPPORT_IDEIO) || defined(SUPPORT_SASI)
 void np2sysp_sasi(const void *arg1, long arg2) {  void np2sysp_sasi(const void *arg1, long arg2) {
   
         UINT    seg;          UINT    seg;

Removed from v.1.14  
changed lines
  Added in v.1.16


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