System information

1.4.4 SAVE Command
Syntax:
SAVE n ufn
The SAVE command places n pages (256-byte blocks) onto disk from the TPA and names this
file ufn. In the CP/M distribution system, the TPA starts at 100H (hexadecimal) which is the
second page of memory. The SAVE command must specify 2 pages of memory if the user's
program occupies the area from 100H through 2FFH. The machine code file can be subsequently
loaded and executed. The following are examples of the SAVE command:
SAVE 3 X.COM Copies 100H through 3FFH to X.COM.
SAVE 40 Q Copies 100H through 28FFH to Q. Note that 28 is the page
count in 28FFH, and that 28H = 2 * 16 + 8 = 40 decimal.
SAVE 4 X.Y Copies 100H through 4FFH to X.Y.
The SAVE command can also specify a disk drive in the ufn portion of the command, as shown
in the following example:
SAVE 10 B:ZOT.COM Copies 10 pages, 100H through 0AFFH, to the file
ZOT.COM on drive B.
1.4.5 TYPE Command
Syntax:
TYPE ufn
The TYPE command displays the content of the ASCII source file ufn on the currently logged
disk at the console device. The following are valid TYPE commands:
TYPE X.Y
TYPE X.PLM
TYPE XXX
1.4 Built-in Commands CP/M Operating System Manual
1-11