TMS3556 Data Sheet
TMS3556 Data Sheet
USER'S MANUAL
T MS 355 6
FAMILY
USERS
MANUAL
M GODDARD
2 2 . 0 3 . 8 4
IMPORTANT
NOTICES
0 PIN ASSIGNEMENT 0- 1
1 INTRODUCTION 1 - 1
1.1 Description 1 - 1
1.2 Display formats 1 1
1.2.1 Bit-mapped mode 1 1
1.2.2 Text mode 1 2
1.2.3 Mixed mode 1 2
1.2.4 Subtitling mode 1 2
1.3 Features 1 - 3
1.4 Typical applications 1 3
2 SYSTEM ARCHITECTURE 2 1
2.3.1 General 2- 7
2.3.2 Interface control signals 2- 8
2.4 VDP/TV interface 2 8
2.5 Oscillators 2 - 10
5.1 Initialisation 5 - 1
5.4.1 Antiope 5- 8
5.4.2 Ceefax 5 9
5.4.3 Prestel 5- 9
5.4.4 Teletel 5- 9
7 APPLICATIONS EXAMPLES 7- 1
7.2.1 TMS3534 7- 7
7.3.1 2xTMS4416 7 - 7
7.3.2 >2xTMS4416 7 - 7
7.3.3 6 or 8xTMS4416 7 - 13
7.3.4 8xTMS4164 7 - 13
9 ELECTRICAL SPECIFICATIONS 9 1
9.1 Absolute maximum ratings 9 1
9.2 Recommended operating conditions 9- 1
10 MECHANICAL DATA 10 - 1
D3 1_ 20 211_1 Vss
I I
TEXAS INSTRUMENTS 0 - 1
TABLE 0.1: TMS3556 VDP PIN DESCRIPTION
TEXAS INSTRUMENTS 0 - 2
1 INTRODUCTION
1.1 Description
TEXAS INSTRUMENTS 1 - 1
1.2.2 Text mode
TEXAS INSTRUMENTS 1 - 2
2 SYSTEM ARCHITECTURE
TEXAS INSTRUMENTS 2 - 1
CRT 4
A
1 DISPLAY
__________INTERFACE
MEMORY
\V/7 ( INTERFACE
SCM
CPU R G B
SCT kg ri 11.....
INTERFACE SLL CAS 1 MEMORY
El 1
WR m...- SYSTEM
E2
RWM TMS OE I 0
RDY 3556
I r.
VDP "
MPO
(
CPU D7
MP7 k../ ..---
HMP ,
5V
3V DATA
OV HIZ - PROVIDER
OBE OBS ODE ODS
POWER SUPPL)
INTERFACE
t rtrirtr4 KInTr. DATA PROVIDER
INTERFACE
Till
OSCILLATOR
INTERFACE
El
E2
RWM
READY
----------------
MPO-7 XXXXX< Valid write data >30000MM000==CCXX
i________
El
E2
RWM
READY
TEXAS INSTRUMENTS 2 - 4
2.1.5 Write to VDP memory
El
E2
RWM
READY
El
E2
RWM
READY
----- ----------
MPO-7 XXXXX >< Valid read data >----<XXXXXX
TEXAS INSTRUMENTS 2 - 5
VDP initialisation would typicaly continue with the
programation of the other control registers CM2 to CM4 followed
by initialisation of the relevant base address registers.
The signals are RAS, CAS, WR, OE and DO—D7 and are
described below:
WR — Write strobe.
TEXAS INSTRUMENTS 2 — 6
OE - Output Enable.
2.3.1 General
TEXAS INSTRUMENTS 2 - 7
2.3.2 Interface control signals
The data provider uses the same data bus as the VDP
memory system. Two handshake lines HMP and HIZ control the
VDP/data provider interface. HMP is the data provider access
request line and signals the VDP that the former has a valid
byte of data ready for transfer into the VDP's memory. The VDP,
upon granting the access request signals this fact with a low
level on the HIZ line. The timing of the data provider write
cycle is shown in figure 2.7
IMP \ /
HIZ \ /
FAT \ /
CAS \ /
171R
- \ /
• •--
DO-D7 XXXXXXXXXXXXXX ROW X•COL >----< WRITE DATA FROM DP >--<XXX
TEXAS INSTRUMENTS 2 - 8
The state of SCM is undefined when
the VDP is programmed in external sync
mode.
TEXAS INSTRUMENTS 2 - 9
2.5 Oscilators
I\
-- I >0 —+--------> To rest of VDP
1 1 /
1 1/ 1
1 1
ODE/OBE 1 1 1 1 ODS/OBS
LI
____+
----- CI C2 - - -
---
1 1
1 1
1 1
1
f
/ LC1C2
2T//
v C1+C2
TEXAS INSTRUMENTS 2 - 10
2.6 Power supply
TEXAS INSTRUMENTS 2 - 11
3 VDP INTERNAL ARCHITECTURE
3.1 General
All comunication between the CPU and the VDP passes via
the CPU/VDP interface as described in paragraph 2.1.
TEXAS INSTRUMENTS 3 - 1
DMA AND MEMORY ACCESS CONTROL
RAS
DMA DRAM
ODS-4---
OSCILL- -1 I WR
ATOR DATA REGISTLE ADDRESS MULTIPLEXER INTERFACE OE
IMP DMA
HIZ
CONTROL ACCUMULNIORS
RD Y AND
BASE
L
CPU INTERFACE SECTION ADDRESSES "C. 7
ROW DISPLAY REGISTER
COL
CPU
INTERFACE
CONTROL
REGISTERS 7
DISPLAY BUFFER
CONTROL LOGIC
4 1
7 \ 7
ATTRIBUTE
SYNCHRONISATION LINE AND FRAME DECODER
TIME BASE COUNTERS
LOGIC
COLOUR
TIME SHIFT
OBE REGISTERS B I
BASE
OSCILL-
OBS.
ATOR
TIME BASE AND SYNCHRONISATION DISPLAY CONTROLLER AND DECODER
L
El I E2 OPERATION
TEXAS INSTRUMENTS 3 - 3
FIGURE 3.2: REGISTER POINTER CONTENTS
TEXAS INSTRUMENTS 3 - 4
- -
El 1 E2 1 RWM 1 MP bus 1 Pointer
--------- -------- ------
1.Initial state 1 1 1 high-z >00
2.Perform a register
access with the value 0 1 Li >01 >01
of >01 on the data bus
(Pointer now points
to COL)
4.Perform a register
access with the value 0 1 ir—
_ <col> >01
of COL on the data bus
5.Return to inact. state 1 1 1 high-z >00
(Pointer returns to
zero)
TEXAS INSTRUMENTS 3 - 5
El E2 1 RWM MP bus Pointer
2. Perform a register
access with the value 0 1 1_1 >21 >21
of >21 on the data bus
(Pointer now points
to COL)
4.Perform a register
access with the value 0 1 1_1 <col> >21
of COL on the data bus
The same result has been obtained i.e. COL and ROW now
contain the desired data, but with fewer accesses to the VDP.
The difference is that the pointer is now 'locked' with a value
of >22 and no longer points to itself ready for further
accesses. The only alternative is to perform an access to the
VDP's external memory, i.e. either of the accesses with E2=0,
which automatically resets the pointer to zero:
8.Perform an external
memory access 0 0 1 <data> >00
TEXAS INSTRUMENTS 3 - 6
A read access is shown for the memory access in step 8
but a write access would have had the same effect on the
pointer. The pointer value is now zero enabling further register
accesses.
•
El 1 E2 1 RWM I MP bus I Pointer
2. Perform a register
access with the value 0 1 LI >03 >03
of >03 on the data bus
(Pointer now points
to STATUS)
4.Perform a register
access with the data 0 1 1 <status> >03
bus in the input mode
TEXAS INSTRUMENTS 3 - 7
El 1 E2 1 RWM 1 MP bus 1 Pointer
2.Perform a register
access with the value 0 1 >33 >33
of >33 on the data bus
(Pointer now points
to STATUS)
4.Perform a register
access with the CPU data 0 1 1 <status> >33
bus in the input mode
<new>
5. Hold El low 0 1 1 <status> >33
<new>
6.Hold El low 0 1 1 <status> >33
TEXAS INSTRUMENTS 3 - 8
The sequence for programming the base address BAPA is
shown below as an example. Assume that COL and ROW already
contain the least and most significant bytes of the address to
be programmed respectivly, and that the pointer contains a value
of zero.
•
El E2 I RWM MP bus 1 Pointer
TEXAS INSTRUMENTS 3 - 9
ST1 - Not used - always zero
ST5 - Ready
TEXAS INSTRUMENTS 3 - 10
ST7 Buffer memory overflow
BT1IBT2IBT3IBT4IBT5IXIXIX1
MSB LSB
TEXAS INSTRUMENTS 3 - 11
TABLE 3.4:TIME BASE COMMAND REGISTER
( C M 1 )
TEXAS INSTRUMENTS 3 - 12
TABLE 3.5: Control of SLL and SCT modes
MSB LSB
TEXAS INSTRUMENTS 3 - 13
TABLE 3.6 : DISPLAY COMMAND REGISTER
( C M 2 )
TEXAS INSTRUMENTS 3 - 14
4. If the state of DC6 is 1 a grid will be displayed
over the normal image. The grid is generated by
forcing the first pixel of each line of each
character and all of the last line of each character
to be displayed in their complementary colour (i.e.
the RGB outputs are inverted). This mode is usefull
for editing or page composition terminals where the
position of each character cell needs to be visible.
Grid display is active only in text mode.
•••
CT1ICT2ICT3ICT4ICT5ICT6IXIEI
MSB LSB
TEXAS INSTRUMENTS 3 - 15
TABLE 3.7 : MODE AND MEMORY REGISTER
( C M 3 )
Notes:
TEXAS INSTRUMENTS 3 - 16
TABLE 3.8: ADDRESS MULTIPLEXING OPTIONS FOR 16K AND 64K DRAMS
64K/1 1
Or 0 A8 A9 A10 All A4 A5 A6 A71A0 A15 A2 A3 Al2 A13 A14 Al
16K/4 1
1
16K/1 1 0 A9 A10 All A5 A6 A7 A8IA1 A15 A3 A4 Al2 A13 A14 A2
1
TEXAS INSTRUMENTS 3 - 17
TABLE 3.9 BASE ADDRESS REGISTERS
TEXAS INSTRUMENTS 3 - 18
address registers. Each character generator can contain a
maximum of 128 characters implying a size of 1280 bytes for each
generator at a rate of 10 bytes per character. If four character
generators are not required then there is no need to define the
unused ones in the memory or even initialise their base address
registers. Also, if the generators are not full then they may be
overlapped to economise on memory space or even occupy the same
physical area of memory.
POINTER FUNCTION
---------
ACMPxy CPU PRIMARY ACCESS
ACM? CPU SECONDARY ACCESS
ACPA PAGE DISPLAY ACCESS
ACMT BUFFER INPUT ACCESS
ACREF REFRESH COUNTER
MA.
TEXAS INSTRUMENTS 3 - 19
Figure 3.7 shows an imaginary diagram of the internal
VDP hardware associated with these two pointers. Note that this
is not necessarily the actual physical implementation in the VDP
but simply a functionally equivalent structure for explanatory
purposes.
TEXAS INSTRUMENTS 3 - 20
FIGURE 3.7 : SYMBOLIC CPU POINTER HARDWARE
LOAD LOAD
COL ROW LOAD
BAMP
I
COL ROW LOAD ANY BAMP
BASE
ADDRESS
R S S R
LOAD ACMP LOAD
FEMIC Q FLIP-FLOP
ACMPxy ACMP
S MODER
FLIP-FLOP
A
TO MEMORY USE USE READ MEMORY
ACMPxy ACMPWRITE ACCESS TO MEMORY
ACCESS ACCESS
CONTROLLER CONTROLLER
3 - 21
subsequent accesses of the same type i.e. read or write, and
ACMPxy to all subsequent accesses of the opposite type.
COL and ROW are first programmed with the value desired
for ACMP. This value is then transfered to BAMP causing the
ACMP load flip-flop to be set and the ACMPxy load flip-flop to
be reset as explained above. Now, instead of performing a memory
access (which would load ACMP and leave ACMPxy untouched), COL
and ROW are programmed with the value desired for ACMPxy. This
causes the ACMPxy load flip-flop to be set as described above,
but does not reset the ACMP flip-flop. Now, if a memory access
is performed, we have both of the load flip-flops set with the
result that both ACMPxy and ACMP will be loaded with the
contents of COL and ROW and BAMP respectivly. We now have an
apparent contention as to which pointer will be used for the
access itself, however, the pointers are prioritized such that
in this particular case ACMPxy will be used for the access and
ACMP will be updated but not used. Both load flip-flops are
reset following the loading of the pointers and the mode flip-
flop is set to attribute ACMPxy to the type of access just
performed and ACMP to the opposite type.
TEXAS INSTRUMENTS 3 - 22
3.5.3 Accumulator associated with the data buffer
TEXAS INSTRUMENTS 3 - 23
It should be noted that the VDP has no way of
distinguishing when ACMP is being used as a general purpose CPU
pointer or as the buffer read pointer. For this reason it always
tests for equality between it and the base address BAMTF
following any access using ACMP with the consequential update of
its value to BAMP if a match is found. This action could well
cause unpredictable behaviour of ACMP if BAMTF contains an
indeterminate value as it may well do in systems which do not
make use of the data input buffer and so apparently have no need
to programme BAMTF.
3.7.1 General
TABLE 3.11
PRIORITY CHANNEL
1 Data provider
2 CPU
3 Display
3 Refresh
TEXAS INSTRUMENTS 3 — 25
ODE DMA
ODS OSCILLATOR
SYNCHRONISATION RAS
MEMORY
▪ CAS
LATCHES ACCESS
CONTROL WR
LOGIC
• OE
El
E2 CPU CPUREQ
RWM I/F
MASTER LAT CHE S
P RIORI TYLOG IC
I
ACMT
D7
ACPA
DISREQ
TIME AC REF
BASE
LOGIC
REFREQ
TEXAS INSTRUMENTS 3 - 27
FIGURE 3.9 : R E Q U E S T SYNCHRONISATIO N
ODS / \
I I
ACCESS I I
REQUEST \\\\\\\\\\
1ST LATCH I \
I I
I I
ND LATCH I I \
I I
1<-- 1.5 periods -->I
< 2.5 periods >I
TEXAS INSTRUMENTS 3 - 28
The access itself may be one of several types depending
upon the channel requesting access. Notably, to increase memory
througput, the DMA controler uses a double or page mode access
for one of the request channels ascociated with the display
controller.
/ /
RAS \ / / /
/ /
CAS \ / \ / / /
RAS / \ / \ / \ 7-
CAS \
<---> <---> <--->
Blue Green Red Blue Green Red
access access access access access access
<
Double Single Single Double
cycle cycle cycle cycle
TEXAS INSTRUMENTS 3 - 29
3.7.5 Memory access timing
Two memory timing options are available in the VDP. With CT5=1
the timing is suitable for standard DRAM's. Under some
circumstances such as when slower memory is used, or with static
memory, it may be desirable to lengthen the memory access
cycles. This is effected by programming bit CT5 in command
register CM3 to zero. Table 3.12 lists the memory timing
parameters which differ between the two options together with
their nominal values expressed in numbers of DMA clock periods.
For the values of the parameters which are not functions of the
memory timing option chosen refer to section 9.
CAS
WR
OE
TEXAS INSTRUMENTS 3 - 30
FIGURE 3.13: SINGLE WRITE ACCESS
(CPU OR DATA PROVIDER)
ODS / \ / \ / \ / \
RAS \ /
CAS \ /
WR \ /
OE
CAS
WR
OE
TEXAS INSTRUMENTS 3 — 31
3.7.7 Access response times
DATA PROVIDER 1 5 7
CPU 2 5 7
DOUBLE DISPLAY 3 8 12
SINGLE DISPLAY 3 5 7
REFRESH 3 5 7
•
TEXAS INSTRUMENTS 3 - 32
In the case of a system without a data provider, the
maximum wait time reduces to 14 DMA periods.
TEXAS INSTRUMENTS 3 - 33
FIGURE 3.15 : TIME BASE BLOCK DIAGRAM
OBE OBS
DOT CLOCK
DOT CLOCK
OSCILLATOR TIMING
RE—SYNCHRO— LINE AND FRAME COUNTERS SIGNALS
NISATION TO DMA
LOGIC AND DISPLAY
IN
z
SLL LINE cn
FRAMESYNC
SYNC
OUT z ROM
DISPLAY 1-1
SYNCHRO— DISPLAY
NISATION TIMING
SCT IN PARAMETERS
FRAKELOGIC
SYNC
OUT
SCM COMPOSITE
SYNC
OUT
3 — 34
display parameters it is sufficient to apply the same maximum
variation limit in percentage terms to the master time base
oscillator. If OBE is being driven by an externally derived
clock there is little problem. If an LC network is used however,
it should be remembered that the variation in output frequency
will be roughly equal to the variation in the values of the
components; for example, if components with a maximum variation
of 10% are used, then the maximum variation of time base
frequency will also be 10%.
SLL
SCT
//
TEXAS INSTRUMENTS 3 — 35
LINE SYNC LEADING EQUALISATION FRAME SYNC TRAILING EQUALISATION LINE SYNC
ZONE ZONE
TEXAS INSTRUMENTS 3 - 37
CHARACTER
PERIOD
DOUBLE ATTRIBUTE & CODE ATTRIBUTE & CODE ATTRIBUTE & CODE ATTRIBUTE & CODE
ACCESS FOR CHARACTER N FOR CHARACTER N+1 \FOR CHARACTER N+2 FOR CHARACTER N+3
RAS \ / \ / \ / \ /
TEXAS INSTRUMENTS 3 - 41
....,---- 8 PIXELS
DISPLAY
__. D ISPLAY OF
GROUP N-2
DISPLAY OF
GROUP N-1
DISPLAY OF
GROUP N
VDP
MEMORY
PU READ
:CESSES FROM
kTA BUFFER
DATA
BUFFER DATA
PROVIDER
WRITE
ACCESSES
BAMTF
////// //
:NERAL CPU
:AD & WRITE
:CESSES PAGE
MEMORY DISPLAY
ACMP xy DECODER
READ ACCESSES
FROM PAGE
MEMORY
BAGC0
CHARACTER
EFRESH CYCLES GENERATOR 0
ACREF 1-74 ////////
BAGC1
CHARACTER
GENERATOR 1
//////// BAGC2
CHARACTER
GENERATOR 2
BAGC3
CHARACTER
GENERATOR 3
3-43
4 OPERATION
TEXAS INSTRUMENTS 4 - 1
TABLE 4.1: TIME BASE PARAMETERS FOR STANDARD (XA8628) VDP
Programmed times
PARAMETER BT2=0 BT2=1 UNIT
------- - -
Vertical sync period (frame length)
non-interlaced mode 626 524 Half-lines
interlaced mode 625 525 ----"
Character width 8 8 Dots
Horizontal sync period (line length) 58 48 Characters
Horizontal sync pulse width 4 4
Blanked area after falling edge
of horizontal sync pulse 9 7
Left hand border 4 4
Horizontal display area 40 32
Right hand border 4 4
Blanked area before falling edge
of horizontal sync pulse 1 1 ----n----
Leading equalisation duration or
blanked area before vertical sync
pulse
non-interlaced 6 6 Half-lines
interlaced - even frames 5 7 it
- odd frames 6 6 11
Vertical sync pulse width 5 5 ----D----
Trailing equalisation duration
non-interlaced 5 6
interlaced - even frames 5 6
- odd frames 4 5
Blanked area after falling edge of
vertical sync pulse
non-interlaced 40 40 ...
interlaced - even frames 40 40
odd frames 39 39
Upper border height - normal mode 36 32
subtitling mode 476 392
500 420 11
Vertical display area - normal mode
- subtitling mode 60 60
Lower border height
non-interlaced 44 26
interlaced - even frames 44 26
- odd frames 44 28
SLL output low level pulse width 29 24 Characters
SCT output low level pulse width
non-interlaced 40 40 Half-lines
interlaced - even frames 40 40
- odd frames 39 39
TEXAS INSTRUMENTS 4 - 2
4.2 Text mode
TEXAS INSTRUMENTS 4 - 3
40 CHARACTERS
PER LINE
25 OR 21
ts ROWS PER
FRAME
.c.
1 I illi1111 I
10
PIXELS
4—5
BYTES DEFINING BYTES DEFINING
FIRST CHARACTER LAST CHARACTER
OF THE FIRST ROW OF THE FIRST ROW
ADDRESS SARA ATTRIBUTE 1 CHR CODE 1 ATTRIBUTE 2 CHR CODE 2 ATTRIBUTE 3 CHR CODE 3 muummuggigg CHR CODE 40 ROW 0
BAPA+80 41 41 42 42 43 4 1 .11111MINIMMIMILN ROW 1
BAPA+160 81 81 82 82 83 Ai 11.11111111.111EM ROW 2
BAPA+240 121 121 122 122 123AMMI 1MMOMMUMEMMEMMMKUD ROW 3
BAPA+320
BAPA+400
161
201
161
201
162
202
162
202
AMIN& lomminummommua
163
203~-
ROW 4
ROW 5
BAPA+480 241 241 242 242 80 ROW 6
BAPA+560
BAPA+640
281
321
281
321
282
322
282
322
I\ 320 320 ROW 7
ROW 8
BAPA+720
BAPA+800
361
401
361
401
362 Milk Wilii11111111111111MILI
440
ROW 9
ROW 10
BAPA+880 441 441 -aill11111111 "411111111111111111ni ROW 11
BAPA+960 481 481 111111111111.101\._ -.11111111100 ROW 12
BAPA+1040 521 ROW 13
BAPA+1120 11E11\
MINIMMINft.
os
- -ROW 16
BAPA+1360 720 ROW 17
BAPA+1440 721 760 ROW 18
BAPA+1520 761 761 800 ROW 19
BAPA+1600
bAPA+1680
801
841
801
841
802
842
-"MEMO EP—
r- 880
840
880
ROW
ROW
20
21 THESE ROWS
BAPA+1760 881 881 882 882 1111111111111111I 920 920 ROW 22 ARE NOT USED
BAPA+1840 921 921 922 922 923 960 960 ROW 23 IN 525 LINE
BAPA+1920 961 961 962 962 963 1000 1000 ROW 24 MODE
BYTES DEFINING
BYTES DEFINING LAST CHARACTER
FIRST CHARACTER OF THE LAST ROW
OF THE LAST ROW
Bit Description
BF \
GF > Foreground character colour.
RF /
INV Inversion
DE \ DH DW Character size
> 0 0 Single
DW / 0 1 Double width
1 0 Double height
1 1 Double size
FLS Flashing
TEXAS INSTRUMENTS 4 - 7
As described below, for each entry in the character
generator, the latter contains a pattern of l's and 0's defining
the shape of the character. The l's in the definition represent
the foreground of the character and, in the absence of other
averideing attributes, are displayed with the colour defined by
the bits B, G and R.
TEXAS INSTRUMENTS 4 - 8
FIGURE 4.5 : APPLICATION OF DOUBLE HEIGHT AND DOUBLE WIDTH ATTRIBUTES
CODE DH =0 CODE
DWG "A" DW=0 "B" DOUBLE
HEIGHT
DH=1 CODE DH0 CODE
DW=0 "A" DWO "D"
4—9
FIGURE 4.6 : LIMITATION ON USE OF DOUBLE HEIGHT ATTRIBUTE
m11011111111111.111.E..
CODE CODE INTENDED AND
DH=1 ',Ate DH=1 "An RESULTANT EFFECT
mimm00.
CODE CODE
DH=1 D.://i
tidal
CORRECT USE
DISPLAY
PAGE MEMORY
INTENDED
4/11(
EFFECT
DH=1 CODE CODE
ItAll DH=O
IsiZ
EFFECT
INCORRECT USE
4 - 10
DOUBLE HEIGHT DOUBLE SIZE
11111111111M MEM=
NM= MIME
MN= IMMO
SINGLE SIZE
THIS ROW DISPLAYED
MO UM WNW
THREE TIMES IBM ME= MUM
MUM 1111111MMIUMME
IIMMIIMMMINIM
MOM . =MOM
THESE ROWS MUM
DISPLAYED TWICE WM MIMS 11111111
Mil MOM
MUM =OM WNW
MUM MIMI
THIS ROW DISPLAYED 11111111111111 MUM
ONCE ONLY EMI
MM M MM O
MM N N MUM
INIMM UWE MUM
NM WM MEM
MIIMMEM WM=
11 FOREGROUND OF CHARACTER
0 BACKGROUND OF CHARACTER
/\ \ / /\
Start of \/ End of first
serial zone Zone to which the serial zone and start
attributes will be applied of next
TEXAS INSTRUMENTS 4 - 14
ADDRESS BAGCn BAGCn+1 BAGCn+2 BAGCn+124 BAGCn+125 BAGCn+126 BAGCn+127
BAGCn ROW 9 OF CHR t ROW 9 OF CHR 1 ROW 9 OF CHR 124 ROW 9 OF CHR 125 ROW 9 OF CHR 126 ROW 9 OF CHR 127 ROW 9
BAGCn+128 B 124 8 125 8 II 8
126 127 ROW 8
BAGCn+256 " 7 124 7 125 II 7 11
126 .7 .1
127 ROW 7
BAGCn+384 " 6 124 " 6 125 " 6 126 " 6 127 ROW 6
BAGCn+512 5 124 II 5 125 5. 5 . 126 II 5
127 ROW 5
BAGCnF640 " 4 124 " 4 125 " 4 11
126 " 4 127 ROW 4
BAGCn+768 11 3
129 3 " 125 u 3 11
126 127 ROW 3
" 3
BAGCn+896 " 2 124 " 2 " 12 5 " 2 11
126 " 2 127 ROW 2
BAGCn+1024 1
124 125 " 1 126 " 1 " 127 ROW 1
BAGCn+1152 11
124 125 " 0 126 0 " 127 ROW 0
Bit Description
BF
GF > Colour of the delimiter character.
RF
MSK Masking
INC Incrustation
BB
GB Background colour of the zone
RB
UNL Underlining
TEXAS INSTRUMENTS 4 - 16
The three bits BF, GF, and RF define the colour of the
whole of the delimiter character cell irrespective of the
contents of the character generators at character address >20.
If the masking attribute was active in the zone preceeding the
delimiter, and masking is enabled, however, the colour of the
delimiter will be the same as the background colour of the
preceeding zone.
TEXAS INSTRUMENTS 4 — 17
PAGE MEMORY
BLACK A B C D E F G
MARGIN H I J K L M N O 1
BLACK D E F M N 0
MARGIN
ii ,,,,, ii ,,1,7.._ (,1 ,N,,,,i j ,3 1,),,_
BLACK BLACK RED RED RED RED BLUE BLUE GREEN
PAGE MEMORY
DELIMITERS
EXTERNAL VIDEO
D E F H I
G
4 \N Av 4
EXTERNAL VIDEO BLACK BLACK RED RED RED EXTERNAL VIDEO
MARGIN A B C D E F G H I = MARGIN
F Er
EXTERNAL VIDEO CHARACTER FOREGROUND
\ /
. .----------------.
I BF I GF I RF I CG1 I CGO I BB I GB I RB I I FLS I CHR CODE I
"- -------------•
TEXAS INSTRUMENTS 4 - 20
FIGURE 4.15 : EFFECT OF UNDERLINING ATTRIBUTE
WITHOUT WITH
UNDERLINING UNDERLINING
WITHOUT WITH
UNDERLINING UNDERLINING
EMU
BEN
ma..
a...
NENE
4 - 21
Table 4.4 : BIT SIGNIFICANCE OF ALPHA-MOSAIC ATTRIBUTES
Bit Description
BF
GF > Foreground character colour.
RF
BB
GB > Background character colour
RB
FLS Flashing
TEXAS INSTRUMENTS 4 - 22
just like a delimiter with the state of the serial attributes at
the start of each row defined by the contents of command
register CM4.
1 BM 1 GM 1 RM 1 X 1 MR 1 LR 1 IR 1 X 1
MSB LSB
NAME FUNCTION
LR Underlining
IR Incrustation
Figures 4.13, 4.14, and 4.15 show the effect of MR, IR and LR.
TEXAS INSTRUMENTS 4 - 23
4.3 Bit-mapped mode
• . • • —.
IBBBBBBBB I IGGGGGGGG I IRRIIRRRRRI
I 4. ...........
I
............
...... ... "
I I I I I I
Blue of Blue of Green of Green of Red of Red of
Nth point N+7th Nth point N+7th Nth point N+7th
point point point
TEXAS INSTRUMENTS 4 - 24
BYTES DEFINING COLOUR BYTES DEFINING ROW
OF FIRST 8 POINT OF FIRST LINE ATTRIBUTE OF SECOND
LINE
11
11
11
LINE
LINE
LINE
245
246
247
BAPA+30 256 B R B R 11
LINE 248
BAPA+30 378 B R B G R LINE 249
TEXAS INSTRUMENTS 4 — 26
Since there are 122 bytes needed to define one line of
the bit-mapped display, and there are 250 active lines on the
screen, the definition of one page occupies 30500 bytes of VDP
memory.
TEXAS INSTRUMENTS 4 - 27
individually, a row of text will, of course, take up 10 lines of
the displayed image.
The C/G bit defines the mode of the next part of the
display. If programmed to one, a line of graphics will follow,
and if programmed to zero a row of text will follow. If a row of
text is requested, the contents of the 82nd or 122nd byte will
be ignored. The state of the C/G bit will be ignored for the
81st or 121st byte of the last line or row of the display since
the latter always starts with a row of text.
TEXAS INSTRUMENTS 4 - 28
including the text mode control bits contained in command
register CM2 retain the same significance as in pure text mode.
TEXAS INSTRUMENTS 4 — 29
5 OPERATIONAL SOFTWARE
CONSIDERATIONS
5.1 Initialisation
TEXAS INSTRUMENTS 5 - 1
character counters, and the auto-incrementing page display
accumulator, ACPA, all zeroed. Thus the display restarts with
the first line of the upper border.
TEXAS INSTRUMENTS 5 - 2
character cell is defined explicitly by its attribute byte and
the programmation of neighbouring characters will not affect it.
Put otherwise, the page memory has been filled with end of zone
delimiters so that any zone in which serial attributes are
active which is subsequently written on the screen will
automatically terminate at the first untouched character on the
row containing the zone.
TEXAS INSTRUMENTS 5 - 3
how many bytes are left in it (i.e. where ACMT was at the moment
of initialisation). It should also be noted that following a
buffer reset, although ST7 indicates a buffer empty condition,
the two pointers ACMT and ACMP will not necessarily be equal
since the latter is only programmable explicitly by the CPU.
Furthermore, it should be noted that under no circumstances is
the CPU inhibited from reading the contents of the data buffer;
this means that if the read and write pointers are equal with
the buffer empty flag ST7 set indicating that there are no new
bytes to be read by the CPU, the latter can still perform a read
access causing the two pointers to become unequal and therby
reseting the buffer empty flag. This could cause CPU
misoperation if, for example, an independant part of the sofware
checks ST7, since the latter now apperently indicates that there
is useful data in the buffer even though no data provider
accesses may have taken place since the buffer became empty.
Also, if a data provider access does take place in this
situation ACMT will be incremented following the access and
become equal to ACMP. This is the buffer overflow condition and
ST8 will be set to indicate it and further data provider
accesses inhibited even though in fact there is only one unread
byte in the buffer.
TEXAS INSTRUMENTS 5 — 4
pointer, and therefore which pointer will be used for the
access, ACMPxy being used for them all.
FIGURE 5.2: Block copy in VDP memory using the 'fast' technique
TEXAS INSTRUMENTS 5 - 6
5.3 Hultipage and scrolling
TEXAS INSTRUMENTS 5 - 7
5.4.1 Antiope
TEXAS INSTRUMENTS 5
5.4.2 Ceefax
5.4.3 Prestel
5.4.4 Teletel
TEXAS INSTRUMENTS 5 - 9
6 OPERATIONAL HARDWARE
CONSIDERATIONS
TEXAS INSTRUMENTS 6 - 1
TABLE 6.1: Memory timing parameters with varying DMA frequency
TEXAS INSTRUMENTS 6 — 2
Thus any frequency below this will result in the display decoder
not being able to read all the information necessary and picture
degradation will result. Additionally, in this situation, the
memories are occupied 100% of the duration of the active part of
each line leaving no time for either data provider or CPU
accesses. If either of these two devices request an access it
will however be acknowledged since they have both higher
priority than the display requests. The resulting access will
reduce the time available for display accesses, which, being
already minimum, will again cause display errors.
TEXAS INSTRUMENTS 6 — 3
Performing the same calculation for the single display
access gives a maximum delay of 20.5 DMA cycles. This must take
less than the maximum delay of 11 dot clock periods available to
the decoder giving a minimum DMA frequency of 1.86 times the dot
clock.
TEXAS INSTRUMENTS 6 - 4
itself; i.e. the monitor or TV specification should be used to
determine the allowable variation in the dot clock frequency.
The only real limit to timebase frequency variation, as far as
the VDP is concerned in the absolute maximum frequency given in
section 9.
TEXAS INSTRUMENTS 6 - 5
As a consequence, under no circumstances must a line
sync pulse occur on SLL in external sync mode during the active
part of any line unless the base addresses are reprogrammed
afterwards. Notably, care must be taken in teletext receivers
when changing from one received channel to another since in most
cases, it is unlikley that the two channels will have line sync
occuring at the same instant. In this case, the VDP must be
reinitialised by reprogramming its base address registers
following the application of the new synchronisation signals on
SLL and SCT.
TEXAS INSTRUMENTS 6 — 6
In the worst case situation, a double display cycle will just
have started when the access is requested and a delay of 7 (at
least one cycle must have occured) DMA cycles (with standard
memory timing selected) will result. The delay from the start of
the cycle to the falling edge of HIZ is fixed at 1 DMA cycle
making the total delay from the falling edge of HMP to the
falling edge of HIZ variable from 2.5 to 8 cycles as shown in
Figure 6.1.
HMP ----\
2.5 to 8
DMA cycles
HIZ
RAS
CAS
WR \
DO/D7 >< Row >< Col > —<DP data> —<XXXXXXXXXXXX
TEXAS INSTRUMENTS 6 — 7
7 APPLICATIONS EXAMPLES
Note that the RDY signal from the VDP is not used in
this configuration, because in all cases the theroretical
calculation shows that the VDP will always react faster than the
interface can read or write data.
TEXAS INSTRUMENTS 7 - 1
Bfa 3 27 E2
PORT B/B1 4 26 El
B2 5 11 RWM
TMS
TMS 3556
70X0 VDP
MLP
CO 28 5 MP7
C1 29 4 MP6
C2 30 3 MP5
C3 31 2 MP4
PORT C 32 40 MP3
C5 33 39 MP2
C6 34 38 MP I
C7 35 37 MPO
TEXAS INSTRUMENTS 7 - 3
3 27
B0 E2
4 26
B1 E1
2 SN74ALS32
CLKOUT
39 21 3 4
ENABLE 6 11
1 RWM
R /iii
19 1
-a DIR
28 18 2 5
TMS CO B1 Al MP7 TMS
29 17 3 4
70X0 Cl B2 A2 MP6 3556
30 16 4 3
MLP C2 B3 '41, A3 MP5 VDP
31 15 cl 5 2
C3 B4 U3 A4 MP4
32 14 a 6 40
C4 B5 1, A5 MP3
33 13 r- 7 39
C5 B6 Z A6 MP2
34 U)
12 8 38
C6 B7 A7 MP1
35 11 9 37
C7 B8 A8 MPS!
R/W RWM
RWM
CLK GENERATION
CPU VDP
READY
SYNCHRO- RDY
READY _.. NISATION
MPO
D7
/1
iv
\,
DATA BUS
) MP7
SN74ALS32
2 1
CLKOUT 11
RWM
1 TABLE 7.1
R/W
PROM CONTENTS
1
DI
9 19 CS D2
2
39 I 10 3 TBP1855,30
ENABLE ADA m
ri D3
11 4 ADDRESS DATA ADDRESS DATA
D5 ADB co D4
12 5 > 00 >1? >10
D6 ADC a D5 > 7F
13 6 27 >01 >1F >11 >7F
D7 ADD (.4 D6 > 02 >OE >12 > 6E
14 7 26 >03 >OE >13 >66
ADE D7 El
44 > 04 >1E >14 > 5E
> 05 >1E >15 > 7E
PR > 06 >16 >16 > 7E
5 2 > 07 >1E >17 > 7E
QD
TMS TMS > 08 >1E >18 > 3E
SN74 > 09 >1E >19 > 7E
7 OX0 3556
ALS74 > OA >1E >1A >7E
MLP VDP > OB >1E >118 > 7E
3 > OC >10 >1C >7D
CLK<
> OD >IF >10 > 7F
CLR > OE >113 >1E > 7B
> OF >1F > IF > 7F
1 bl 19
DI k
28 18 2 5
cp B1 Al MP7
29 17 3 4
Cl B2 A2 MP6
30 16 4 3
C2 B3 A3 MP5
31 15 5 2
C3 B4 m A4 MP4
32 14 6 40
C4 85 A5 MP3
33 13 7 39
C5 B6 x A6 MP2
SI
34 12 8 38
C6 B7 A7 MP I
35 11 9 37
C7 B8 A8 MPO
and the second retrieves the read data and puts the VDP
interface back in the inactive state. This is not required for
write cycles since the VDP's write access and cycle times (these
are not the same) are sufficiently short in all cases.
7.3.1 2 x TMS4416
7.3.2 4 x TMS4416
TEXAS INSTRUMENTS 7 - 7
36 27
P25 E2
37 26 -
P26 El
38 11
P27 RWM
TMS
8048 3556
VDP
12 5
DBO MP7
13 4
DB1 MP6
14 3
DB2 MP5
15 2 MP4
DB3
16 40
DB4 MP3
17 39
DB5 MP2
18 38 MP1
DB6
19 37
D137 MP 0
6801 TMS
3556
VDP
P10 13 5 MP7
P11 14 4 MP6
P12 15 3 MP5
P13 16 2 MP4
P14 17 40 MP3
P15 18 39 MP2
P16 19 38 MP1
P17 20 37 M130
TMS
3556
VDP
19 18 17 16 15 14 13 12
Q1 Q2 Q3 Q4 Q5 Q6 Q7 Q8
10 OC
HI Z
10 SN74ALS573
C
SN74ALS32 11
D1 D2 D3 D4 D5 D6 D7 D8
2 3 4 5 6 7 8 9
11 9 8 7 6 4 3 2 Or t
S11 SG SF SE SD SC SB SA
12 13
HMP HMP
OV +5V
...-"' TMS 3534
.....^ 12
...,
..0.
HIZ
....
.....
.....•
CAS 6
RAS 7
•
WR 8
•
OE 9
•
1Q 2Q 3Q 4Q 5Q 60 70 8Q AS Al A2 A3 A4 A5 A6 A7 AO Al A2 A3 A4 A5 A6 A7 AO A A2 A3 A4 A5 A6 A7 AO Al A2 A3 A4 A5 A6 A7
1.71
SN74ALS573 TMS 4416 TMS 4416 TMS 4416 TMS 4416
ID 2D 3D 4D 5D OD 7D tID 1).14 IA13 1)Q2 Lx.11 i DS MS 5 0 1-,24 D(.7.3 DS12 D01 CAS RA.- 11 G 1.*2 Dul CAS HAS
1024 103 L04 DU3 1)02 WI as PAS 7.,
2 3 4 5 6 , 8 9 17115 3 2 16 5 4 1 17 15 3 2 16 5 4 1 17 15 3 2 16 5 4 1 17 15 3 2 16 5 4
25
24 •
01 •
23
D2 • •
20
D3 •
19
D4 • •
18
D5
TMS 17
6 •
16
D7
3556
CAS
VDP
7
RAS • • •
8
WR • •
9 •
of
7.3.4 8 x TMS4164
TEXAS INSTRUMENTS 7 - 13
•
6 •
19 18 17 16 15 14 13 12 14 13 12 11 8 7 6 10 14113
4 12 11 8 7 6 10 S
10 20 30 40 50 6Q 70 80 AO Al A2 A3 A4 A5 A6 A7 AO Al A2 A3 A4 A5 A6 A7
cc SN74LLS573 TMS 4416 TMS 4416
ID 2D 3D 4D SD 6D 7D 81) Da Do ow ctrs- RTCs Vi pui DQ3 vca col CAB NIS K G
2 3 4 5 6 7 8 1 17115 3 2
l 16 5 4 1 15 3 2 16 5 4
Dp 25
Dl 24
02 23
• •
D3 20
•
D4 19
•
i
17I
(
05 18
TMS •
D6 19
• •
3556 D7 16
• •
VDP
CAS 6
6 2
IA
3
SN74S13 9
lB
IY0 4 CASO
•
IYI 5 CAS I
112 6 CAS2
113 7 CAS3
MS 7
• •
WR 8
• •
OE 9
•
19 18 17 16 15 14 13 121 5 7 6 12 11 10 13 9 51 7 6 12 11 10 13 9 5 7 6 12 11 10 13 9
IQ 2Q 3Q 40 SQ 64 7Q 80 I0 Al A2 A3 A4 A5 A6 A7 AO Al A2 A3 A4 A5 A6 A AR Al A2 A3 A A5 A6 A7
CAS
RAS 7
lOK
5
35 4K7
75 7
a
10K
750 9
a
10
G 34 4K7
11
12 5V OV
10K a
TMS 13
a
3556 14
VDP R 33 4K7
15
16
10K
17
I 32 2K2 18
19
20
4K7 a
21
SCM
36 4K7
Al 10k
19 ey-11
1: ;
11 A2
136 A3 02 -2--- 4k7
13 1
G2A Y2 A4 2N2907
3 Z—
B3 G2B c4 4 89 03 —6---1 2k4
GND DI
C5 D2
8 C6 10 D3 1
1k2
16 C7 12 D4
Vcc
S IY
28 2Y ly\ S GND
CO 2 IA
29 3Y 9 2:/\ 8
Cl 5 2A
/‘41, P C2 30 11 3A 4Y 12 3y
3 14 4y
C3 9A
157 cl.1 3 t16
1B W Vcc 7
2B Al 01 10k
B 3B
2y
„„as_ A2
I 4B A3 02 .2--14k7 1--40
1 5L.
G GND
8
az
u. A4
89 03
•
2k4
2N2907
C4
D4 4
C5 6
DI -4
6 1k2
C 4 32 D2
33 C5 C6 10
D3
C6 C7 12
C6 34 D4
TMS C7 35
C7 S GND
7000 8
cc
0
co
Y2 3 X16
1 Vcc
Al 10k
0
3 A2
A3 02 4k7
3 A9
VDP 89 03 2k4
35 \C4 4
DI
\ C5 6
1k2
3 D2
• C6 10
D3
TMS • C7 12
D9
3536 S GND
OV +5V 8
_L_
7 - 17
7.5 Vidoetex terminal examples
TEXAS INSTRUMENTS 7 — 18
7.6 Teletext application
TEXAS INSTRUMENTS 7 — 19
MEMORY SYSTEM
25 24 23 20 19 18 17 16 7 6 8 9
DO 01 D2 03 04 05 D6 D7 RTS CAS WI FE 1
33
R v99
TV 34
0 vdd 22
35
INTER TMS 3556 VD P
32 I
FACE 36
9CM 21410 •
MPO MP1 MP2 MP3 MP4 MPS MP6 MP7 El E2 RR14 COE COS OBE COS
37 38 39 40 2 3 4 5 26 27 11 28 29
2
3
144
41
6 5 •
•er •
5 n 9
10 z 11 •
c4 •
12 13 •
2 1 II
•
4347416 3
•
27
35
C7
34
C6
33 32 31 30 29 28 3 4 5
C5 C4 C3 C2 Cl CO BO B1 B2
TAT
rix2
=la
Ti, 26 DO
DI
KEY- 25 .02
23
D3 TMS 7041 MLP
22
BOARD lo4, 21 o4
D5
f2t
06
D7
AO Al A2 TxD B6 B5 RxD INTI
6 7 8 37 39 1 16 13 15
14 13 12 8 3 2
Tx13 TxPti T;c1i2 RxD an CLIC
owl
TCM 3105 TRS 5
i
OSC2 Vss
75ck Foch mt. Axe
11 4 10 a7
DP /VIE CC6L
TT
TELEPI1ONE LINE INTERFACE
1 External 1
I oscill- I
I ator I
----------'
1
I I
V V
I OBE 1 I OBE 1
1 VDP 1 1 1 VDP 2 1
s------------------°
•
1 Master VDP 1
1 OBE OBS 1
••••••• NOW*
1
1 1
1-(Resonator 1 -1
•-
1 OBE 1
1 Slave VDP 1
---_-------------- -----------
TEXAS INSTRUMENTS 7 - 21
FIGURE 7.19: Display synchronisation with master and slave VDP's
•
1 Master VDP 1
1 SLL SCT 1
•
1 1
1 1
V V
1 SLL SCT 1
1 Slave VDP 1
TEXAS INSTRUMENTS 7 — 22
superior in all cases to that during which the slave VDP would
have halted itself. The result of this action is that the
resultant delay of the slave VDP with respect to the master VDP
is then accurately known, and steps may be taken to compensate
for it.
The first technique is useable when the master VDP is
generating its own dot clock and also the dot clock for the
slave VDP. Figure 7.20 shows the principle of the technique
used. Immediately upon detecting the falling edge of the masters
SLL output, two consecutive pulses are removed from the dot
clock signal input to the slave device. During this time the
slave VDP tries to resynchronise its oscillator and then
prepares itself for further pulses on its OBE input. These two
'lost' dot clock cycles, added to the two cycles lost due to the
internal logic as described above, add up .to a total delay of
four dot clock cycles between the master and slave VDP's. This
delay is compensated for by delaying the RGB and I outputs of
the master VDP by four dot clock periods so that both VDP's are
perfectly synchronised as far as the display device is
concerned.
.*••••••
SCT SCT
SLL SLL
OBE
,--------,
R I I - - -> Red RI --> Red
G 2:I period I - -> Green GI - - -> Green
B --I delay I > Blue BI > Blue
I --I I- -> Incrust II > Incrust
• ------•
TEXAS INSTRUMENTS 7 - 23
during its resynchronisation time, and the other two compensate
for the intrinsic two dot delay of the slave VDP. Thus the RGB
outputs of both VDP's are then synchronised directly at their
respective outputs without need for further timing modification.
Figure 7.21 shows the principle involved and Figure 7.22 shows a
circuit diagram of a suitable harware arangement to perform this
function.
TEXAS INSTRUMENTS 7 - 24
FIGURE 7.22 : PALETTE CIRCUIT FOR 2 VDP's
TMS
3556
VDP
G
AO DO N BIT
B RAM N BITS D RED OUTPUT
Al 256 DN-1
CONVERTER
I WORDS
A2 X
3N
A3 BITS
DN N BIT
N BITS D fA BLUE
A4 OUTPUT
2N-1 olivanTR
A5
R
A6 D2N N BIT
TMS G N BITS D 10-A GREEN
3556 A7 D OUTPUT
VDP B
3N-1 CONVERTER
7 - 25
The total number of colours possible is simply a
function of the word length of the colour memory and analogue to
digital converters. For example if 4 bits per primary are stored
in the memory, sixteen distinct levels per primary result,
giving a total choice of 4096 colours.
TEXAS INSTRUMENTS 7 - 26
FIGURE 7.23 : DOUBLE RESOLUTION CIRCUIT
FOR 2 VDP's
TMS"
3556
VDP
1A MPX
2A
3A
RED OUTPUT
4A 1Q
2Q GREEN OUTPUT
3Q BLUE OUTPUT
1B 4Q I OUTPUT
2B
3B
4BSELECT
A/B
7 - 27
FIGURE 7.24 : 80 CHARACTER MONOCHROME VDU
TYPE TERMINAL
A 2 TO 1 INTENSITY
NIMTIOMZINER MONO-
B SELECT CONTROL CFMOME
A/B OUTPUT
TMS
3556
VDP
DOT CLOCK
X 2
7 - 28
TOLE 7.2: PROM CONTENTS FOR GREY SCALE INTERFACE
GREY SCALE
COLOURS
7- 29
8 SOFTWARE EXAMPLES
1.RAM definitions
2.Equalities definitions
3.Specific application source
4.Handler routines
5.Initialisation tables
6.Trap definitions
TEXAS INSTRUMENTS 8 - 1
********************************************************
* ALLOCATION OF THE INTERNAL REGISTERS OF THE MLP
********************************************************
AORG >0002 Addresses 0 & 1 = regs A & B
TEXAS INSTRUMENTS 8 - 2
8.3 Equalities definition file
* Colour Equivalences
*
NOIR EQU 0 * Black
BLEU EQU 4 * Blue
ROUGE EQU 1 * Red
VIOLET EQU 5 * Magenta
VERT EQU 2 * Green
CYAN EQU 6 *
JAUNE EQU 3 * Yellow
BLANC EQU 7 * White
*
Memmory Size/Configuration
*
RAM64K EQU 0 * 64K RAM
RAM16K EQU 2 * 16K RAM
RAMROM EQU 3 * Mixed RAM/ROM
*
NBCOL EQU 4 * Number of Keyboard columns
*
* I/O Port definitions for TMS 7000
*
IOCTRL EQU 0 * I/O Port to control Memory
expansion mode
*
SINGLE EQU 0 * Single-Chip mode
FULLER EQU >80 * Full Expansion mode
*
PORTA EQU 4 * Input Lines
PORTB EQU 6 * Output Lines
PORTC EQU 8 * Adrress/Data AD7/ADO
CDIR EQU 9 * PortC Direction control for each
* bit
* * l-out, 0*in.
PORTD EQU >A * PortD Data
DDIR EQU * PortD Direction control for each
*bit
TEXAS INSTRUMENTS 8 - 3
Programmable Timer/Event Counter Equivalences
*
TIMER EQU 2 * Timer Data Register
TIMCTL EQU 3 * Timer Control Register
DEBLOW EQU 255 * Areg. value for delay in ENCODE
DEBHI EQU 10 * Breg. value for delay in ENCODE
*
Equivalences used by PROVDP - See 'INITAB' for details
*
ENTRLA EQU >70
STDRD1 EQU >60
BT3 EQU >50
BT4 EQU >40
STITRE EQU >30
SYNTHE EQU >71
ROW00 EQU >61
MASQUA EQU >51
INCRUS EQU >41
ALPHA4 EQU >31
GRILLE EQU >21
LIGNAG EQU >11
SURIMP EQU >01
GRAPHI EQU >72
TEXTE EQU >62
VDPAGE EQU >52
PRICPU EQU >42
CHRMEM EQU >32
CT6 EQU >22
CT7 EQU >12
PASADR EQU >02
*
VDP Register numbers used to program Base Addresses
*
ADBAMT EQU 8
ADBAMY EQU
ADBAPA EQU >A
ADBAGO EQU >B
ADBAG1 EQU >C
ADBAG2 EQU >D
ADBAG3 EQU >E
ADBATF EQU >F
*
********************************************************
End of equalities file
********************************************************
TEXAS INSTRUMENTS 8 - 4
8.4. VDP Handlers file
TEXAS INSTRUMENTS 8 - 5
*****************************************************************
* AVDP
Access to VDP registers when in 'single chip'
Enter with register address in A and data in B
Called by TRAP 18
*****************************************************************
********************************************************
* LRAM *
Read one byte of data from VDP ram *
Data read from RAM is returned in A *
Called by TRAP 23(single-chip mode) *
********************************************************
********************************************************
* ERAM *
Write one byte of data to VDP RAM *
* Data to be written is passed in A *
* Called by TRAP 17 *
********************************************************
TEXAS INSTRUMENTS 8 - 6
********************************************************
* STAT *
Read the VDP status register *
* Value read is returned in A *
********************************************************
STAT MOV %>03,B * Addr. of status reg to B
MOVP %>FF,CDIR * PORT C to output mode
CALL @AVDPA * Set Pointer to Reg. 3
MOVP X>00,CDIR * PORT C to input mode
ANDP X?11111101,PORTB * El low for reg access
MOVP PORTC,A * Read data from PORT C
ORP X?00000011,PORTB * Return El and E2 high
RETS
*****************************************************************
* AVDP *
Access to VDP registers *
* Enter with register address in A and data in B *
* Called by TRAP 18 *
*****************************************************************
TEXAS INSTRUMENTS 8 - 7
********************************************************
* LRAM
Read one byte of data from VDP ram
Data read from RAM is returned in A
Called by TRAP 23
********************************************************
* ERAM *
Write one byte of data to VDP RAM *
Data to be written is passed in A *
Called by TRAP 17
********************************************************
TEXAS INSTRUMENTS 8 - 8
The various addresses: 'VDPREG', 'VDPWR', 'VDPRD1' and
'VDPRD2' are defined to be different from each other and from any
other address used in the system. Their values are chosen such
that their presence on the address bus during the access can be
detected by the external interface hardware, and cause the latter
to set the correct states on the El and E2 control lines
depending on the type of access.
*****************************************************************
* AVDP
Access to VDP registers *
Enter with register address in A and data in B *
Called by TRAP 18 *
*****************************#***********************************
********************************************************
* PROVON
Program VDP Internal Registers with
desired feature
* PROVX
Program VDP Internal Registers with
desired features - Called by TRAP 14
* PROVOF
Switch off feature in VDP internal registers
********************************************************
PROVON MOV A,TEMP
LDA @VDPREG(B)
OR TEMP,A
PROVX STA @VDPREG(B)
TRAP 18 *AVDP
RETS
TEXAS INSTRUMENTS 8 - 10
PROVOF INV A
MOV A,TEMP
LDA @VDPREG(•B)
AND TEMP,A
JMP PROVX
********************************************************
* COLRAN
Store the address in INDADR,INDADR+1 in
VDP registers COL & RAN
Called by TRAP 22
********************************************************
COLRAN MOV %2,B
MOV INDADR,A *INDADR to VDP reg.2
TRAP 18 *AVDP
MDV %1,B
MOV INDADR+1,A
TRAP 18 *AVDP
RETS
********************************************************
* BASADR
Program Base Addresses into VDP internal
registers 8 to F.
********************************************************
BASADR PUSH B *Save VDP Reg. number
TRAP 22 *CLRN *Store INDADR+1 in VDP reg.1
*Store INDADR in VDP reg.2
POP B
MOV B,A
TRAP 18 *AVDP *Double access to VDP to move
*reg.s 1&2 to register number
RETS *contained in Areg.
********************************************************
* ACMP
Set ACMP pointer via VDP reg 9 — BAMP
Called by TRAP 20
Does not switch mode (single—chip to full ex.)*
********************************************************
ACMP MOV %9,B *VDP register 9
MOV B,A *VDP register 9
TRAP 18
RETS
********************************************************
* TPSCRS (TRAP 15)
Position read or write pointer in VDPram
********************************************************
TPSCRS TRAP 11 *TPGADR
TRAP 22 *COLRAN
TEXAS INSTRUMENTS 8 — 11
********************************************************
* INIT *
Initialisation of the VDP Mode.
Initialisation of the VDP Internal Registers *
********************************************************
*
INIT MOV 23,B *1st VDP register to be proggrammed
NXVDP LDA @INTCM1(B) *INTCM1=Start of table of values
PUSH B
ADD 24,B
CALL @PROVX *Sub. to program VDP registers
POP B
DEC B
JC NXVDP
TEXAS INSTRUMENTS 8— 12
ADD %128,TEMP+1 *start at line 8
ADC XO,TEMP *
MOVD TEMP+1,INDADR+1 *TEMP+1 = BASE address in VDP ram
ADD CCODE,INDADR+1 *start at character CCODE
ADC 20,INDADR *
MOV 2128, COUNT *Max number of characters = 128
SUB CCODE,COUNT *CCODE = 1st character in generator
MOV 27,COUNTA *COUNTA=number of lines per
* character
GENELP ADD X128,INDADR+1 *Point to next line
ADC XO,INDADR *
MOVD A5,A1 *AO,A1 = ROM address of start of
*line
ADD COUNT,A5 *A4,A5 = ROM address of end of line
ADC XO,A4 *
CALL @ROMVDP *Recopy GENO into VDPram
DJNZ COUNTA,GENELP *Loop until COUNTA = 0
*
MOV X2,COUNTA *COUNTA = number of bytes to write
MOVP 2FULLEX,IOCTRI,
LDA *A5 *Read byte from ROM
MOVP XSINGLE,IOCTRL
CALL @NXLIN *
*
MOV Xl,COUNTA *COUNTA = no. of bytes per
*character
ADD X4,TEMP *TEMP = 9th line of gene
CALL @NXLIN *
RETS
*
NXLIN MOV A, COUNT *COUNT = number of characters
NXLIN1 MOV COUNTA,COUNTB *
MOVD TEMP+1,INDADR+1 *TEMP,TEMP+1=BASE address of char
*gen
CALL @LNREAD *Read next byte from ROM
ADD A,INDADR+1 *Set pointer register for line 7 of
ADC XO,INDADR *this character
NXLIN2 TRAP 22 *COLRAN - set pointer in VDP ram
CALL @LNREAD *Read next byte from ROM
TRAP 17 *A = data to write to VDP ram
SUB 2128,INDADR+1 *Set pointer register to next line
SBB XO,INDADR *
DJNZ COUNTB,NXLIN2 *Loop until COUNTB = 0
DJNZ COUNT,NXLIN1 *Loop until COUNT = 0
CALL @LNREAD *Read next byte from ROM
DJNZ COUNTA,NILIN *Loop until COUNTA = 0
RETS
*
LNREAD INC A5 *Increment ROM address
ADC X0, A4 *
MOVP XFULLEX,IOCTRL
LDA *A5 *Read byte from ROM
MVP XSINGLE,IOCTRL
RETS
TEXAS INSTRUMENTS 8 - 13
********************************************************
* GENE2
Generate GENE2 - Block Graphics
********************************************************
GENE2 MOVD XBAGC2+2,INDADR+1
TRAP 22 *COLRAN
MOV X>FF,A
MOVD %1280,A1
GENCLR TRAP 17
DECD Al
JC GENCLR *Write >FF to all GENE2
MOV X>A,LIGNE
MOV %>20,COUNTB
NXLINE CLR B
NXCOLL ADD COUNTB,INDADR+1
ADC ZO,INDADR
PUSH B
TRAP 22 *COLRAN
POP B
NXCHAR CLR A
CMP X>8,LIGNE
JNC INF8
BTJZ %?00100000,B,SUL10 *Lines 10 to 8
ADD %>OF,A
SUL10 BTJZ 2?00010000,B,INCCAR
JMP INCCRX
INF8 CMP %>4,LIGNE
JNC 1NF4
BTJZ %?00001000,B,SUL8 *Lines 7 to 4
ADD 2>OF,A
SUL8 BTJZ %?00000100,B,INCCAR
JMP INCCRX
INF4 BTJZ %?00000010,B,SUL4 *Lines 3 to 1
ADD X>OF,A
SUL4 BTJZ %?00000001,B,INCCAR
INCCRX ADD X>F0,A
INCCAR TRAP 17 * ERAM
INC B *Next character
CMP %>20,B
JEQ INCADD
CMP %>40,B
JNE NXCHAR
MOV %>40,COUNTB
DJNZ LIGNE,NXLINE *Preceding line
TEXAS INSTRUMENTS 8 - 14
MOVD ZBAGC2+2,INDADR+1
MOV %>7F,COUNTB
MOV %10,COUNTA
CHAR5F ADD COUNTB,INDADR+1
ADC %0,INDADR
TRAP 22 *COLRAN
CLR A
TRAP 17 *ERAM
NOV %>80,COUNTB
DJNZ COUNTA,CHAR5F *Write >00 to all rows of char. 7F
RETS
********************************************************
* MRGCLR
Program border colour
********************************************************
MRGCLR MOV TEINTE,A *TEINTE = colour
SWAP A
RL A * A = A*32
PUSH A *save A
MOV XCM4,B *B = 7 = VDPreg CM4
TRAP 6 *PRO VON
POP A *restore A
INV A *invert A
AND X>EO,A *set unwanted bits to 0
MOV XCM4,B *B = 7 = VDPreg CM4
TRAP 5 *PROVOF
RETS
********************************************************
* TPGADR (TRAP 11)
Calculate address in VDP ram
********************************************************
TPGADR CLR INDADR
MOV RAN,INDADR+1 *Address = RAN
PUSH A
PUSH B
MPY %80,INDADR+1 * = 80*RAN
MOVD B,INDADR+1
TEXAS INSTRUMENTS 8 - 15
ADD RBAPA+1,INDADR+1
ADC RBAPA,INDADR * = BAPA + 80*RAN
MOV COL,A
RL A
ADD A,INDADR+1
ADC %>00,INDADR * = BAPA + 80*RAN + 2*COL
POP B
POP A
RETS
********************************************************
* TPXYE (TRAP 10)
Position ACMPxy in write mode at current
cursor position
********************************************************
*
TPXYE DEC INDADR+1
SBB %0,INDADR *Backspace pointer address
TRAP 22 *Reposition ACMPxy
TRAP 23 *Read 1 byte
PUSH A
TRAP 22 *Read 1 byte
POP A *A=data to be written
TRAP 17 *Write 1 byte
INC INDADR+1
ADC %0,INDADR *Forwardspace pointer address
RETS
********************************************************
* TWRPAG (TRAP 12)
Write a character at the current writing
position
********************************************************
TWRPAG MOV ATTRIB,A *character attribute
TRAP 17 *ERAM
MDV CCODE,A *character code
TRAP 17 *ERAM
RETS
********************************************************
* TRDPAG (TRAP 13) *
* Read a character code and its attribute at *
* the current read pointer *
********************************************************
TRDPAG TRAP 23 *LRAM
MOV A,ATTRIB
TRAP 23 *LRAM
MDV A,CCODE
RETS
TEXAS INSTRUMENTS 8 - 16
********************************************************
* UPDATE
Position the cursor at the next character
********************************************************
UPDATE INC COL * Update COL,RAN:
CMP %40,COL
JEQ OVFH
RETS
OVFH CLR COL *COL=40-->COL=0 and RAN+1
INC RAN
CMP %25,RAN
JNE NOOVF
MOV Xl,RAN *RAN=25-->RAN=1
NOOVF TRAP 15 *TPSCRS acmpxy=bapa
RETS
********************************************************
* TCLERO
Fill from the current writing position to the *
end of the row with the same character
********************************************************
TCLERO CALL @TWRPAG
CALL @UPDATE
CMP %O,COL
JNE TCLERO
RETS
********************************************************
* TCLEPG
Fill from the current writing position to the *
screen with the same character
********************************************************
TCLEPG CMP %24,RAN
JEQ LASTLN
CALL @TCLERO
JMP TCLEPG
LASTLN CALL @TCLERO
RETS
********************************************************
* TCLPAG
Fill the whole screen with the same character *
********************************************************
TCLPAG CLR RAN
CLR COL
TRAP 15 *TPSCRS
CALL @TCLEPG
RETS
TEXAS INSTRUMENTS 8 — 17
********************************************************
* TCLEAR
Clear screen - fill with delimiters
********************************************************
TCLEAR MOV POND,ATTRIB
SWAP ATTRIB
RL ATTRIB
MOV X>20,CCODE
CLR RAN
CLR COL
MOVD RBAPA+1,INDADR+1
TRAP 22
MOVD X2050,A1
CLR A
TCL1 TRAP 17
DECD Al
JC TCL1
RETS
********************************************************
* ROMVDP *
Copy a block of memory from ROM in MLP *
to VDP RAM *
********************************************************
ROMVDP TRAP 22 *CLRAN-Set pointer ACM?
NXMOV MOVP UULLEX,IOCTRL *Change to PULL-EXPANSION
LDA *Al *Al contains start address of data
MOVP XSINGLE,IOCTRL *Change to SINGLE-CHIP
TRAP 17 *Write Data byte to VDP RAM
INC Al
JNC LOW
INC AO
LOW CM? AO,A4 *A4 contains END address MSB
JNE NXMOV
CMP Al,A5 *A5 contains END address LSB
JNE NXMOV
RETS
********i************************************************
* VDPVDP (ROLL-UP)
Move a block of data within the VDP ram
* Address of start of original in AO & Al *
* Address of start of copy in INDADR & INDADR+1 *
* Address of end of original in A4 & A5 *
* AO,A1 must be > INDADR,INDADR+1 *
* This routine could also be used to Roll-down *
if INDADR,INDADR+1 > A4,A5 *
********************************************************
VDPVDP PUSH INDADR+1
PUSH INDADR
SUB Al,A5
SBB AO,A4 *A4,A5 contain no. of bytes-1
MOVD Al,INDADR+1
TRAP 22 *COLRAN
TEXAS INSTRUMENTS 8 - 18
TRAP 23 *ACMPxy=READ CURSOR
POP INDADR *Restore 'write' start address
POP INDADR+1
PUSH A *Put 1st byte back on stack
DECD INDADR+1 *(BAMP incremented when loaded)
TRAP 22 *Load COL & RAN with write pointer
TRAP 20 *Set ACMP to 'write'
POP A
JMP NXMOV1 *jump to write 1st byte
NXMOVU TRAP 23 *LRAM - reads byte onto stack
NXMOV1 TRAP 17 *FRAM - writes value already on
*stack
DECD A5
JC NXMOVU
INC INDADR+1
ADC %0,INDADR *Restore original value of INDADR+1
RETS
TEXAS INSTRUMENTS 8- 19
********************************************************
* ROLLDN
Move a block of data within the VDP ram
Address of start of original in AO & Al
Address of start of copy in INDADR & INDADR+1 *
Address of end of original in A4 & A5
AO,A1 must be < INDADR,INDADR+1
********************************************************
ROLLDN PUSH INDADR+1
PUSH INDADR
PUSH Al
PUSH AO
PUSH A5
PUSH A4
SUB Al,A5 *Calculate no. of bytes -1
SBB AO,A4 *to be moved
MOVD A5,LLONG+1 *LLONG+1 byte count-1
MOVD A5,A1 *Al,AO byte count-1
POP A4 *Restore 'read' start address
POP A5 *Restore 'read' start address
ADD INDADR+1,LLONG+1 *LLONG becomes 'write' start
*address
ADC INDADR,LLONG
MOVBYT MOVD A5,INDADR+1
TRAP 22 *COLRAN -position 'read' pointer
TRAP 23 *read one byte
PUSH A
MOVD LLONG+1,INDADR+1
TRAP 22 *COLRAN-positin 'write' pointer
POP A
TRAP 17 *write one byte
DECD A5
DECD LLONG+1
DECD Al *decrement byte count
JC MOVBYT
POP AO *Restore original values
POP Al
POP INDADR
POP INDADR+1
RETS
TEXAS INSTRUMENTS 8 - 20
********************************************************
* VDPRAM
Copy a Block of data from VDPRAM to MLPRAM
This routine is effectively replaced by
Custom Micro-Instruction LRAM
This routine is useful to move data to
registers other than the stack
********************************************************
Address of 1st byte in VDPRAM should be
Stored in INDADR+1.
Address of 1st register in MLPRAM to receive
the data should be stored in B reg.
Address of last register should be in A5
********************************************************
VDPRAM TRAP 22 *COLRAN-Set ACMPxy Read Pointer
SUB B,A5 *calculate no. of bytes to read
INC A5 *no. = start address also
NXMOV3 TRAP 23 *Read into Areg.
STA @0(B) *Store data in RAM reg
INC B
DJNZ A5,NXMOV3 *Test if last data read
* *More data to read, jump to NXM0V3
RETS
********************************************************
* RAMVDP
Copy a Block of Memory From MLP RAM to VDPRAM *
This routine is effectively replaced by the *
Custom Micro-Instruction FRAM
This routine is useful to transfer data from
registers other than the stack
********************************************************
Store address of 1st register to copy in Breg *
Store address of Last register in A5
********************************************************
RAMVDP TRAP 22 *COLRAN-Set Write Pointer ACMPxy
SUB B,A5 *Calculate no. of bytes to move
INC A5 *inclusive of limits
NXM0V4 LDA @0(B) *0=regA, B holds 1st register to
*copy
TRAP 17 *ERAM
INC B
DJNZ A5,NXMOV4 *test for last byte read
RETS
TEXAS INSTRUMENTS 8 - 21
********************************************************
* RAMINF *
Copy a block of data within the MLP RAM *
* Start Address for data to be copied is *
* contained in register Al. *
* Start Address for copied data is in INDADR+1 *
* End Address for data to be copied is in A5 *
* This routine is used when Start Address of *
* original is greater than Start Address of *
* Copied data *
********************************************************
RAMINF CLR AO *MSB address in RAM = 0
CLR INDADR *MSB address in RAM = 0
NXMOV5 LDA *Al *Get 1st byte of data at RAM adr Al
STA *INDADR+1 *Store data in RAM add. given by
*INDADR
INC INDADR+1 *Increment the REGISTER no for
*received
INC Al *Increment the REGISTER no for
*sending
CMP Al,A5 *Test if last data moved
JC NXMOV5 *If not, jump to NXMOV5
RETS
********************************************************
* RAMSUP
Used to copy data within the MLP RAM when
the Start Address of the Copied data is
greater than the Start Address of the original*
********************************************************
RAMSUP CLR A4 *MSB address in RAM = 0
CLR INDADR *MSB address in RAM = 0
PUSH A5 *save end address
SUB Al,A5 *calculate no. of bytes-1
ADD A5,INDADR+1 *calc. end address of copy
MOV A5,A1
POP A5 *move no. of bytes-1 to Al
INC Al *Al=nq. of bytes
NXMOV6 LDA *A5 *Get 1st byte of data at RAM add.A5
STA *INDADR+1 *Store data in RAM add. given by
*INDADR
DEC INDADR+1 *Decrement Address for next write
*dita
DEC A5 *Decrement Address for next read
*data
DJNZ Al,NXMOV6 *Test for last data copied
RETS
********************************************************
This program is the Master Handler for use
with applications using the DATA-PROVIDER
********************************************************
* MODETV
Program the full screen TV mode in the VDP
********************************************************
*
MODETV MOVP 2>F,CDIR
MOVP %?1110,PORTC
TRAP 4 *LATCEN
MOV XBT4,A *Program BT4=1
NOV ZCM1,B
TRAP 6
MOV %SYNTHE,A *Program VDP for full-screen
MOV %CM2,B
TRAP 5 analogue image
MOV ZENTRLA,A *Non-interlaced frame
MOV XCM1,8
TRAP 5
MOV UNCRUS,A *Supression of insertion
NOV XCM2,8
TRAP 5
MOVD ZBAPA,INDADR+1
MOV
CALL @BASADR *Reprogram page base address
RETS
********************************************************
End of 'HANDLER'
********************************************************
********************************************************
• Trap Vectors 4 to 23 are used by the 'Handlers' *
• to call frequently used subroutines, thereby
• saving memory space.
********************************************************
• Any TRAPs not defined in either the HANDLERS or *
• application programme are assigned the same
• address as the RESET vector i.e. ROMBEG
********************************************************
* *
AORG >FFDO
DATA LRAM * TRAP 23
DATA COLRAN * TRAP 22
DATA ROMBEG * TRAP 21 <-- Available for
DATA ACMP * TRAP 20 application program
DATA ROMBEG * TRAP 19 <
DATA AVDP * TRAP 18
DATA ERAM * TRAP 17
DATA ROMBEG * TRAP 16 <
DATA TPSCRS * TRAP 15
DATA PROVX * TRAP 14
DATA TRDPAG * TRAP 13
DATA TWRPAG * TRAP 12
DATA TPGADR * TRAP 11
DATA ROMBEG * TRAP 10 <
DATA ROMBEG * TRAP 9 < - -
DATA ROMBEG * TRAP 8 <--
DATA ROMBEG * TRAP 7 <
DATA ROMBEG * TRAP 6 <
DATA ROMBEG * TRAP 5
DATA ROMBEG * TRAP 4
********************************************************
INTERRUPT VECTORS
Can be called under normal S/W control or
activated by external interrupts, but not
both ways in the same program since an
external hardware interrupt routine must be
terminated by an RETI instruction, whereas
a S/W Trap is terminated by RETS instr.
********************************************************
DATA (INT 3 vector) * TRAP 3
********************************************************
TRAP 2 is the TIMER rollover interrupt
********************************************************
DATA {INT 2 vector) * TRAP 2
********************************************************
DATA (INT 1 vector) * TRAP 1
********************************************************
TRAP 0 is the RESET VECTOR
********************************************************
RESET DATA ROMBEG * TRAP 0
END
TEXAS INSTRUMENTS 8 - 25
9 ELECTRICAL SPECIFICATION
TEXAS INSTRUMENTS 9 - 1
9.3 ELECTRICAL CHARACTERISTICS OVER FULL RANGE OF RECOMMENDED
OPERATING CONDITIONS (UNLESS OTHERWISE NOTED)
TEXAS INSTRUMENTS 9 - 2
Iozl Off-state output) D(0-7) I Vo= 0.4V 1 -100 1 uA
current, low 1 1 I I
level voltage 1 MP(0 -7) 1 Vo= 0.4V I -200 1 uA
applied I 1 I I
-+- -+- -+- +---
Egg Supply current from Vgg I Vgg = MAX I 105 140 I mA
-+- _....4---------.....--.1-..--....-..-
I d d Supply current from Vdd 1 Vdd = MAX I 70 100 1 mA
--+- -+- -+- -+-
Ci Input capacitanceIMP(0 -7) I fl MHz I 15 I pF
ID(0-7) I 1 I
+- --+- -+- -+-
1A11 others! f=1 MHz I 10 1 pF
-+- -+- --+-
Co Output capacitanceIMP(0 -7) 1 f=1 MHz 1 15 I pF
1D(0 -7) I
+--- -+- -+- -+--
IA11 others! f=1 MHz 1 10 1 pF
all typical values are at Vgg = 5V, Vdd=3V, Ta=25 C
NOTE: All voltages are with respect to Vss unless otherwise noted
TEXAS INSTRUMENTS 9 - 3
9.4 TIMING REQUIREMENTS OVER FULL RANGES OF RECOMMENDED OPERATING
CONDITIONS
NOTE: Timing measurements are made at the 10% and 90% points of input and
clock transitions. In addition, Vil max and Vih min must be met at the 10%
and 90% points.
This is a system timing parameter only and need not be respected in all
cases; see paragraph 3.7.7.
TEXAS INSTRUMENTS 9 - 4
9.5 SWITCHING CHARACTERISTICS OVER FULL RANGES OF RECOMMENDED OPERATING
CONDITIONS (Independent of DMA oscillator frequency)
TEXAS INSTRUMENTS 9 - 5
9.6 SWITCHING CHARACTERISTICS OVER FULL RANGES OF RECOMMENDED OPERATING
CONDITIONS (Dependant on DMA oscillator frequency)
OBE
d (oBLRGB)
th (OBLRGB)
R, G, B
(ORTSL)
SLL
ODE / \ / \
tsu(RWHODL)-a...
tc(E)
El,E2
.48--th(RWHE) twh(E)
lairtsu(ERWL) -gewl(RWM) td(RDHEL)
RWM
(RWHRDL
note 1
th(RWLMP)
ODE
\ / m-t tsul
(ELOD)
El
E2
1 1(ELRDL)
RWM tsu(MPRDH)
RDY 1
- tac(E) th(EHMP)
ten(ELMP)
El
E2
RWM
RDY
tac(ST) 001 th(EHMP)
—an .w-ten(ELMP)
9-8
FIGURE 9.5: DATA PROVIDER WRITE CYCLE TIMING
tc(HMP)
twl(HMP)
BHP
HIZ r td (HPLHZL )
RAS /
d (HZLCL )- - td(CHHZH)
CAS
td(CLWL)-m- "ig --
WR
tdis(CLD) -.... L.* - ten(HZHD)
Note 1: VDP MP bus is high impedance, data is output by the data provider.
Data set-up and hold times with respect to WR are determined by
memory timing requirements.
re(W) •••••••111..
tw(RH)
tw(RL)
RAS I
Td(RLCL) tw(CL)
.tsu(WRH)°'
.tsu(WCH)1.1
CAS
td(CLWL) ....- tw(W) 41
...1
WR tsu(RAH 1.4m -mtsu(CA)
th(RA)m- tsu(D)
th(CL CA)m- th(WLD)
DO-D7 COL r DATA
9 - 9
FIGURE 9.7: VDP - DRAM READ CYCLE TIMING
ODE —/ \ / / \ / \ / \ / \___
td(ODLRL) tig m...1
1.0. tc(RD)
...---- tw(m) ---o-
tw(RL)
RAS
su(ORH)►
su(OCH)
CAS
tw(0E)
OE
tsu(DCH)
th(CHD)
tdis(CHDin
tc(D)
tw(RL)
RAS
44tw(CH)1
CAS
tc(P)
OE
DO-D7 XXXXXXXXX< ROW >< COL >----< data >---< COL >----< data >--ZE
9-10
10 MECHANICAL DATA
OWDE ■
DOT
C C
15.24 x 0.254 4,1 •
10 1100 t 0 010/ 0.508 (0.0201 MIN
NOTES • E•e0 pin mints/dims Is boated /PRAM 0.25A (0 0101 of Its true lompituditud pealtios
0 All linows *mansions aft in millIthwthrs and owendwtisally In Mews Me dowthweits
pivots,
EITHER
INDEX
— SEATING PLANE -i- Lyk A A).)VRAiVi.AA A-ki/ A)1 i-1::t810 200) MAX
105
90
0 279: 0.076 —410m
0.457 t 0.076 J
(0 018 / 0 0031"41t.
-.l.t.
.. ..
r-01-1
. 1251 MIN 3 1710
NOTES • East, pin c•ntiistin• Is Ascend within 0.254 10 0101 of No true lero9itudipa4 position
All hewer thm•nsicons ars m milIdnetws smd petworlatically in inch.. Inch dam/Amon,
govern
TEXAS INSTRUMENTS 10 - 1
11. MASK PROGRAMMED TIMEBASE STANDARD OPTIONS
For the 525 line mode, a typical dot clock would be 7.15MHz
giving a line duration of 63.78us.
TEXAS INSTRUMENTS 11 - 1
TABLE 11.1: TIME BASE PARAMETERS FOR DUAL 320 POINT VDP (XA8627)
Programmed times
PARAMETER BT2=0 BT2=1 UNIT
TEXAS INSTRUMENTS 11 - 2