Date: Thu, 25 Feb 93 09:42:37 EST From: DJ Delorie To: JMILLER AT chess DOT eisc DOT utoledo DOT edu Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: int86x problem >The line of code >int86x(128, regs, regs, segregs); >calls a TSR at 0x80 and works perfectly with Microsoft C. However, when >compiled with DJGPP, it fails with a exception 128 (0x80). Any clues as to >how this can be fixed? You have to teach go32 how to translate this request from 32-bit mode into 16-bit mode. You will need to change exphdlr.c in the go32 source area. Note that 32-bit applications NEVER refer to the segment registers. DJ