From: Matthew Grantz Newsgroups: comp.os.msdos.djgpp Subject: Finding the calling stack from an interrupt? Date: Thu, 02 Oct 1997 20:01:22 -0500 Organization: The University of Texas at Austin, Austin, Texas Lines: 8 Message-ID: <343443E0.70B16C8B@mail.utexas.edu> NNTP-Posting-Host: resnet-35-159.dorm.utexas.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hello. How does one locate the information about the CPU state before an interrupt call while within the handler? More specifically, I want the origional state of the registers (all of them) at the time the interrupt was called, or at least to know how DJGPP stores them. It seems that DJGPP gives each interrupt handler a new stack, and I don't WANT it to do this, but I don't know how to avoid it, so I just want to be able to access the stack of the location where the interrupt occured. Thanks.