summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorPokechu22 <Pokechu022@gmail.com>2021-08-14 16:55:31 -0700
committerPokechu22 <Pokechu022@gmail.com>2021-08-21 17:07:14 -0700
commitddc2dd91d2068a3ab4a466fc8c4fcbef30ca3dd4 (patch)
treee7607aee73cd31eb99caa0e21f130c3267e5ee0f /Source
parent1ad8dd7634608a7645a5f1869d344a337c16240e (diff)
DSPSpy: Create README.md
Diffstat (limited to 'Source')
-rw-r--r--Source/DSPSpy/README.md39
1 files changed, 39 insertions, 0 deletions
diff --git a/Source/DSPSpy/README.md b/Source/DSPSpy/README.md
new file mode 100644
index 0000000000..4c57915a79
--- /dev/null
+++ b/Source/DSPSpy/README.md
@@ -0,0 +1,39 @@
+# DSPSpy
+
+DSPSpy is a homebrew tool for experimenting with the GameCube/Wii DSP. It can also be used to dump the DSP ROMs.
+
+## Building
+
+DSPSpy is built using [devkitPPC](https://wiibrew.org/wiki/DevkitPPC); see the [devkitPro getting started page](https://devkitpro.org/wiki/Getting_Started) 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.
+
+## Dumping DSP ROMs
+
+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. \ No newline at end of file