1
0
mirror of https://github.com/mre/mos6502.git synced 2025-02-21 16:28:59 +00:00

38 lines
924 B
Markdown
Raw Normal View History

2023-06-19 19:10:46 +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](https://cc65.github.io/cc65/)
toolchain.
2023-06-28 10:05:11 +02:00
## Building
```bash
make build
```
This will create a `6502_functional_test.bin` file in the `build` directory,
which the emulator will load.
2023-06-28 10:12:09 +02:00
## Running
Then, from the root of the repository, run:
```bash
cargo run --release --example functional
```
2023-06-28 10:05:11 +02:00
## 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.
```