py-6502-emu / README.md
The idea The CPU behind the NES.
The MOS 6502 ran the NES, the Apple II and the Commodore 64. This emulates it in Python, one instruction at a time, so you can watch what it does.
Heavily inspired by the tiny8 project.
Run it
The built-in assembler turns the .asm file into bytes, then the debugger takes over.
python main.py program.asmThe debugger A text UI in curses.
- Step through the program instruction by instruction
- Registers, flags and the program counter update live
- Zero page memory shown as a hex dump
- The listing highlights the line being executed

