www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/13/02:21:14

Date: Thu, 13 Jun 1996 09:15:23 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
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: <Pine.SUN.3.91.960613091211.8264L-100000@is>
Mime-Version: 1.0

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019