Author: aandrejevic
Date: Wed May 6 22:41:22 2015
New Revision: 67584
URL:
http://svn.reactos.org/svn/reactos?rev=67584&view=rev
Log:
[NTVDM]
- INT 21h AH = 0Ah: don't increment the count for a backspace.
- Fix the EMS version number.
Modified:
trunk/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/dos.c
trunk/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/emsdrv.h
Modified: trunk/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/dos.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/mvdm/ntvdm/dos/…
==============================================================================
--- trunk/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/dos.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/dos.c [iso-8859-1] Wed May 6
22:41:22 2015
@@ -402,6 +402,7 @@
}
if (Character == '\r') break;
+ if (Character == '\b') continue;
Count++; /* Carriage returns are NOT counted */
}
Modified: trunk/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/emsdrv.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/mvdm/ntvdm/dos/…
==============================================================================
--- trunk/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/emsdrv.h [iso-8859-1] (original)
+++ trunk/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/emsdrv.h [iso-8859-1] Wed May 6
22:41:22 2015
@@ -11,7 +11,7 @@
/* DEFINITIONS ****************************************************************/
-#define EMS_VERSION_NUM 0x04
+#define EMS_VERSION_NUM 0x40
#define EMS_INTERRUPT_NUM 0x67
#define EMS_SEGMENT 0xD000
#define EMS_MAX_HANDLES 16