Internal 64K RAM for the TS/ZX

Author(s): Tim Stoddard
Pub Details: Time Designs Magazine v3 n4 (Volume 3, Issue 4)
Date: May/June 1987
Pages: 27-28

I presented, near the end of 1986, two articles on upgrading the TS2016 ram pack to 64K. Shortly before that I had also designed a three chip INTERNAL 64K upgrade. But the chips used (NEC’s 43256 SRAM) cost $55 EACH! This, I thought was much too much to pay for that amount of memory, hence, the article for the TS2016 upgrade. I have been following the price of the 43256 chip, and it is currently priced at $14.95, with every indication of going down further. So this is, perhaps, an opportune time for this article.

Schematic #1 shows the selection logic used. I used the 74LS145 which is an open-collector output and eliminates using diodes to tie together the apropriate 8K blocks for each of the two 43256 SRAMs. The 2.2K resistor and 1N914 diode at the top-left side of the schematic makes this upgrade compatable with WEYMIL‘s high resolution program THRUST. THRUST and this upgrade works BEAUTIFULLY! The upgrade must be in the 16K mode to run THRUST, however. The 2N3904 transistor deselects the BASIC ROM unless the current address is in the first 8K block.

Schematic #1: 74LS145 selection logic, 2N3904, 2.2K resistor and 1N914 diode, ON = 16K / OFF = 64K switch
Schematic #1: 74LS145 selection logic, 2N3904, 2.2K resistor and 1N914 diode, ON = 16K / OFF = 64K switch
Sinclair ZX81 computer
Sinclair ZX81 computer
Figure #1: component side wiring (cuts, jumps, 2N3904, 74LS145, keyboard diodes)
Figure #1: component side wiring (cuts, jumps, 2N3904, 74LS145, keyboard diodes)
Figure #2: non-component side wiring (6 cuts, 7 jumps, 2.2K, 1N914, 4.7K)
Figure #2: non-component side wiring (6 cuts, 7 jumps, 2.2K, 1N914, 4.7K)

WARM UP THE SOLDERING IRONS!

First, using the proper anti-static procedures, take off the back of the TS/ZX case and remove the PCB from the case. The modification can be done with the keyboard connected but I don’t recommend doing it that way. With the PCB out and on the anti-static mat, remove the old SRAMs and sockets if there are any. If you are modifing a 1K ZX81, remove jumper LK1, and install LK2.

Next, perform the four cuts shown in FIGURE 1, then install a 28 pin socket where the 2K ram would go. Using FIGURE 3, prepare the 74LS145 as shown and install it where the LEFT 1K SRAM would normally go. You’ll need to slightly spread pin 16 up to pad 18 and solder, then spread pin 8 down to pad 9 and solder. This brings in the 5 volts for the 74LS145 chip.

Connect up the remaining wires, diodes, and transistor as shown in FIGURES 1 & 3 then reconnect the keyboard cables (carefully) if you have disconnected them. Turn the PCB over and perform the six cuts & 7 adds as shown in FIGURE 2. NOTE: Adds numbered 1 & 5 should be slightly larger wires than the standard 30 guage wire-wrap type wire, as these pass 5 volts on to other logic. Now add the two resistors and one diode as shown in FIGURE 2.

Plug in ONE 43256 SRAM into the 28 pin socket, screw the PCB into the top half of the case and power up. You should get the “K” cursor in a few seconds. Execute PRINT PEEK 16388 + 256 * PEEK 16389. This should give you 32768. If this works, power off, remove the 43256 SRAM and perform the “piggy-back” modification shown in FIGURE 4. Install the “piggy-back” SRAMs into the 28 pin socket and connect up the top SRAMs’ CS wire to the 74LS145 as shown in FIGURE 3. Power up and execute one at a time;

1)POKE 16388,255
2)POKE 16389,255
3)NEW
4)PRINT PEEK 16388 + 256 * PEEK 16389

This should give you 65535…….INTERNALLY! Make sure that switch S1 is off (open). You can mount S1 anywhere you have room for in the case.

The SRAMs are available from MICROPROCESSORS UNLIMITED for $14.95 each plus $6 second day Federal Express delivery. They don’t have a minimum order restriction and can be reached at (918)267-4961. I would expect the price to drop another two to four dollars by the time this article is in print.

Tim Stoddard
[address omitted]

Figure #3: preparing the 74LS145 (pins bent out, 2N3904, 4.7K resistor, 64K/16K switch)
Figure #3: preparing the 74LS145 (pins bent out, 2N3904, 4.7K resistor, 64K/16K switch)
Figure #4: piggy-back 43256 SRAM (32K x 8 bit) with 4.7K resistor
Figure #4: piggy-back 43256 SRAM (32K x 8 bit) with 4.7K resistor