System information

PIP allows reference to physical and logical devices that are attached to the CP/M svstem. The
device names are the same as given under the STAT command, along with a number of specially
named devices. The following is a list of logical devices given in the STAT command
CON: (console)
RDR: (reader)
PUN: (punch)
LST: (list)
while the physical devices are
TTY: (console , reader, punch, or list)
CRT: (console, or list), UC1: (console)
PTR: (reader), URI: (reader), UR2: (reader)
PTP: (punch), UPI: (punch), UP2: (punch)
LPT: (list), ULI: (list)
The BAT: physical device is not included, because this assignment is used only to indicate that
the RDR: and LST: devices are used for console input/output.
The RDR, LST, PUN, and CON devices are all defined within the BIOS portion of CP/M, and
are easily altered for any particular I/O system. The current physical device mapping is defined
by IOBYTE; see Section 6 for a discussion of this function. The destination device must be
capable of receiving data, for example, data cannot be sent to the punch, and the source devices
must be capable of generating data, for example, the LST: device cannot be read.
The following list describes additional device names that can be used in PIP commands.
-NUL: sends 40 nulls (ASCII 0s) to the device. This can be issued at the end of punched
output.
-EOF: sends a CP/M end-of-file (ASCII CTRL-Z) to the destination device (sent automatically
at the end of all ASCII data transfers through PIP).
-INP: is a special PIP input source that can be patched into the PIP program. PIP gets the input
data character-by-character, by CALLing location 103H, with data returned in location
109H (parity bit must be zero).
1.6 Transient Commands CP/M Operating System Manual
1-28