10 / 20 page
LG128642-BMDWH6V
- 10 -
5. DISPLAY CONTROL INSTRUCTIONS
The display control instructions control the internal state of the KS0108B. Instruction is
received from MPU to KS0108B for the display control. The following table shows various
instructions.
Instruction
RS
R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
Function
Display
ON/OFF
0
0
0
0
1
1
1
1
1
0/1 Controls the display on or off.
Internal status and display RAM data
are not affected.
Set Address
(Y address)
0
0
0
1
Y address (0-63)
Sets the Y address at the Y address
counter.
Set Page
(X address)
0
0
1
0
1
1
1
Page
(0-7)
Sets the X address at the X address
register.
Display Start
Line
(Z address)
0
0
1
1
Display start line
(0-63)
Indicates the display data RAM
displayed at the top of the screen.
Status Read
0
1
B
U
S
Y
0
O
N
/
O
F
F
R
E
S
E
T
0
0
0
0
Reads status.
BUSY
0: Ready
1: In internal operation
ON/OFF
0: Display ON
1: Display OFF
RESET
0: Normal
1: Reset
Write Display
Data
1
0
Display Data
Writes data (DB0~DB7) into display
data RAM. After writing instruction, Y
address is increased by 1
automatically.
Read Display
Data
1
1
Display Data
Reads data (DB0~DB7) from display
data RAM to the data bus.