summaryrefslogtreecommitdiff
path: root/macros.asm
diff options
context:
space:
mode:
authorU-Fish-PC\Daniel <corrnondacqb@yahoo.com>2014-04-17 21:06:43 -0400
committerU-Fish-PC\Daniel <corrnondacqb@yahoo.com>2014-04-17 21:06:43 -0400
commit47e2465df1a3f69a43ff2ff67141b581a59cc003 (patch)
tree7da6482890d3d4202adec23a8ed735bf34fce128 /macros.asm
parent4fa4b95128c5ebd654b6b875f832d109a69824b0 (diff)
rst $28 -> farcall
Diffstat (limited to 'macros.asm')
-rwxr-xr-xmacros.asm11
1 files changed, 11 insertions, 0 deletions
diff --git a/macros.asm b/macros.asm
index 247c9a2..219cb27 100755
--- a/macros.asm
+++ b/macros.asm
@@ -2,6 +2,17 @@ RGB: MACRO
dw (\3 << 10 | \2 << 5 | \1)
ENDM
+bank1call: MACRO
+ rst $18
+ dw \1
+ENDM
+
+farcall: MACRO
+ rst $28
+ db BANK(\1)
+ dw \1
+ENDM
+
emptybank: MACRO
rept $4000
db $ff