NEC CP/M-86 System Reference Manual page 163

Advanced personal computer
Table of Contents

Advertisement

GSX-86: Graphics for the
APe
SET CHARACTER UP TO VECTOR
This operation requests an angle of rotation specified in tenths of degrees for the
Character Up Vector operation which specifies the baseline for subsequent text. The
driver returns the actual up direction which is a best fit match to the requested value.
For convenience, redundant but consistent information is provided on input. Use
only that information pertinent to a given device. The angle specification assumes
that 0 degrees is 90 degrees to the right of vertical (East on a compass), with angles
increasing in the counterclockwise direction.
Input
Output
contrl(l)
contrl(2)
intin(1)
intin(2)
intin(3)
contrl(3)
intout(1)
SET COLOR REPRESENTATION
Opcode
=
13
o
Requested angle of rotation of character
baseline (in tenths of degrees 0 - 3600)
Run of angle
=
cos (angle)
*
100 (0-100)
Rise of angle
=
sin (angle)
*
100 (0-100)
o
Angle of rotation of character baseline
selected (in tenths of degrees 0-3600)
This operation associates a color index with the color specified in RGB units. At
least two color indices are required (black and white for monochrome).
Input
Output
contrl(l)
contrl(2)
intin(1)
intin(2)
intin(3)
intin(4)
contrl(3)
Opcode
=
14
o
Color index
Red color intensity (in tenths of percent
0-1000)
Green color intensity
Blue color intensity
o
9-31

Advertisement

Table of Contents
loading

Table of Contents