diff options
author | Rangi <35663410+Rangi42@users.noreply.github.com> | 2020-07-15 12:26:16 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-15 12:26:16 -0400 |
commit | e18e5d50b5e154c1a7c94a2a1f39a3a99daa689a (patch) | |
tree | d8a157ae5aa323a00873efe79eb4693327b8bb70 /constants/audio_constants.asm | |
parent | aa97e196dd5b37e89db5ddf154dc7aea9b02a045 (diff) | |
parent | 93d0697f37aca8ed7a21298a980876af6d43268b (diff) |
Merge pull request #273 from Rangi42/master
Clean up some data, using macros for multiline list entries
Diffstat (limited to 'constants/audio_constants.asm')
-rw-r--r-- | constants/audio_constants.asm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/constants/audio_constants.asm b/constants/audio_constants.asm index 3dc9fbee..e36d2d5f 100644 --- a/constants/audio_constants.asm +++ b/constants/audio_constants.asm @@ -1,4 +1,5 @@ ; pitch +; Audio[1|2|3]_Pitches indexes (see audio/notes.asm) const_def const C_ ; 0 const C# ; 1 @@ -14,15 +15,20 @@ const B_ ; B ; channel +; Audio[1|2|3]_HWChannelBaseAddresses, Audio[1|2|3]_HWChannelDisableMasks, +; and Audio[1|2|3]_HWChannelEnableMasks indexes (see audio/engine_[1|2|3].asm) const_def const Ch1 ; 0 const Ch2 ; 1 const Ch3 ; 2 const Ch4 ; 3 +NUM_MUSIC_CHANS EQU const_value const Ch5 ; 4 const Ch6 ; 5 const Ch7 ; 6 const Ch8 ; 7 +NUM_NOISE_CHANS EQU const_value - NUM_MUSIC_CHANS +NUM_CHANNELS EQU const_value ; HW sound channel register base addresses HW_CH1_BASE EQU LOW(rNR10) |