From 61fffb166eac2d971214905bb64f8461bb18ba9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Strohh=C3=A4cker?= Date: Mon, 20 Nov 2006 17:35:53 +0000 Subject: [PATCH] enable interrupts when leaving int16/ax=1 as bios uses sti/retf2 (fixes Joust) Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2723 --- src/ints/bios_keyboard.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ints/bios_keyboard.cpp b/src/ints/bios_keyboard.cpp index aa99c174..58350f70 100644 --- a/src/ints/bios_keyboard.cpp +++ b/src/ints/bios_keyboard.cpp @@ -505,6 +505,8 @@ static Bitu INT16_Handler(void) { } break; case 0x01: /* CHECK FOR KEYSTROKE */ + // enable interrupt-flag after IRET of this int16 + mem_writew(SegPhys(ss)+reg_sp+4,(mem_readw(SegPhys(ss)+reg_sp+4) | FLAG_IF)); for (;;) { if (check_key(temp)) { if (!IsEnhancedKey(temp)) {