--- np2/bios/bios19.c 2003/12/08 00:55:30 1.2 +++ np2/bios/bios19.c 2004/03/04 17:36:05 1.5 @@ -1,6 +1,5 @@ #include "compiler.h" #include "cpucore.h" -#include "memory.h" #include "pccore.h" #include "iocore.h" #include "bios.h" @@ -35,7 +34,7 @@ void bios0x19(void) { if (speed >= 8) { speed = 4; // 1200bps } - if (mem[MEMB_BIOS_FLAG] & 0x80) { // 4MHz? + if (mem[MEMB_BIOS_FLAG1] & 0x80) { // 4MHz? speed += 12; } @@ -96,7 +95,7 @@ void bios0x19(void) { // ¥Ý¥¤¥ó¥¿¡Á SETBIOSMEM16(MEMW_RS_CH0_OFST, CPU_DI); SETBIOSMEM16(MEMW_RS_CH0_SEG, CPU_ES); - i286_memstr_write(CPU_ES, CPU_DI, &rsb, sizeof(rsb)); + MEML_WRITESTR(CPU_ES, CPU_DI, &rsb, sizeof(rsb)); CPU_AH = 0; }