Tony Duell wrote:
I certainly have the SAA5243 manual around
somewhere (it'll take me a
little time to find it). AS ever I don't have a scanner, and it's a
fairly thick manual, so can you let me know what specifically you're
looking for.
I think I can figure out >95% of the chip's functionality as-is, but at
this point:
* Ghost Rows mode (the 5243 appears to call this "Extension Packet
Enable" in the R1/Mode register): how does it affect the memory map --
i.e. where are the additional rows stored?
It aLLOCATES 2k OF ram FOR EACH page -- and it's not contiguous. Assuming
you have an 8K esternal RAM chip (which is the normal thing to use), then
it's A12 that's used to select between the normal (A12=0) and extension
packets (A12=1). A11 and A10 are used to allow you to load and display up
to 4 pages at the same time.
To read them, do you just specify Row 30 (say) in
R9 (Active Row)
before reading from R11 (Active Data)?
No You read the 'other' page of RAM as I've just mentioned. The exact
format of that 1K block is given in the manual, but here's a summary :
Row
0-14 : Packet 26 Sequence 0-14 (Enhanded Dispaly and VPT)
15 : Packet 28 Sequence 2 (COnditional Access)
16-19 : Packet 17 Seqeunce 0-3 (Linked pages)
20 : Packet 24 (Page Extension)
21 : Packet 25 (Page Extension)
22 : Packet 28 Sequence 0 (Data Designation + Colour Def)
23 : Packet 30 Magazine 8 (stored in block 4 only -- Broadcasting Data
Sevice Packet)
24 : Packet 28 Sequence 1 (Character Set Designation)
25 : Not Used
Is there any effect on the function of the Bank
Select and Acq
Circuit bits (which seem to provide the upper address bits) if Extension
Packets are enabled (the datasheet says you need a 2K RAM if EPE is on,
or a 1K without -- which suggests that the upper address outputs might
not work as they do in "normal" mode)?
See above.
* R1 register: permitted states for the T1 and T0 bits. What do the 4
settings (00/01/10/11) do / which ones are valid?
All are Valid :
00 Interlaced 312/313 linea
01 non-interlaced 312/313 lines
10 non-interlaced 312/312 lines
11 Tioming slaved from another sync source
* R1 register: TCS -- "Text composite sync or direct sync select". Am
I right in thinking this just selects whether the chip syncs the video
output to the CVBS input or the signal passed to the TCS/SCS pin?
Basically, yes. It controls th TCS/ SCS/ output buffer. If you're using
it with a SAA5231 (and I suspect you are), it determins where the sync to
the TV is TCS (TCS ON = 1) or broadcast sync (TCS ON = 0)
* R2 register: Start Column bits. All the datasheet says is "Start
column for page request data"... so what do these do?
They define the position first digit of the page number to look for.
There are 7 'digits' numbered 0-6, each of 5 bits (which you write into
R3). Bit 4 is a 'Do Care' bit for the rest of this digit (so you can, for
example, just grab the first page 1XX to come along by having some don't
cares). Digit 0 is A Hold/ bit (bit 3) and a 3 bit 'magazine' number.
Others are essentially 4 bit values (bits 3-0) in order page 10s. page
units, hours 10s, hours units, minutes 10s, minutes units.
By using R2, you coul load the unit page value whithout having to sed the
magazine and 10s page first.
-tony