summaryrefslogtreecommitdiff
path: root/constants.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2013-01-25 03:42:39 -0500
committeryenatch <yenatch@gmail.com>2013-01-25 03:42:39 -0500
commita687ec48c6666d2a0ff75cb6056e9cd00bd65f37 (patch)
tree400c89f62a0a8ca1745288574fe907d62be529ef /constants.asm
parent4ef85af828ce925c0e744168a4143d3ed1db990d (diff)
give names to some 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