Diff for /np2/bios/bios12.c between versions 1.2 and 1.6

version 1.2, 2003/12/08 00:55:30 version 1.6, 2005/02/07 14:46:07
Line 1 Line 1
 #include        "compiler.h"  #include        "compiler.h"
 // #include     "i286.h"  #include        "cpucore.h"
 #include        "memory.h"  
 #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
   
 void bios0x12(void) {  void bios0x12(void) {
   
         BYTE    stat;          UINT8   stat;
         BYTE    result;          UINT8   result;
         BYTE    *p;          UINT8   *p;
         BYTE    drv;          UINT8   drv;
           UINT8   drvbit;
   
 //      TRACE_("BIOS", 0x12);  //      TRACE_("BIOS", 0x12);
         iocore_out8(0x08, 0x20);          iocore_out8(0x08, 0x20);
Line 42  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 57  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.2  
changed lines
  Added in v.1.6


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