Skip to the content
2 layers200.5 × 67.7 mmP2000t ram expansion board-2080kb, the printed circuit board in 3D

P2000t ram expansion board-2080kb

ifilot/p2000t-ram-expansion-board1

RAM expansion board for the P2000T

Size
200.5 × 67.7 mm
Copper layers
2
Thickness
1.6 mm
Parts
32
Nets
77
Pads
362
Tracks, vias
2,143, 65
Pours
2
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
18 Oct 2023
Updated
12 Aug 2025

Overview

P2000t ram expansion board-2080kb is an open-source printed circuit board by ifilot, from the ifilot/p2000t-ram-expansion-board repository on GitHub. It is a 2-layer board of 200.5 × 67.7 mm with 32 parts on 77 nets, routed with 2,143 tracks and 65 vias.

It is built around the 74HC245D, AS6C4008-55PCN and 74HC00D, with the 74HC04D, 74HC138 and 74HC273D among its other parts. Its parts include 14 capacitors, 13 ICs, 3 connectors and 1 diode.

Main components

9

README

README.md

P2000T RAM expansion board

GitHub tag (latest SemVer) Build License: GPL v3 License: CC-BY-NC-SA-4.0 discord

Table of contents

[!TIP] Have questions or comments about the P2000T RAM expansion? Join the conversation and chat with the developers on our Discord server.

Purpose

This repository provides several RAM expansion boards for the Philips P2000T, ranging from 64 KiB to over 2 MiB. Options vary in complexity (THT, SMD, CPLD), so choose a board that fits your soldering skills and tools. A RAM tester utility is included to verify proper installation and functionality after assembly.

[!IMPORTANT] This repository includes various RAM expansion PCBs for the P2000T. Your choice should depend on your soldering skills (THT or SMD) and available tools (e.g. CPLD programmer). Review this README to find a board that matches your comfort level before starting a build.

ram expansion board

Memory lay-out

The memory lay-out of the P2000T is organized as shown in the table below

AddressDescription
0x0000-0x1000Monitor rom
0x1000-0x4FFFCartridge
0x5000-0x5FFFVideo memory
0x6000-0x9FFFRAM memory
0xA000-0xDFFF16 KiB expansion
0xE000-0xFFFF8 KiB banks

For the default 16 KiB stock model, only the memory at 0x6000-0x9FFF is available. The most simple expansion board adds 64k memory such that an additional 16 KiB of RAM is available at 0xA000-0xDFFF and another 48 KiB using bank switching. Bank switching means that you can only access 8 KiB of the 48 KiB at a time, depending on the value of a register which can be accessed via an OUT instruction at 0x94. This register can hold values of 0-5, amounting to 6x8 KiB = 48 KiB of bankable memory.

Installation

To install the expansion board, you need to plug in the expansion board on the corresponding expansion 2x20 male pin header on the male board. This pin header is found directly behind the cartridge slots. Furthermore, you need to solder a GND and a 5V line onto the power PCB (see image below) and insert that in the screw terminal of the expansion board.

[!WARNING]
Please check carefully that the polarity is correct. Although the board comes with reverse polarity protection in the form of a diode, it is always better to check twice before turning on the power.

In the image below, you see a GND (black) and a 5V (red) line attached to the power PCB. Please ensure you solder the lines to the correct pins and check with a multimeter before connecting to the RAM expansion board.

attaching GND and 5V wire to power PCB

Consult the image below for the correct voltages between the pins.

voltages on the power PCB

[!WARNING]
Please check with a multimeter that you did not short-circuit any of the power lines on the POWER PCB. Please check this at least two times before turning on your P2000T. Short-circuiting of any of the power rails can cause permanent damage your machine.

Testing the expansion board

This repository comes bundled with a RAM testing utility. Write the RAM testing utility to a SLOT1 cartridge and boot your P2000T with this program in SLOT1. The RAM testing utility will perform an extensive test of the memory and show any errors it encounters.

completed RAM test

Schematic

The schematic for the RAM expansion board is shown below. The ram expansion board essentially hosts two 32 KiB RAM chips and a bank register. Using a small set of additional logic chips, the line decoding and bank switching is handled.

voltages on the power PCB

