A NES emulator written in Rust.
The purpose of this project is to learn how the NES works and implement a playable emulator.
- Supports 1 player
- Tested playable roms
- Donkey Kong
- Donkey Kong Jr.
- Balloon Fight
- No sound
- Passes nestest
- Mappers
- NROM
NES controller button | Keyboard key |
---|---|
A | Z |
B | X |
Start | N |
Select | M |
Up | Up |
Down | Down |
Left | Left |
Right | Right |
Latest Rust stable and SDL2
cargo build --release
cargo run --release -- <path_to_rom>
The emulator tests instructions of the CPU using the nestest.rom. The nestest.rom needs to be inside folder 'tests' for the test to be able to work.
Tests can be run with
cargo test