Show HN: Arduino 6502 Controller (github.com)
The 6502ctl project is an Arduino controller for the 6502 CPU. The controller controls all 6502 pins, including the clock signal and interrupts, and simulates an address and data bus with attached memory and an output peripheral. The controller includes a clock-cycle debugger with disassembler. An assembler is also included with the project.
10 comments
[ 3.3 ms ] story [ 48.7 ms ] threadThat being said I love the 6502 and have a few laying around and will play with this on Monday.
The thing we were building for my internship used a very low clock speed to conserve battery power, since CMOS draws current only during transitions.
That "note" should be more of a "warning". I can't think of any debugger, "modern" or otherwise, that doesn't show the next instruction to be executed. Expect this to cause a lot of confusion.
Simulating something that looks like a serial port (transmit/receive/status registers) would seem more natural, peripheral-wise.
https://www.tindie.com/products/8bitforce/retroshield-6502-f...
I bought the z80 variant and had a bit of fun with it, single-stepping and emulating RAM, before I moved on to a single-board computer.