KP2 KP2
2023-04-23 21:09:39 UTC
} Tell me, is Int 2Fh reentrant?
}(I already know that 21h isn't, but I can always hope that they learned
}better later...)
Depends on which function you call. Since we're talking about DOS, I'll
limit myself to 2F/11xx and 2F/12xx. The former depends on the network
redirector, the latter on which subfunction. The majority of the 2F/12xx
calls are reentrant, but those which perform equivalents of non-reentrant
DOS calls aren't. They get around DOS's non-reentrancy by using a different
stack frame, but there's only one alternate stack frame....
--
DISCLAIMER? Did | "Secrecy is the beginning of tyranny."
I claim something?| -- from the Notebook of Lazarus Long
good read.}(I already know that 21h isn't, but I can always hope that they learned
}better later...)
Depends on which function you call. Since we're talking about DOS, I'll
limit myself to 2F/11xx and 2F/12xx. The former depends on the network
redirector, the latter on which subfunction. The majority of the 2F/12xx
calls are reentrant, but those which perform equivalents of non-reentrant
DOS calls aren't. They get around DOS's non-reentrancy by using a different
stack frame, but there's only one alternate stack frame....
--
DISCLAIMER? Did | "Secrecy is the beginning of tyranny."
I claim something?| -- from the Notebook of Lazarus Long