Diff for /np2/bios/bios12.c between versions 1.3 and 1.5

version 1.3, 2003/12/12 01:04:39 version 1.5, 2004/06/18 07:42:13
Line 3 Line 3
 #include        "pccore.h"  #include        "pccore.h"
 #include        "iocore.h"  #include        "iocore.h"
 #include        "bios.h"  #include        "bios.h"
   #include        "biosmem.h"
   
   
 #define baseport 0x00c8  #define baseport 0x00c8
Line 13  void bios0x12(void) { Line 14  void bios0x12(void) {
         BYTE    result;          BYTE    result;
         BYTE    *p;          BYTE    *p;
         BYTE    drv;          BYTE    drv;
           BYTE    drvbit;
   
 //      TRACE_("BIOS", 0x12);  //      TRACE_("BIOS", 0x12);
         iocore_out8(0x08, 0x20);          iocore_out8(0x08, 0x20);
Line 41  void bios0x12(void) { Line 43  void bios0x12(void) {
                         break;                          break;
                 }                  }
                 drv = result & 3;                  drv = result & 3;
                   drvbit = 0x10 << drv;
                 if (result & (FDCRLT_IC1 | FDCRLT_SE)) {                  if (result & (FDCRLT_IC1 | FDCRLT_SE)) {
                         p = mem + 0x005d8 + (drv * 2);                          p = mem + 0x005d8 + (drv * 2);
                 }                  }
Line 56  void bios0x12(void) { Line 59  void bios0x12(void) {
                         }                          }
                         result = iocore_inp8(baseport+2);                          result = iocore_inp8(baseport+2);
                 }                  }
                   mem[0x0055f] |= drvbit;
         }          }
 }  }
   

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


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