Skip to the content
4 layers123 × 81 mmPortableRAM-8MB, the printed circuit board in 3D

Mac Portable Variable 4 or 8MB RAM expansion card — all-5V, AS6C8008 SRAM, ATF1502ASL CPLD. Expands to 9MB total (system max).

Size
123 × 81 mm
Copper layers
4
Thickness
1.63 mm
Parts
38
Nets
155
Pads
541
Tracks, vias
3,507, 439
Pours
9
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
10 Jul 2026
Updated
31 Aug 2026

Overview

PortableRAM-8MB is an open-source printed circuit board by 2tf2294x4g-maker, from the 2tf2294x4g-maker/MacintoshPortable8MB_RAM repository on GitHub, published under the CERN-OHL-S-2.0 licence. It is a 4-layer board of 123 × 81 mm with 38 parts on 155 nets, routed with 3,507 tracks and 439 vias.

It is built around the 74HC245D and AS6C8008-55ZIN. Its parts include 19 capacitors, 11 ICs, 4 resistors and 2 connectors. It belongs with the FPGA and CPLD boards of this library.

Main components

2

README

README.md

Mac Portable 8MB RAM Card (v2 — All-5V)

Expands a Macintosh Portable to 9 MB total (1 MB onboard + 8 MB this card) — the maximum the Portable's address space supports.

All-5V design using 1M×8 SRAM chips. No level shifters, no LDO regulator, no 3.3V rail. Shares the same connector, CPLD, and bus transceiver approach as the 4MB card but doubles capacity using larger SRAM.

✅ HARDWARE VALIDATED — Built and tested on a Mac Portable M5120 (July 2026). Boots reliably, passes 9 MB in About This Macintosh, and with the DTACK bodge (see below) outperforms the 1 MB baseline.


Photos

About This Macintosh showing 9,216KRAM card installed in Mac Portable with DTACK bodge wire
System 7.5.5 — 9,216K total memoryCard seated in Portable with orange DTACK bodge wire

Close-up of DTACK bodge wire at PDS connector Orange bodge wire running from CPLD pin 42 to PDS slot pin B7 (/DTACK)

Component side of assembled v2 card with DTACK bodge wireSolder side of assembled v2 card
Component side — all 8 AS6C8008 SRAMs, bus transceivers, CPLD, and DTACK bodge wireSolder side — bypass caps and bulk caps

Specs

Capacity8 MB (8× 1M×8 SRAM)
System total9 MB (1 MB onboard + 8 MB card)
Bus width8-bit × 2 banks (addressed via CPLD)
LogicATF1502ASL CPLD (5V, TQFP-44)
SRAM8× AS6C8008-55ZIN (5V, TSOP-II-44)
Layers4 (F.Cu signal / GND plane / +5V plane / B.Cu signal + pour)
ConnectorSamtec BCS-125-F-D-HE (50-pin 2×25, horizontal entry)
Size jumperJP1: OPEN = 8MB (all chips) / CLOSED = 4MB (populate U2 U3 U6 U7 only)

Bill of Materials

RefQtyValuePackagePart / Notes
U2–U98AS6C8008-55ZINTSOP-II-44Alliance Memory — 1M×8 5V SRAM 55 ns
U11ATF1502ASLTQFP-44Microchip ATF1502ASL-25AU44 — must be ASL (5V), not ASV
U11, U12274HC245SOIC-20 wideSN74HC245DW — verify wide (7.5 mm) body
J11RAM connectorSamtec BCS-125-F-D-HE50-pin socket, horizontal entry — free Samtec sample
J21JTAG header1×6 2.54 mm pin headerPin 1 (square pad) = TCK
JP11SIZE jumper1×2 2.54 mm pin header + shuntOPEN=8MB, CLOSED=4MB
C1–C12, C17, C1814100 nF0805X7R 50V ceramic bypass
C13–C16, C19510 µF0805X5R 16V ceramic bulk
R2–R5410 KΩ08055% thick film

Full BOM: PortableRAM-8MB-BOM.csv


⚠️ Important — SRAM Pinout Difference

The AS6C8008 (8MB card) and AS7C4096A (4MB card) are both TSOP-II-44 but have different pinouts. Do not install 4MB card SRAM chips on this board — the CE#, WE#, and OE# pins are in different locations and the board will not work correctly.


Population Guide

