Commodore 64 hardware simulator is a pin-accurate simulation of the C64 motherboard ASSY 250407 that models every net and chip pin so you can lift legs, short pins to ground or +5V, pull chips, or open components and observe the exact circuit consequences: video output, keyboard behavior and signals on every net. It reproduces faults by computing circuit behavior rather than pattern-matching symptoms (example: lifting A7 of the color RAM causes address aliasing; removing the character ROM erases glyph shapes while the CPU and RAM continue). The interface shows the board, monitor, control panel and oscilloscope with pins color-coded; users can click pins or components to inject faults, load .prg files directly into DRAM, run headless scripted runs that save screenshots or textual monitor output, and run a suite of 31 pre-recorded fault tests. Performance is below real-time (roughly 30-50% of actual C64 speed on modern high-end machines), so it is aimed at hardware learning and diagnosis rather than gaming.
Internals convert a KiCad replica into C tables of 216 parts and 249 nets; each pin drives nets with prioritized drive strengths, floating nets drift and pick up seeded noise, and power faults (missing VCC/GND, phantom power) are modeled. Parts implemented include ROMs, 4164 DRAMs with cycle-accurate /RAS/ /CAS behavior, 2114 color RAM, PLA with real equations, and cycle-accurate 6510/VIC/CIA/SID cores borrowed from floooh. Analog subsystems (video DAC/filter, power supply, PLL), intra-chip defects, and net bridges are not simulated.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.