summaryrefslogtreecommitdiff
path: root/macros.asm
diff options
context:
space:
mode:
authorU-Fish-PC\Daniel <corrnondacqb@yahoo.com>2014-04-25 07:37:07 -0400
committerU-Fish-PC\Daniel <corrnondacqb@yahoo.com>2014-04-25 07:37:07 -0400
commitf0fbb79f0b5ec5f183f9278e5c76c697dea4e2f9 (patch)
treee96cc4b74d83791dabe74228a7caa61ffb4b7a07 /macros.asm
parentd91420900672470c72d4219b520758024c1cdb7c (diff)
rst $28 -> farcallx
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