The silkscreen shows two labeled boxes:

BoxChipsConfig
4MBU2, U3, U6, U7JP1 CLOSED — populate these 4 chips only
8MB ONLYU4, U5, U8, U9JP1 OPEN — populate all 8 chips

For a full 8MB build, populate all 8 chips and leave JP1 open (no shunt).


Files

text
PortableRAM-8MB.kicad_pcb     — PCB layout (KiCad 9)
PortableRAM-8MB.kicad_sch     — Schematic
PortableRAM-8MB.kicad_pro     — Project file
PortableRAM.kicad_sym         — Custom symbol library
PortableRAM.pretty/           — Custom footprint library
Gerbers/                      — Gerber + drill files (ready to order)
Gerbers.zip                   — Same, zipped (upload directly to fab)
firmware/
  PortableRAM8.pld            — CUPL source (ATF1502ASL logic)
  PortableRAM8.jed            — Compiled JEDEC
  PortableRAM8.svf            — SVF for OpenOCD programming
  program.sh                  — One-command programming script (Tigard)
  BUILD.md                    — Firmware build instructions (WinCUPL + Wine)
PortableRAM-8MB-BOM.csv

Ordering the PCB

Upload Gerbers.zip to your preferred fab (JLCPCB, PCBWay, OSHPark, etc.).

Board settings:

  • Layers: 4
  • Thickness: 1.6 mm
  • Surface finish: ENIG (recommended — 0.8mm pitch fine-pitch pads benefit from the flat surface)
  • All other settings: fab defaults

Assembly Notes

Solder in this order:

  1. U1 (ATF1502ASL CPLD, TQFP-44) — centre first
  2. U2–U9 (SRAM, TSOP-II-44) — fine pitch; flux generously. See population guide above.
  3. U11, U12 (74HC245, SOIC-20 wide)
  4. C1–C18 (100 nF 0805 bypass caps)
  5. C13–C19 (10 µF 0805 bulk caps)
  6. R2–R5 (10 KΩ 0805)
  7. JP1 (1×2 header — leave open for 8MB, or install shunt for 4MB)
  8. J2 (1×6 JTAG header — before J1 for iron clearance)
  9. J1 (Samtec connector) — last

Programming the CPLD

The ATF1502ASL must be programmed before the card will work. Use J2 (1×6 header on the board edge).

J2 pinout (pin 1 = square pad)

PinSignal
1TCK
2TMS
3TDI
4TDO
5+5V
6GND

With a Tigard programmer (FT2232H-based)

Set the Tigard voltage jumper to 5V before connecting.

bash
cd firmware
./program.sh PortableRAM8.svf

Success output ends with shutdown command invoked and no TDO mismatch errors.

See firmware/BUILD.md for full build and programming pipeline.


Installation

  1. Power off and unplug the Mac Portable.
  2. Remove the battery and bottom cover.
  3. Seat the card on the RAM expansion header — J1 is a friction-fit horizontal-entry socket.
  4. Reassemble and power on.

You should see 9 MB in About This Macintosh.

DTACK Performance Fix (firmware rev 12)

The Mac Portable's GLU chip generates /DTACK for the 68000 with region-dependent timing:

Address rangeGLU /DTACKCondition
0x000000–0x4FFFFF2 clocksAlways — hardwired fast path
0x500000–0x8FFFFF6 clocksNormal operation (register configured)
0x500000–0x8FFFFF18 clocksAfter sleep/wake (register reset)

The 8 MB card spans 0x100000–0x8FFFFF, straddling the split. Banks 0–1 (0x100000–0x4FFFFF) already get the GLU's 2-clock fast path. Banks 2–3 (0x500000–0x8FFFFF) run at 6 clocks and collapse to 18 clocks after sleep/wake when the GLU's DTACK register loses its configuration.

The fix: the ATF1502ASL CPLD now asserts /DTACK itself, via a bodge wire from CPLD pin 42 to PDS slot pin B7. The CPLD monitors the address bus and data strobes, and whenever a cycle falls within the card's memory window (0x100000–0x8FFFFF) it pulls /DTACK low directly — bypassing the GLU completely. The output is tristated for all other bus cycles so there's no contention.

Because the logic is purely combinatorial (no registers, no state), it's immune to sleep/wake — the CPLD re-evaluates every cycle from scratch. The post-sleep collapse is gone.

