Skip to content

Commit

Permalink
dsp_rom: Add version numbers and hashes to VerifyRoms and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Pokechu22 committed Aug 22, 2021
1 parent a5e2a0d commit 44129dd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
12 changes: 6 additions & 6 deletions Source/Core/Core/DSP/DSPCore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,23 +37,23 @@ static bool VerifyRoms(const SDSP& dsp)
// Official Nintendo ROM
{0x66f334fe, 0xf3b93527},

// LM1234 replacement ROM (Zelda UCode only)
// v0.1: LM1234 replacement ROM (Zelda UCode only)
{0x9c8f593c, 0x10000001},

// delroth's improvement on LM1234 replacement ROM (Zelda and AX only,
// v0.2: delroth's improvement on LM1234 replacement ROM (Zelda and AX only,
// IPL/Card/GBA still broken)
{0xd9907f71, 0xb019c2fb},

// above with improved resampling coefficients
// v0.2.1: above with improved resampling coefficients
{0xd9907f71, 0xdb6880c1},

// above with support for GBA ucode
// v0.3: above with support for GBA ucode
{0x3aa4a793, 0xa4a575f5},

// above with fix to skip bootucode_ax when running from ROM entrypoint
// v0.3.1: above with fix to skip bootucode_ax when running from ROM entrypoint
{0x128ea7a2, 0xa4a575f5},

// above with fixes for invalid use of SRS instruction
// v0.4: above with fixes for invalid use of SRS instruction
{0xe789b5a5, 0xa4a575f5},
}};

Expand Down
13 changes: 7 additions & 6 deletions docs/DSP/free_dsp_rom/dsp_rom_readme.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Legal GC/WII DSP IROM replacement (v0.4)
Legal GC/WII DSP IROM replacement (v0.4) (0xe789b5a5, 0xa4a575f5)
-------------------------------------------------------

- irom: Minor accuracy and documentation improvements
Expand All @@ -8,7 +8,7 @@ Legal GC/WII DSP IROM replacement (v0.4)
Tilka, Pokechu22
17/aug/2021

Legal GC/WII DSP IROM replacement (v0.3.1)
Legal GC/WII DSP IROM replacement (v0.3.1) (0x128ea7a2, 0xa4a575f5)
-------------------------------------------------------

- irom: When running from the ROM entrypoint, skip the bootucode_ax branch
Expand All @@ -18,7 +18,7 @@ Legal GC/WII DSP IROM replacement (v0.3.1)
ligfx
10/aug/2017

Legal GC/WII DSP IROM replacement (v0.3)
Legal GC/WII DSP IROM replacement (v0.3) (0x3aa4a793, 0xa4a575f5)
-------------------------------------------------------

- coef: Explicitly set 23 different values that are used by GBA UCode, and
Expand All @@ -31,7 +31,7 @@ Legal GC/WII DSP IROM replacement (v0.3)
ligfx
2/june/2017

Legal GC/WII DSP IROM replacement (v0.2.1)
Legal GC/WII DSP IROM replacement (v0.2.1) (0xd9907f71, 0xdb6880c1)
-------------------------------------------------------

- coef: 4-tap polyphase FIR filters
Expand All @@ -44,7 +44,7 @@ See generate_coefs.py for details.
stgn
29/june/2015

Legal GC/WII DSP IROM replacement (v0.2)
Legal GC/WII DSP IROM replacement (v0.2) (0xd9907f71, 0xb019c2fb)
-------------------------------------------------------

- coef: crafted to use a linear interpolation when resampling (instead of
Expand All @@ -58,8 +58,9 @@ likely still broken with it and require a real DSP ROM.
delroth
16/march/2013

Legal GC/WII DSP IROM replacement (v0.1)
Legal GC/WII DSP IROM replacement (v0.1) (0x9c8f593c, 0x10000001)
-------------------------------------------------------

- coef: fake (zeroes)
- irom: reversed and rewrote ucode loading/reset part, everything else is missing

Expand Down

0 comments on commit 44129dd

Please sign in to comment.