NEC CP/M-86 System Reference Manual page 168

Advanced personal computer
Table of Contents

Advertisement

GSX-86: Graphics for the
APe
9-36
SET FILL COLOR INDEX
This operation sets the color index for subsequent polygon fill operations. The
actual RG B value of the color index is determined by the Set Color Representation
operation. At least two color indices are required. Color indices range from
0
to a
device-dependent maximum.
Input
Output
contrl(l)
contrl(2)
intin(1)
contrl(3)
intout(1)
Opcode
=
25
o
Requested fill color index
o
Selected fill color index
INQUIRE COLOR REPRESENTATION
This operation returns the requested or the actual value of the specified color index
in RGB units.
The device driver must maintain tables of the color values that were set (requested)
and the color values that were realized. On devices that have a continuous color
range, one of these tables may not be necessary.
Input
Output
contrl(1)
contrl(2)
intin(1)
intin(2)
contrl(3)
intout(
1)
intout(2)
intout(3)
intout(4)
Opcode
=
26
o
Requested color index
Set or realized flag
0= set (return color values requested)
1
=
realized (return color values realized
on device)
o
Color index
Red intensity (in tenths of percent
0-1000)
Green intensity
Blue intensity

Advertisement

Table of Contents
loading

Table of Contents