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. These and succeeding articles 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.
HORIZONTAL SYNC GENERATOR
The horizontal sync generator is basically a flip-flop which is turned on and off by the main timing chain (which was described last month). The output of the horizontal sync generator supplies the horizontal sync pulse to the video combiner circuit (which will be discussed in a future issue). It also supplies the source signal for the NMI generator and one of the control signals for the intercept circuit. (Both of these circuits will also be discussed in more detail in the future.) These pulses are 38 dot cycles long and come from the Q output of the flip-flop. See the right side of the last figure in the October issue.
CHARACTER SCAN LINE COUNTER
The character scan line counter is a 3 bit binary counter. (A 4 bit counter is shown in the simulation, but only the first 3 bits are used.) This counter is reset by a reset signal which is generated by the frame sync generator and is held in the reset mode until the end of the frame sync pulse. This is necessary because the number of dot cycles in a scan line is not evenly divisible by eight (the number of scan lines in a character row) and holding the reset affords a method or resyncronizing the counter. The counter is advanced one count at the completion of each scan line. The output of bits 1 to 3 (count 0 to 7) is fed through the first 3 bits of the ROM driver buffer (a 9 bit tri-state buffer) to address lines A0′ to A2′. See the figure at the end of the October QZX.
INTERNAL DATA BUS
There is an internal data bus connected to the lines D0 through D7 (8 lines), which carry data to and or from the following internal functions.
- internal data latch
- NoOp generator
- Two shift-registers 8 bit each
- input port FE 7 bit
- lines D6 and D7 to intercept control
A possible realization of this internal data bus is shown on the next page.
The details of the intercept control circuit which controls the flow of signals on the internal data bus (and provides for screen inversion) will be given next month.
