MB90091A
7. Command 6 (Screen Control 2)
• Command format
MSB
First byte
1
0
1
1
0
MSB
Second byte 0
ATH UC UON UI
LSB
SC CC BC
UG UR
LSB
UB
SC : Control the sprite character color.
CC : Control the character color.
BC : Control the character background.
ATH : Control specified character output.
UC : Control the screen background color.
UON : Control screen beckground color output.
UI to UB : Set the screen background color.
• Function
Command 6 specifies the character color, character background color, screen background color, sprite char-
acter color, color/monochrome mode, specified character output. This command also enables or disables
screen background color output and sets the screen background color.
• Description
SC: Control the sprite character color.
SC = 0: Display the sprite character and sprite pattern background in monochrome.
During the sprite character/pattern background output period, the COLOR pin outputs the “L“
level signal.
SC = 1: Display the sprite character and sprite pattern background in color.
During the sprite character/pattern background output period, the COLOR pin outputs the “H“
level signal.
CC: Control the character color.
CC = 0: Display characters in monochrome.
During the character output period, the COLOR pin outputs the “L“ level signal.
CC = 1: Display characters in color.
During the character output period, the COLOR pin outputs the “H“ level signal.
BC: Control the character background.
BC = 0: Display the character background in monochrome.
During the character background output period, the COLOR pin outputs the “L“ level signal.
BC = 1: Display the character background in color.
During the character background output period, the COLOR pin outputs the “H“ level signal.
Note: Note: Use an external circuit to control display mode between monochrome and color using the COLOR pin.
28