Mail Archives: djgpp/2000/02/13/11:42:49
Eli:
> > >> I don't know, but I suspect that command.com and edit.com are actually
> > >> Windows console applications in disguise.
> > Ran 'em both in F8-DOS.
> That doesn't really prove anything: programs exist that can run both in
> DOS and on Windows. In fact, each Windows application has a small DOS
> stub prepended to it.
True: normally the DOS stub just writes "This program requires..."
and from a DOS point of view the real Windows EXE is just appended.
In DR-DOS, taskmgr.exe contains the full task manager in its DOS stub
and run as a Windows task manager when run under Windows. Idem for lock iirc.
*But* for command.com and edit.com, they are no EXEs and seem too small
to contain 2 programs in one (the DOS and the Win32 console app) -
compared to their sizes in MS-DOS 6.22.
Some indices: the Win95 OSR2 edit.com runs on a 286 with DR-DOS 7.03;
if you dump the assembler from command.com with debug, you'll find 6 instances
of the Win9x close request calls (int 2f multiplex with ax=168f).
> But a special function to turn on this checking, for programs that
> want it, would be nice.
I vote for this functionality to be *optional* too!
--
Gautier
_____\\________________\_______\_________
http://members.xoom.com/gdemont/gsoft.htm
- Raw text -