Mail Archives: djgpp-workers/2001/06/11/08:27:58
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 -