Commit 66503b06 authored by Jukka Heinonen's avatar Jukka Heinonen Committed by Alexandre Julliard

Converted "read standard input with echo" interrupt service to use

common DOSVM console input routine and made the service really echo.
parent adf7751d
......@@ -86,8 +86,8 @@ void WINAPI DOSVM_Int21Handler( CONTEXT86 *context )
case 0x01: /* READ CHARACTER FROM STANDARD INPUT, WITH ECHO */
TRACE("DIRECT CHARACTER INPUT WITH ECHO\n");
AL_reg(context) = CONSOLE_GetCharacter();
/* FIXME: no echo */
DOSVM_Int16ReadChar(&AL_reg(context), NULL, FALSE);
DOSVM_PutChar(AL_reg(context));
break;
case 0x02: /* WRITE CHARACTER TO STANDARD OUTPUT */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment