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


Data storage in color RAM

In SGL, color information (color palette information) is stored in color RAM, and scroll screen drawing is realized by calling it as necessary.

[void Pal2CRAM (col_adr, CRAM_adr, col_no.);]
Stores color information (color palette information) in the color RAM.
For each parameter, substitute the start address in the memory where the color palette to be stored is currently stored, the start address of the color RAM that is the storage destination, and the color palette size.

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