2023-06-10 21:55:25 -07:00
harte_tests Changed Error type into an enum 2023-06-10 19:29:54 -07:00
rad_tests Fixed some Z80 instruction timings 2023-06-10 21:55:25 -07:00 Added raddad772/jsmoo's Z80 test runner 2023-05-09 21:50:42 -07:00


This directory contains CPU tests for the 68k and Z80. The test cases themselves are provided by Tom Harte and raddad772, and must be cloned from their respective repositories before running the tests.


To download the 68k tests, from the tests/ directory, run:

git clone

To download the Z80 tests, from the tests/ directory, run:

git clone --no-checkout
cd jsmoo
git checkout origin/HEAD -- misc/tests/GeneratedTests


The 68k tests can be run from the moa root with:


By default, the script will use the compressed versions of the tests which are slower to run because they must be unzipped every time the tests are run. To speed it up for repeat runs, the tests can be gunzip'ed to their own directory and the test suite location can be change on the command line or in the script to point to the uncompressed versions

The Z80 tests can be run with:


Thanks to Tom Harte and raddad772 for providing these incredibly valuable tests