From 7272d9bb8a84106c877ced52d0d85fb8287936f1 Mon Sep 17 00:00:00 2001 From: Rangi Date: Mon, 1 Dec 2025 13:57:15 -0500 Subject: Comment that `farcall` and `callfar` are interchangable --- macros/farcall.asm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/macros/farcall.asm b/macros/farcall.asm index ead11739..4418ea6d 100644 --- a/macros/farcall.asm +++ b/macros/farcall.asm @@ -1,3 +1,10 @@ +; Far calls to another bank + +; There is no difference between `farcall` and `callfar`, except the arbitrary +; order in which they set `a` and `hl` before calling `FarCall`. +; We use the more natural name "farcall" for the more common order. +; The same goes for `farjp` and `jpfar`. + MACRO farcall ld b, BANK(\1) ld hl, \1 -- cgit v1.3.1-sl0p