mirror of
https://github.com/reactos/reactos.git
synced 2026-07-01 09:14:24 +08:00
[NTVDM]
Fix INT 16h, AH=01h/11h. svn path=/trunk/; revision=67569
This commit is contained in:
@@ -122,6 +122,13 @@ static VOID WINAPI BiosKeyboardService(LPWORD Stack)
|
||||
{
|
||||
/* There is a character, clear ZF and return it */
|
||||
Stack[STACK_FLAGS] &= ~EMULATOR_FLAG_ZF;
|
||||
|
||||
if (getAH() == 0x01 && LOBYTE(Character) == 0xE0)
|
||||
{
|
||||
/* Clear the extended code */
|
||||
Character &= 0xFF00;
|
||||
}
|
||||
|
||||
setAX(Character);
|
||||
}
|
||||
else
|
||||
@@ -130,12 +137,6 @@ static VOID WINAPI BiosKeyboardService(LPWORD Stack)
|
||||
Stack[STACK_FLAGS] |= EMULATOR_FLAG_ZF;
|
||||
}
|
||||
|
||||
if (getAH() == 0x01 && LOBYTE(Character) == 0xE0)
|
||||
{
|
||||
/* Clear the extended code */
|
||||
Character &= 0xFF00;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user