English
Language : 

M37221M6_03 Datasheet, PDF (41/62 Pages) Renesas Technology Corp – SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER
MITSUBISHI MICROCOMPUTERS
M37221M6-XXXSP
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER
with ON-SCREEN DISPLAY CONTROLLER
(5) Color Registers
The color of a displayed character can be specified by setting the
color to one of the 4 registers (CO0 to CO3: addresses 00E616 to
00E916) and then specifying that color register with the CRT display
RAM. There are 3 color outputs; R, G and B. By using a combination
of these outputs, it is possible to set 23–1 (when no output) = 7 col-
ors. However, since only 4 color registers are available, up to 4 col-
ors can be disabled at one time.
R, G and B outputs are set by using bits 1 to 3 in the color register.
Bit 5 is used to specify whether a character output or blank output.
Bits 4, 6 and 7 are used to specify character background color. Fig-
ure 42 shows the structure of the color register.
7
0
Color register 0, 1, 2, 3
(CO0 : address 00E616)
(CO1 : address 00E716)
(CO2 : address 00E816)
(CO3 : address 00E916)
B signal output selection bit
0 : No character is output
1 : Character is output
G signal output selection bit
0 : No character is output
1 : Character is output
R signal output selection bit
0 : No character is output
1 : Character is output
B signal output (background)
selection bit (Note 1)
0 : No background color is output
1 : Background color is output
OUT1 signal output control bit
(Notes 1,2)
0 : Character is output
1 : Blank is output
G signal output (background)
selection bit
0 : No background color is output
1 : Background color is output
R signal output (background)
selection bit (Note 2)
0 : No background color is output
1 : Background color is output
Notes 1 : When bit 5 = “0” and bit 4 = “1,” there is output same as
a character or border output from the OUT1 pin.
Do not set bit 5 = “0” and bit 4 = “0.”
2 : When only bit 7 = “1” and bit 5 = “0,” there is output
from the OUT2 pin.
Fig. 42. Structure of color registers
40