Mail Archives: djgpp/1993/12/21/04:09:00
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
- Raw text -