
8. CRT CHARACTER DISPLAY
B–61863E–1/06
PMC LIBRARY
216
SC/SC3/SC4 NB/NB2 16i/18i/21i 15i–A
f f f f
[Name]
pl_dspcolor
[Description]
This function specifies the color of the character strings and the
reverse display which are specified by the character display function
which is itself specified thereafter. In the case of a monochrome CRT,
brightness is modulated. This specification remains modal as long
as it is displayed in the PMCMDI display.
[Format]
ret = pl_dspcolor(P1) ;
short ret ;
short *P1 ;
[Input]
*P1 Display information pointer
Display information data structure
Color specification
Reverse specification
(a) Specifying the color
The color of character strings which are specified by character
display functions to be issued later is selected by the color code.
Color code Display code Brightness
00H
20H
40H
60H
80H
A0H
C0H
E0H
Black (no display)
Red
Green
Yellow
Blue
Pink
Light Blue
White
Low
High
(b) Specification of character reverse display
00H : Normal display
10H : Reverse display
[Output]
______
[Returns]
ret Complete code (–1, 0, 5)
[Remarks]
Refer to the section “Complete Code Type” for the returned value.
8.5
SPECIFYING THE
COLOR OF
CHARACTERS ON
THE CRT
CHARACTER
DISPLAY
0
2
4
P1