The Visual 6502

(visual6502.org)

98 points | by infiniteregrets 11 hours ago ago

22 comments

  • BiscuitBadger 11 hours ago ago

    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

  • flohofwoe 4 hours ago ago

    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)

  • ColdStream 11 hours ago ago

    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.

    • flenserboy 8 hours ago ago

      M4 Max, Brave — 93Hz highest, usually around 90Hz. On Advanced it started at 22Hz & steadily dropped from there into the single digits as it ran. Safari held around 62.xHz. On Advanced it started at 40Hz & also kept dropping.

    • jandrese 11 hours ago ago

      My very old i5-3570K on Firefox 153 is running this at 17.5Hz. I'm not sure why a much newer chip would be dramatically slower.

    • AnnikaL 10 hours ago ago

      I got 22-33Hz on an AMD Ryzen 7640U on power-save mode and 50-55Hz on performance mode.

    • djmips 11 hours ago ago

      I'm seeing 34 Hz on a Ryzen 7 3600X 3.6 Ghz with Chrome. 47 Hz in Firefox.

    • wvenable 10 hours ago ago

      70hz to 75hz on 12th Gen Core i7-12700

      Get about 10 more hz in Firefox than in Chrome which was unexpected.

    • va3ndf 11 hours ago ago

      88Hz on the M4 Pro

      • andrehacker 10 hours ago ago

        I concur with that number for Chrome, then 70 Hz with Firefox 62 Hz with Safari

      • ColdStream 10 hours ago ago

        There it is, about 4 times faster than my machine. The single core performance of the M-series is something special.

        • andrehacker 8 hours ago ago

          So, yeah, this is wonderful since the ARM architecture (Acorn Risc Machine) is arguably derived from the 6502 by Sophie Wilkins and Steve Furber at Acorn Computers.

    • ThrowawayTestr 9 hours ago ago

      60Hz on my phone

    • phs318u 5 hours ago ago

      High 60's to 70 on a Firefox|Fedora|Ryzen AI 9 HX.

    • elzbardico 9 hours ago ago

      85Hz M3 Max

    • phoghed 10 hours ago ago

      62Hz on an iPhone 15 Pro

    • esikich 8 hours ago ago

      Pixel 6 - 40-50Hz

  • timmg 10 hours ago ago

    I wish these guys would have released this amazing looking 6502 in circuits: https://www.evilmadscientist.com/2016/6502/

    • SomeHacker44 8 hours ago ago

      Agree. I would pay for it.

      • jagged-chisel 7 hours ago ago

        I haven’t followed progress, but they did say it would likely cost $2k-$4k if they ever produced them to sell.

  • malkia 10 hours ago ago

    Well I've played the 6502 simulator as a kind on my 6502 Apple ][ clone :) :) :)

    youtube.com/watch?si=XuNgnVc4rf86nIgA&t=42

    it should'be available here to play online too (but haven't tried it)

    https://archive.org/details/257_Educational_Software_The_650...