Updating The Assignment Table - NEC CP/M-86 System Reference Manual

Advanced personal computer
Table of Contents

Advertisement

GSX-86: Graphics for the APe
Updating The Assignment Table
The Assignment Table (ASSIGN.SYS) on the distribution diskette is configured to
operate with the APC only. To use any other graphics device, you must update the
table. The Assignment Table consists entirely of text and can be created and
modified with any text editor (ED, for example). It must reside in a file called
ASSIGN.SYS on the drive specified in the GRAPHICS command (or the current
default drive if no drive was specified in the GRAPHICS command). For each
device driver, there is an entry containing the driver number (workstation ID) and
the name of the file containing the associated graphics device driver.
The following is a sample Assignment Table. It shows the complete contents of
ASSIGN.SYS on the distribution diskette.
1
DDNECAPC
; NEC APC DRIVER
The syntax for entries in the Assignment Table is:
where:
DD [d:]filename [;comments ]
DD
=
logical driver number
d
=
optional drive specifier
filename
=
device driver file
comments
=
optional text string
The logical device number may be one or two digits. The following convention for
assigning logical device numbers to graphics devices assures the maximum degree of
device independence within programs.
1-10
CRT
11-20
Plotter
21-30
Printer
31-40
Other devices
The first string of alphanumeric characters is the filename of the device driver. It
may be preceded by a drive specifier. If the filetype extension is not specified, ".SYS"
is assumed.
Comments are optional. A comment must be separated from the filename by a
semicolon.
9-3

Advertisement

Table of Contents
loading

Table of Contents