delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/06/11/08:27:58

Message-Id: <4.2.0.58.20010611122001.01b8c2b0@ics.u-strasbg.fr>
X-Sender: muller AT ics DOT u-strasbg DOT fr
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58
Date: Mon, 11 Jun 2001 13:13:36 +0200
To: djgpp-workers AT delorie DOT com
From: Pierre Muller <muller AT cerbere DOT u-strasbg DOT fr>
Subject: Interrupt 0x24 problem ?
Mime-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com

   If I read the CVS sources correctly
Interrupt 0x24 (and possibly 0x23)
are not disabled when exiting from a DJGPP
program.
See CVS in src/libc/go32, files
exceptn.S and dpmiexcp.c



   But the exit code disables the 32 code selector
that is used for this interrupt, which means that this interrupt
will point to an invalid location
until the OS restores the previous values...

   Isn't this a potential source of crashes ?




According to Ralph Brown
Interrupt Index

Interrupt 0x24

callout or callback (usually hooked rather than called)

Category: D - DOS kernel

Inp.:
Notes:	invoked when a critical (usually hardware) error is encountered by DOS
	  (see #02543); should never be called directly
	when DOS terminates a program, it copies the previous value of the
	  INT 24 vector out of the PSP (see #01378) and into the interrupt
	  vector table
SeeAlso: INT 21/AH=95h

INT 24

Copied from Ralf Brown's Interrupt List






Pierre Muller
Institut Charles Sadron
6,rue Boussingault
F 67083 STRASBOURG CEDEX (France)
mailto:muller AT ics DOT u-strasbg DOT fr
Phone : (33)-3-88-41-40-07  Fax : (33)-3-88-41-40-99

- Raw text -


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