1
0
mirror of https://github.com/mre/mos6502.git synced 2025-02-17 17:30:43 +00:00
2023-06-29 11:24:29 +02:00
..
2023-06-29 11:24:29 +02:00
2023-06-29 11:24:29 +02:00
2023-06-28 23:37:46 +02:00
2023-06-28 10:12:09 +02:00

6502 Functional Test

This is a test suite for 6502/65C02/65C816 processors. It contains a plethora of tests, which covers all documented opcodes.

Note that the binary was not built from the source code in the repository, but pre-built binaries were used instead. That is because the source code is not compatible with the assembler used by the cc65 toolchain.

Building

make build

This will create a 6502_functional_test.bin file in the build directory, which the emulator will load.

Running

Then, from the root of the repository, run:

cargo run --release --example functional

Credits

Taken from https://github.com/amb5l/6502_65C02_functional_tests which is a CA65-compatible port of https://github.com/Klaus2m5/6502_65C02_functional_tests

The original source code was written by Klaus Dormann, and is licensed under the GPL-3.0 license.