NetDisk/driverwrapper.asm

21 lines
222 B
NASM
Raw Permalink Normal View History

2018-08-09 01:12:03 +00:00
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