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
This commit is contained in:
parent
af1673c6f2
commit
61fffb166e
1 changed files with 2 additions and 0 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue