Windows2003-3790/base/mvdm/dos/v86/cmd/command
2020-09-30 16:53:55 +02:00
..
br First commit 2020-09-30 16:53:55 +02:00
chp First commit 2020-09-30 16:53:55 +02:00
chs First commit 2020-09-30 16:53:55 +02:00
cht First commit 2020-09-30 16:53:55 +02:00
cs First commit 2020-09-30 16:53:55 +02:00
da First commit 2020-09-30 16:53:55 +02:00
el First commit 2020-09-30 16:53:55 +02:00
es First commit 2020-09-30 16:53:55 +02:00
fi First commit 2020-09-30 16:53:55 +02:00
fr First commit 2020-09-30 16:53:55 +02:00
ger First commit 2020-09-30 16:53:55 +02:00
hu First commit 2020-09-30 16:53:55 +02:00
it First commit 2020-09-30 16:53:55 +02:00
jpn First commit 2020-09-30 16:53:55 +02:00
kor First commit 2020-09-30 16:53:55 +02:00
nl First commit 2020-09-30 16:53:55 +02:00
no First commit 2020-09-30 16:53:55 +02:00
pl First commit 2020-09-30 16:53:55 +02:00
psu First commit 2020-09-30 16:53:55 +02:00
pt First commit 2020-09-30 16:53:55 +02:00
ru First commit 2020-09-30 16:53:55 +02:00
sv First commit 2020-09-30 16:53:55 +02:00
tr First commit 2020-09-30 16:53:55 +02:00
tst First commit 2020-09-30 16:53:55 +02:00
usa First commit 2020-09-30 16:53:55 +02:00
buildmsg.c First commit 2020-09-30 16:53:55 +02:00
comequ.asm First commit 2020-09-30 16:53:55 +02:00
command1.asm First commit 2020-09-30 16:53:55 +02:00
command2.asm First commit 2020-09-30 16:53:55 +02:00
comseg.asm First commit 2020-09-30 16:53:55 +02:00
comsw.asm First commit 2020-09-30 16:53:55 +02:00
copy.asm First commit 2020-09-30 16:53:55 +02:00
copypr1.asm First commit 2020-09-30 16:53:55 +02:00
copypr2.asm First commit 2020-09-30 16:53:55 +02:00
cparse.asm First commit 2020-09-30 16:53:55 +02:00
dir.asm First commit 2020-09-30 16:53:55 +02:00
dirs First commit 2020-09-30 16:53:55 +02:00
envdata.asm First commit 2020-09-30 16:53:55 +02:00
fordata.asm First commit 2020-09-30 16:53:55 +02:00
ifequ.asm First commit 2020-09-30 16:53:55 +02:00
init.asm First commit 2020-09-30 16:53:55 +02:00
iparse.asm First commit 2020-09-30 16:53:55 +02:00
loadhi.asm First commit 2020-09-30 16:53:55 +02:00
makefile.sub First commit 2020-09-30 16:53:55 +02:00
parse2.asm First commit 2020-09-30 16:53:55 +02:00
path1.asm First commit 2020-09-30 16:53:55 +02:00
path2.asm First commit 2020-09-30 16:53:55 +02:00
rdata.asm First commit 2020-09-30 16:53:55 +02:00
readme.txt First commit 2020-09-30 16:53:55 +02:00
resmsg.equ First commit 2020-09-30 16:53:55 +02:00
rucode.asm First commit 2020-09-30 16:53:55 +02:00
sources.inc First commit 2020-09-30 16:53:55 +02:00
stub.asm First commit 2020-09-30 16:53:55 +02:00
tbatch2.asm First commit 2020-09-30 16:53:55 +02:00
tbatch.asm First commit 2020-09-30 16:53:55 +02:00
tcmd1a.asm First commit 2020-09-30 16:53:55 +02:00
tcmd1b.asm First commit 2020-09-30 16:53:55 +02:00
tcmd2a.asm First commit 2020-09-30 16:53:55 +02:00
tcmd2b.asm First commit 2020-09-30 16:53:55 +02:00
tcode.asm First commit 2020-09-30 16:53:55 +02:00
tdata.asm First commit 2020-09-30 16:53:55 +02:00
tenv2.asm First commit 2020-09-30 16:53:55 +02:00
tenv.asm First commit 2020-09-30 16:53:55 +02:00
tfor.asm First commit 2020-09-30 16:53:55 +02:00
tmisc1.asm First commit 2020-09-30 16:53:55 +02:00
tmisc2.asm First commit 2020-09-30 16:53:55 +02:00
tparse.asm First commit 2020-09-30 16:53:55 +02:00
tpipe.asm First commit 2020-09-30 16:53:55 +02:00
tprintf.asm First commit 2020-09-30 16:53:55 +02:00
tranmsg.asm First commit 2020-09-30 16:53:55 +02:00
tspc.asm First commit 2020-09-30 16:53:55 +02:00
tucode.asm First commit 2020-09-30 16:53:55 +02:00
uinit.asm First commit 2020-09-30 16:53:55 +02:00

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This directory contains source files for COMMAND.COM, including
internal commands.

A list of the internal commands, some characteristics, and hints
about where they're found appears in TDATA.ASM, labelled COMTAB.

