Skip to the content
2 layersPat80, the printed circuit board in 3D

Pat80 Home Computer is an attempt to develop the simplest possible Zilog Z80 based computer in 2021

Copper layers
2
Thickness
1.6 mm
Parts
44
Nets
75
Pads
277
Tracks, vias
470, 32
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
11 Jul 2021
Updated
11 Jun 2026

Overview

Pat80 is an open-source printed circuit board by penguin86, from the penguin86/pat80 repository on GitHub. It is a 2-layer board with 44 parts on 75 nets, routed with 470 tracks and 32 vias.

It is built around the 74HC244D, 74HC245D and 74HC04D, with the 74HC138 and 74HC32D among its other parts. Its parts include 20 capacitors, 9 ICs, 5 resistors, 5 connectors and 2 switches. It belongs with the retro computing and games boards of this library.

Main components

5

README

README.md

Pat80

Pat80 Home Computer Logo

Pat80 Home Computer is an attempt to develop the simplest possible Zilog Z80 based computer in 2021.

This project was moved to my private git server . This repository may not be up to date.

Hardware

Instead of being another single board computer, Pat80 focuses on modularity:

  • The Core board contains Z80 CPU, 32k ram, 32k rom, memory and I/O decoding logic
  • The Backplane is a stupid I/O bus board with no active components, 1 socket for the Core board and 8 sockets for I/O boards
  • Each I/O board must implement tri-state and go to high impedance according to its EN pin to avoid bus contention
  • The Power Supply module contains a 7805-based linear power supply capable of delivering 1A @5v for the core and I/O boards

Here is a picture of the early stages of development:

Pat80 Breadboard prototype

I/O Boards

Parallel terminal interface

A parallel terminal based on Arduino is used for development purposes and will be replaced by an UART card.

Keyboard controller

Pat80 features a blue-switches mechanical matrix keyboard, seen by the system as a memory area in I/O space. The keyboard doesn't use interrupts and is polled by the OS.

Video controller

The monochrome 368x248 pixels video output is software-generated by an ATMega 1284 MCU. The timings are generated by the MCU's 16 bit internal timer and the vertical sync time is used to update the framebuffer.

Software

The OS is a simple Memory Monitor. It can show memory content in hex and ascii with the typical hex editor tabular view. Programs can be loaded from the keyboard, writing Z80 opcodes and data in hex. The program can be executed from any ram position and the Memory Monitor can be brought to screen in any moment issuing an INT signal (the Z80 INT pin should be connected to a button with pull-up resistor). There is an experimental and unfinished quick load function using a python terminal to load a binary file directly to memory and execute it.

Pat80 Memory Monitor

Emulator

The pat80 memory monitor (the os) can be run in a z80 emulator. This repository contains an emulator as submodule, already set up to run the os. To try it, head to pat80-computer/software/z80-assembly/os/Makefile and run make run to build the rom from assembly and start the emulator. You will see some windows showing the emulated computer's memory and register status and the pat80 memory monitor prompt.

Emulator running Memory Monitor

Status

The project is heavily work in progress.

Working

  • Core board
  • Sound board
  • Arduino parallel terminal with its own Python companion script (or any UART terminal)

The only fully working configuration as now is the Core board with two devices hooked to its I/O bus: the Arduino Parallel Terminal (see pat80-io-devices/parallel-terminal and pat80-computer/software/z80-assembly/os/drivers/arduino_terminal.asm) and the SN76489 sound chip (see pat80-computer/software/z80-assembly/os/drivers/hd44780.asm)

Partially working

The keyboard is only partially tested, as it's not completed.

Pat80 keyboard pcb

Pat80 keyboard layout

The composite video card is partially working, but has some nasty bugs on text cursor positioning and the graphics mode is not yet implemented (the only way to output graphics ATM is to place the bitmap in the MCU flash and load it to VRAM manually).

Pat80 composite monitor text mode

Pat80 composite monitor graphics mode

For the moment, better to stick with the Arduino Parallel Terminal.

Not working

All the rest

License

All the project is under GPL v3 license

How to contribute

