If you haven’t already done so, add a large keyboard to your ZX-81 or T/S 1000! The external keyboard will greatly improve, not only the speed and accuracy of data entry, but also your confidence in the computer. You may either purchase a new keyboard designed for the Sinclair or modify one found in an electronics junk store. The junk store approach is cheaper, but choose the keyboard carefully. Select only a keyboard with metallic closure switches — usually recognized by the presence of only two contacts on the rear of each switch. Make sure that the previous circuitry is exposed such that it can be easily removed or modified. Also, choose a keyboard with more than 40 keys. The extra keys can be used to add new features.
Wiring of the salvage keyboard is easy. There are eight address lines and five data lines to the keyboard. Each address line connects with the anode (the end that is not banded) of a diode and is thus easily identified. Normally, pressing a key causes a switch closure between one address line and one data line. Wire each switch of the new keyboard in parallel with the corresponding switch of the original keyboard. This can be done by duplicating the circuit on the Sinclair keyboard. Now for those extra keys.
With the addition of simple circuitry, it is possible to obtain shifted functions, such as EDIT or the cursor controls, with a single keystroke. Normally, the shifted functions require both the shift key and the function key to be depressed, an operation requiring two fingers — really two hands. Two circuits providing the single keystroke capability are explained. The first uses only passive components, namely diodes, and allows EDIT, “”, DELETE, STOP, “, FUNCTION, and # (the British version) with a single switch closure. The second circuit uses active components, but can generate any shifted function. (Note that these circuits are not new. Two years ago they were discussed during User Group meetings. Henry April expanded upon the diode approach to also allow :, ;, ?, and /. Henry implemented his design with the E-Z Key keyboard. The active circuit approach was first described in Syntax in March 1981.)
The circuit for the diode approach is given below. The anode of two diodes is connected to an extra switch. The cathode end of one diode is connected with address line A8, the address line going to the shift key, and the free end of the second diode is connected to the address line for the desired function. The other side of the switch is connected to data line D0, the same data line as are the shift and other possible functions for the diode approach.

The active component approach uses two chip types: the 74LS125A, tristate buffer, and the 74LS21, dual 4-input AND. The number of chips required depends upon the number of function keys implemented. (Dave Wood implemented 23 functions with 10 chips.) Diode logic can be used, in some cases, in place of the AND. The operation of the circuit is simple. Each tristate buffer simulate a switch closure.

Normally, the buffer is in an high impedance state — an open switch. When a low level signal, such as a switch closure to ground, is applied to the control for the buffer, the buffer repeats its input signal — a closed switch. The AND is used to detect the closure of any of the function switches and control the tristate buffer corresponding to the shift key. Thus, with the closure of one switch, two buffers are enabled and the computer will sense two switch closures.