#nes #emulator #6502

bin+lib nes6502

An emulated NES version of the 6502

5 releases

0.1.4 Jul 11, 2024
0.1.3 Jul 11, 2024
0.1.2 Jul 8, 2024
0.1.1 Jul 7, 2024
0.1.0 Jul 6, 2024

#58 in Emulators

Download history 17/week @ 2024-09-14 15/week @ 2024-09-21 1/week @ 2024-09-28

184 downloads per month

MIT license

130KB
3K SLoC

nes6502

An emulated NES version of the 6502 (which is a 6502 with the BCD (Binary Coded Decimal) functionality removed).

This was originally part of my NES emulator. It is being moved to its own repository to force better decoupling from the rest of the NES code, as well as making it easier to integrate Tom Harte's 6502 Tests which take up a lot of storage space and is only used for testing the CPU.

This cpu is now complete and verified to be correct according to all 256k of Tom Harte's 6502 Tests. These can be ran by running the default binary ($ cargo run).

Running Tests

  1. After cloning the repository, download the json test files by running $ git clone https://github.com/SingleStepTests/65x02 inside the repository.
  2. Run $ cargo run --release to run the tests.

Dependencies

~2–2.7MB
~49K SLoC