← Back to context

Comment by lysace

7 days ago

Good timing. My current weekend project is constructing something similar to the the first third of Ben Eater's 6502 design (last weekend was the clock module plus some eccentricities).

It occurred to me that given the 6502's predictable clock cycle timings it should be possible to create a realtime disassembler using e.g. an Arduino Mega 2560+character lcd display attached to the 6502's address/data/etc pins.

Of course, this would only be useful in single-stepping/very slow clock speeds. Still, I think it could be useful in learning how the 6502 works.

Is there relevant prior work? I'm struggling with my google fu.

I was recently using this project. It outputs over serial which is handy for capturing a longer stream. I’m working on a wire wrapped 6502 machine and was getting a weird issue where I could see via the Sync pin that it was mis-executing a byte of data as an instruction instead. The fix was to add another decoupling capacitor next to the CPU…

https://github.com/dpm-343/6502-monitor