Australiavisrealm/pico-56
The HBC-56 (65C02/TMS9918A/AY-3-8910 retro computer) fully emulated on a Raspberry Pi Pico
Featured achievements
The project's latest awards
#1 Repository of the month
#1 Repository of the month
#1 Repository of the month
PICO-56
My HBC-56, a 65C02/TMS9918A homebrew computer on a backplane, fully emulated on a Raspberry Pi Pico.
Emulating the following HBC-56 hardware
- 65C02 CPU
- 65C22 VIA
- TMS9918A VDP
- Dual AY-3-8910 PSGs
- Dual NES controller inputs
- PS/2 keyboard input
- 96KB Banked RAM/ROM
Making use of my various emulation libraries (and more):
- vrEmu6502 - 6502/65C02 CPU emulation library (C99)
- vrEmu6522 - 6522/65C22 VIA emulation library (C99)
- vrEmuTms9918 - TMS9918A/TMS9929A VDP emulation library (C99)
Follow along on YouTube here: youtube.com/@TroySchrapel
Build Status
| Windows | Linux | macOS | |
|---|---|---|---|
| Pico | |||
| Pico2 |
Development environment
To build PICO-56, you'll need:
- CMake 3.12 or later
- ARM cross-compilation toolchain
- Python 3.x with Pillow library
- Git with submodules support
Quick Start
git clone --recursive https://github.com/visrealm/pico-56.git
cd pico-56 && mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release -DPICO_SDK_FETCH_FROM_GIT=ON ..
make -j4 # Linux/macOS
For detailed platform-specific build instructions, troubleshooting, and advanced options, see BUILDING.md.
Episodes
In the Episodes, I build the code from the ground up and provide a number of working demos. These are a work in progress with more to come as the videos come out.
Episode 1 - VGA
In this episode, I build a VGA circuit on the Raspberry Pi Pico and write an intitial generic VGA output library and a number of VGA test programs from a test pattern through to moving sprites and an 800x600 framebuffer.
Episode 2 - TMS9918A
In this episode, I incorporate my TMS9918 library and create some test programs to test the TMS9918 functionality on the Pi Pico.
Complete kits
Complete PICO-56 kits are now available to purchase:
| Link | Store | Best For |
|---|---|---|
![]() | Lectronz (visrealm) | All regions. Best choice for EU |
![]() | Tindie (visrealm) | All regions |
Also featured in HackerBox 0103 for those in the US:
Gerbers
Gerbers for the PICO-56 v1.4 are now available. See /schematics
If you would like to support this project, you can order your PCBs from my PCBWay project link
Schematics
Bill of materials
| Qty. | Description | Code |
|---|---|---|
| 1 | PICO-56 PCB | PCB |
| 5 | 100nf (104) ceramic capacitor | C3,C4,C5,C6,C7 |
| 3 | 10uf (106) electrolytic capacitor | C8,C1,C2 |
| 3 | 4kΩ 0.25w resistor (3.9kΩ ok) | R1,R5,R9 |
| 2 | 10kΩ 0.25w resistor | R20,R21 |
| 6 | 2kΩ 0.25w resistor | R22,R2,R6,R10,R17,R18 |
| 9 | 1kΩ 0.25w resistor | R3,R7,R11,R13,R14,R15,R16,R19,R23 |
| 3 | 500Ω 0.25w resistor (510Ω ok) | R4,R8,R12 |
| 1 | 2N4401 transistor | Q1 |
| 1 | 1N5819 diode | D1 |
| 1 | Blue LED | LED1 |
| 1 | Green LED | LED2 |
| 1 | Push button | KEY1 |
| 1 | Push button (locking) | PWR1 |
| 1 | Barrel jack connector | 5V |
| 1 | VGA connector | DSUB1 |
| 2 | RCA connector | J2,J3 |
| 2 | NES connector | NO1,NO2 |
| 1 | PS/2 connector | PS2 |
| 1 | Raspberry Pi Pico (plus headers) | U1 |
| 1 | MicroSD card connector | U2 |
There is a more detailed BOM in the /schematics folder. Alternatively, I have created a Mouser project for this which contains everything except for the NES connectors which can be obtained from AliExpress.
3D Printed case
A 3D printed case is available. All STLs are in the /case directory.
Videos
Thanks
Thanks to PCBWay for supporting this project.
Resources
- Windows Development Environment Installer
- Raspberry Pi Pico C/C++ SDK (PDF)
- HBC-56 Project
- vrEmu6502 - 6502 CPU Emulation Library
- vrEmu6522 - 6522 VIA Emulation Library
- vrEmuTms9918 - TMS9918A VDP Emulation Library
License
This code is licensed under the MIT license
Similar Projects
Discover other similar projects and AI models.
Open source Altium Database Library with over 200,000 high quality components and full 3d models.
Open Schematics Dataset A comprehensive dataset of electronic schematics from hardware projects. This dataset is designed for training AI models on circuit design, component recognition, and hardware engineering tasks. Dataset Description This dataset contains electronic schematic files along with their visual representations, component information, and metadata from various hardware projects. Dataset Structure Each record in the dataset contains:… See the full description on the dataset page: https://huggingface.co/datasets/bshada/open-schematics.
A dual channel brushless motor controller based on the RP2040 microcontroller, designed in Kicad.
A replacement for the classic TMS9918A/TMS9929A VDP, powered by a Raspberry Pi Pico
Open-source, AI-first EDA tool — GPL licenced or Industry Lead EDA tools compatible schematic and PCB editor built in Rust Language
4x10 ortholinear with an LCD in the middle. Uses the Raspberry Pi Pico, as well as Rust firmware
Board-level repair trainer: diagnose and repair simulated circuit boards on a realistic bench, in the browser.










