The Visual 6502 is a project run by Greg James and a handful of self confessed microchip archaeologists. By meticulously taking hundreds of photographs of microchips they then stitch them back together and convert all of the die information into a vector format for future preservation. Greg explains the reasoning behind this mammoth process in the site FAQ:
“There are many excellent emulators available, but emulation is approximation. It can be extremely difficult to create an accurate emulator, because the typical approach to writing an emulator is to glean information from chip specification documents or more rarely from any chip schematics that happen to be available. This information is always incomplete and even the original chip logic schematics (also Verilog and VHDL code) can differ from what was actually built in silicon (see ECO). A disciplined emulator will capture and use traces of actual chip behavior, but it’s near impossible to capture the billions of sequences of bits that a real chip gives rise to. Instead, we build a virtual chip by modeling and simulating the actual microscopic parts of a physical chip. We’re interested in accurately preserving historic designs.”
“The simulator is running an idealized “digital” circuit based on our model of the chip’s network of transistors and wires. It does not account for “analog” behavior (resistance, capacitance, leakage), has no propagation delays, and transistors switch on and off instantaneously. The real chip uses the same network of transistors (barring any mistakes we may have made in our model), but these transistors are analog devices. Our simulation uses a few simple heuristics to account for the differences in behavior between the actual analog circuits and our idealized digital model. In our simulation, if a transient short occurs from power to ground, ground wins. This may happen in our iterative solver as the simulation state is converging. Also, when two floating regions are switched together, their final voltage is taken from the region with the most components. This is a simple but completely non-physical way to account for capacitance.”
Even if like me you have no understanding of chip design, and your assembly coding skills haven’t been deployed in decades, this is still a remarkable and fascinating project well worth exploring.