Mail Archives: djgpp/1996/06/12/22:19:21
Xref: | news2.mv.net comp.os.msdos.djgpp:4896
|
From: | snarfy AT goodguy DOT goodnet DOT com (Snarfy AT GoodNet DOT Com)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Getting pre-interrupt register values in a DPMI hw_interrupt?
|
Date: | 12 Jun 1996 21:55:31 GMT
|
Organization: | Telesoft Corporation.
|
Lines: | 19
|
Message-ID: | <4pnecj$669@news1.goodnet.com>
|
NNTP-Posting-Host: | goodnet.com
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Hello. It's been about a month since I asked this question without any
responses so I thought I would post again.
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
know how to get these values.
Thanks!
Josh
snarfy AT goodnet DOT com
- Raw text -