summaryrefslogtreecommitdiff
path: root/macros.asm
diff options
context:
space:
mode:
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