The Visual 6502
Posted by infiniteregrets 1 day ago
Comments
Comment by BiscuitBadger 1 day ago
Similar project, gate level emulation of NES CPU+PPU by the Nesticle author Icer Addis.
An entire world in a scanline
Comment by ColdStream 1 day ago
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.
Comment by flenserboy 1 day ago
Comment by jandrese 1 day ago
Comment by AnnikaL 1 day ago
Comment by djmips 1 day ago
Comment by wvenable 1 day ago
Get about 10 more hz in Firefox than in Chrome which was unexpected.
Comment by va3ndf 1 day ago
Comment by andrehacker 1 day ago
Comment by ColdStream 1 day ago
Comment by andrehacker 1 day ago
Comment by ThrowawayTestr 1 day ago
Comment by elzbardico 1 day ago
Comment by phoghed 1 day ago
Comment by ErroneousBosh 18 hours ago
So you're probably not far off. I can't imagine more modern chips than mine would run it significantly faster, none of the "tweaks" would help here.
Comment by phs318u 1 day ago
Comment by flohofwoe 23 hours ago
- 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)
Comment by wk_end 13 hours ago
Of course it's in JS rather than C, but V8 is really good, well within an order of magnitude - not three - of native, at least with well-written code. I profiled the original Visual6502 and at a glance it sure does look like it's losing a ton of performance to rendering (so good call there).
I have to wonder what the limit is. Even Perfect6502 looks like it's all single-threaded and CPU-driven, which really isn't making the most of modern machines. But I don't know if this is a task that could be efficiently split across cores or dispatched to the GPU (and I can't even begin to know whether SIMD might be useful); of course hardware itself is fundamentally parallel, but the synchronization might kill you?
Comment by timmg 1 day ago
Comment by SomeHacker44 1 day ago
Comment by jagged-chisel 1 day ago
Comment by malkia 1 day ago
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...
Comment by wang_li 1 day ago
https://archive.org/details/riag_004_051_-_MECC_Assembly_Lan...
Which was awesome as a kid to finally see what was "going on" inside there.