summaryrefslogtreecommitdiff
path: root/macros.asm
diff options
context:
space:
mode:
Diffstat (limited to 'macros.asm')
-rwxr-xr-xmacros.asm8
1 files changed, 8 insertions, 0 deletions
diff --git a/macros.asm b/macros.asm
index ad8938b..1e00305 100755
--- a/macros.asm
+++ b/macros.asm
@@ -13,6 +13,14 @@ farcall: MACRO
dw \1
ENDM
+; used when the specified bank does not match the bank of the specified function
+; otherwise, farcall is preferred
+farcallx: MACRO
+ rst $28
+ db \1
+ dw \2
+ENDM
+
emptybank: MACRO
rept $4000
db $ff