English
Language : 

EF9345 Datasheet, PDF (36/38 Pages) STMicroelectronics – HMOS2 SINGLE CHIP SEMI-GRAPHIC DISPLAY PROCESSOR
EF9345
General Purpose Access to a Byte OCT
This command uses either MP or AP pointer.
When MP is in use, an overflow yields to a Y
incrementation.
parameter a = 0, the process never stops until
aborted. In this case, main pointer overflow yields
to a Y incrementation in MP. So, a whole block or
page may be initialized.
Move Buffer Commands : MVB, MVD, MVT
These are memory to memory commands which
use R1 as working register.
MVB transfers a byte from source to destination,
post-increments the 2 pointersand iterates until the
stop condition is met. MVD and MVT are similar but
work respectively with 2 byte word and 3 byte word.
That is to say, MVB works on buffers, MVD on
double buffers and MVT on triple buffers. If the
parameter a = 1, the process stops when either
source or destination buffer end is reached. If the
Table 4 : Command
Miscellaneous Commands : INY, VRM and
VSM
INY command increments Y in MP.
VRM and VSM respectively reset and set a vertical
synchronization status mask. When the mask is
set, status bit S2 remains at 0. When the mask is
reset, status S2 follows the vertical sync. state : it
is reset for 2 TV lines per frame and stays at 1
during the remaining period. It becomes readable
by the microprocessor form the status register.
After power on, the mask state is undetermined.
Type
Memo
Code
Parameter
Status
Arguments
Execution Time (1)
7 6 5 4 3 2 1 0 AI LXm LXa R17 R1 R2 R3 R4 R5 R6 R7 Write Read
Indirect
IND 1 0 0 0 R/W
r
0 0 0 0 D - - - - MP
2
3.5
40 Characters - 24 bits KRF 0 0 0 0 R/W 0 0 I X X 0 0 C B A - - MP
4
7.5
40 Characters - 16 bits KRG 0 0 0 0 R/W 0 1 I X X 0 0 A* B* W - - MP
5.5
7.5
80 Characters - 8 bits KRC 0 1 0 0 R/W 0 0 I X X 0 0 C - - - - MP
9
9.5
80 Characters - 12 bits KRL 0 1 0 1 R/W 0 0 I X X 0 0 C - A - - MP
12.5 11.5
40 Characters Variable KRV 0 0 1 0 R/W 0 0 I X X
X
X CBA
-
XF
MP
(2) 3 + 3 + j
3.5 +
6 *j
Expansion
EXP 0 1 1 0 0 0 0 0 X 0 X 0 C B A PW XF MP (3) < 247 -
Compression
CMP 0 1 1 1 0 0 0 0 X 0 X 0 C B A PW XF MP (3) < 402 -
Expanded Characters KRE 0 0 0 1 R/W 0 0 I X X 0 0 C B A PW - MP
4
7.5
Byte
OCT 0 0 1 1 R/W p 0 I X X X 0 D - - AP MP
4
4.5
Move Buffer
MVB 1 1 0 1 s s a a 0 0 0 0 W - - AP MP (2) 2 + 4. n -
Move Double Buffer
MVD 1 1 1 0 s s a a 0 0 0 0 W - - AP MP (2) 2 + 8. n -
Move Triple Buffer
MVT 1 1 1 1 s s a a 0 0 0 0 W - - AP MP (2) 2 + 12. n -
Clear Page (4) - 24 Bits CLF 0 0 0 0
0 101X X
0
0 CBA -
-
MP
< 4700
(1 K code)
-
Clear Page (4) - 16 bits CLG 0 0 0 0
0 111X X
0
0 A* B* W -
-
MP
< 5800
(1 K code)
-
Vertical Sync Mask Set VSM 1 0 0 1 1 0 0 1 0 0 0 0 - - - - - - -
1
-
Vertical Sync Mask Reset VRM 1 0 0 1 0 1 0 1 - - - - - - - - - - -
1
-
Increment Y
INY 1 0 1 1 0 0 0 0 0 0 0 0 - - - - - Y -
2
-
No Operation
NOP 1 0 0 1 0 0 0 1 - - - - - - - - - - -
1
-
P
: Pointer select
1 : auxiliary pointer
0 : main pointer
s, s : Source, destination
01 : source = MP ;
destination = AP
10 : source = AP ;
destination = MP
a, a : Stop condition
01 : stop at end of buffer
10 : no stop
r
: Indirect register number
-
:
W
:
PW :
(Z, YW)
X
:
XF :
I
:
D
:
MP :
AP :
Not affected
Used as working register
Working buffer
Set or Reset
X File
Pointer incrementation
Data
Main pointer
Auxiliary pointer
(1) Unit :
(2) n :
(3)
:
(4)
:
12 clock periods (≈ 1µs)
without possible suspension.
total number of word ≤ 40 ;
j = 1 for long code,
j = 0 for short codes.
Worst case (20 long codes +
20 short codes).
These commands repeats KRF
or KRG with Y incrementation
when X overflows. When the
last position is reached in a
row. Y is incremented and the
process starts again on the
next row.
36/38