3 comments

  • bayangan2 days ago
    This was a fun thing to see after having just finished binging Ben Eaters 6502 breadboard computer series.<p>Since it&#x27;s printing something out I suppose it also has everything else virtualised, would be cool to be able to provide it some machine code &#x2F; assembly
    • I networked a 6502 a while ago in order to capture some behavior that isn&#x27;t well documented.<p>You can interact with it using a wasm-based assembler in your browser. Programs only get 100 cycles to run but that should be plenty if you just want to poke around.<p><a href="https:&#x2F;&#x2F;chiplab.emulationonline.com&#x2F;6502&#x2F;" rel="nofollow">https:&#x2F;&#x2F;chiplab.emulationonline.com&#x2F;6502&#x2F;</a>
  • delduca1 day ago
    I’ve just updated the demo. Check it out here: <a href="https:&#x2F;&#x2F;carimbo.run&#x2F;play&#x2F;1.0.43&#x2F;willtobyte&#x2F;MOS6502&#x2F;1.0.6&#x2F;480p&#x2F;" rel="nofollow">https:&#x2F;&#x2F;carimbo.run&#x2F;play&#x2F;1.0.43&#x2F;willtobyte&#x2F;MOS6502&#x2F;1.0.6&#x2F;480...</a>
  • NackerHughes2 days ago
    How many layers of virtualisation do we need?
    • djmips1 day ago
      Run it in a browser in Wine on a MAC?
      • delduca1 day ago
        None of them run in a browser powered by WebAssembly. I created a 2D engine in C++20 based on SDL, in which I can use Lua to create games. Then I thought, “I’ll make a NES emulator,” so I started with its CPU, the 6502.
        • djmips1 day ago
          Have you run <a href="https:&#x2F;&#x2F;github.com&#x2F;Klaus2m5&#x2F;6502_65C02_functional_tests">https:&#x2F;&#x2F;github.com&#x2F;Klaus2m5&#x2F;6502_65C02_functional_tests</a> ?<p>See also <a href="https:&#x2F;&#x2F;www.righto.com&#x2F;2012&#x2F;12&#x2F;the-6502-overflow-flag-explained.html" rel="nofollow">https:&#x2F;&#x2F;www.righto.com&#x2F;2012&#x2F;12&#x2F;the-6502-overflow-flag-explai...</a><p>I also note that you have the same code copy&#x2F;pasted in every ALU operation which might be better expressed in one location for maintenance reasons.
          • delduca22 hours ago
            Good call out. Thank you! I will give a try.
    • delduca1 day ago
      All of them :)