Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
CryptoAlgo Inc daad8a087a Add source files 4 years ago
..
br Add source files 4 years ago
chp Add source files 4 years ago
chs Add source files 4 years ago
cht Add source files 4 years ago
cs Add source files 4 years ago
da Add source files 4 years ago
el Add source files 4 years ago
es Add source files 4 years ago
fi Add source files 4 years ago
fr Add source files 4 years ago
ger Add source files 4 years ago
hu Add source files 4 years ago
it Add source files 4 years ago
jpn Add source files 4 years ago
kor Add source files 4 years ago
nec_98 Add source files 4 years ago
nl Add source files 4 years ago
no Add source files 4 years ago
pl Add source files 4 years ago
psu Add source files 4 years ago
pt Add source files 4 years ago
ru Add source files 4 years ago
sv Add source files 4 years ago
tr Add source files 4 years ago
tst Add source files 4 years ago
usa Add source files 4 years ago
buildmsg.c Add source files 4 years ago
comequ.asm Add source files 4 years ago
command1.asm Add source files 4 years ago
command2.asm Add source files 4 years ago
comseg.asm Add source files 4 years ago
comsw.asm Add source files 4 years ago
copy.asm Add source files 4 years ago
copypr1.asm Add source files 4 years ago
copypr2.asm Add source files 4 years ago
cparse.asm Add source files 4 years ago
dir.asm Add source files 4 years ago
dirs Add source files 4 years ago
envdata.asm Add source files 4 years ago
fordata.asm Add source files 4 years ago
ifequ.asm Add source files 4 years ago
init.asm Add source files 4 years ago
iparse.asm Add source files 4 years ago
loadhi.asm Add source files 4 years ago
makefile.sub Add source files 4 years ago
parse2.asm Add source files 4 years ago
path1.asm Add source files 4 years ago
path2.asm Add source files 4 years ago
rdata.asm Add source files 4 years ago
readme.txt Add source files 4 years ago
resmsg.equ Add source files 4 years ago
rucode.asm Add source files 4 years ago
sources.inc Add source files 4 years ago
stub.asm Add source files 4 years ago
tbatch.asm Add source files 4 years ago
tbatch2.asm Add source files 4 years ago
tcmd1a.asm Add source files 4 years ago
tcmd1b.asm Add source files 4 years ago
tcmd2a.asm Add source files 4 years ago
tcmd2b.asm Add source files 4 years ago
tcode.asm Add source files 4 years ago
tdata.asm Add source files 4 years ago
tenv.asm Add source files 4 years ago
tenv2.asm Add source files 4 years ago
tfor.asm Add source files 4 years ago
tmisc1.asm Add source files 4 years ago
tmisc2.asm Add source files 4 years ago
tparse.asm Add source files 4 years ago
tpipe.asm Add source files 4 years ago
tprintf.asm Add source files 4 years ago
tranmsg.asm Add source files 4 years ago
tspc.asm Add source files 4 years ago
tucode.asm Add source files 4 years ago
uinit.asm Add source files 4 years ago

readme.txt

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.