
64CH Segment Driver For Dot Matrix LCD
19
© 1998 Intech LCD Group Ltd.
Display Control Instruction
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
RW
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
Function
Read Display
Date
1
1
Read data
Reads data (DB[7:0]) from
display data RAM to the
data bus.
Write Display
Date
1
0
Write data
Writes data (DB[7:0]) into
the DDRAM. After writing
instruction, Y address is
incriminated by 1
automatically
Status Read
0
1
Busy
0
ON/
OFF
Re-
set
0
0
0
0
Reads the internal status
BUSY
0: Ready
1: In operation
ON/OFF
0: Display ON
1: Display OFF
RESET
0: Normal
1: Reset
Set Address
(Y address)
0
0
0
1
Y address (0~63)
Sets the Y address at the
column address counter
Set Display
Start Line
0
0
1
1
Display start line (0~63)
Indicates the Display Data
RAM displayed at the top of
the screen.
Set Address (X
address)
0
0
1
0
1
1
1
Page (0~7)
Sets the X address at the X
address register.
Display On/off
0
0
0
0
1
1
1
1
1
0/1
Controls the display ON or
OFF. The internal status and
the DDRAM data is not
affected.
0: OFF, 1: ON
1. Display On/Off
The display data appears when D is 1 and disappears when D is 0.
Though the data is not on the screen with D=0, it remains in the display data RAM.
Therefore, you can make it appear by changing D=0 into D=1.
RS
R/W
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
0
0
0
0
1
1
1
1
1
D
2. Set Address (Y Address)
Y address (AC0~AC5) of the display data RAM is set in the Y address counter.
An address is set by instruction and increased by 1 automatically by read or write operations of
display data.
RS
R/W
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
0
0
0
1
AC5
AC4
AC3
AC2
AC1
AC0