Benchmark results (Speedometer 3.23 / Snooper Memory Move — System 7.1, M5120):

ConfigurationSpeedometerSnooperPost-sleep
1 MB card (baseline)1.99087%1.985
4 MB expansion card1.95585%—
8 MB card — no DTACK bodge1.48651%—
8 MB card — no bodge, after sleep0.97422%—
8 MB card + CPLD DTACK bodge2.170102%2.170
4 MB card + CPLD DTACK bodge2.170102%2.170

The CPLD's combinatorial DTACK is faster than the GLU — the 8 MB card with the bodge outperforms the 1 MB baseline. Post-sleep performance is identical to cold boot. The 4 MB configuration with the DTACK bodge also scores 102%, confirming the CPLD path is faster than even the GLU's hardwired 2-clock mode for the lower address range.

How to wire it: Solder a bodge wire from CPLD pin 42 (U1, TQFP-44) to PDS slot pin B7 (/DTACK). The PDS connector is the 96-pin DIN-41612 on the Mac Portable motherboard (3 rows A/B/C, 32 pins each). Pin B7 is in row B, position 7 from the component side.

PDS slot and RAM connector locations, with /DTACK (B7) marked


Cost

PCB — JLCPCB (July 2026)

5× 4-layer boards (ENIG)$48.70
Shipping$8.79
Discount−$5.49
Tax$3.68
Payment fee$0.52
Total for 5 boards$56.20
Per board~$11.24

ENIG finish recommended over HASL for the 0.8mm pitch TSOP-II-44 and TQFP-44 pads.

Parts — DigiKey

PartQtyUnitExt
ATF1502ASL-25AU44 (CPLD)1$3.12$3.12
SN74HC245DWR (74HC245 wide SOIC)2$0.75$1.50
100 nF 50V X7R 080514$0.07$0.98
10 µF 16V X5R 08055$0.46$2.30
10 KΩ 5% 08054$0.03$0.12

Parts — DigiKey (SRAM)

PartQtyUnitExt
AS6C8008-55ZIN (1M×8 5V SRAM)10~$10.17~$102

Order 10 (8 needed + 2 spares).

Samtec J1 Connector

Free sample from samtec.com (BCS-125-F-D-HE). Allow 1–2 weeks.

Summary — one board from scratch

ItemApprox cost
PCB (1 of 5 from JLCPCB, ENIG)$11
8× AS6C8008-55ZIN SRAM$86
CPLD + transceivers + passives$8
Samtec J1free / ~$10
Total~$105–115

The SRAM dominates the cost. Compared to the 4MB card (~$93–103), the extra cost is the larger SRAM chips and ENIG finish.


References & Acknowledgements

This card would not exist without the following prior work:

Dynamic Engineering Mac Portable RAM Card The address decode and bus control logic in PortableRAM8.pld is derived from the GAL22V10 PLD source files originally written for the Dynamic Engineering commercial RAM expansion card for the Mac Portable. These files define the core signal equations — bank chip-select generation, byte-lane write control via UDS*/LDS*, bus transceiver direction, and output enable timing. The original .PLD files were recovered and shared by techknight on the TinkerDifferent forum and #skunkworks Discord. Translated here from three GAL22V10 chips to a single ATF1502ASL CPLD, with corrections to the r_w_u equation and address decode base, and extended for 8MB capacity.

miejas — Macintosh Portable 4MB Memory Expansion https://github.com/miejas/Macintosh-Portable-4-MB-Memory-Expansion Open-source 4MB RAM card whose connector pinout, bus transceiver approach, and firmware structure were used as a cross-reference to validate signal assignments and confirm that AS* and SLEEP* are not present on the expansion connector.

Reza Fouladian — PortableRAM BGA 8MB https://github.com/rezafouladian/PortableRAM-BGA-8MB BGA-format 8MB card using the ATF1502ASV (3.3V CPLD) and SN74LVC4245A level translators. Used as a reference for the 8MB address decode strategy and CPLD pin planning. Reza also provided direct guidance on driving /DTACK from the CPLD and on the Mac Portable PDS connector pinout — specifically confirming that /DTACK is available on PDS pin B7 and can be driven directly from a CPLD output, which was the key insight that led to the DTACK bodge fix implemented in firmware rev 12. That fix eliminated the GLU wait-state penalty and the post-sleep performance collapse entirely.

