Date: Sun, 23 Feb 1997 19:21:35 +0200 (IST) From: Eli Zaretskii To: nikki cc: djgpp AT delorie DOT com Subject: Re: real mode calls pmode In-Reply-To: <5eppm3$2iq@flex.uunet.pipex.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 23 Feb 1997, nikki wrote: > well i tried copying the example code from this section and it sort of works. > it doesn't sigsegv all over the place, but after a while (when the code is > called by the hardware) it returns something about a tss error, and something > about rmcb problems and crashes. Please post your code whcih installs the callback. You are probably doing something wrong. One thing you should do is lock all the code and data in your callback; did you do that? If not, the easiest way to see if that's the problem is to set the `_CRT0_FLAG_LOCK_MEMORY' bit in the `_crt0_startup_flags' variable (the FAQ explains this in section 18.9). > rmcb = real mode call back? Yes. And tss = task state segment.