Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ devport(3g) — GL2 W2.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

devport(1)

devport()  —  Silicon Graphics

NAME

devport − assigns a serial port to an external graphics device

SPECIFICATION

C
devport(dev, portno)
Device dev;
long portno;

FORTRAN
subroutine devpor(dev, portno)
integer*4 dev, portno

Pascal
procedure devport(dev, portno: longint);

DESCRIPTION

There are four serial ports on the back panel of the IRIS, Ports 0 through 3.  Port 0 connects the keyboard to the IRIS system. The remaining ports connect additional terminals or graphics peripherals, such as a dial and button box or a digitizing tablet. 

The system software assumes that a dial and button box or a digitizing tablet will be connected to port 3. However, if both a dial and button box and a digitizing tablet are used with the IRIS, you must tell the system which port is being used for each device.  devport assigns a serial port to the specified device. You must specify a device number for the peripheral and a port number between 1 and 3.  (See Appendix A for device numbers.)  For example, devport(DIAL0,2) followed by devport(BPAD0,3) indicates the dial and button box is connected to port 2 and the digitizing tablet is connected to port 3. 

SEE ALSO

The manual page for the following routine is located in the Unix Programmer’s Manual, Volume I:  devport(1)

NOTE

Use this routine before using any of the input peripherals. 

Version 2.5  —  April 22, 1987

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026