Character count setting
In character display mode, H
N
specifies the number of characters displayed in the horizontal direction. In graphics
mode, H
N
specifies the number of bytes displayed in the horizontal direction. The total number of dots displayed on
the screen in the horizontal direction is given by the following formula.
n = HP
×
H
N
H
N
can be set to an even number in the range 2 to 256 (decimal).
Time division setting (display duty)
N
X
specifies the time division setting. That is, the display duty is set to 1/N
X
.
N
X
can be set to a value in the range 1 to 256 (decimal).
Cursor position setting
In character display mode, CP specifies the line where the cursor is displayed. For example, if CP is set to 8 (decimal),
the cursor will be displayed under the character for a 5
×
7 font. The length of the cursor in the horizontal direction will
be equal to horizontal direction character pitch HP. While CP can be set to any value in the range 1 to 16 (decimal), if
it is set to a value less than or equal to the vertical direction character pitch VP (CP
≤
VP), the cursor display will take
priority when cursor display is enabled. Note that if CP > VP, the cursor will not be displayed. The length of the cursor
in the horizontal direction will be equal to HP.
Display start position low-order address
Display start position high-order address
These instructions together write the display start address value into the display start address register. The display start
address specifies the RAM address where the data to be displayed at the upper left of the screen is stored.
The start address is a 16-bit value formed from high-order and low-order bytes.
Cursor address (low order) setting (RAM read/write low-order address)
No. 5946-10/18
LC7982A
Register
R/W
RS
DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
Instruction register
0
1
0
0
0
0
0
0
1
0
Character count register
0
0
(H
N
– 1) binary
Register
R/W
RS
DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
Instruction register
0
1
0
0
0
0
0
0
1
1
Duty register
0
0
(N
X
– 1) binary
Register
R/W
RS
DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
Instruction register
0
1
0
0
0
0
1
0
0
0
Display start address register
(Low-order byte)
0
0
(Start address low-order byte) binary
Register
R/W
RS
DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
Instruction register
0
1
0
0
0
0
1
0
0
1
Display start address register
(High-order byte)
0
0
(Start address high-order byte) binary
Register
R/W
RS
DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
Instruction register
0
1
0
0
0
0
1
0
1
0
Cursor address counter
(Low-order byte)
0
0
(Cursor address low-order byte) binary
Register
R/W
RS
DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
Instruction register
0
1
0
0
0
0
0
1
0
0
Cursor position register
0
0
0
0
0
0
(CP – 1) binary