rconn%brl@sri-unix.UUCP (06/19/83)
From: Rick Conn <rconn@brl> AR84:CPM contains a new version of SYSIO (my redirectable I/O package under ZCPR2). This file, called SYSIO 2ASM, is source for a redirectable I/O package which gives the user seven con- soles and five printers under ZCPR2. It gives the general ZCPR2 user a fairly good example of how to implement a redirectable I/O package under ZCPR2 so that DEVICE, IOLOADER, and RECORD can in- teract with it. This package defines the following physical devices: Consoles -- TTY Printing Terminal CRT CRT Display CRTMOD CRT and Modem in Parallel CRTREM CRT Input and CRT/Remote Computer Output CRTMOD2 CRT Input and CRT/Modem Output CRTTY CRT Input and CRT/TTY Output CRTNEC CRT Input and CRT/NEC Spinwriter Output Readers and Punches -- MODEM Modem CLOCK DC Hayes Chronograph List Devices -- TTY Printing Terminal CRT CRT Display NEC NEC Spinwriter Output MODEM Modem REMOTE Remote Computer In interacting with DEVICE, the user need no longer concern him- self with the arbitrary physical device names associated with STAT. DEVICE allows the user to find out the names of the physi- cal devices he has available and to assign them mnemonically as he wishes. For instance, the following commands are valid: DEVICE Display All -- Display the names of all physical devices DEVICE Console=CRT,List=NEC -- Assigns the CRT to the console and the NEC Spinwriter to the List Device DEVICE // -- Displays built-in documentation DEVICE is also documented in the ZCPR2 literature. Enjoy! Rick P.S. Ron Fowler's MLOAD is useful in creating SYSIO.IO.