Close

New Feature: USB I/O Bridge

A project log for Quadium 4004 Workbench

Educational MCS-4 workbench: 4004 + 4001/4002/4003, peripherals, QuadBasic transpiler, breakpoints and bus inspection.

jaime-clotJaime Clot 07/19/2026 at 21:190 Comments

The new USB I/O Bridge extends Quadium 4004 Workbench beyond software emulation, enabling real-time communication with external hardware through a standard USB Serial (CDC) connection.

Compatible devices include Arduino Leonardo, Arduino Mega, and virtually any USB CDC device implementing the Quadium USB protocol.

What can it do?

The USB I/O Bridge makes it possible to build interactive demonstrations, educational projects, laboratory experiments, and custom peripherals using real hardware.

The protocol is lightweight, easy to implement, and designed specifically for the Intel 4004's 4-bit architecture.

Drive LEDs, read switches, control displays, or build your own expansion hardware. The USB I/O Bridge provides a simple and flexible way to connect Quadium with the real world.


Quadium USB I/O — Protocol card

Link: USB serial · 115200 8N1 · ASCII · one command per line · ends with LF

Host → device (Quadium sends)

Line

Meaning

R c n

ROM port chip c (0–15) output nibble n (0–15)

A c n

RAM port chip c (0–15) output nibble n (0–15)

S i b

4003 shifter index i, 10-bit value b (0–1023)

P pc

Program counter pc (0–4095)

X n

Accumulator nibble n (0–15)

Y 0 / Y 1

Carry flag clear / set

G i n

CPU register i (0–15) = nibble n

W p b

Register pair p (0–7) = byte b (0–255)

Q

Query: report current inputs now

R…W: only on change. Q: on link / when asked.

Device → host (board sends)

Line

Meaning

I c n

Inject nibble n into ROM port chip c (input to the MCS-4)

This feature is fully integrated and will be available at launch this coming November.

Thank you for being part of this journey. Watching this project grow has been incredible, and there is even more to come before the release.

Quadium 4004 Workbench in Steam

Discussions