Hi CJ,
you count in odd ways...

> current PSP offset 29/30 has E7 0B.  Reverse the byte order provides
> Segment BE6.  Deduct 1 = AF2.

You probably wanted to say "subtract 1 from 0be7 to get 0be6", but
you should not... the PSP is at be7, not be6.

So your offsets (I would have preferred to use hexadecimal ones)
shift by 16 (decimal) and you get "at offset 0c and 0d", which is
"the segment value of the stored int 22 termination vector", as
shown in Ralf Brown's Interrupt List at D-2126. However, this does
not always work, as the int 22 can be at a segment inside the parent
program, not necessarily at the beginning.

Nice try but no improvement of the current approach ;-).

Eric



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to