Mail Archives: djgpp/1999/08/29/13:53:14
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 -