[NTVDM]
authorAleksandar Andrejevic <aandrejevic@reactos.org>
Wed, 14 May 2014 02:35:26 +0000 (02:35 +0000)
committerAleksandar Andrejevic <aandrejevic@reactos.org>
Wed, 14 May 2014 02:35:26 +0000 (02:35 +0000)
The value of USER_MEMORY_SIZE depends on FIRST_MCB_SEGMENT.

svn path=/trunk/; revision=63287

reactos/subsystems/ntvdm/dos/dos32krnl/dos.h

index f3e9140..6fe399e 100644 (file)
@@ -27,7 +27,7 @@
 #define DOS_CONFIG_PATH L"%SystemRoot%\\system32\\CONFIG.NT"
 #define DOS_COMMAND_INTERPRETER L"%SystemRoot%\\system32\\COMMAND.COM /k %SystemRoot%\\system32\\AUTOEXEC.NT"
 #define FIRST_MCB_SEGMENT 0x1000
-#define USER_MEMORY_SIZE 0x8FFE
+#define USER_MEMORY_SIZE (0x9FFE - FIRST_MCB_SEGMENT)
 #define SYSTEM_PSP 0x08
 #define SYSTEM_ENV_BLOCK 0x800