--- np2/bios/bios.c 2004/01/23 12:04:07 1.30 +++ np2/bios/bios.c 2004/01/24 18:20:06 1.32 @@ -6,8 +6,6 @@ #include "bios.h" #include "biosmem.h" #include "sxsibios.h" -#include "sound.h" -#include "fmboard.h" #include "lio.h" #include "fddfile.h" #include "fdd_mtr.h" @@ -52,7 +50,7 @@ static void bios_reinitbyswitch(void) { if (!(np2cfg.dipsw[2] & 0x80)) { #if defined(CPUCORE_IA32) - mem[MEMB_SYS_TYPE] = 0x02; // 80386กม + mem[MEMB_SYS_TYPE] = 0x03; // 80386กม #else mem[MEMB_SYS_TYPE] = 0x01; // 80286 #endif @@ -110,7 +108,8 @@ static void bios_reinitbyswitch(void) { } 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(0x18a, 0x3f); }