Mail Archives: djgpp-workers/1998/07/27/10:30:31
On Mon, 27 Jul 1998, Salvador Eduardo Tropea (SET) wrote:
> I know I can hook the int 31 and look for int 21 calls but that isn't good
> because in this case we are inside an interrupt routine and we can't longjmp
> out of it.
But the DJGPP's debug support already does exactly that, so it's
possible.
> The only way I think could work is allowing the program to choose between
> ending with an int 21 or longjmp'ing somewhere. That's a very complex stuff,
> can somebody explain the djgpp exit sequence?
I think hooking the PM Int 21h and watching for function 4Ch is all you
need to catch the child when it exits. That's what DJGPP debug support
does already.
- Raw text -