Date: Thu, 13 Jun 1996 09:15:23 +0200 (IST) From: Eli Zaretskii To: snarfy AT goodguy DOT goodnet DOT com Cc: djgpp AT delorie DOT com Subject: Re: Getting pre-interrupt register values in a DPMI hw_interrupt? In-Reply-To: <4pnecj$669@news1.goodnet.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 12 Jun 1996 snarfy AT goodguy DOT goodnet DOT com wrote: > I need to get and save the register values inside a DPMI hw_interrupt. > The values I need though are the values that were there 'before' the > interrupt occured. Under DPMI, some of the registers change and the > stack gets switched (4k locked stack?) and I have no idea how to get > and save the old stack register values or the old cs:eip as well as > any other registers that get changed. I need to do this in a timer > interrupt, btw. I have the interrupt working correctly, I just don't Please explain more about what do you want to use the registers' values for. Generally, if you post a question and don't get an answer for a few days, it usually means that the questions weren't specific enough. Telling a bit more about your problem or posting a sample code should make your problem more clear and get some response.