RepositoryCAUAustralia
visrealm

visrealm/pico-56

The HBC-56 (65C02/TMS9918A/AY-3-8910 retro computer) fully emulated on a Raspberry Pi Pico

173stars
19forks
3issues
6views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: ay-3-8910

#1 Repository of the month

1
TINIX TRENDING·Topic: vga

#1 Repository of the month

1
TINIX TRENDING·Topic: raspberry-pi-pico

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

HBC-56

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

WindowsLinuxmacOS
PicoBuild Windows PicoBuild Linux PicoBuild macOS Pico
Pico2Build Windows Pico2Build Linux Pico2Build macOS 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:

LinkStoreBest For
Lectronz (visrealm)All regions. Best choice for EU
I sell on TindieTindie (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

PICO-56 v1.4

Bill of materials

Qty.DescriptionCode
1PICO-56 PCBPCB
5100nf (104) ceramic capacitorC3,C4,C5,C6,C7
310uf (106) electrolytic capacitorC8,C1,C2
34kΩ 0.25w resistor (3.9kΩ ok)R1,R5,R9
210kΩ 0.25w resistorR20,R21
62kΩ 0.25w resistorR22,R2,R6,R10,R17,R18
91kΩ 0.25w resistorR3,R7,R11,R13,R14,R15,R16,R19,R23
3500Ω 0.25w resistor (510Ω ok)R4,R8,R12
12N4401 transistorQ1
11N5819 diodeD1
1Blue LEDLED1
1Green LEDLED2
1Push buttonKEY1
1Push button (locking)PWR1
1Barrel jack connector5V
1VGA connectorDSUB1
2RCA connectorJ2,J3
2NES connectorNO1,NO2
1PS/2 connectorPS2
1Raspberry Pi Pico (plus headers)U1
1MicroSD card connectorU2

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.

PICO-56 case

Videos

PICO-56 - Introduction

PICO-56 - Full Kit Build

Thanks

Thanks to PCBWay for supporting this project.

PICO-56

Resources

License

This code is licensed under the MIT license

Similar Projects

Discover other similar projects and AI models.

RepositoryJavaScript
bfirsh/jsnes

A JavaScript NES emulator.

6.4k
Nov 24, 2026
RepositoryC++
LibrePCB/LibrePCB

A powerful, innovative and intuitive EDA suite for everyone!

3.1k
Nov 30, 2026
Repository
issus/altium-library

Open source Altium Database Library with over 200,000 high quality components and full 3d models.

2.6k
Aug 7, 2026
Dataset
bshada/open-schematics

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.

♥0
19.4k
Jun 30, 2026
RepositoryHTML
Twisted-Fields/rp2040-motor-controller

A dual channel brushless motor controller based on the RP2040 microcontroller, designed in Kicad.

420
Aug 2, 2024
RepositoryAssembly
visrealm/pico9918

A replacement for the classic TMS9918A/TMS9929A VDP, powered by a Raspberry Pi Pico

271
Nov 28, 2026
RepositoryRust
alplabai/signex

Open-source, AI-first EDA tool — GPL licenced or Industry Lead EDA tools compatible schematic and PCB editor built in Rust Language

253
Dec 2, 2026
RepositoryRust
ChrisChrisLoLo/keezyboost40

4x10 ortholinear with an LCD in the middle. Uses the Raspberry Pi Pico, as well as Rust firmware

202
Apr 14, 2024
RepositoryTypeScript
tholtman1-del/deadboard

Board-level repair trainer: diagnose and repair simulated circuit boards on a realistic bench, in the browser.

189
Nov 26, 2026