mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Move more code from home.asm to home/
This commit is contained in:
parent
6ef36800b0
commit
053afc4634
19 changed files with 2836 additions and 2854 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue