Date: Tue, 21 Dec 1993 09:25:15 +0100 From: terra AT diku DOT dk To: peprbv AT cfa0 DOT harvard DOT edu Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: critical error routine Hi! > static char handler[16] = > { > 0x81, 0xe7, 0x7f, 0, /* and di,7f */ > 0x47, /* inc di */ > 0x2e, 0x89, 0x3e, 0xe, 0, /* mov cs:[0eh],di */ > 0xb8, 3, 0, /* mov ax,3 */ > 0xcf, /* iret */ > 0,0 /* storage for error code */ > }; I may be remembering this wrong, but shouldn't you call one of the no-stacks-used calls of Dos in order to make Dos stable again? I think Borland Pascal uses a call to "get verify flag". Morten Welinder terra AT diku DOT dk