Mail Archives: djgpp/1998/06/02/19:38:35
Eli Zaretskii wrote:
>
> On Tue, 2 Jun 1998, ToolsSmith wrote:
>
> > I want to build some protected mode services that are callable via
> > software interrupts from real-mode applications. These protected mode
> > services, because of their potential size, need to reside in extended
> > memory. This must be transparent to the real-mode MS-DOS applications.
>
> Please explain more what exactly do you want to accomplish. And example
> of an application that needs this would be nice. Specifically, please
> tell what protected-mode services would you like to access from the
> real-mode program.
We have a large real-mode application compiled in a LARGE memory model
using Microsoft C 6.0a. From this application we want to make a
real-mode software interrupt (e.g. INT 10) to a protected mode handler
resident in extended memory. We are not permitted to modify the existing
real-mode application in any manner. It is the intent that this
real-mode application NOT be aware that it is using protected mode
services located in extended memory. All this in an MS-DOS V6.22
environment.
So, using the DJGPP tools the following questions arise:
- What DPMI services are required?
- Are any other services (e.g. himem.sys, emm386) required?
- What DPMI functions would a client need to use to install itself
in extended memory as an interrupt handler callable from real-mode?
- What would be needed to install multiple handers?
Thanks,
Steve
- Raw text -