--- np2/bios/bios18.c 2003/11/29 00:36:00 1.5 +++ np2/bios/bios18.c 2003/12/01 17:13:36 1.6 @@ -209,11 +209,13 @@ void bios0x18(void) { // TRACE_("int18", I286_AH); sti_waiting ^= 1; - if (!sti_waiting) { // 割込み許可の遊び - I286_IP--; + if (sti_waiting) { // 割込み許可の遊び I286_STI; - nevent_forceexit(); - return; + if (PICEXISTINTR) { + I286_IP--; + nevent_forceexit(); + return; + } } switch(I286_AH) {