A large M68K emulator testsuite is now available for download. Thanks to Ray Arachelian (Lisa Emulator Project) for annoying his 68040 NeXT computer to run the tests. This software is intended to M68K emulator developers, hence it's only available in source form.
This allowed me to detect a few remaining bugs in the Basilisk II CPU emulator. For your information, xBCD instructions don't affect NV flags at all on a real 68040. The Motorola manual simply says they are undefined. Can someone please check this behavior against a real 68000 or 68020? I also fixed the JIT for LSL, LSR and ASR instructions that didn't preserve the X flag when the shift count is 0.
Some features:
Note that for QEMU support, you have to build an ”m68k-linux-user” target with Andreas Schwab's M68K emulation patch and the patches/qemu.patch included in the m68k-tester distribution.
Happy Hacking!