Article View: alt.msdos.programmer
Article #10Problem with changing an interrupt...
From: David Carlson
Date: Wed, 28 Oct 1992 22:27
Date: Wed, 28 Oct 1992 22:27
19 lines
1016 bytes
1016 bytes
Hi all, I've encountered the following problem: After changing the address of the divide by zero interrupt in the interrupt vector table to an address containing my replacement code, I attempted to test it by dividing by zero. This results in an infinite loop of my replacement code. However, if I directly interrupt with an assembler INT 00H instruction, it works fine. Does anyone know why this is? What makes INT 00H different from a real divide by zero? Any help is appreciated--please E-mail, as I don't read this newsgroup regularly... Thanks, David (carlson@ucunix.san.uc.edu)
Technical Details
Message-ID:
<Bwurq1.4M3@ucunix.san.uc.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!news.cs.indiana.edu!babbage.ece.uc.edu!ucunix.san.uc.edu!carlsonShow Full Headers
Complete Article Headers
Newsgroups: alt.msdos.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!news.cs.indiana.edu!babbage.ece.uc.edu!ucunix.san.uc.edu!carlson From: carlson@ucunix.san.uc.edu (David Carlson) Subject: Problem with changing an interrupt... Message-ID: <Bwurq1.4M3@ucunix.san.uc.edu> Organization: University of Cincinnati Date: Wed, 28 Oct 1992 22:27:37 GMT Lines: 19