

HydraBusBreakoutCard
6502-based multi-tasking hardware and software project
- Size
- 106.7 × 105.4 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 15
- Nets
- 59
- Pads
- 128
- Tracks, vias
- 193, 7
- Routed
- Yes
- KiCad
- KiCad 9.0 (file 20241229)
- Created
- 10 Sep 2024
- Updated
- 7 Nov 2026
Overview
HydraBusBreakoutCard is an open-source printed circuit board by danstruthers, from the danstruthers/hydra-16 repository on GitHub. It is a 2-layer board of 106.7 × 105.4 mm with 15 parts on 59 nets, routed with 193 tracks and 7 vias.
README
README.mdHydra 16
A multitasking 65C02 computer and its operating system, HydraOS.
The Hydra-16's hardware gives each of 16 tasks its own 32K of RAM, zero page and stack included, with its own RAM and ROM bank selections, so a task switch is one register write. HydraOS runs on it, Plan 9's way:
- One kernel in the BIOS ROM: a preemptive scheduler, one interrupt path, notes, memory and banks, and a jump table made from a specification. Everything else is a module of the paged ROM, run in place in a task of its own.
- A base to build on: the kernel, a serial console driver, the kernel's devices and Woz's monitor are the base (
base/), which HydraOS is built on and which boots on its own: write an OS of your own on it. - Everything a file: devices are file servers (the console's windows, the disks and HydraFS, sound, GPIO and I2C, the clock, the Vera X, and
/pc, a folder on the PC over the serial line), and each task has a namespace of its own, built by binds and mounts. - Shells and languages: rc, Plan 9's shell, and the core tools; HyForth (Forth 2012), the login shell; hylang (danlang, a lisp); HyBASIC (QuickBASIC's kind, every number exact); SDKs for C (cc65) and assembly, and
as, an assembler on the Hydra itself. - Tools: a screen editor (
edit), a debugger (db), a song player that plays ZSM songs and compiles scores as it plays.
The code is built with cc65 (https://cc65.github.io/), and the board is designed in KiCad 9 (https://www.kicad.org).
Quick start
cd base
node build.js the base alone: the kernel, ser, kdev, the monitor (bin/bios_*.bin, bin/prom0.bin)
node sim/run.js -i its monitor in your terminal (Ctrl-A x quits)
cd ../reborn
node build.js build HydraOS (needs Node.js and cc65): bin/bios_*.bin, bin/prom0.bin ...
node sim/run.js -i use the Hydra in your terminal, in the emulator (Ctrl-A x quits)
node sim/web.js the emulator in a browser: one file, bin/hydra-16.html, to open (in Git: no
Node.js needed to use it)
node sim/test.js the regression testsThe ROM images are in Git (reborn/bin/) and on each GitHub release, so the chips can be programmed without a toolchain.
Documentation
The Hydra-16 book is everything, in order: what the machine is, the board and how to build it (the parts, the layout, the quirks), the kernel and its calls, the drivers, the shell, the languages, the tools, the emulator, and the programming guide. It's also one PDF, to print.
| Chapter | |
|---|---|
| 1. The Hydra-16 at a glance | The ideas, the software in layers, and a first hour in the emulator |
| 2. The hardware | The architecture, the devices, the parts, building it, the layout, the quirks, the cards |
| 3. The base | The boot, the kernel, files and namespaces, the system calls, the monitor |
| 4. The drivers | The serial console, the kernel's devices, storage, sound, GPIO, video |
| 5. The shell: rc | Plan 9's shell |
| 6. The languages | HyForth, hylang, HyBASIC, and the numbers they share |
| 7. The tools | The core tools, the editors, the debugger, the assembler and disassembler |
| 8. The emulator | The emulator, the build, the tests, the PC tools |
| 9. The programming guide | Assembly, C, servers and drivers, libraries, your own OS, every system call |
How it was designed, and where it stands: the plan and the design notes.
Repository
| Folder | What |
|---|---|
base/ | The base: the kernel (the BIOS ROM), the system calls' specification, the console driver ser, the kernel's devices kdev, the monitor wozmon, the assembly SDK's core, the board's emulator and the tests' runner |
reborn/ | HydraOS, on the base: its modules, the SDKs, the ROM disk, the SD card's image, its tests |
docs/ | The book (its chapters, docs/build: the tools that make its parts list, layout drawings, call reference and PDF), and the design notes (docs/design) |
board/ | KiCad schematics and PCBs: the main board, the memory daughter card, the bus breakout card, the Vera X's glue board |
old/ | The old system (the 1.8C line: os_rom/, its programs, emulator, build and documents), frozen at HydraOS 1.0; node old/build.js test still builds and tests it |
Parts
15| Qty | Value | Footprint | References |
|---|---|---|---|
| 3 | MountingHole_3.2mm_M3 | MountingHole:MountingHole_3.2mm_M3 | H1, H3, H4 |
| 1 | Address Bus | Connector_PinHeader_2.54mm:PinHeader_1x16_P2.54mm_Vertical | J3 |
| 1 | Audio | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J9 |
| 1 | Bus Control | Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical | J7 |
| 1 | Bus_Hydra_8bit | Connector_PCBEdge:BUS_Hydra_8Bit | J1 |
| 1 | Clocks | Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_Vertical | J6 |
| 1 | Data Bus | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Vertical | J2 |
| 1 | I2C | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J10 |
| 1 | Interrupts & I/O | Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical | J5 |
| 1 | MountingHole_3.2mm_M3_ISO7380_Pad_TopBottom | MountingHole:MountingHole_3.2mm_M3_ISO7380_Pad_TopBottom | H2 |
| 1 | Power | Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_Vertical | J11 |
| 1 | Reset | Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical | J8 |
| 1 | SPI | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Vertical | J4 |
More from danstruthers/hydra-16
3- 6 layers304.8 × 243.8 mm

- 2 layers88.9 × 67.3 mm

MemDaughterCard SurfaceMount
danstruthers/hydra-16
6502-based multi-tasking hardware and software project
18 parts1 - 2 layers87 × 67 mm

Similar boards
- 2 layers19 × 76 mm

Sub
google/mozc-devices
Circuit diagrams and firmware source code for Gboard DIY keyboards
15 parts3kApache-2.0 - 2 layers26.7 × 62.2 mm

Deniseadapter
hoglet67/RGBtoHDMI
Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI
15 parts1kGPL-3.0 - 2 layers100 × 44 mm

Videoslot
mntmn/amiga2000-gfxcard
MNT VA2000, an Open Source Amiga 2/3/4000 Graphics Card (Zorro II/III), written in Verilog
15 parts1k - 2 layers91 × 51 mm

BusinessCard
hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!
15 parts915 - 2 layers24.3 × 57.9 mm

Flosspods pro flex
kenp-io/not-for-airpods-repairs
The content of this repository is licensed under the WTFPL License. Please have a close look at the terms before using this material.
15 parts609WTFPL - 2 layers20.3 × 15.2 mm

L0 Load
Luos-io/luos_engine
Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.
15 parts546MIT - 2 layers68 × 50 mm

EleLab v2 PowerFeed
Chrismettal/EleLab_v2
Cheap DIY lab system for hobbyists and the tinkering folk
15 parts531GPL-3.0 - 2 layers50.8 × 35.6 mm

Questions
How big is the HydraBusBreakoutCard PCB?
It measures 106.7 × 105.4 mm and has 2 copper layers, 1.6 mm thick.
What parts does the HydraBusBreakoutCard use?
15 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.
Where can I download the HydraBusBreakoutCard KiCad files?
From the danstruthers/hydra-16 repository on GitHub, at the commit this page was made from: the board is board/HydraBusBreakoutCard/HydraBusBreakoutCard.kicad_pcb and its schematic board/AddressDecode.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the HydraBusBreakoutCard design in my own project?
Its repository states no licence, so its author keeps all rights: ask danstruthers before reusing the design.