u/ArgumentOriginal9563

▲ 20 r/EmuDev

I’ve been building a development workbench for the Intel MCS‑4, mainly as a way to study and emulate the 4004 at a microarchitectural level. The goal isn’t to “use” an emulator, but to expose what’s normally hidden: bus transitions, register activity, timing edges, instruction sequencing, and I/O paths.

One component that might be relevant to this community is the toolchain:

  • a small Basic‑style language I designed from scratch
  • a transpiler that converts it into 4004 assembly
  • and an execution/visualization layer that lets you step through the generated code while watching internal state changes

Here’s a walkthrough of the current state of the workbench (YouTube):
https://www.youtube.com/watch?v=rdGhhywR5es

I’d really appreciate feedback from people who have experience building emulators, debuggers, or microarchitecture visualizers.

Specifically:

  • What debugging layers or instrumentation would you consider essential for a system like this?
  • Are there analysis tools or views you’d expect in a 4004‑level emulator?
  • Anything you think I should rethink in terms of architecture or workflow?
u/ArgumentOriginal9563 — 12 days ago

Following up on the GIF I shared a few days ago, I’ve put together a longer video that walks through the full workbench. A few people asked about the I/O paths and the internal logic flow, so I tried to document those parts more clearly.

This is something I’m building on my own, mostly out of a long‑standing fascination with the MCS‑4. I’ve always wanted a way to look past the usual “black box” treatment and actually watch the 4‑bit architecture doing its work—bus transitions, register activity, timing edges…

One part I’m especially excited about is the custom transpiler. It lets you write programs in a small Basic‑style language I designed from scratch, and it generates 4004 assembly automatically. The idea is to make experimenting with the system easier, even if you’ve never written 4004 ASM before.

The workbench is still evolving, and I know this community has people with far deeper experience in early microarchitectures. I’d really like to hear what you think.

What would you consider essential in a setup like this?

Are there peripherals, timing views, or debugging layers you’d expect to see in a system from this era?

Workbench video:

https://www.youtube.com/watch?v=rdGhhywR5es

https://preview.redd.it/6bdvk1fdqpyg1.png?width=1080&format=png&auto=webp&s=b724403fbd61e9de5c5effdaa82b6497f6bcec27

reddit.com
u/ArgumentOriginal9563 — 12 days ago
▲ 70 r/Assembly_language+1 crossposts

Hi! This GIF shows my Intel 4004 / MCS-4 prototype workflow (QuadBasic -> 4004 ASM -> run with visible CPU/bus state). I’d love feedback from retrocomputing folks on what tiny demo to show next (LCD, LED bar, switches, or printer).

u/ArgumentOriginal9563 — 6 days ago