delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/04/00:47:24

From: Matthew Grantz <mgrantz AT mail DOT utexas DOT edu>
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
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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.

- Raw text -


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