summaryrefslogtreecommitdiff
path: root/macros/audio_macros.asm
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2019-08-17 14:40:34 -0500
committerdannye <33dannye@gmail.com>2019-08-17 14:47:16 -0500
commit969b43d443090da42a4d0d73129298f6b6d69d5a (patch)
treef3824b4df70524123745f7a79faaa2a39700c87f /macros/audio_macros.asm
parent6574881cdac656d23697be57ab048c90b0969949 (diff)
Update labels to match new audio macro names
and synchronize engine_2 and engine_3 with engine_1
Diffstat (limited to 'macros/audio_macros.asm')
-rwxr-xr-xmacros/audio_macros.asm8
1 files changed, 8 insertions, 0 deletions
diff --git a/macros/audio_macros.asm b/macros/audio_macros.asm
index a4cd6c3b..a2282445 100755
--- a/macros/audio_macros.asm
+++ b/macros/audio_macros.asm
@@ -86,6 +86,14 @@ dnote: MACRO
db \1
ENDM
+;format: instrument [1, 3-10], length (in 16ths)
+; like dnote but one 1 byte instead of 2
+; can only be used with instruments 1-10, excluding 2
+; unused
+dnote_short: MACRO
+ db (\1 << 4) | (\2 - 1)
+ENDM
+
;format: length (in 16ths)
rest: MACRO
db $C0 | (\1 - 1)