The project is open to contribution, but with some limits:

  • I'm sorry I can't accept AI-generated contributions. Reviewing a contribution requires time and effort from my side, while generating code with AI requires very little time and produces non reliable code that must be reviewed in detail. This is effectively shifting the work on my side, and in a forced way. If you feel you need a feature but you're not able to implement it by yourself, I prefer you to create an issue in the repository so I can implement it when I can, in a more mantainable way.
  • Before implementing a big change, please contact me to ensure it goes in the project's direction.
  • If working on an existing ticket, please name the branch accordingly (feature/ticketNumber, bugfix/ticketNumber...).
  • Only issue pull requests to the develop branch, never on the main/master one.

Please see the main repository README file on how to obtain an account to my git instance.

Parts

44
QtyValueFootprintReferences
6100nFCapacitor_THT:CP_Radial_Tantal_D6.0mm_P5.00mmC8, C11, C13, C14, C16, C18
656pFCapacitor_THT:CP_Radial_Tantal_D6.0mm_P5.00mmC9, C10, C12, C15, C17, C19
210kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR2, R3
210uFCapacitor_THT:CP_Radial_Tantal_D6.0mm_P5.00mmC1, C6
230pFCapacitor_THT:CP_Radial_Tantal_D6.0mm_P5.00mmC2, C3
2470uFCapacitor_THT:CP_Radial_D6.3mm_P2.50mmC7, C20
10,1uFCapacitor_THT:CP_Radial_Tantal_D6.0mm_P5.00mmC5
10,22uFCapacitor_THT:CP_Radial_Tantal_D6.0mm_P5.00mmC4
1256k (32k x 8) EEPROMPackage_DIP:DIP-28_W15.24mm_Socket_LongPadsU2
1256k (32k x 8) SRAMPackage_DIP:DIP-28_W15.24mm_Socket_LongPadsU3
1270kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR5
13,3MResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1
1470Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR4
14MhzCrystal:Crystal_HC18-U_VerticalY1
174HC04Package_DIP:DIP-14_W7.62mm_Socket_LongPadsU11
174HC138Package_DIP:DIP-16_W7.62mm_Socket_LongPadsU20
174HC244Package_DIP:DIP-20_W7.62mm_Socket_LongPadsU21
174HC245Package_DIP:DIP-20_W7.62mm_Socket_LongPadsU22
174HC32Package_DIP:DIP-14_W7.62mm_Socket_LongPadsU10
1BreakButton_Switch_THT:SW_Tactile_Straight_KSA0Axx1LFTRSW2
1IO_bus_connConnector_PinHeader_2.54mm:PinHeader_1x26_P2.54mm_HorizontalIOBUS1
1LEDLED_THT:LED_D5.0mmD1
1LM7805_TO220Package_TO_SOT_THT:TO-220-3_VerticalU30
1Power inputConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ2
1SW_PushButton_Switch_THT:SW_Tactile_Straight_KSA0Axx1LFTRSW1
1Z80CPUPackage_DIP:DIP-40_W15.24mm_Socket_LongPadsU1
1nmiConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ5
1panel_btn_brkConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ1
1panel_btn_rstConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ4
1panel_led_haltConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ3

More from penguin86/pat80

1
  • 2 layers273.1 × 144.8 mmKeyboard, the printed circuit board in 3D

    Keyboard

    penguin86/pat80

    Pat80 Home Computer is an attempt to develop the simplest possible Zilog Z80 based computer in 2021

    123 parts3

Similar boards

  • 2 layers284.9 × 96.5 mmFella, the printed circuit board in 3D

    Fella

    agkaminski/FellaPC

    DIY 6502 all-in-keyboard personal computer

    115 parts2CC0-1.0
  • 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 layers180 × 67.5 mmNEW KANJI ROM, the printed circuit board in 3D

    NEW KANJI ROM

    bml3mk5/S1KanjiRomJIS2

    JIS Level 2 Kanji ROM Card for HITACHI MB-S1

    61 parts
  • 2 layersBreadBin, the printed circuit board in 3D

    BreadBin

    c0pperdragon/BreadBin

    A CPU made of 7400 logic on breadboards - inside a bread bin ;-)

    45 parts18
  • 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

Questions

What parts does the Pat80 use?

44 parts, built around the 74HC244D, 74HC245D, 74HC04D and 74HC138. 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 Pat80 KiCad files?

From the penguin86/pat80 repository on GitHub, at the commit this page was made from: the board is pat80-computer/hardware/schematics/pat80/pat80.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Pat80 design in my own project?

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