mirror of
https://github.com/reactos/reactos.git
synced 2024-06-30 01:42:30 +00:00
[NTVDM]
Fix INT 16h, AH=01h/11h. svn path=/trunk/; revision=67569
This commit is contained in:
parent
066c89edc7
commit
fbd6184f27
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue