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

common DOSVM console input routine and made the service really echo.
This commit is contained in:
Jukka Heinonen 2002-04-08 20:11:47 +00:00 committed by Alexandre Julliard
parent adf7751dd5
commit 66503b0653

View File

@ -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 */