
Series 30i/ 31i/ 32i-A
C executor library for conversion
Programming manual
01 04.05.06
S. Hasegawa
New registration
B-64183EN/01
EDIT
DATE
DESIG.
DESCRIPTION
131/226
DRAW.NO.
3.9.15
Set Palette for the Graphic Screen
[Name]
pl_grppalette
[Syntax]
#include <pmclib.h>
short pl_grppalette(long * cntl);
[Arguments]
Input
*cntl: Palette color information
Set color information for each palette. Set 0 in cntl[0] for palette
No. 0 at all times.
cntl[0] Color information for
palette No. 0
0 at all
times
cntl[1] Color information for
palette No. 1
to
cntl[15] Color information for
palette No. 15
Set the "R" value, "G" value, and "B" value of each palette in the
format below. A value from 0 to 0x3F can be specified as a "R"
value, "G" value, and "B" value.
bit 31 23 15 7
cntl[n] Set 0. "B" value "G" value "R" value
Output
---
[Return]
0: Normal completion.
[Description]
This function sets the color palette for the graphic screen.
[Related Function]
_remapallpalette()