www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/23/12:28:56

Date: Sun, 23 Feb 1997 19:21:35 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: nikki <nikki AT gameboutique DOT co>
cc: djgpp AT delorie DOT com
Subject: Re: real mode calls pmode
In-Reply-To: <5eppm3$2iq@flex.uunet.pipex.com>
Message-ID: <Pine.SUN.3.91.970223191613.2534C-100000@is>
MIME-Version: 1.0

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019