diff options
| author | Pokechu22 <Pokechu022@gmail.com> | 2021-08-16 22:15:19 -0700 |
|---|---|---|
| committer | Pokechu22 <Pokechu022@gmail.com> | 2021-08-22 10:49:46 -0700 |
| commit | a5e2a0d97307ef146879a6f46a86d728a3ac2e97 (patch) | |
| tree | 4035ce151316df0a27551a4ad346ff5155b79f0e /docs | |
| parent | c881f4db22e963941bcaabcae9b1ce005e24c49c (diff) | |
dsp_rom: Remove illegal use of AX with SRS
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/DSP/free_dsp_rom/dsp_rom.ds | 18 | ||||
| -rw-r--r-- | docs/DSP/free_dsp_rom/dsp_rom_readme.txt | 10 |
2 files changed, 19 insertions, 9 deletions
diff --git a/docs/DSP/free_dsp_rom/dsp_rom.ds b/docs/DSP/free_dsp_rom/dsp_rom.ds index 5106836658..7ee9b5c5d8 100644 --- a/docs/DSP/free_dsp_rom/dsp_rom.ds +++ b/docs/DSP/free_dsp_rom/dsp_rom.ds @@ -86,11 +86,11 @@ WARNPC 0x8b ORG 0x8b ; called by GBA ucode dram_to_cpu: - srs @DSMAH, $AX0.H - srs @DSMAL, $AX0.L + sr @DSMAH, $AX0.H + sr @DSMAL, $AX0.L si @DSCR, #0x1 - srs @DSPA, $AX1.H - srs @DSBL, $AX1.L + sr @DSPA, $AX1.H + sr @DSBL, $AX1.L call wait_dma+#IROM_BASE ret @@ -108,11 +108,11 @@ ORG 0xbc ; called by GBA ucode bootucode_ax: lris $AC0.M, #0 - srs @DSCR, $AC0.M - srs @DSMAH, $AX0.H - srs @DSMAL, $AX0.L - srs @DSPA, $AX1.H - srs @DSBL, $AX1.L + srs @DSCR, $AC0.M + sr @DSMAH, $AX0.H + sr @DSMAL, $AX0.L + sr @DSPA, $AX1.H + sr @DSBL, $AX1.L call wait_dma+#IROM_BASE bootucode_ix: diff --git a/docs/DSP/free_dsp_rom/dsp_rom_readme.txt b/docs/DSP/free_dsp_rom/dsp_rom_readme.txt index e43fa4084f..65eb69b274 100644 --- a/docs/DSP/free_dsp_rom/dsp_rom_readme.txt +++ b/docs/DSP/free_dsp_rom/dsp_rom_readme.txt @@ -1,3 +1,13 @@ +Legal GC/WII DSP IROM replacement (v0.4) +------------------------------------------------------- + +- irom: Minor accuracy and documentation improvements +- irom: Remove use of SRS instruction with AX registers, as those instructions + do not actually exist + +Tilka, Pokechu22 +17/aug/2021 + Legal GC/WII DSP IROM replacement (v0.3.1) ------------------------------------------------------- |
