--- np2/bios/bios18.c 2003/12/08 00:55:30 1.7 +++ np2/bios/bios18.c 2004/01/22 01:10:03 1.9 @@ -1,6 +1,5 @@ #include "compiler.h" #include "cpucore.h" -#include "memory.h" #include "pccore.h" #include "iocore.h" #include "bios.h" @@ -265,7 +264,6 @@ void bios0x18(void) { break; case 0x0a: // CRTモードの設定 -#if 1 mem[MEMB_CRT_STS_FLAG] = 0x80 | (CPU_AL & 0x0f); // GDCバッファを空に if (gdc.m.cnt) { @@ -305,18 +303,6 @@ void bios0x18(void) { gdcs.textdisp |= GDCSCRN_ALLDRAW2; gdc_restorekacmode(); break; -#else - // GDCバッファを空に - if (gdc.m.cnt) { - gdc_work(GDCWORK_MASTER); - } - gdc_forceready(&gdc.m); - - mem[MEMB_CRT_STS_FLAG] = CPU_AL; - if (systemport_r(0x33) & 0x08) { - mem[MEMB_CRT_STS_FLAG] |= 0x80; - } -#endif case 0x0b: // CRTモードのセンス CPU_AL = mem[MEMB_CRT_STS_FLAG];