From f20356e9be515ec22c88c107adb4dcd5fb28f224 Mon Sep 17 00:00:00 2001 From: Irmen de Jong Date: Thu, 23 Feb 2023 23:06:20 +0100 Subject: [PATCH] `cx16.callfar` signature has been changed to be easier to use --- docs/source/programming.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/source/programming.rst b/docs/source/programming.rst index ba1864342..337cc9afa 100644 --- a/docs/source/programming.rst +++ b/docs/source/programming.rst @@ -908,7 +908,8 @@ callfar(bank, address, argumentword) -> uword ; NOTE: specific to cx16 targe Be aware that ram OR rom bank may be changed depending on the address it jumps to! The argumentword will be loaded into the A+Y registers before calling the routine. The uword value that the routine returns in the A+Y registers, will be returned. - NOTE: this routine is very inefficient so don't use it to call often. + NOTE: this routine is very inefficient, so don't use it to call often. Set the bank yourself + or even write a custom tailored trampoline routine if you need to. syscall(callnr), syscall1(callnr, arg), syscall2(callnr, arg1, arg2), syscall3(callnr, arg1, arg2, arg3) Functions for doing a system call on targets that support this. Currently no actual target