Return to previous page | Return to menu | Go to next page
void
Scroll function
Set NBG character controls
void slCharNbg0(col_type , chara_size)
void slCharNbg1(col_type , chara_size)
void slCharNbg2(col_type , chara_size)
void slCharNbg3(col_type , chara_size)
Uint16 col_type ;
Uint16 chara_size ;
col_type Uint16 type numerical value (0 to 4) corresponding to the number of scroll colors chara_size Uint16 type numeric value corresponding to the character size specification (0 to 1)
Set the character size of normal scroll “NBG0, NBG1, NBG2, NBG3” and the number of colors used for scrolling.
Refer to the table below for the values assigned to the parameters.
None
If the color RAM mode is 0 or 2, 2048 colors will be 1024 colors.
The maximum number of colors that can be specified depends on the scroll screen type.
Note 1) When color RAM mode is 0 or 2, 2048 colors will be 1024 colors.
Note 2) The values in the above table are defined in “sl_def.h” included with the system.
Reference: Chapter 8 Scroll
slCharNbg0,1,2,3