thus only the name x need be specified in the
command creates a file named
The LOAD
which marks it as containing machine executable code. The file is
actually loaded into memory and executed when the user types the file
name x immediaietly after the prompting character
printed by the
CCP.
In general, the CCP reads the name x following the prompting character
and looks for a built-in function name. If no function name is found,
th CCP searches the system disk directory for a file by the name
x.COM
If found, the machine code is loaded into the TPA, and the program
executes. Thus, the user need only LOAD a hex file once; it can be
subsequently executed any number of times by simply typing the primary
name. In this way, the user can "invent" new commands in the CCP.
(Initialized disks contain the transient commands as COM files, whin
can be deleted at the user's option.) The operation can take place on
an alternate drive if the file name is prefixed by a name. Thus,
LOAD
brings the LOAD program into the TPA from the currently logged disk
and operates upon drive B after execution begins.
It must..be noted that the
f i l e must contain valid Intel
format hexadecimal machine code records (as produced by the ASM
program, for example) which begin at 100H, the beginning of the TPA.
Further, the addresses in the hex records must be in ascending order;
gaps in unfilled memory regions are filled with zeroes by the LOAD
command as the hex records are read. Thus, LOAD must be used only for
creating CP/M standard "COM" files which operate in the TPA. Programs
which occupy regions of memory other than the TPA can be loaded under
PIP <cr>
PIP is the CP/M Peripheral Interchange Program which implements the
basic m e d i a conversion operations necessary to load, print, punch,
copy, and combine disk files. The PIP program is initiated by typing
one of the following forms
22
Summary of Contents for TPC-2OOO
Page 7: ......