Building a 14 MB RAM Board for the Atari Falcon030
My Atari Falcon came with 4 MB of RAM. Naturally, I wanted 14 MB. I found exactly one supplier in Europe offering the upgrade, but the boards always seemed to be out of stock. I suspect that's because the right RAM chips are so hard to find. After waiting too long, I decided to design my own adapter for a 16 MB SIMM. The idea was simple. Make a PCB, fit a right-angle SIMM socket, plug in the module and close the case.
Jack Tramiel had apparently been feeling generous. He'd given me a full seven millimetres to work with :p That was the gap between the top of the RAM board and the metal shield. The SIMM socket alone was about 11 mm high! On top of the adapter, it fouled the shield. Underneath, the TOS ROM was in the way. In the end, I decided to remove the memory chips from the SIMM and design a new board I could solder them directly onto.
Taking the SIMM apart
I thought removing eight old DRAM chips would be the nerve-racking part. It turned out to be a piece of cake. I set the hotplate to 125 °C, laid the SIMM on it with the chips facing up and applied a little hot air from above. The plate preheated the board. As soon as the hot air melted the solder around the J-leads, I could lift the chips off one by one.
The chips are marked OKI M5117400A-60SJ. My new board is wider than the SIMM, so I could spread them out a little. If I find a solder bridge later, I'll have room to get at the leads with a fine tip and some desoldering wick.
I ordered the boards from JLCPCB along with a solder paste stencil. Removing eight chips one at a time was fine. Putting an equally sized dot of paste on 192 chip pads with a toothpick seemed like an excellent reason to order a stencil this time.
Why seven chips won't give you 14 MB
Each DRAM chip has 4,194,304 memory locations, four bits wide. With eight chips in parallel, you get 32 bits at each location and 16 MB of physical memory. The Falcon can use 14 MB of that as ST-RAM.
Seven chips really do add up to 14 MB on paper. The catch is where those bits are. Each chip supplies four bits at every address. Leave one out and you still have the same number of addresses, but only 28 of the 32 bits at each one. The Falcon uses part of its address space for things outside ST-RAM. At every address it does use for ST-RAM, it still needs all 32 bits.
How the Falcon talks to the memory
The COMBEL sends the row address first and then the column address over the same address lines. /RAS tells the DRAM when to latch the row address, /CAS does the same for the column address, and /WE controls writes. Fast Page Mode lets the memory controller keep a row open and access several columns within it in succession.
The eight chips are arranged in four pairs. Each pair supplies one byte and shares a /CAS signal. Each group of four chips supplies one 16-bit half of the data bus and shares a /RAS signal. I traced those connections on the original Atari 4 MB board with a multimeter. That let me check my own wiring against a board I knew worked.
What to look for in a donor SIMM
Start with 5 V Fast Page Mode DRAM organised as 4M × 4, then look up the exact markings on the chips. For this board, I'm looking for parts with 11 row address bits, 11 column address bits and 2,048 refresh cycles per 32 ms. A chip with the same capacity can require 4,096 refresh cycles. The label on the SIMM tells you how much memory it holds. The chip datasheet tells you how that memory is organised and how it needs to be refreshed.
Also check the speed grade, pinout and package dimensions. My chips are marked -60SJ, the 60 ns version in an SOJ package. The closest OKI datasheet I found covers the MSM5117400F. It specifies 2,048 refresh cycles per 32 ms and names the package: a 26/24-pin 300 mil SOJ with a 1.27 mm lead pitch. It doesn't include a dimension drawing, so I checked the footprint by printing the board at 1:1 and laying the donor chips on it. My donor chips are the A variant, so I'm using the F datasheet as a reference and checking the connections against the donor board. OKI MSM5117400F datasheet
The boards are in production now. When they arrive, I'll see whether the Falcon recognises all 14 MB and passes a full memory test. Then comes the test that started all this. Putting the shield back on and reassembling the Falcon.