mitaclaw b6ec8ddc20 Simplify `std::fill` with `std::fill_n` | vor 3 Monaten | |
---|---|---|
.. | ||
templates | vor 15 Jahren | |
tests | vor 2 Jahren | |
util | vor 15 Jahren | |
.gitignore | vor 3 Jahren | |
ConsoleHelper.h | vor 1 Monat | |
DSPSpy.vcproj | vor 4 Jahren | |
DSPSpy.vcxproj | vor 2 Jahren | |
DSPSpy.vcxproj.filters | vor 2 Jahren | |
Makefile | vor 3 Jahren | |
README.md | vor 3 Jahren | |
dsp_interface.cpp | vor 3 Jahren | |
dsp_interface.h | vor 3 Jahren | |
dspregs.h | vor 3 Jahren | |
gba.txt | vor 4 Jahren | |
main_spy.cpp | vor 2 Jahren | |
mem_dump.h | vor 3 Jahren | |
real_dsp.cpp | vor 3 Jahren | |
real_dsp.h | vor 3 Jahren |
DSPSpy is a homebrew tool for experimenting with the GameCube/Wii DSP. It can also be used to dump the DSP ROMs.
DSPSpy is built using devkitPPC; see the devkitPro getting started page for more information. DSPSpy also requires DSPTool to be built.
First, run DSPTool to generate dsp_code.h
, for instance from tests/dsp_test.ds
. The following commands assume an x64 Windows setup running in the DSPSpy directory:
../../Binary/x64/DSPTool.exe -h dsp_code tests/dsp_test.ds
To use the ROM-dumping code, run this:
../../Binary/x64/DSPTool.exe -h dsp_code util/dump_roms.ds
DSPTool can also generate a header for multiple DSP programs at the same time. First, create a file (in this example, it was named file_list.txt
) with the following contents:
tests/dsp_test.ds
tests/mul_test.ds
tests/neg_test.ds
Then run:
../../Binary/x64/DSPTool.exe -h dsp_code -m file_list.txt
After dsp_code.h
has been generated, simply run make
to generate dspspy_wii.dol
, which can be loaded by normal means.
Build DSPSpy with util/dump_roms.ds
. When launched, DSPSpy will automatically create files dsp_rom.bin
and dsp_coef.bin
on the SD card (only SD cards are supported); DSPSpy can be exited immediately afterwards.