System information
-OUT: is a special PIP output destination that can be patched into the PIP program. PIP CALLs
location 106H with data in register C for each character to transmit. Note that locations
109H through 1FFH of the PIP memory image are not used and can be replaced by
special purpose drivers using DDT (see Section 4).
-PRN: is the same as LST:, except that tabs are expanded at every eighth character position,
lines are numbered, and page ejects are inserted every 60 lines with an initial eject (same
as using PIP options [t8np]).
File and device names can be interspersed in the PIP commands. In each case, the specific
device is read until end-of-file (CTRL-Z for ASCII files, and end-of-data for non-ASCII disk
files). Data from each device or file are concatenated from left to right until the last data source
has been read.
The destination device or file is written using the data from the source files, and an end-of-file
character, CTRL-Z, is appended to the result for ASCII files. If the destination is a disk file, a
temporary file is created ($$$ secondary name) that is changed to the actual filename only on
successful completion of the copy. Files with the extension COM are always assumed to be
non-ASCII.
The copy operation can be aborted at any time by pressing any key on the keyboard. PIP responds
with the message ABORTED to indicate that the operation has not been completed. If any
operation is aborted, or if an error occurs during processing, PIP removes any pending commands
that were set up while using the SUBMIT command.
PIP performs a special function if the destination is a disk file with type HEX (an Intel
hex-formatted machine code file), and the source is an external peripheral device, such as a paper
tape reader. In this case, the PIP program checks to ensure that the source file contains a properly
formed hex file, with legal hexadecimal values and checksum records.
When an invalid input record is found, PIP reports an error message at the console and waits for
corrective action. Usually, you can open the reader and rerun a section of the tape (pull the tape
back about 20 inches). When the tape is ready for the reread, a single carriage return is typed at
the console, and PIP attempts another read. If the tape position cannot be properly read, continue
the read by typing a return following the error message, and enter the record manually with the
ED program after the disk file is constructed.
PIP allows the end-of-file to be entered from the console if the source file is an RDR: device. In
this case, the PIP program reads the device and monitors the keyboard. If CTRL-Z is typed at the
keyboard, the read operation is terminated normally.
1.6 Transient Commands CP/M Operating System Manual
1-29