Author: aandrejevic
Date: Tue Dec 10 02:56:42 2013
New Revision: 61257
URL:
http://svn.reactos.org/svn/reactos?rev=61257&view=rev
Log:
[NTVDM]
Add echo to INT 21h, function AH = 3Fh.
Modified:
branches/ntvdm/subsystems/ntvdm/dos.c
Modified: branches/ntvdm/subsystems/ntvdm/dos.c
URL:
http://svn.reactos.org/svn/reactos/branches/ntvdm/subsystems/ntvdm/dos.c?re…
==============================================================================
--- branches/ntvdm/subsystems/ntvdm/dos.c [iso-8859-1] (original)
+++ branches/ntvdm/subsystems/ntvdm/dos.c [iso-8859-1] Tue Dec 10 02:56:42 2013
@@ -2014,11 +2014,13 @@
if (getCF()) break;
// FIXME: Security checks!
+ DosPrintCharacter(Character);
Buffer[Stack[STACK_COUNTER]++] = Character;
if (Character == '\r')
{
/* Stop on first carriage return */
+ DosPrintCharacter('\n');
break;
}
}