====== M68K Emulator Testsuite ====== A large [[en:projects:68ktester|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: * More than 118 million tests with specific values to trigger condition codes changes. * Supports several CPU cores: QEMU, UAE and its JIT-capable derivatives ARAnyM, Basilisk II, E-UAE. Note that for QEMU support, you have to build an "''m68k-linux-user''" target with Andreas Schwab's [[http://article.gmane.org/gmane.comp.emulators.qemu/18459|M68K emulation patch]] and the ''patches/qemu.patch'' included in the m68k-tester distribution. Happy Hacking! {{tag>emulation projects}}