1
0
mirror of https://github.com/mre/mos6502.git synced 2024-12-01 11:51:51 +00:00
mre-mos6502/examples/asm/functional_test
2023-06-28 10:12:09 +02:00
..
6502_functional_test.bin Compile functional test from sources 2023-06-28 10:12:09 +02:00
6502_functional_test.ca65 Compile functional test from sources 2023-06-28 10:12:09 +02:00
Makefile Compile functional test from sources 2023-06-28 10:12:09 +02:00
README.md Compile functional test from sources 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.