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 |
#56 in Emulators
184 downloads per month
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
- After cloning the repository, download the json test files by running
$ git clone https://github.com/SingleStepTests/65x02
inside the repository. - Run
$ cargo run --release
to run the tests.
Dependencies
~4–10MB
~61K SLoC