mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 16:35:49 +00:00
[NTVDM]
Revert r67561. It's incorrect. svn path=/trunk/; revision=67562
This commit is contained in:
parent
d9c9353901
commit
82000b2bed
1 changed files with 3 additions and 3 deletions
|
@ -42,8 +42,8 @@ WORD NTAPI ConDrvReadInput(PDOS_DEVICE_NODE Device, DWORD Buffer, PWORD Length)
|
|||
{
|
||||
if (!ExtendedCode)
|
||||
{
|
||||
/* Call the BIOS INT 16h, AH=10h "Get Extended Keystroke" */
|
||||
setAH(0x10);
|
||||
/* Call the BIOS INT 16h, AH=00h "Get Keystroke" */
|
||||
setAH(0x00);
|
||||
Int32Call(&DosContext, BIOS_KBD_INTERRUPT);
|
||||
|
||||
/* Retrieve the character in AL (scan code is in AH) */
|
||||
|
@ -59,7 +59,7 @@ WORD NTAPI ConDrvReadInput(PDOS_DEVICE_NODE Device, DWORD Buffer, PWORD Length)
|
|||
}
|
||||
|
||||
/* Check if this is a special character */
|
||||
if (Character == 0 || Character == 0xE0) ExtendedCode = getAH();
|
||||
if (Character == 0) ExtendedCode = getAH();
|
||||
|
||||
if (DoEcho) DosPrintCharacter(DOS_OUTPUT_HANDLE, Character);
|
||||
Pointer[BytesRead++] = Character;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue