NEC CP/M-86 System Reference Manual page 150

Advanced personal computer
Table of Contents

Advertisement

GSX-86: Graphics for the APe
9-18
ESCAPE
The Escape operation allows the special capabilities of a graphics device to be
accessed from the application program. Some escape functions are predefined
above, but others can be defined for your particular devices. The parameters passed
are dependent on the function being performed.
Input
contrl(l)
contrl(2)
contrl(4)
contrl(6)
Opcode
=
5
-- Number of input vertices
-- Number of input parameters
-- Function ID
1
=
INQUIRE ADDRESSABLE CHARAC-
TER CELLS
2
=
ENTER GRAPHICS MODE
3
=
EXIT GRAPHICS MODE
4
=
CURSOR UP
5
=
CURSOR DOWN
6
=
CURSOR RIGHT
7
=
CURSOR LEFT
8
=
HOME CURSOR
9
=
ERASE TO END OF SCREEN
10
=
ERASE TO END OF LINE
11
=
DIRECT CURSOR ADDRESS
12
=
OUTPUT CURSOR ADDRESSABLE
TEXT
13
=
REVERSE VIDEO ON
14
=
REVERSE VIDEO OFF
15
=
INQUIRE CURRENT CURSOR
ADDRESS
16
=
INQUIRE TABLET STATUS
17
=
HARDCOPY
18
=
PLACE CURSOR AT LOCATION
19
=
REMOVE CURSOR
20-50
=
Unused but reserved for expansion
51-100
=
Unused and available for use
intin
Function-dependent information (described
on following pages)
ptsin
Array of input coordinates for escape
function

Advertisement

Table of Contents
loading

Table of Contents