[NTVDM]
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Mon, 17 Aug 2015 20:11:51 +0000 (20:11 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Mon, 17 Aug 2015 20:11:51 +0000 (20:11 +0000)
commit97ae85451cf18e14a4f898010544df7640b42f16
tree8c1711416be9d410bf981c92ba55159ad888c6e9
parentbf1b6fbcc5318392d2ad2e9a731f53a661da8feb
[NTVDM]
Changes in preparation for CORE-9773
- Split DosLoadExecutable into DosLoadExecutable & DosLoadExecutableInternal, the latter one can be used for small programs embedded in ntvdm.exe (will be used for integrated command.com).
- Factorize common loading code in DosLoadExecutable(Internal); just before starting a program, set the CPU registers to the default values DOS use; see comments in the code for more details (some programs expect those values).
- Set a correct termination type (hiword in the returned ErrorLevel) when terminating programs (the value is different for TSRs and for regular programs).
CORE-9773 CORE-9729 CORE-9711 CORE-8247

svn path=/trunk/; revision=68746
reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/process.c
reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/process.h