summaryrefslogtreecommitdiff
path: root/constants.asm
diff options
context:
space:
mode:
Diffstat (limited to 'constants.asm')
-rw-r--r--constants.asm7
1 files changed, 5 insertions, 2 deletions
diff --git a/constants.asm b/constants.asm
index 2bcb0d223..ce9e5ffe2 100644
--- a/constants.asm
+++ b/constants.asm
@@ -1,5 +1,8 @@
_CRYSTAL EQU 1
+FarCall EQU $08
+Bankswitch EQU $10
+
dwb: MACRO
dw \1
db \2
@@ -16,13 +19,13 @@ bigdw: MACRO
callab: MACRO
ld hl, \1
ld a, BANK(\1)
- rst $08
+ rst FarCall
ENDM
callba: MACRO
ld a, BANK(\1)
ld hl, \1
- rst $08
+ rst FarCall
ENDM
TX_RAM: MACRO