Return to previous page Return to menu Go to next page

■ 3.4 Color RAM mode

Color RAM is 32K bits (2K words), and the stored color data is used for all palette-type sprites and scroll screens. Color data is stored by selecting either 15 bits of RGB 5 bits or 24 bits of RGB 8 bits. The extended color calculation function can also be used by dividing the data into 16K bits (1K words) and storing the same color data. There are three ways to store color RAM color data:

(1) Mode 0: RGB, 5 bits each, 15 bits total, 1024 color settings
(2) Mode 1: RGB, 5 bits each, 15 bits total, 2048 color settings
(3) Mode 2: RGB, 8 bits each, 24 bits total, 1024 color settings

When outputting color data, each RGB is fixed to 8 bits, so if the color data stored in the color RAM is 5 bits for each RGB, 0 is added to the lower 3 bits. When special color operation mode is specified as mode 3, the most significant bit of color RAM data is the color operation enable bit. Please refer to “ 12.2 Special Color Calculation Function ” for special color calculation mode.


Return to previous page Return to menu Go to next page