do-it-yourself project
You need the schematic of ZX81, some know-how in soldering and some parts you can buy for pocket money.

If you only want 16K-byte, it is very simple:
1. Remove the original 1 or 2k memory chip(s).
2. Solder a good 28-pins IC-socket in the place of IC4.
3. Fit a short wire at LK2 (on the right side of IC4).
4. Take the 38Kx8 RAM chip and bend up pins 1, 2, 22, 23, 26, (no connection to socket).
5. Put the RAM (43256, 55257 or 62256 e.g.) into the socket.
6. Connect pin 1(A14) to ground (pin 14 of IC4).
7. Connect pin 2 (A12) to A12, this is the anode of D3 on the ZX81 PCB.
8. Connect pin 22 to ground.
9. Connect pin 23 (A11) to A11, this is the anode of D1 on the ZX81 PCB.
10. Connect pin 26 (A13) to A13, this is the anode of D5 on the ZX81 PCB.
11. That is all.
Full 32K-RAM from 16K to 48K-1
1. Remove the RAM from the socket and bend pins 20 and 28 up.
2. Put the RAM into the socket.
3. Connect pin 28 to +5 volts.
4. Connect pin 20 to output of the decoder (see schematic, sorry not on Internet).
5. Remove R2 and R28 from the ZX81 PCB (RAMCS and ROMCS).
6. Remove the wire from pin 1 to ground and connect pin 1 (A14) to A14, this is the anode of D7 on the ZX81 PCB.
7. Build a simple address decoder with 74LS138 and four germanium diodes. The function is as follows:
8. MREQ, A14 and A15 are used to select four areas of 16K. The first area ROM is selected. The second and third area is the 16 – 48K RAM. The fourth area RAM must be selected too, as the screen output routine in the ZX81 is working with M1 = 0 and A14 = 1 and A15 = 1. Three of the germanium diodes form OR-gate which pulls RAMCS to LOW whenever one output is LOW.
9. Connect the ROMCS output of the decoder to pin 20 of the ZX81 ROM (ROMCS).
10. Connect A14, A15, MREQ, 0 volts and + 5 volts to the decoder.
Memory Back-up
1. Only effective in 32K – 48K area, as RESET will delete the 16K – 32K area).
2. Replace the wire from RAM pin 28 to + 5 volts by a Schottky diode.
3. Connect 3 – 3.6 volts backup batteries via a 100Ω resistor to pin 28 .
And now good luck! (Peter the translator)
This article is a translation from German ZX-TEAM-MAGAZIN, the words in the schematic are not translated, but I hope everybody will understand.
ZX81 – EVERYTHING a computer needs