diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-03 22:57:43 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-03 22:57:43 -0400 |
commit | 053afc46349952688c0ce2116cc76f8d4733895e (patch) | |
tree | ccbb87aa466a88496ad80062d705efe8b62be026 /macros | |
parent | 6ef36800b0dcb86100a7c716172015667e60dc99 (diff) |
Move more code from home.asm to home/
Diffstat (limited to 'macros')
-rw-r--r-- | macros/predef.asm | 25 |
1 files changed, 4 insertions, 21 deletions
diff --git a/macros/predef.asm b/macros/predef.asm index fda42004..d86582d1 100644 --- a/macros/predef.asm +++ b/macros/predef.asm @@ -1,13 +1,3 @@ -predef_const: MACRO - const \1PredefID -ENDM - -add_predef: MACRO -\1Predef:: - db BANK(\1) - dw \1 -ENDM - predef_id: MACRO ld a, (\1Predef - PredefPointers) / 3 ENDM @@ -22,17 +12,6 @@ predef_jump: MACRO jp Predef ENDM -tx_pre_const: MACRO - const \1_id -ENDM - -add_tx_pre: MACRO -\1_id:: dw \1 -ENDM - -db_tx_pre: MACRO - db (\1_id - TextPredefs) / 2 + 1 -ENDM tx_pre_id: MACRO ld a, (\1_id - TextPredefs) / 2 + 1 @@ -47,3 +26,7 @@ tx_pre_jump: MACRO tx_pre_id \1 jp PrintPredefTextID ENDM + +db_tx_pre: MACRO + db (\1_id - TextPredefs) / 2 + 1 +ENDM |