diff options
author | U-Daniel-PC\Daniel <corrnondacqb@yahoo.com> | 2015-02-25 09:52:59 -0500 |
---|---|---|
committer | U-Daniel-PC\Daniel <corrnondacqb@yahoo.com> | 2015-02-25 09:55:52 -0500 |
commit | 80f8027dff7330a991c043d5e29883b80785787e (patch) | |
tree | 9b4378f7d6ef3cd24be80894c6074cdafd462530 /macros.asm | |
parent | 8551724d051cd1d103dad1972a5ac1f4cc2d6a4b (diff) |
Use text id constants
Diffstat (limited to 'macros.asm')
-rwxr-xr-x | macros.asm | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |