Macronix DSP: Difference between revisions

From GC-Forever Wiki
Jump to navigation Jump to search
Cyndanera (talk | contribs)
updated dsp program
Cyndanera (talk | contribs)
updated microcode
Line 1: Line 1:
Macronix DSP is a 16 bit programmable DSP coprocessor in the Nintendo GameCube\Wii it was manufactured by Macronix.  
Macronix DSP is a 16 bit programmable DSP coprocessor in the Nintendo GameCube\Wii it was manufactured by Macronix.  
It has it's own ADPCM hardware decoder to off load the DSP.  
It has it's own ADPCM hardware decoder to off load the DSP.  
It stores raw DSP data in the 16 MB of ARAM along with audio data, but ARAM also can store extra data such as textures, animations, for example.  
16 MB of ARAM stores PCM\ADPCM, but ARAM also can store extra data such as textures, animations, data, for example.  


Macronix DSP microcode is written in assembly you will require a assembler to assemble your code. asnd & aesnd is the homebrew dsp microcode that exist in devkitpro for the nintendo gamecube, can mix up to 16 and 32 channels respectively.
Macronix DSP microcode is written in assembly you will require a assembler to assemble your code. asnd & aesnd is the homebrew dsp microcode that exist in devkitpro for the Nintendo GameCube, can mix up to 16 and 32 channels respectively.


JAudio(JSystem) DSP microcode also seems to contain these types
JAudio(JSystem) DSP microcode also seems to contain these types
Line 22: Line 22:
   Instruction ROM: 8KB (Macronix, Nintendo)
   Instruction ROM: 8KB (Macronix, Nintendo)
   Hardware Decoder: DSP-ADPCM
   Hardware Decoder: DSP-ADPCM
  Sampling Frequency: 48KHz


== DSP Programs ==
== DSP Programs ==
Line 37: Line 36:


== Cyndanera DSP Programs ==
== Cyndanera DSP Programs ==
   Sarah microcode - mixing, filters, Dolby logic pro II, effects, FM, Square, PSG-Wave, PSG-Noise, GBA Decryption
   Sarah microcode - Audio System(Mixing\FX\DLP2\FM\PSG\Noise), Particle Systems, Animation Skinning, GBA Decryption

Revision as of 20:22, 7 December 2024

Macronix DSP is a 16 bit programmable DSP coprocessor in the Nintendo GameCube\Wii it was manufactured by Macronix. It has it's own ADPCM hardware decoder to off load the DSP. 16 MB of ARAM stores PCM\ADPCM, but ARAM also can store extra data such as textures, animations, data, for example.

Macronix DSP microcode is written in assembly you will require a assembler to assemble your code. asnd & aesnd is the homebrew dsp microcode that exist in devkitpro for the Nintendo GameCube, can mix up to 16 and 32 channels respectively.

JAudio(JSystem) DSP microcode also seems to contain these types

SRC_SQUARE_WAVE
SQUARE_WAVE_25PCT
SAW_WAVE
PCM8
PCM16
DSP-ADPCM

DSP Specs

 Clock: 81MHz
 Bits: 16bit
 Endian: Big
 Data RAM: 8KB
 Data ROM: 4KB
 Instruction RAM: 8KB
 Instruction ROM: 8KB (Macronix, Nintendo)
 Hardware Decoder: DSP-ADPCM

DSP Programs

 Bootrom IPL microcode x2 (Macronix, Nintendo)
 DSP ARAM/Init microcode
 Memory Card microcode - handles memory card security & unlocking
 Audio System(AX) microcode - mixing, filters, Dolby logic pro II, effects done on CPU
 JAudio(JSystem) microcode - mixing, filters, Dolby logic pro II, effects, GBA decryption in some games
 GBA Multiboot microcode - decrypts GBA multiboot program

Homebrew DSP Programs

 ASnd microcode - mixing
 AESnd microcode - mixing

Cyndanera DSP Programs

 Sarah microcode - Audio System(Mixing\FX\DLP2\FM\PSG\Noise), Particle Systems, Animation Skinning, GBA Decryption