Trace: » M68K Emulator Testsuite

M68K Emulator Testsuite

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:

  • 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 M68K emulation patch and the patches/qemu.patch included in the m68k-tester distribution.

Happy Hacking!

 
Recent changes RSS feed Creative Commons License Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki