
8. CRT CHARACTER DISPLAY
B–61863E–1/06
PMC LIBRARY
234
SC/SC3/SC4 NB/NB2 16i/18i/21i 15i–A
f f
[Name]
pl_dsppalette
[Description]
Sets the all color palette for VGA character display.
[Format]
ret = pl_dsppalette(p1);
short ret;
long *p1
[Input]
*p1 Palette information
Color information
R value, G value and B value of the color palette are set
respectively as follows. Each value can specify from 0 to 3FH.
Please do not change the setting of palette 0 (Please always
input 0).
4 byte 3 byte 2 byte 1 byte
Always 0 B value G value R value
[Output]
______
[Returns]
ret Completion code (–1, 0)
[Remarks]
For the return value, see the item on the completion code types.
This function is effective only in VGA.
NOTE
A screen color is set on the color setting screen.
8.20
SETTING COLOR
PALETTE FOR VGA
CHARACTER
DISPLAY
0
4
8
56
60
64
P1
Color information of palette 0 (always 0)
Color information of palette 1
Color information of palette 14
Color information of palette 15