Return to previous page | Return to menu | Go to next page
void
Scroll function
Register NBG pattern name data B>
void slPageNbg0(celadr , coladr , type)
void slPageNbg1(celadr , coladr , type)
void slPageNbg2(celadr , coladr , type)
void slPageNbg3(celadr , coladr , type)
void *celadr ;
void *coladr ;
Uint16 type ;
celadr First address on VRAM of cell data stored in VRAM type Uint16 type numeric value corresponding to pattern name data type specification
Sets the page for normal scroll “NBG0, NBG1, NBG2, NBG3”.
The parameters correspond to the VRAM start address (VRAM) of the character pattern data used by the scroll plane, the color data start address (color RAM) of the color data used by the character pattern, and the data type designation of the pattern name data Specify each Uint16 type numerical value.
None
For the parameter “type”, substitute the value in the table below corresponding to the pattern name data type.
Note) The values in the above table are defined in “sl_def.h” included with the system.
Reference: Chapter 8 Scroll
slPageNbg0,1,2,3