reactos/subsystems/ntvdm
Hermès Bélusca-Maïto 2a6c5d51be [NTVDM]
Hackplement BOP_CMD function 0x08: "Launch external command". Still WIP.
Explanation: Launching a command from command.com starts (under certain conditions not implemented there) "cmd.exe /c <the_command>"

See https://groups.google.com/forum/#!topic/microsoft.public.win2000.cmdprompt.admin/n5KbegKJuE0
and http://technet.microsoft.com/en-us/library/cc723564.aspx#XSLTsection123121120120
subsection "CMD.EXE and COMMAND.COM":
"Be aware that a command shell is not an MS-DOS command prompt, even though it shares the same icon.
The Windows NT command shell is a full 32-bit Windows NT console application that resides in the CMD.EXE executable file.
The MS-DOS command prompt is a 16-bit DOS application that resides in the COMMAND.COM executable file.
Because COMMAND.COM is a 16-bit DOS executable, Windows NT executes this shell within a Windows NT virtual DOS machine (VDM).
COMMAND.COM is supplied primarily for compatibility with MS-DOS.
[...]
This behavior reveals a quite subtle feature of Windows NT that is very important. The 16-bit MS-DOS shell (COMMAND.COM)
that ships with Windows NT is specially designed for Windows NT. When a command is entered for execution by this shell,
it does not actually execute it. Instead, it packages the command text and sends it to a 32-bit CMD.EXE command shell for
execution. Because all commands are actually executed by CMD.EXE (the Windows NT command shell), the 16-bit shell inherits
all the features and facilities of the full Windows NT shell."


svn path=/branches/ntvdm/; revision=61290
2013-12-18 01:16:54 +00:00
..
bios.c [NTVDM] 2013-12-12 20:09:24 +00:00
bios.h [NTVDM] 2013-11-11 04:00:10 +00:00
bop.c [NTVDM] 2013-12-15 16:30:28 +00:00
bop.h [NTVDM] 2013-12-15 16:30:28 +00:00
CMakeLists.txt [NTVDM] 2013-12-17 02:19:52 +00:00
cmos.c [NTVDM] 2013-11-26 20:20:51 +00:00
cmos.h [NTVDM] 2013-11-26 20:20:51 +00:00
dos.c [NTVDM] 2013-12-18 01:16:54 +00:00
dos.h [NTVDM]: Report the "correct" DOS version: 5.00 (or 5.50 depending on which DOS function you call) for NT+ compatibility (allows us to test windows' command.com, debug.com and so on... and therefore to know which BOPs they call). 2013-12-15 15:35:38 +00:00
emulator.c [NTVDM] 2013-12-17 23:03:23 +00:00
emulator.h [NTVDM] 2013-11-26 20:20:51 +00:00
int32.c [NTVDM] 2013-12-15 16:30:28 +00:00
int32.h [NTVDM] 2013-12-15 16:30:28 +00:00
io.c [NTVDM] 2013-12-08 14:22:27 +00:00
io.h [NTVDM] 2013-12-08 14:22:27 +00:00
ntvdm.c [NTVDM] 2013-12-06 04:35:58 +00:00
ntvdm.h [NTVDM] 2013-12-06 04:35:58 +00:00
ntvdm.rc [NTVDM] 2013-06-17 00:00:36 +00:00
ntvdm.spec [NTVDM] 2013-12-17 23:03:23 +00:00
pic.c [NTVDM]: Code formatting only. 2013-12-03 23:50:33 +00:00
pic.h [NTVDM] 2013-11-26 20:20:51 +00:00
ps2.c Fix my Engrish :) 2013-12-07 00:03:39 +00:00
ps2.h [NTVDM] 2013-12-06 04:35:58 +00:00
registers.c [NTVDM] 2013-12-17 22:10:58 +00:00
registers.h [NTVDM] 2013-12-17 22:10:58 +00:00
resource.h [NTVDM] 2013-06-17 00:00:36 +00:00
rsrc.rc [NTVDM] 2013-06-17 00:00:36 +00:00
speaker.c [NTVDM] 2013-11-26 20:20:51 +00:00
speaker.h [NTVDM] 2013-11-03 20:31:19 +00:00
timer.c [NTVDM] 2013-11-30 03:59:26 +00:00
timer.h [NTVDM] 2013-11-26 20:20:51 +00:00
vddsup.c VDD really means "Virtual Device Drivers". 2013-12-17 23:13:11 +00:00
vddsup.h VDD really means "Virtual Device Drivers". 2013-12-17 23:13:11 +00:00
vga.c [NTVDM] 2013-12-08 14:22:27 +00:00
vga.h [NTVDM]: VGA: Fix VGA_DAC_TO_COLOR macro (/me looks at [TheFlash]... :) ) 2013-12-13 23:14:33 +00:00