Apple Mac Portable Developer Notes & Schematics Apple's original hardware documentation for the Mac Portable expansion bus, memory map, and GLU register behaviour (including the $FC0200 DTACK register).


License

  • Hardware (schematics, PCB layout, Gerbers) — CERN-OHL-S v2 · SPDX CERN-OHL-S-2.0
  • Firmware source (PortableRAM8.pld) — MIT · SPDX MIT

Both licence texts are included in full in this repository. Do what you like — just share improvements.

Parts

38
QtyValueFootprintReferences
14100nFCapacitor_SMD:C_0805_2012MetricC1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C17, C18
8AS6C8008-55ZINPackage_SO:TSOP-II-44_10.16x18.41mm_P0.8mmU2, U3, U4, U5, U6, U7, U8, U9
510µFCapacitor_SMD:C_0805_2012MetricC13, C14, C15, C16, C19
410KResistor_SMD:R_0805_2012MetricR2, R3, R4, R5
274HC245Package_SO:SOIC-20W_7.5x12.8mm_P1.27mmU11, U12
1ATF1502ASLPackage_QFP:TQFP-44_10x10mm_P0.8mmU1
1GNDTestPoint_GNDTP1
1JP1: open=8MB closed=4MBConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJP1
1JTAG_Header_2.54mm_1x06Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ2
1RAM ConnectorPortableRAM:Samtec_BCS-125-F-D-HEJ1

Similar boards

  • 4 layers123 × 81 mmPortableRAM-8MB, the printed circuit board in 3D

    PortableRAM-8MB

    2tf2294x4g-maker/MacintoshPortable8MB_RAM_v3

    Mac Portable Expansion Card with support for 2, 4, 6, or 8 MB and jumper for backlit or non backlit

    63 parts2CERN-OHL-S-2.0
  • 2 layers88.7 × 50.8 mmPcmcia sram, the printed circuit board in 3D

    Pcmcia sram

    number42net/pcmcia-sram

    This board is primarily designed for use in the Amstrad NC-100 and NC-200 portable computers, but will likely work in other computers as well.

    7 parts6CERN-OHL-P-2.0
  • 2 layers79.4 × 86.4 mmZ80bankSwitch, the printed circuit board in 3D

    Z80bankSwitch

    andreasjarliden/kicad_z80bankSwitch

    33 parts
  • 4 layers99.8 × 99.8 mmDma mapped memory, the printed circuit board in 3D

    Dma mapped memory

    jimbro1000/dma-memory-module

    HD6309SBC DMA memory module

    36 parts
  • 2 layers60 × 34 mmMiniNDP, the printed circuit board in 3D

    MiniNDP

    bkw777/NODE_DATAPAC

    Reproduction & documentation of Node Systems DATAPAC

    21 parts7
  • 2 layers245.1 × 160 mm8-Bit CPU 32k, the printed circuit board in 3D

    8-Bit CPU 32k

    slu4coder/Minimal-64x4-Home-Computer

    My DIY TTL home computer with VGA and PS/2 and 4x the processing power of a Commodore C64 or Apple II.

    139 parts326
  • 2 layers191.8 × 121.3 mm8-Bit CPU 32k, the printed circuit board in 3D

    8-Bit CPU 32k

    slu4coder/Minimal-UART-Computer-1-2

    Legacy: Version 1 and 2 of my TTL-only CPU featuring UART I/O, an expansion port, 512KB SSD at up to 10MHz clock speed

    109 parts184
  • 4 layers215 × 150 mmMackerel-30-proto, the printed circuit board in 3D

    Mackerel-30-proto

    crmaykish/mackerel-68k

    A series of single-board Motorola 68k computers with support for modern Linux

    133 parts96MIT

Questions

How big is the PortableRAM-8MB PCB?

It measures 123 × 81 mm and has 4 copper layers, 1.63 mm thick.

What parts does the PortableRAM-8MB use?

38 parts, built around the 74HC245D and AS6C8008-55ZIN. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the PortableRAM-8MB KiCad files?

From the 2tf2294x4g-maker/MacintoshPortable8MB_RAM repository on GitHub, at the commit this page was made from: the board is PortableRAM-8MB.kicad_pcb and its schematic PortableRAM-8MB.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the PortableRAM-8MB design in my own project?

Its repository publishes it under the CERN-OHL-S-2.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).