
P2000t ram expansion board-128kb smd
ifilot/p2000t-ram-expansion-board
RAM expansion board for the P2000T

RAM expansion board for the P2000T
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.
[!TIP] Have questions or comments about the P2000T RAM expansion? Join the conversation and chat with the developers on our Discord server.
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.

The memory lay-out of the P2000T is organized as shown in the table below
| Address | Description |
|---|---|
| 0x0000-0x1000 | Monitor rom |
| 0x1000-0x4FFF | Cartridge |
| 0x5000-0x5FFF | Video memory |
| 0x6000-0x9FFF | RAM memory |
| 0xA000-0xDFFF | 16 KiB expansion |
| 0xE000-0xFFFF | 8 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.
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.

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

[!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.
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.

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.
Unpopulated PCB

Populated PCB

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.
CLEAR 50,&H9000The 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.
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.
42
0
42Next 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

Populated PCB

Installed PCB

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

Populated PCB

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

Populated PCB

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

Populated PCB

Installed PCB

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

Installed PCB

| Qty | Value | Footprint | References |
|---|---|---|---|
| 13 | 0.1uF | Capacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mm | C1, C2, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14 |
| 4 | AS6C4008-55PCN | Package_DIP:DIP-32_W15.24mm_Socket | U2, U9, U10, U11 |
| 1 | 220uF | Capacitor_THT:CP_Radial_D6.3mm_P2.50mm | C3 |
| 1 | 74HC00 | Package_DIP:DIP-14_W7.62mm_Socket | U3 |
| 1 | 74HC04 | Package_DIP:DIP-14_W7.62mm_Socket | U1 |
| 1 | 74HC138 | Package_DIP:DIP-16_W7.62mm_Socket | U12 |
| 1 | 74HC245 | Package_DIP:DIP-20_W7.62mm_Socket | U8 |
| 1 | 74HC273 | Package_DIP:DIP-20_W7.62mm_Socket | U7 |
| 1 | 74HC32 | Package_DIP:DIP-14_W7.62mm_Socket | U6 |
| 1 | 74HC688 | Package_DIP:DIP-20_W7.62mm_Socket | U5 |
| 1 | 74HC74 | Package_DIP:DIP-14_W7.62mm_Socket | U13 |
| 1 | CY62256-70PC | Package_DIP:DIP-28_W15.24mm_Socket | U4 |
| 1 | DIODE | Diode_THT:D_DO-35_SOD27_P7.62mm_Horizontal | D1 |
| 1 | EXPANSION BOARD | Connector_PinHeader_2.54mm:PinHeader_2x20_P2.54mm_Vertical | J1 |
| 1 | OSHW-Logo2_14.6x12mm_Copper | Symbol:OSHW-Logo2_14.6x12mm_Copper | LOGO1 |
| 1 | POWER | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J2 |
| 1 | TERMINAL | TerminalBlock:TerminalBlock_bornier-2_P5.08mm | J3 |

ifilot/p2000t-ram-expansion-board
RAM expansion board for the P2000T

ifilot/p2000t-ram-expansion-board
RAM expansion board for the P2000T

ifilot/p2000t-ram-expansion-board
RAM expansion board for the P2000T

ifilot/p2000t-ram-expansion-board
RAM expansion board for the P2000T

ifilot/p2000t-ram-expansion-board
RAM expansion board for the P2000T





stonedDiscord/Automatenplatinen
Reverse engineerte Hardware aus deutschen Spielautomaten.



snippyrow/-816-board
A retro computer motherboard for the W65C816S CPU. Dual-core expandable, 16mb extended memory, four expansion ports.
It measures 200.5 × 67.7 mm and has 2 copper layers, 1.6 mm thick.
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.
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.
Its repository states no licence, so its author keeps all rights: ask ifilot before reusing the design.