Bill of materials

  • 1x74HC00 (quad NAND-gate)
  • 1x74HC04 (hex inverter)
  • 1x74HC32 (quad OR-gate)
  • 1x74HC157 (quad 2-input multiplexer)
  • 1x74HC173 (quad positive edge triggered D-type flip-flop)
  • 1x74HC688 (8-bit magnitude comparator)
  • 1x74HC245 (octal bus transceiver)
  • 2x62256 (32 KiB SRAM)
  • 1x220uF capacitor (100uF also works)
  • 8x0.1uF capacitor
  • 1x1N4148 diode
  • 1x 40 pin female pin header (2x20 pins; 2.54mm spacing)
  • 1x screw terminal

Unpopulated PCB

Unpopulated RAM board

Populated PCB

Populated RAM board

Testing bank switching in BASIC

If you want to test the bank switching functionality in BASIC, you can use the following instructions after booting the machine.

First, we need to set the top of BASIC to 0x9000.

text
CLEAR 50,&H9000

The reason we do this is to ensure that the stack is not residing at the top 8 KiB because those bytes will become inaccessible after bank switching. Next, we will first write a value to memory address 0xE000, check that this value is properly written, change to another bank and read from the same memory address. A different value should be returned (typically 0). Next, we write a different value to the 0xE000 and change bank to the initial bank. The original value should now be correctly retrieved. The procedure is performed using the following (very small) snippet of BASIC code.

text
10 POKE &HE000,42
20 PRINT(PEEK(&HE000))
30 OUT &H94,1
40 PRINT(PEEK(&HE000))
50 POKE &HE000,43
60 OUT &H94,0
70 PRINT(PEEK(&HE000))

After entering in these instructions, type RUN. The output of this code should be something similar to the code as shown below. The second value might be potentially different, depending on earlier memory operations, though is expected to be a zero on a fresh boot of the machine.

text
42
0
42

Files

Alternative RAM expansions

SMD-128KiB version

Next to the 64 KiB memory expansion using DIP chips, there is also a 128 KiB memory expansion using SMD chips. Because of the typical lower price of this last category of chips, this memory expansion is a bit cheaper to produce. It does require you to be proficient in soldering on SMD components.

The 128 KiB memory expansion uses a single CY62128ELL-45SX 128 KiB memory chip. The lower 16 KiB of this chip can be accessed at 0xA000-0xDFFF. The remaining 112 KiB are available as 14 banks of 8 KiB each at 0xE000-0xFFFF. Similar to the other memory expansion boards, bank switching proceeds by writing a value to I/O port 0x94. One can also read back the current bank from this port.

The source files for this board can be found here.

Unpopulated PCB

Unpopulated RAM board

Populated PCB

Populated RAM board

Installed PCB

Installed 1056 KiB RAM board

SMD-CPLD-128KiB version

To cut down costs even further, there is also a CUPL version. Besides the CY62128ELL-45SX, the PCB only hosts one other chip: a ATF1502. All glue logic required for the RAM expansion board is basically programmed on this chip.

The source files for this board can be found here.

Unpopulated PCB

Unpopulated RAM board

Populated PCB

Populated RAM board

SMD-CPLD-512KiB version

Moving beyond the 128 KiB limit, there is also a versatile SMD-type board that admits 1-4 CY62128ELL-45SX 128 KiB memory chips.

The source files for this board can be found here.

Installed PCB

Installed RAM board

Populated PCB

Populated RAM board

THT-1056 KiB expansion

This board uses a single 32 KiB static RAM chip to provide 2x16 KiB on 0xA000-0xDFFF and two 512 KiB static RAM chips to provide another 128x8 KiB on 0xE000-0xFFFF. The way this board works is very similar to the regular 64 KiB board. The highest bit in the bank register toggle the 16 KiB banking while the lower 7 bits provide the banking for the 8 KiB of memory.

The source files for this board can be found here.

Unpopulated PCB

Unpopulated RAM board

Populated PCB

Populated RAM board

Installed PCB

Installed 1056 KiB RAM board

THT-2080 KiB expansion

This board uses a single 32 KiB static RAM chip to provide 2x16 KiB on 0xA000-0xDFFF and four 512 KiB static RAM chips to provide another 256x8 KiB on 0xE000-0xFFFF. This board requires two bank registers, one 8-bit bank register exposed on I/O port 0x94 and another two-bit bank register on I/O port 0x95 (only one bit of the two-bit bank register is used).

