summaryrefslogtreecommitdiff
path: root/macros.asm
diff options
context:
space:
mode:
Diffstat (limited to 'macros.asm')
-rwxr-xr-xmacros.asm3
1 files changed, 3 insertions, 0 deletions
diff --git a/macros.asm b/macros.asm
index 757caed..8fbf35c 100755
--- a/macros.asm
+++ b/macros.asm
@@ -30,6 +30,9 @@ ENDM
text: MACRO
dw ((\1 + ($4000 * (BANK(\1) - 1))) - (TextOffsets + ($4000 * (BANK(TextOffsets) - 1)))) & $ffff
db ((\1 + ($4000 * (BANK(\1) - 1))) - (TextOffsets + ($4000 * (BANK(TextOffsets) - 1)))) >> 16
+\1_ EQU const_value
+GLOBAL \1_
+const_value = const_value + 1
ENDM
; notes/instruments