Visual 6502: A JavaScript Simulator for Deep CPU Exploration
The Visual 6502
I built Visual 6502, a browser-based simulator that lets you watch the legendary 6502 processor in action using only HTML5. This tool requires modern browsers and ample RAM to render the chip's internal logic visually. You can zoom, step through cycles, and interact with the simulation directly in your browser. For those seeking deeper analysis, the source code is available on GitHub, and advanced features are accessible through our expert mode.
This simulator uses HTML5 features only found on the latest versions of browsers and needs lots of RAM.
- flohofwoe
Shameless plug: I wrote a 'remix' a couple of years ago over a Christmas break using WASM+WebGL+DearImGui with better rendering performance, integrated assembler and a couple visualization tools (using the visual6502 team's original reverse engineered netlist data, and https://github.com/mist64/perfect6502 as simulation loop):
- 6502: https://floooh.github.io/visual6502remix/
- Z80: https://floooh.github.io/visualz80remix/
- 2A03 (this was contributed): https://floooh.github.io/visual2a03remix/
- source code: https://github.com/floooh/v6502r
(the simulation generally runs throttled to 1 half-clock-cycle per frame, so don't use it as any sort of benchmark)
- BiscuitBadger
https://github.com/iaddis/metalnes
Similar project, gate level emulation of NES CPU+PPU by the Nesticle author Icer Addis.
An entire world in a scanline
- ColdStream
It is a fun way to benchmark your system. I managed to get 4.1hz on my 13th gen i5 work laptop.
Let's see an M-series chip blow that out of the water. ;)
EDIT - It was 4.1Hz in advance mode. Actually runs at between 22Hz and 44hz depending on each time I run it. Odd to have such a wide performance variation. I will just blame Windows and some power management setting/thermal throttling.