Mail Archives: djgpp/1996/12/02/20:40:02
Charles Sandmann wrote:
> No, no, no. In a hardware interrupt you have no information about the state
> of the DJGPP program or any way to change it. So you don't know the EIP (if
> you did, you could use lots of tricks to transfer control) and making
> the app CS illegal will puke the DPMI. You have to be very careful messing
> with the app DS also - which is why the DS alias exists.
I was thinking about using a TSS as a source of information about
CS:EIP. Wouldn't it be possible to store a pointer to the last tasks's
TSS in some place accessible for the HW handler, and then take all the
data you need from the TSS? In a non-multitasking environment like DOS
it should be quite possible.
--
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
>From the delequeue to the regiment, a profession in a flash. But
remember Monday signings when from door to door you dash... On the
news the nation mourns you - Unknown Soldier count the cost: for a
second you'll be famous but labeled posthumous... Forgotten Sons...
<A HREF="http://ananke.amu.edu.pl/~grendel">Home page</A>_____________
- Raw text -