COMSEG.ASM contains a brief description of each segment in
COMMAND.COM.

  TRANDATA contains data which doesn't usually change, so is
  included in the transient checksum area, while TRANSPACE is
  modifiable, and excluded from the transient checksum.  TRANSPACE
  variable should be treated as uninitialized data for every
  command cycle.

----------------------------------------------------------------------

Here's a listing of the general contents of files,
concentrating on central functions and publics in each module.

Sizes are approximate and probably obsolete by the time you
read this.


Name         Size     Contents
            (000's)

COMEQU   ASM  10   Command.com equates, structures, macros.
COMMAND1 ASM  19   Main header & some resident code: 
		    command.com entry point; exec call; ctrl/c handler.
COMMAND2 ASM  14   Resident code: alloc mem, load, & checksum transient;
		    int 2E (single command line execute) entry point;
		    check for removable media (callable by transient);
		    save user's stdin/out & set to stderr; restore stdin/out;
		    clean up program header, closing files;
		    set terminate, ctrl/c, disk error 'interrupt' vectors;
		    move environment to new segment at end of init.
COMSEG   ASM   1   All segments, in load order.
COMSW    ASM       Build switches: refers to version.inc.
COPY     ASM  28   COPY command.
COPYPR1  ASM   6   Routines for COPY command.
COPYPR2  ASM  10   Routines for COPY command.
CPARSE   ASM   9   Command-line parse routine.
DIR      ASM  73   DIR command.
ENVDATA  ASM       Default environment data definitions.
FORDATA  ASM       A data definition for FOR loop routine (tfor.asm).
IFEQU    ASM       'Equates which are switch-dependent' (none here).
INIT     ASM  47   Command.com initialization routine.
IPARSE   ASM       SYSPARSE equates (this file is probably obsolete).
PARSE2   ASM  13   Command-line parse routines, argv style.
PATH1    ASM  16   Pathname invocation (find an executable or batch file).
PATH2    ASM  13   See PATH1.
RDATA    ASM  17   Resident data definitions.
RUCODE   ASM  19   Language-dependent resident code:
		    ctrl/c batch termination dialog;
		    int 24 disk error handler;
		    DBCS lead byte check ITESTKANJ;
		    reset parse & critical error message ptrs before exiting;
		    RPRINT message printer.
TBATCH   ASM  26   Batch processing routines.
TBATCH2  ASM  15   Batch processing routines.
TCMD1A   ASM  17   Obsolete DIR command.  Module no longer used.
TCMD1B   ASM  20   PAUSE, DEL, RENAME, TYPE, VOL commands.
		    Find & print volume label & serial #.
		    Get/set a file's code page;
		    Set extended error message pointer;
		    Get extended error number.
TCMD2A   ASM  12   VER, CLS command.
		    Support routines for transient:
		    build directory strings; print things.
TCMD2B   ASM  18   CTTY, CHCP, TRUENAME commands.
		    Parse routines to set up error messages.
TCODE    ASM  13   Main entry points to transient.
TDATA    ASM  21   Transient data:  internal command table;
		    parse control blocks; miscellaneous.
TENV     ASM  13   PROMPT, SET commands.  Environment utilities.
		    Restore user directory.
TENV2    ASM  14   CHDIR, MKDIR, RMDIR commands.  Path crunch.
		    Save user directory.
TFOR     ASM  15   FOR loop processing.
TMISC1   ASM  15   Old switch parser; find & execute commands;
		    prescan command-line, removing pipes & redirects;
		    Error recycle point for command.com.
TMISC2   ASM  10   Examine pathname, set up pathname argument.
		    Move string to srcbuf.
		    Set up error message for extended error.
		    Some redirection stuff (IOSET).
TPARSE   ASM   1   Transient interface to system parser SYSPARSE.
TPIPE    ASM  17   Pipe stuff.  DATE, TIME commands.
		    Check for single command execute.
		    Set flag (in resident) to restore default directory.
TPRINTF  ASM  11   Set up and print messages, with substitutions.
TRANMSG  ASM  20   Transient messages and substitution blocks.
TSPC     ASM  11   Transient 'uninitialized' data.
TUCODE   ASM  14   Transient 'modifiable' code:
		    verification prompts for DEL;
		    ECHO, BREAK, VERIFY commands;
		    print date;
UINIT    ASM   7   Data definitions/messages for initialization.
		    Includes parse control block for COMMAND command.
COMMAND  CL1   2   Messages, class 1.  Automatically generated.
COMMAND  CL2   1   Messages, class 2.  Automatically generated.
COMMAND  CL3   1   Messages, class 3.  Automatically generated.
COMMAND  CL4   1   Messages, class 4.  Automatically generated.
COMMAND  CLA   8   Messages, class A.  Automatically generated.
COMMAND  CLB   2   Messages, class B.  Automatically generated.
COMMAND  CLC   3   Messages, class C.  Automatically generated.
COMMAND  CLD   5   Messages, class D.  Automatically generated.
COMMAND  CLE   7   Messages, class E.  Automatically generated.
COMMAND  CLF  18   Messages, class F.  Automatically generated.
COMMAND  CTL       Number of message classes.  Automatically generated.
RESMSG   EQU   2   Message number equates for resident and init code.
COMMAND  LNK       LINK input file.
COMMAND  SKL  10   Message skeleton file.
README   TXT	   This file.