Diff for /np2/bios/sxsibios.c between versions 1.2 and 1.3

version 1.2, 2004/01/22 04:59:48 version 1.3, 2004/01/22 08:40:30
Line 201  static const SXSIFUNC sasifunc[16] = { Line 201  static const SXSIFUNC sasifunc[16] = {
   
 REG8 sasibios_operate(void) {  REG8 sasibios_operate(void) {
   
         SXSIDEV sxsi;  
         UINT    type;          UINT    type;
           SXSIDEV sxsi;
   
         sxsi = sxsi_getptr(CPU_AL);          if (pccore.hddif & PCHDD_IDE) {
         if (sxsi == NULL) {                  type = SXSIBIOS_IDE;
                 return(0x60);  
         }          }
         type = SXSIBIOS_IDE;  
 #if defined(SUPPORT_SASI)  #if defined(SUPPORT_SASI)
         if (pccore.hddif & PCHDD_SASI) {          else if (pccore.hddif & PCHDD_SASI) {
                 type = SXSIBIOS_SASI;                  type = SXSIBIOS_SASI;
         }          }
 #endif  #endif
           else {
                   return(0x60);
           }
           sxsi = sxsi_getptr(CPU_AL);
           if (sxsi == NULL) {
                   return(0x60);
           }
         return((*sasifunc[CPU_AH & 0x0f])(type, sxsi));          return((*sasifunc[CPU_AH & 0x0f])(type, sxsi));
 }  }
   
Line 311  REG8 scsibios_operate(void) { Line 316  REG8 scsibios_operate(void) {
   
         SXSIDEV sxsi;          SXSIDEV sxsi;
   
           if (!(pccore.hddif & PCHDD_SCSI)) {
                   return(0x60);
           }
         sxsi = sxsi_getptr(CPU_AL);          sxsi = sxsi_getptr(CPU_AL);
         if (sxsi == NULL) {          if (sxsi == NULL) {
                 return(0x60);                  return(0x60);

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


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