Pimp My IDE / hardware dispatch
Back to garage
Fault simulation / repair evidence / 17 Oct 2026

Break the ghost board first.

A new Commodore 64 simulator lets you lift pins, pull chips, and open resistors on a software model of the ASSY 250407 board. Use it to rank a repair hypothesis. Do not let a matching screen become a diagnosis.

A simulated symptom can save a desolder pass. The physical board still gets the final vote.
U7 / 6510
U17 / PLA
U5 / CHAR
U19 / VIC-II
ASSY 250407
PIN-LEVEL REHEARSAL

This model starts with the board

c64-hw-sim models the PAL Commodore 64 ASSY 250407 motherboard. A converter turns a KiCad replica into tables for 216 parts and 249 electrical nets. Chip models see pins and nets instead of a hand-written list of familiar failure screens.

The controls can float a pin, short it to ground or 5 volts, remove a chip, or open a resistor. The monitor, keyboard, logic probe, and oscilloscope show what follows. The project also has a headless mode for scripted faults and screenshots.

The simulator answers, "What does this model do when I break this part?" It does not answer, "Which part on my board is bad?"

The strongest idea is symptom independence

The fault script lists 31 scenarios. The expected physical symptom was written before each simulation was run. The simulator does not contain a special rule that turns a removed character ROM into garbage glyphs. That result must emerge from the board wiring and part models.

This is useful because a repair hypothesis becomes cheap to rehearse. If the modeled fault produces a different class of symptom, move it down the desolder list. If it matches, keep it as a candidate and measure the real board.

The cut lines are explicit

The README says floating-line thresholds, drift times, and crosstalk values are guesses. Analog video, the SID filter, the power supply, and the dot-clock phase-locked loop are not simulated. Bad memory cells, slow parts, and bridges between two nets are planned but not implemented.

The model also runs below real time on the machines reported by the author. That is a consequence of evaluating pins and nets. It does not make the omitted analog and internal-fault behavior appear.

The artifact was inspected, not run

We cloned revision 68a732cf9701f544487c37fbbd70a9d1e76f3053 and ran its documented make command on Linux. Compilation reached the graphical interface and stopped because this host lacks the OpenGL development header GL/gl.h. We did not install system packages to force a run.

The included fault script starts scenarios in background jobs. On this host it returned success even though the binary did not exist. A release harness should check that the binary exists before launch and collect each child process status. A printed scenario list is not a passing fault run.

test -x ./c64-hw-sim || exit 1
./c64-hw-sim --headless 200 --text \
  --fault U5:removed
# Compare the saved screen with the named expectation.
# Then measure the same path on the physical board.

Use four witnesses before heat

  1. Pin the board assembly, region, fitted parts, and visible symptom.
  2. Run one fault candidate at a pinned simulator revision. Save the command, text, and image.
  3. Measure the real signal at the same pin or net. Record the tool and expected range.
  4. Choose the least destructive next action. Keep alternate faults that can produce the same symptom.

The simulator is most valuable before the soldering iron gets hot. It turns a hunch into a cheap counterexample search. It cannot replace continuity, voltage, clock, bus, thermal, and component checks on the machine in front of you.

Interactive makeover / hypothesis selector plus witness route

Fault rehearsal bench

Choose one source-backed fault scenario, then route it through identity, simulation, physical measurement, and repair review. The receipt is a test-plan template. It is not a diagnosis.

Choose a fault scenario

Route the witnesses

Select only the sections your planned test will collect. A selected downstream gate turns red when an earlier witness is missing.

Choose witness sections
Route open0 of 4 sections

PLA U17 removed

Script expectation: Black screen.

Identity
Simulation
Measurement
Decision
Plan statusNo witness sections selectedChoose the evidence your rehearsal will collect.

What this component does. It drafts an ordered test plan around one documented fault scenario. Selecting every section means the plan structure is complete. It does not run the simulator, inspect a board, or establish a diagnosis.

Sources read / 17 Oct 2026

Evidence locker

Primary simulator and exact revision

c64-hw-sim

The README, plan, source, Makefile, and fault script define the board model, controls, headless route, expected symptoms, limits, and build dependencies. Inspected at revision 68a732cf9701f544487c37fbbd70a9d1e76f3053.

Inspect the revision
Board source

C64 250407 replica

The KiCad repository contains the replica board, schematics, bill of materials, Gerbers, and interactive bill of materials used as the simulator's wiring source.

Inspect the board revision
Chip-model source

floooh/chips

The upstream project explains its pin-bit-mask interface and states where its system emulators take shortcuts. The C64 simulator reuses chip cores and places them behind electrical sockets.

Inspect the chip-model revision
Discovery route

Hacker News item 50100366

The exact item resolves the project launch and repair discussion. It was used for discovery, not as technical proof.

Open the discussion

Build boundary. The documented build was attempted at the pinned simulator revision. It stopped at a missing OpenGL development header. No package installation, simulator runtime, or physical-board comparison was performed. Claims about behavior and limits come from the inspected source and project documentation.