NetDisk/driverwrapper.asm
2018-08-08 20:12:03 -05:00

21 lines
222 B
NASM

case on
dummy private
end
DriverWrapper start
pea $0000 ; direct page pointer
phd
pha ; call number
jsl DriverDispatch
tay ; set carry based on return value
bne err_ret
clc
rtl
err_ret sec
rtl
end