summaryrefslogtreecommitdiff
path: root/constants.asm
diff options
context:
space:
mode:
authorpadz <yenatch@github.com>2012-09-26 15:43:48 -0400
committerpadz <yenatch@github.com>2012-09-26 15:43:48 -0400
commit399a5ab171e75fff03b25ef35bbfd90521c3953a (patch)
tree5d839d049b001da6e69974f52195f3b57d84fac0 /constants.asm
parentea897c2a371d66b6f4fa1b07fb37d4a8b8f10edc (diff)
emergency fix
Diffstat (limited to 'constants.asm')
-rw-r--r--constants.asm12
1 files changed, 12 insertions, 0 deletions
diff --git a/constants.asm b/constants.asm
index be11efcc6..408cd884d 100644
--- a/constants.asm
+++ b/constants.asm
@@ -5,6 +5,18 @@ dwb: MACRO
db \2
ENDM
+callab: MACRO
+ ld hl, \1
+ ld a, BANK(\1)
+ rst $08
+ ENDM
+
+callba: MACRO
+ ld a, BANK(\1)
+ ld hl, \1
+ rst $08
+ ENDM
+
TX_FAR: MACRO
db $16
dw \1