summaryrefslogtreecommitdiff
path: root/constants.asm
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2013-01-27 11:58:29 -0800
committerBryan Bishop <kanzure@gmail.com>2013-01-27 11:58:29 -0800
commitc7755935fa281a633f85c1c79effa66ddf50796f (patch)
treeab7e67f25f44ac8e3358fdea2db479938dcd0aeb /constants.asm
parent35682de426c14eb18da736464ebf718927ef393e (diff)
parenta687ec48c6666d2a0ff75cb6056e9cd00bd65f37 (diff)
Merge pull request #94 from yenatch/master
Labelface the rst commands.
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