lioncash / DolphinPPCTests

PPC instruction tests
11 stars 2 forks source link
750cl cpu emulation powerpc tests

Dolphin PPC CPU Tests

Just a little utility I use to test CPU instructions on Dolphin.

This can also potentially be used for other PowerPC-based emulators as well, although the Makefile and code in main.cpp will need to be modified.

Building it

  1. Install devkitPPC
  2. Just run make.

How to use it (on the Wii)

  1. Run it on the Wii.
  2. It'll dump the results to a file named instruction_tests.txt.
  3. Run it in Dolphin, it'll dump the resulting text files to the virtual SD card (make sure to set the SD card as inserted in the Config -> Wii menu).
  4. As of writing, Dolphin doesn't have an easy way to access the SD card contents. Currently you'll need to use an external tool (if on Windows) to access the virtual SD card's contents (I've only tested with WinImage, and that seems to work).
  5. Diff the test files with each other.
  6. If any values differ from the hardware results, your PowerPC emulation is inaccurate.