The source files for this board can be found here.

Populated PCB

Populated RAM board

Installed PCB

Installed 2080 KiB RAM board

License

Parts

32
QtyValueFootprintReferences
130.1uFCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mmC1, C2, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14
4AS6C4008-55PCNPackage_DIP:DIP-32_W15.24mm_SocketU2, U9, U10, U11
1220uFCapacitor_THT:CP_Radial_D6.3mm_P2.50mmC3
174HC00Package_DIP:DIP-14_W7.62mm_SocketU3
174HC04Package_DIP:DIP-14_W7.62mm_SocketU1
174HC138Package_DIP:DIP-16_W7.62mm_SocketU12
174HC245Package_DIP:DIP-20_W7.62mm_SocketU8
174HC273Package_DIP:DIP-20_W7.62mm_SocketU7
174HC32Package_DIP:DIP-14_W7.62mm_SocketU6
174HC688Package_DIP:DIP-20_W7.62mm_SocketU5
174HC74Package_DIP:DIP-14_W7.62mm_SocketU13
1CY62256-70PCPackage_DIP:DIP-28_W15.24mm_SocketU4
1DIODEDiode_THT:D_DO-35_SOD27_P7.62mm_HorizontalD1
1EXPANSION BOARDConnector_PinHeader_2.54mm:PinHeader_2x20_P2.54mm_VerticalJ1
1OSHW-Logo2_14.6x12mm_CopperSymbol:OSHW-Logo2_14.6x12mm_CopperLOGO1
1POWERConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ2
1TERMINALTerminalBlock:TerminalBlock_bornier-2_P5.08mmJ3

More from ifilot/p2000t-ram-expansion-board

5

Similar boards

  • 2 layers208 × 110 mm8 16 computer 2, the printed circuit board in 3D

    8 16 computer 2

    halfburnttoast/TCPU816-v1

    Version 1.1 of my 8-bit, TTL computer.

    120 parts21
  • 4 layers188 × 128.3 mmZAK180, the printed circuit board in 3D

    ZAK180

    agkaminski/ZAK180

    DIY all-in-keyboard computer featuring Z180 and floppy drive

    140 parts
  • 2 layers178 × 711 mmMSAP-2 rev.A SMD, the printed circuit board in 3D

    MSAP-2 rev.A SMD

    mehrantsi/MSAP-2

    An 8-bit computer. Successor to MSAP-1

    658 parts13MIT
  • 2 layers315 × 147.4 mmSteuereinheitBackgammonMoM, the printed circuit board in 3D

    SteuereinheitBackgammonMoM

    stonedDiscord/Automatenplatinen

    Reverse engineerte Hardware aus deutschen Spielautomaten.

    50 parts5BSD-2-Clause
  • 4 layers271.8 × 147.3 mmSF68, the printed circuit board in 3D

    SF68

    scefrom/SF68

    A board featuring the Motorola 68000

    130 parts2
  • 2 layers297 × 210 mmCpu, the printed circuit board in 3D

    Cpu

    tetrix450/masic-cpu

    MASIC CPU schematics and PCB

    197 partsMIT
  • 2 layers182 × 138.8 mm-816-board, the printed circuit board in 3D

    -816-board

    snippyrow/-816-board

    A retro computer motherboard for the W65C816S CPU. Dual-core expandable, 16mb extended memory, four expansion ports.

    141 partsMIT

Questions

How big is the P2000t ram expansion board-2080kb PCB?

It measures 200.5 × 67.7 mm and has 2 copper layers, 1.6 mm thick.

What parts does the P2000t ram expansion board-2080kb use?

32 parts, built around the 74HC245D, AS6C4008-55PCN, 74HC00D and 74HC04D. 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 P2000t ram expansion board-2080kb KiCad files?

From the ifilot/p2000t-ram-expansion-board repository on GitHub, at the commit this page was made from: the board is pcb/p2000t-ram-expansion-board-2080kb/p2000t-ram-expansion-board-2080kb.kicad_pcb and its schematic pcb/p2000t-ram-expansion-board-1056kb/p2000t-ram-expansion-board-1056kb.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the P2000t ram expansion board-2080kb design in my own project?

Its repository states no licence, so its author keeps all rights: ask ifilot before reusing the design.