The RAMbo Rescue

See all articles from QZX v4 n10
Author(s): Guillermo Antonio Garcia (LU8MAD)
Publication: QZX
Pub Details: QZX v4 n10 (Volume 4, Issue 10)
Date: September 1986
Pages: 7-10

This projet fulfil the same functions as the HUNTER Board but inside of computer with two chips..! (and less $10.-)

This is a version II of THE GREAT RAM RESCUE (R. Glidden, SYNC) on recovering the built in 2K TS-1000 memory (Address 8192 to 10239). According to Glidden: “so, do those of you who have upgraded your ZX81 /TS1000 to 16 K ever feel sorry for that unused 1K-2K RAM, sitting unloved and unneeded inside your computer? Why not put it to work for you by wiring together this little circuit ?. It will, convert your on-board RAM into a handly little place to put machine code programs…Here, nestled away, will be a memory location unaffected by LOAD, NEW and MC induced crashes.”

I had done this projet on my computer TS1000 (issue 3), and this work fine, but now is time of uprating this for use from the address 8192 to 16383…with 8K..!

Glidden continues: “to free up some of this wasted space all you have to do is put ROM CS high whenever some of these addresses are needed, thus “turning off” the ROM in the same way a RAM pack turns off the internal RAM…”; and after said ” what you have after all this your on-board RAM chip selected and your ROM deactivated whenever memory locations 8192 – 16383 or 40960 – 49151 are addressed you have decoded a lot more memory area than you need for your 1K-2K RAM chip..”.

This is the business…I had put a HM 6264 P-15 (CMOS Low Power) 8K Static RAM in place of the on-board RAM (4016 or 2116).

WIRE THE CIRCUIT

Following the circuit diagram (Figures 2 & 6), make the appropiate connections to the 74LS27 ($.29). This is best accomplished by making them directly to the DIP socket.

Match up the locations of the appropiate holes (PCB feed throughs) on the board as shown in Figure 1. (issues 1 & 3).

Once you have located all the holes, make sure are correct by checking continuity between the holes and the appropiate pin of the card edge that is available at the port. That port is located at the back of the computer, provides access to all of the lines from the microprocessor. (Also look the pinout diagram in your User Manual).

Then solder the appropiate wires from 74LS27 to HM6264 and board. Remove the RAM chip from socket by carefully prying up each end.

One variation in some issues is the omission of sockets for the RAM, which is a pity, as it makes modification in this area more difficult.

Fig. 1 Hole locations on the issue one and issue 3 boards (adapted from SYNC March/April 84)
Fig. 1 Hole locations on the issue one and issue 3 boards (adapted from SYNC March/April 84)
Fig. 2 74LS27 circuit diagram and wiring
Fig. 2 74LS27 circuit diagram and wiring
Fig. 3 Hypodermic needle desoldering
Fig. 3 Hypodermic needle desoldering
Fig. 4 HM 6264 P-15 pinout
Fig. 4 HM 6264 P-15 pinout

The big bugbear in any internal RAM change is the need to remove existing RAM from the circuit board, unless a chip socket is provided. The correct approach is to clear the solder from each pin in turn, using a “solder sucker”, but that is not the only option.

I use a hypodermic needle #10 and “pencil” soldering iron (Figure 3 ) When solder solidify turn the needle. This needle, isolate pin to the metallic hole on the board (solder not join on needle). This is the more inexpensive desoldering tool !

All the surplus solder needs to be cleared away to allow a 28-pin DIP socket to be inserted.

Carefully bend out pins # 2, # 20, # 22, & # 23 of HM 6264. You can avoid bend out pins 20 & 22 if cut trace (solder side) of PC board TS 1000 issue 3 at location of pin 8 in IC 4B. By this way trace that to come of pins 20 & 22 (IC 4A) is isolated to another components of computer. Then you can solder in hole of pin 8 (IC4B) wire of connections with pin 6 of 74LS27. (This option is valid only in issue 3 PCB).

Place one HM6264 ($7.75) in the socket with the bent out pins sticking out sideway. The HM6264 is a CMOS chip; this means be very careful with it (avoid touching the pins with your fingers).

Now look at the Figure 1. Once you have located D1 (A11) and D3 (A12), make the connections to pins # 2 and # 23.

Affix the 74LS27 to the board, upside down, using double-side tape or a small dab of rubber cement RTV.

TESTING

Now you have with the Timex/Sinclair 1000 and the 16K RAM pack, a 32K system…(8K of ROM, 16K RAM, and 8K CMOS RAM of memory that can be used to store machine-language subroutines and expand the operating system of the computer).

Enter this program to test it:

10 FOR A = 8192 TO 16383
20 POKE A, 0
30 NEXT A

This will POKE zeros into each memory location. Then entre NEW, and the following program:

10 FOR A = 8192 TO 16383
20 PRINT A;", ";PEEK A;" ";
30 IF PEEK 16442>4 THEN GOTO 50
40 CLS
50 NEXT A

This program verify by means of PRINT-PEEKing each byte. You should get the entire 8K block between 8192 to 16383 full of zeros…

If you wish to learn more about transparent CMOS memory and programming, the Hunter article (see bibliography), may be helpful.

I had done this 8K (8192-16383) battery-backed-up non volatile memory (with Litium coin cell & 74LS125), but it is another business…(see the next month, at same time, on this channel QZX-TV…He..He…)

BIBLIOGRAPHY

  • THE GREAT RAM RESCUE, Randall S. GLIDDEN SYNC March / April 1984, pg 64-67
  • EXPAND YOUR TIMEX/SINCLAIR OPERATING SYSTEM, Paul W.W. HUNTER PART 2, RADIO-ELECTRONICS, August 1983, pg 83-91 (very useful software)
Fig. 5 Memory map with the 8K CMOS RAM at 8192-16383
Fig. 5 Memory map with the 8K CMOS RAM at 8192-16383
Fig. 6 HM 6264 P-15 in the IC socket with bent-out pins
Fig. 6 HM 6264 P-15 in the IC socket with bent-out pins