From fbeac8adb657c01192d2c755a45005b0f0f3c332 Mon Sep 17 00:00:00 2001 From: luckytyphlosion Date: Sun, 27 Sep 2015 15:05:08 -0400 Subject: Bank8 audio. todo: correct address comments note: tx_pre_constants are not 100% accurate, but they work well enough to have yellow build correctly --- macros.asm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'macros.asm') diff --git a/macros.asm b/macros.asm index 76951248..ee062956 100644 --- a/macros.asm +++ b/macros.asm @@ -281,12 +281,16 @@ predef_const: MACRO const \1Predef ENDM +tx_pre_const: MACRO + const \1_id + ENDM + add_tx_pre: MACRO \1_id:: dw \1 ENDM tx_pre_id: MACRO - ld a, (\1_id - TextPredefs) / 2 + 1 + ld a, \1_id ; - TextPredefs) / 2 + 1 ENDM tx_pre: MACRO -- cgit v1.3.1-sl0p