A 6502 microprocessor emulator for the Nintendo Entertainment System (NES) written in C++.
https://github.com/MaxwellKnight/nes-emulator.git
An interactive 6502 microprocessor emulator and debugger for the Nintendo Entertainment System (NES), providing educational insights into retro computing. Available at codeknight.dev.
The debugger is accessible online at codeknight.dev, but you can also run it locally or contribute to its development.
# Clone the repository
git clone https://github.com/MaxwellKnight/nes-emulator.git
cd nes-emulator
# Start development environment with web server
docker compose --profile dev up web-dev
# Build everything (native + WebAssembly)
docker compose run --rm dev
# Run tests
docker compose run --rm test
# Get an interactive shell
docker compose run --rm shell
Access the application at http://localhost:5173 during development or through the configured domain in production.
For those who prefer developing without containers:
mkdir build && cd build
cmake ..
make
The emulator is built with a focus on accuracy and educational value:
This project is licensed under the GNU GPL v3 - see the LICENSE file for details.