prog8/examples/test.p8
Irmen de Jong cd49c5f88d cx16: set rom bank to 0 at startup (for faster kernal API calls)
cx16: callfar() with constant address generates shorter asm
2024-09-28 20:58:29 +02:00

15 lines
286 B
Lua

%import textio
%zeropage basicsafe
%option no_sysinit
main {
sub start() {
uword @shared address = $C09F
ubyte @shared bank = 10
uword @shared argument = $1234
void callfar(bank, address, argument)
void callfar(10, $C09F, argument)
}
}