Date: Sun, 29 Aug 1999 14:24:50 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: John Scott Kjellman cc: djgpp AT delorie DOT com Subject: Re: How to check the carry flag? (long) In-Reply-To: <36CA5518.D0C535A5@ameritech.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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).