--- np2/bios/bios.c 2003/10/19 14:56:15 1.2 +++ np2/bios/bios.c 2003/11/15 07:10:02 1.5 @@ -6,12 +6,14 @@ #include "iocore.h" #include "bios.h" #include "biosmem.h" -#include "keytable.res" -#include "itfrom.res" +#include "sound.h" +#include "fmboard.h" #include "lio.h" -#include "fdfmt.h" #include "fddfile.h" #include "fdd_mtr.h" +#include "fdfmt.h" +#include "keytable.res" +#include "itfrom.res" BOOL biosrom = FALSE; @@ -94,6 +96,11 @@ static void bios_reinitbyswitch(void) { gdc.display |= 4; } gdcs.textdisp |= GDCSCRN_EXT; + + if ((pc.model >= PCMODEL_VX) && (usesound & 0x7e)) { + iocore_out8(0x188, 0x27); + iocore_out8(0x18a, 0x3f); + } } static void bios_vectorset(void) { // ver0.30