www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/29/13:53:14

Date: Sun, 29 Aug 1999 14:24:50 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: John Scott Kjellman <jkjellman AT ameritech DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: How to check the carry flag? (long)
In-Reply-To: <36CA5518.D0C535A5@ameritech.net>
Message-ID: <Pine.SUN.3.91.990829142229.9438d-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Tue, 16 Feb 1999, John Scott Kjellman wrote:

> Is there some way to install a real mode handler without
> using the wrapper code?

Since the real-mode handler is called from real-mode, it cannot be a 
simple PM code located at a PM address, above 1MB mark, because real-mode 
addresses cannot express anything beyond 1MB.  You need either to copy 
your code into a buffer allocated in conventional memory, or use the DPMI 
function to allocate a callback, which is kind of wrapper (it switches 
the CPU into PM and calls your handler).

- Raw text -


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