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

Pat80 Home Computer is an attempt to develop the simplest possible Zilog Z80 based computer in 2021
Keyboard is an open-source printed circuit board by penguin86, from the penguin86/pat80 repository on GitHub. It is a 2-layer board of 273.1 × 144.8 mm with 123 parts on 73 nets, routed with 696 tracks and 66 vias.
Its parts include 53 switches, 52 diodes, 9 resistors, 1 capacitor and 1 connector. It belongs with the keyboards and input and retro computing and games boards of this library.

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.
Instead of being another single board computer, Pat80 focuses on modularity:
Here is a picture of the early stages of development:

A parallel terminal based on Arduino is used for development purposes and will be replaced by an UART card.
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.
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.
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.

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.

The project is heavily work in progress.
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)
The keyboard is only partially tested, as it's not completed.


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).


For the moment, better to stick with the Arduino Parallel Terminal.
All the rest
All the project is under GPL v3 license
The project is open to contribution, but with some limits:
Please see the main repository README file on how to obtain an account to my git instance.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 51 | 1N4148 | Diode_THT:D_DO-41_SOD81_P7.62mm_Horizontal | D1, D2, D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D20, D21, D22, D23 +35 |
| 4 | 10k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R2, R3, R4, R5 |
| 3 | 10k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R6, R7, R8 |
| 1 | ' | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW30 |
| 1 | , | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW44 |
| 1 | . | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW45 |
| 1 | / | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW47 |
| 1 | 0 | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW40 |
| 1 | 1 | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW1 |
| 1 | 10k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P15.24mm_Horizontal | R9 |
| 1 | 2 | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW8 |
| 1 | 3 | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW10 |
| 1 | 4 | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW17 |
| 1 | 470 | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R1 |
| 1 | 5 | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW18 |
| 1 | 56pF | Capacitor_THT:CP_Radial_Tantal_D6.0mm_P5.00mm | C5 |
| 1 | 6 | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW25 |
| 1 | 7 | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW26 |
| 1 | 8 | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW33 |
| 1 | 9 | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW34 |
| 1 | ; | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW48 |
| 1 | A | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW3 |
| 1 | B | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW21 |
| 1 | BACKSPACE | Button_Switch_Keyboard:SW_Cherry_MX1A_2.00u_Plate | SW41 |
| 1 | C | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW13 |
| 1 | CAPSLK | footprints:SW_TH_DPDT_Pushbutton_Latched | SW54 |
| 1 | CAPSLOCK_LED | LED_THT:LED_D5.0mm | D9 |
| 1 | CTRL | Button_Switch_Keyboard:SW_Cherry_MX1A_1.50u_Plate | SW50 |
| 1 | D | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW12 |
| 1 | E | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW11 |
| 1 | F | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW15 |
| 1 | G | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW20 |
| 1 | H | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW23 |
| 1 | I | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW32 |
| 1 | J | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW28 |
| 1 | K | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW31 |
| 1 | Keyboard connector | Connector_PinHeader_2.54mm:PinHeader_2x17_P2.54mm_Vertical | J3 |
| 1 | L | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW36 |
| 1 | LSHIFT | Button_Switch_Keyboard:SW_Cherry_MX1A_1.25u_Plate | SW49 |
| 1 | M | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW29 |
| 1 | N | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW22 |
| 1 | O | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW35 |
| 1 | P | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW37 |
| 1 | PATO | Button_Switch_Keyboard:SW_Cherry_MX1A_1.50u_Plate | SW53 |
| 1 | Q | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW2 |
| 1 | R | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW16 |
| 1 | RETURN | Button_Switch_Keyboard:SW_Cherry_MX1A_2.25u_Plate | SW52 |
| 1 | RSHIFT | Button_Switch_Keyboard:SW_Cherry_MX1A_1.75u_Plate | SW51 |
| 1 | S | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW6 |
| 1 | SPACE | Button_Switch_Keyboard:SW_Cherry_MX1A_2.25u_Plate | SW46 |
| 1 | T | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW19 |
| 1 | TAB | Button_Switch_Keyboard:SW_Cherry_MX1A_1.50u_Plate | SW43 |
| 1 | TILDE | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW42 |
| 1 | U | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW27 |
| 1 | V | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW14 |
| 1 | W | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW7 |
| 1 | X | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW5 |
| 1 | Y | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW24 |
| 1 | Z | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW4 |
| 1 | [ | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW38 |
| 1 | ] | Button_Switch_Keyboard:SW_Cherry_MX1A_1.00u_Plate | SW39 |
The 116 most common of 123 parts.

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

Seeed-Studio/OSHW-reCamera-Series
reCamera is a series of open-source AI cameras.

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.


jackw01/pi-tin
Open source raspberry pi handheld retro gaming console

profdc9/DRSSTC-PCB-Pack
A pack of PCBs for a dual resonant solid state tesla coil setup. Pretty much everything you need.

profdc9/ModularTuner
A Modular Antenna Tuner for a Phased Array Antenna System


swift502/Krtkus
Low profile 5x12 ortholinear keyboard design for choc/ks-33 switches
It measures 273.1 × 144.8 mm and has 2 copper layers, 1.6 mm thick.
123 parts. 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 penguin86/pat80 repository on GitHub, at the commit this page was made from: the board is pat80-io-devices/keyboard/hardware/keyboard/keyboard.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask penguin86 before reusing the design.