RAM Decoding for ZX81

Publication: Syntax
Pub Details: Syntax/Syntax ZX80 v3 n2 (Volume 3, Issue 2)
Date: February 1982
Pages: 12

Last March we published Al Salt’s plans for adding external RAM to ZX80s. To adapt his Build Additional RAM (SYNTAX 02/03/02) with ZX81s, you can take one of three approaches. The second two of these plans do not require you to modify the insides of your ZX81

You can use all external RAM, by removing the internal RAM and connecting pins 2 and 14 of the 74155 to pin 2T (for top) of the ZX81 edge connector. This method uses pin 2T as an output from the computer to the decoder. Connect CS1 to the first set of external RAM chips.

Or, wire a 74LS138 decoder wired as shown in the following circuit to select the internal set or one of seven external sets of RAM chips. Use pin 2T as an input to the computer from the external decoder in this case. (Sinclair used this scheme in their 3K RAM module sold in Europe. Henry April of the Boston Computer Society independently proposed a similar plan at a recent Society meeting.)

Finally, you can add a 74LS-series inverter (74LS04, for example) in series with A14 and connect the inverted output to pin 2 of the 74155 decoder. (See additional schematic following.) Then connect MREQ to pin 14 of the 74155. Connect the RAM CS1 form pin 9 of the decoder to pin 2T of the ZX81. This scheme uses pin 2T as an input to the computer from the external decoder. (This plan comes from John Jarrett‘s article for SYNTAX on RAM expansion, now being tested.)

Each of the latter schemes is logically correct and used in one or more memory expanders, but we did NOT bench test them.

74LS138 decoder selecting internal or one of seven external RAM chip sets
74LS138 decoder selecting internal or one of seven external RAM chip sets
74LS155 decoder with 74LS04 inverter on A14, CS1 to pin 2T
74LS155 decoder with 74LS04 inverter on A14, CS1 to pin 2T