diff options
author | dannye <33dannye@gmail.com> | 2019-09-02 03:40:58 -0500 |
---|---|---|
committer | dannye <33dannye@gmail.com> | 2019-09-02 03:41:25 -0500 |
commit | fc051f21300bc2cfdbbb013fb7dbf6bd3b0e9b2d (patch) | |
tree | 82c1122f6ac46865a179cdc7b071391e59e779c5 /wram.asm | |
parent | abee217ce0e29331f1ac691fd1d4edeacf2295f9 (diff) |
Update audio macros and arguments
and update related labels/constants/comments
this fixes a lot of mistakes and maximizes compatibility with red
Diffstat (limited to 'wram.asm')
-rw-r--r-- | wram.asm | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -37,7 +37,7 @@ wChannel8:: channel_struct wChannel8 ; c25f ds 1 ; c291 wCurTrackDuty:: db -wCurTrackIntensity:: db +wCurTrackVolumeEnvelope:: db wCurTrackFrequency:: dw wUnusedBCDNumber:: db ; BCD value, dummied out wCurNoteDuration:: db ; used in MusicE0 and LoadNote @@ -57,13 +57,12 @@ wSoundOutput:: ; c29b ; bit 4-7: ch1-4 so2 on/off ; bit 0-3: ch1-4 so1 on/off db -wSoundInput:: ; c29c -; corresponds to rNR52 -; bit 7: global on/off -; bit 0: ch1 on/off -; bit 1: ch2 on/off -; bit 2: ch3 on/off -; bit 3: ch4 on/off +wPitchSweep:: ; c29c +; corresponds to rNR10 +; bit 7: unused +; bit 4-6: sweep time +; bit 3: sweep direction +; but 0-2: sweep shift db wMusicID:: dw ; c29d |