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


8-5. Scroll data storage in memory

This section explains the types of scroll data and how to store the scroll data in each memory.

Scroll data type

In SGL, the data related to scrolling is roughly divided into the following three types according to the difference in information.

1) Character pattern data : Character pattern information in dots
(In the text, it may be abbreviated as CG.)
2) Pattern name data : Information related to character pattern identification and placement
(In the text, it may be abbreviated as PN.)
3) Color palette data : Color data when using the color palette

This is the scroll screen composition unit described in “Section 8-2: Scroll composition unit”.

1) Information in dot units up to the character pattern
2) Character pattern layout information after the page

It will be said. The data 1) and 2) are stored in a memory area called VRAM in the memory and accessed for actual drawing.

3) is the palette format color information used for scrolling.
The palette format is a color setting method that uses one of 16 colors, 256 colors, or 2048 colors (1024 colors depending on the setting) as one palette for each character pattern.
The color palette

Individual color RGB data: stored in color RAM
Color identification number in the palette: used in character patterns
Identification number in pallet units: used in pattern name data

It consists of three data.
Color palette data is stored in a memory area called color RAM in memory, and is used for actual drawing when accessed.


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