ZX81 Extendi-RAM

Author(s): Dave Goodman
Publication: LISTing Newsletter
Date: April 1997
Pages: 9-10
  • Low cost alternative to 16K RAM pack.
  • Up to four 1K RAM boards can be used together cost-effectively.
  • Easy to build.
The Extendi-RAM board
The Extendi-RAM board

For ZX81 owners who do not yet have a 16K RAM pack, our 1K module provides a small, low cost alternative for increased program storage area which can be extended in 1K blocks.

The standard computer contains 1K (1024) Bytes of static memory, out of which some 125 Bytes are used for system variables. A full screen of characters (32 x 22) uses 704 Bytes, and, allowing for program variables expanding during a program run, it can be seen that very little space is left in RAM for BASIC programs!

One solution is to fit a 16K to 32K RAM extension, which may prove expensive to computerists on a low budget. If only a few K of RAM is required, however, this module will meet the requirement.

If the instruction PRINT PEEK 16388 + 256 * PEEK 16389 is entered directly into the ZX81, the address 17408 will be printed, this being the first byte above RAMTOP.

The two system variables at addresses 16388 and 16389 together contain the size of RAM available for use, and, as RAM address begins at 16384, the highest memory address available in 1K is 17407. A further 1K RAM will need to begin at address 17408 to 18431 etc. Track pins A to F select the required memory block, and only one of these pins should be inserted in each module if more than one module is to be used (see table 1).

Table 1.

Track  Memory
Pin    Size   Memory Map
ZX81   1K     16384 to 17407
A      2K     17408 to 18431
B      3K     18432 to 19455
C      4K     19456 to 20479
D      5K     20480 to 21503
E      6K     21504 to 22527
F      7K     22528 to 23551

Use A on one module, B on a second module, C on a third module, etc.

Figure 1. Circuit diagram.
Figure 1. Circuit diagram.

Construction

Insert the 27 track pins (omitting A to F), the 3 IC holders, and the 3 disc capacitors. Carefully solder all connections, then clean excess flux from the PCB. Insert one of the pins A to F (see table 1) and the 3 ICs. Plug the module into the extendiboard, or fit a 2 x 23 way socket (RK35Q) to the edge connector and connect to the ZX81. Switch on, and run the RAMTOP test. Note that the address printed will be one higher than shown in table 1. Further modules can be fitted provided that an extension motherboard is available for the expansion port.

Figure 2. PCB layout and overlay.
Figure 2. PCB layout and overlay.
PARTS LIST FOR ZX81 1K EXTENDIRAM

Capacitors
C1,2,3      100nF disc ceramic          3 off     (BX03D)

Semiconductors
IC1         74LS138                               (YF53H)
IC2,3       2114                        2 off     (QW12N)

Miscellaneous
            ExtendiRAM P.C.B.                     (GB27E)
            18 pin DIL skt              2 off     (HQ76H)
            16 pin DIL skt                        (BL19V)
            Track pin                   1 pkt     (FL82D)

A complete kit of all parts is available.
Order As LK16S (ZX81 1K ExtendiRAM kit) Price £5.20
PARTS LIST FOR ZX81 1K EXTENDIRAM (Maplin order codes; kit LK16S)
PARTS LIST FOR ZX81 1K EXTENDIRAM (Maplin order codes; kit LK16S)