mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
[NTVDM]
Add echo to INT 21h, function AH = 3Fh. svn path=/branches/ntvdm/; revision=61257
This commit is contained in:
parent
76f1085bdc
commit
7e07cd3ec5
1 changed files with 2 additions and 0 deletions
|
@ -2014,11 +2014,13 @@ VOID WINAPI DosInt21h(LPWORD Stack)
|
|||
if (getCF()) break;
|
||||
|
||||
// FIXME: Security checks!
|
||||
DosPrintCharacter(Character);
|
||||
Buffer[Stack[STACK_COUNTER]++] = Character;
|
||||
|
||||
if (Character == '\r')
|
||||
{
|
||||
/* Stop on first carriage return */
|
||||
DosPrintCharacter('\n');
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue