EasyManua.ls Logo

NEC CP/M-86 - Page 170

NEC CP/M-86
280 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
GSX-86: Graphics
for
the
APe
9-38
INPUT
LOCATOR
This
operation
returns the position in Device Coordinates
of
the specified
locator
device.
For
REQUEST
MODE
Input:
Input
Output
contrl(l)
contrl(2)
intin(l)
ptsin(l)
ptsin(2)
contrl(3)
contrl(5)
intout(
l)
Opcode =
28
Number
of
input
vertices =
Locator
device
number
1 = default
locator
device
2 = crosshairs
3 = graphics tablet
4 = joystick
5 = lightpen
6 =
plotter
7 = mouse
8 = trackball
>8 = workstation-dependent
Initial X-coordinate
of
locator
in device
units
Initial Y-coordinate
of
locator
in device
units
Number
of
output
vertices = 1
Length
of
intout
array
(status)
0=
request unsuccessful
>0 = request successful
Locator
terminator
For
keyboard
terminated
locator
input,
this is the
ASCII
Decimal Equivalent
(ADE)
of
the key
struck
to terminate
input.
For
non-keyboard terminated
input
(tablet,
mouse,
etc.), valid
locator
termi-
nators
begin with
SPACE
(ADE
32)
and
increase
from
there.
For
instance,
if
the
puck
on
a tablet has 4
buttons,
the first
button
should
generate
SPACE
as a ter-
minator,
the second a !
(ADE
33), the
third
a "
(ADE
34),
and
the
fourth
a #
(ADE
35).

Table of Contents

Related product manuals