HD66732
88
Combined Display of Full-size and Half-size Characters
The HD66732 creates a display from the left edge of the display area combining 12-dot full-size (font size:
11 x 12 dots) and 6-dot half-size characters (font size: 5 x 12 dots). There will be a one-dot space between
these fonts.
The most significant bit in the data (8 bits) in the DDRAM is allocated to the designation bit indicating a
full-size or half-size character. When this MSB is 0, the full-size character is selected, and when 1, the
half-size character is selected.
When the full-size character is selected, two bytes of DDRAM are linked and used as a 16-bit code. In this
case, the lower byte is written into the smaller DDRAM address. 13 bits of this 16-bit code are used as
character codes. Since up to 8,192 character codes can be specified, symbols can be used as well as the JIS
Level-1 and Level-2 Kanji Sets. In addition, two of the remaining bits can be allocated to a display-
attribute code and can designate a black-white reversed display for individual characters. For details, refer
to the Display Attribute Designation section.
Table 50 shows the relationship between the 16-bit designated JIS code and the HD66732 13-bit character
code. The 8-bit data designating half-size characters are used as an 8-bit code. Specifically, 7 bits of the 8-
bit half-size characters become the character codes, so that a total of 128 characters can be displayed
(alphanumeric characters and symbols can be displayed as half-size characters). These 128 CGROMs
(HCGROMs) for half-size fonts have two memory banks and incorporate a total of 256 half-size fonts.
These memory banks are switched in a display-line unit by bits RL1–RL4 in the half-size ROM select
register (RA). A half-size font display attribute is designated by the half-size display attribute register (RB)
in a display-line unit. Note that the same display attribute in a character unit such as the full-size font
cannot be specified.
User fonts can be displayed using the CGRAM. Special symbols not included in the internal CGROM can
be displayed as needed. Since the display font size of the CGRAM is 12 x 13 dots, CGRAM fonts can be
displayed to the right, left, top, or bottom, in order to be used to display double-size characters. In the
super-imposed display mode, which displays the combined character display mode and graphics display
mode, this CGRAM becomes the bit map memory for the graphics display and cannot be used as the user
font for characters.
C
7
C
6
C
5
C
4
C
3
C
2
C
1
C
0
Lower character code
Character code: C
12
–C
0
(13 bits)
Display attribute code: A
1
/A
0
(2 bits)
MSB
LSB
0
C
11
C
10
C
9
C
8
Upper character code
A
1
A
0
Attribute code
Upper byte
Lower byte
C
12
Figure 44 Full-size Code Format