SAVE

SAVE n ufn

Description

The SAVE command places n pages (256-byte blocks) into a file 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.

Examples

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.