From: sandmann AT clio DOT rice DOT edu (Charles Sandmann) Message-Id: <9612030314.AA12943@clio.rice.edu> Subject: Re: Problem raising exceptions in tight loops To: grendel AT ananke DOT amu DOT edu DOT pl Date: Mon, 2 Dec 1996 21:14:52 -0600 (CST) Cc: djgpp AT delorie DOT com In-Reply-To: <32A373A3.6C6@ananke.amu.edu.pl> from "Mark Habersack" at Dec 3, 96 01:26:11 am Content-Type: text Content-Length: 712 > 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. Under DOS you can run with a ring 0 dpmi provider (cwsdpr0/pmode) in which case you don't swap stacks and do whatever you want. But you can't make windows easily do what you want, thus many features won't work at all under Windows/OS2/NT/etc and you end up with the V1.x problem: certain things don't work under DPMI. The standard libc stuff only depends on the DPMI spec, and nothing else.