Mail Archives: djgpp/2000/06/11/06:53:33
> > > V86 was invented because it allowed to use more than 640KB of memory,
> > > by remapping some of the extended memory into the unused addresses
> > > between 640K and 1MB.
> >
> > I don't understand what V86 has to do with remapping of memory.
>
> It turns on the MMU, without which this remapping is impossible.
No, I think you're mistaken. Switching to V86 does *not* turn on the
MMU. The only thing you need for running a V86 task is 32-bit ISRs for
H/W interrupts. If you need to remap, you have to setup the page
tables and turn on the MMU yourself.
> > It's related to the MMU and V86 has nothing to do with the MMU.
>
> Then please explain why remapping extended memory into the region between
> 640K and 1MB is impossible in plain real mode.
Because the MMU isn't active. It doesn't work in real mode. OTOH, what
you said would be one of the options that the OS developer could
add (and is generally implemented). But this doesn't happen
automatically. The OS ultimately will have to find out where and how
much of the 640K and 1M it can give to real mode programs.
> In other words, having V86 doesn't make the PM and DOS coexistence any
> simpler, at least not by a large margin.
It doesn't make it simpler. Not a doubt about that. But it does add
protection to your system.
- Raw text -