Mail Archives: djgpp/1998/08/09/12:19:52
On Sun, 9 Aug 1998, Nate Eldredge wrote:
> > This program compiled and ran as I expected, changing the display into
> > VGA
> > mode. I thought you had to switch to real-mode to execute an interrupt, or
> > is
> > that done in this case by the DPMI server??
>
> I believe that an interrupt is issued in real mode if there is no
> protected mode handler for it. I'm not sure of this, however. The DPMI
> spec might discuss it.
AFAIK, the DPMI spec *requires* that. Even if not, that is how things
work in practice.
But issuing the interrupt via __dpmi_int is safer in some borderline
cases such as INT 2Fh under Windows etc.
- Raw text -