Skip to content

Instantly share code, notes, and snippets.

@copyrat90
Last active November 3, 2023 10:58
Show Gist options
  • Save copyrat90/36cbc9b1be2477aae64361cc93db9646 to your computer and use it in GitHub Desktop.
Save copyrat90/36cbc9b1be2477aae64361cc93db9646 to your computer and use it in GitHub Desktop.
GBA Audio Registers

GBA Audio Registers

Note that GB Addr-Reg values are for the GB (not GBA), so the specifics may be different on the GBA.

GBA Addr GB Addr-Reg old Belogic Tonc Function (Belogic)
0x04000060 FF10-NR10 SG10 SOUND1CNT_L SND1SWEEP Sound 1 Sweep control
0x04000062 FF11-NR11 SOUND1CNT_H SND1CNT Sound 1 Length, wave duty and envelope control
0X04000063 FF12-NR12
0x04000064 FF13-NR13 SG11 SOUND1CNT_X SND1FREQ Sound 1 Frequency, reset and loop control
0X04000065 FF14-NR14
0x04000068 FF16-NR21 SG20 SOUND2CNT_L SND2CNT Sound 2 Length, wave duty and envelope control
0X04000069 FF17-NR22
0x0400006C FF18-NR23 SG21 SOUND2CNT_H SND2FREQ Sound 2 Frequency, reset and loop control
0x0400006D FF19-NR24
0x04000070 FF1A-NR30 SG30 SOUND3CNT_L SND3SEL Sound 3 Enable and wave ram bank control
0x04000072 FF1B-NR31 SOUND3CNT_H SND3CNT Sound 3 Sound length and output level control
0X04000073 FF1C-NR32
0x04000074 FF1D-NR33 SG31 SOUND3CNT_X SND3FREQ Sound 3 Frequency, reset and loop control
0X04000075 FF1E-NR34
0x04000078 FF20-NR41 SG40 SOUND4CNT_L SND4CNT Sound 4 Length, output level and envelope control
0X04000079 FF21-NR42
0x0400007C FF22-NR43 SG41 SOUND4CNT_H SND4FREQ Sound 4 Noise parameters, reset and loop control
0X0400007D FF23-NR44
0x04000080 FF24-NR50 SGCNT0 SOUNDCNT_L SNDDMGCNT Sound 1-4 Output level and Stereo control
0X04000081 FF25-NR51
0x04000082 SOUNDCNT_H SNDDSCNT Direct Sound control and Sound 1-4 output ratio
0x04000084 FF26-NR52 SGCNT1 SOUNDCNT_X SNDSTAT Master sound enable and Sound 1-4 play status
0x04000088 SGBIAS SOUNDBIAS SNDBIAS Sound bias and Amplitude resolution control
0x04000090 FF30 WAVE_RAM0_L WAVE_RAM0 Sound 3 samples 0-3
0x04000092 FF32 WAVE_RAM0_H Sound 3 samples 4-7
0x04000094 FF34 WAVE_RAM1_L WAVE_RAM1 Sound 3 samples 8-11
0x04000096 FF36 WAVE_RAM1_H Sound 3 samples 12-15
0x04000098 FF38 WAVE_RAM2_L WAVE_RAM2 Sound 3 samples 16-19
0x0400009A FF3A WAVE_RAM2_H Sound 3 samples 20-23
0x0400009C FF3C WAVE_RAM3_L WAVE_RAM3 Sound 3 samples 23-27
0x0400009E FF3E WAVE_RAM3_H Sound 3 samples 28-31
0x040000A0 FIFO_A_L FIFO_A Direct Sound channel A samples 0-1
0x040000A2 FIFO_A_H Direct Sound channel A samples 2-3
0x040000A4 FIFO_B_L FIFO_B Direct Sound channel B samples 0-1
0x040000A6 FIFO_B_H Direct Sound channel B samples 2-3

Additional references

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment