Diff for /np2/bios/bios.c between versions 1.30 and 1.32

version 1.30, 2004/01/23 12:04:07 version 1.32, 2004/01/24 18:20:06
Line 6 Line 6
 #include        "bios.h"  #include        "bios.h"
 #include        "biosmem.h"  #include        "biosmem.h"
 #include        "sxsibios.h"  #include        "sxsibios.h"
 #include        "sound.h"  
 #include        "fmboard.h"  
 #include        "lio.h"  #include        "lio.h"
 #include        "fddfile.h"  #include        "fddfile.h"
 #include        "fdd_mtr.h"  #include        "fdd_mtr.h"
Line 52  static void bios_reinitbyswitch(void) { Line 50  static void bios_reinitbyswitch(void) {
   
         if (!(np2cfg.dipsw[2] & 0x80)) {          if (!(np2cfg.dipsw[2] & 0x80)) {
 #if defined(CPUCORE_IA32)  #if defined(CPUCORE_IA32)
                 mem[MEMB_SYS_TYPE] = 0x02;              // 80386กม                  mem[MEMB_SYS_TYPE] = 0x03;              // 80386กม
 #else  #else
                 mem[MEMB_SYS_TYPE] = 0x01;              // 80286                  mem[MEMB_SYS_TYPE] = 0x01;              // 80286
 #endif  #endif
Line 110  static void bios_reinitbyswitch(void) { Line 108  static void bios_reinitbyswitch(void) {
         }          }
         gdcs.textdisp |= GDCSCRN_EXT;          gdcs.textdisp |= GDCSCRN_EXT;
   
         if (((pccore.model & PCMODELMASK) >= PCMODEL_VX) && (usesound & 0x7e)) {          if (((pccore.model & PCMODELMASK) >= PCMODEL_VX) &&
                   (pccore.sound & 0x7e)) {
                 iocore_out8(0x188, 0x27);                  iocore_out8(0x188, 0x27);
                 iocore_out8(0x18a, 0x3f);                  iocore_out8(0x18a, 0x3f);
         }          }

Removed from v.1.30  
changed lines
  Added in v.1.32


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