...
Code Block |
---|
macro extcall (offset, bank)
if \% = 2 ; only generate code if offset and bank is specified
rst 28h ; EXTCALL <address>
defw \offset
defb \bank
else
error "EXTCALL: missing or incomplete address"
endif
endmacro
extcall $C000,$FE ; (a RST 28H followed by 24bit address) |
...