6502 CPU emulator and debugger
src | ||
.travis.yml | ||
Makefile | ||
readme.md | ||
TODO |
65
6502 (NES) emulator
A 6502 CPU emulator/simulator with ncurses UI. Includes implementations using video display using either curses or SDL2.
Usage
./65 FILE.NES
./65v FILE.NES
./65sdl FILE.NES
Building
Dependencies:
65/65v: ncurses / pdcurses (on Windows)
65sdl: SDL2
To build using GNUMake:
make
To build SDL2 version on Windows with Cygwin:
cd src
make -f Makefile.cyg 65sdl
To build using Ruby rake
cd src
rake
To build and run simple included tests:
make
make test
./bin/65 test/<TEST ROM FILENAME>
Key bindings:
s.........Step into instruction
g.........Goto offset
G.........Toggle follow (to follow CPU PC)
j.........Scroll down through hexdump
k.........Scroll up through hexdump
/.........Search for octet
q.........Quit program