Return to previous page | Return to menu | Go to next page


8-7. Drawing the scroll

Here, the flow until the actual drawing of the scroll screen after the scroll function setting and scroll registration is completed will be explained in the order of the library functions to be used.

Back screen settings

● Back screen settings
Select the color of the back screen.
The back screen is a single-color display surface that is displayed on the back of the monitor and is displayed on the area where nothing is drawn (in dots).
The library function “slBack1ColSet” is used to set the back screen.

[void slBack1ColSet (void * back_col_adr, Uint16 RGB_col);]
Specifies the color of the single color back screen.
For the parameter, substitute the start address in the VRAM that stores the back screen color data and the 1-word RGB value (#define value) indicating the back screen color.
The values ​​used for RGB color specification are defined in the header file “sl_def.h”.

Figure 8-15 RGB color mode sample (RGB_Flag)

Note) The above values ​​are defined in “sl_def.h”.


Return to previous page | Return to menu | Go to next page