This article is a continuation of the series which began in the October issue of QZX. The purpose is to explain the function of the SCL logic chip in the ZX and TS1000 series of Sinclair computers. This chip is a custom chip designed particularly for our computers. The previous articles gave some background on the chip, provided a functional diagram, and listed 17 separate functions performed by the chip. This and succeeding articles will discuss these functions individually and provide an equivalent circuit diagram for the function. These circuit diagrams are only the equivalent of the actual circuits inside the chip because nothing is known about the real connections inside, but the circuits given here will perform the function of the real circuit. For a list of these 17 functions see the October issue of QZX.
INTERNAL TIMING CHAIN
The internal timing chain must provide the following functions:
- Divide the dot clock by two to provide the processor clock signal.
- Provide turn-on and turn-off pulses to the horizontal sync flip-flop (described later), to generate the horizontal sync pulses with a duration of 38 dot cycles, at the beginning of each TV scan line.
- Provide a four bit binary counter (divide by 16). The first three bits of this counter provides the timing for the intercept circuit and the first bit may also furnish the signal for the microprocessor clock (described above), which would then be inverted and sent to pin 14. The fourth bit is used to multiplex the two shift registers. The counter’s carry-out (overflow) enables the next counter in the string for one count.
- Provide a second five bit binary counter (divide by 32).
By presetting the first counter to the value of 2 and this second counter to the value of 6 and NANDing bit 4 of the first counter with bit 4 of the second counter, we obtain our turn-off pulse for the horizontal sync generator. The carry-out of this second counter provides the horizontal sync turn-on pulse terminating the scan line. This carry-out pulse also advances the character scan line counter and presets the main timing chain, thereby starting the next scan line of 414 dot cycles. (In the simulation two 4 bit counters are substituted for the 5 bit counter with the carry-out of the second counter enabling the third counter and with the third counter’s carry-out taking care of the termination chores. The third counter is preset to 14.)
The next three pages contain figures for this function. The first figure is an equivalent circuit diagram for the timing chain. The next two figures on the next two pages provide some details of the timing waveforms used by the timing chain and of the timing for one scan line.


