Mail Archives: djgpp/1998/03/03/03:49:50
On Mon, 2 Mar 1998, Doug Otis wrote:
> Does anyone have a DPMI interface
> that does not use the MMU so that the translation would be just base +
> offset?
AFAIK, this is impossible: protected mode always uses the MMU.
> Is there a function that has access to the Page Directory and
> Page Table to perform the translation under DJGPP?
I'm not sure, but even if it is possible, you will need to run under a
ring-zero DPMI server, such as CWSDPR0, which allows to use priviledged
instructions that access the page directory and associated data
structures. Using CWSDPR0 means you don't have virtual memory.
> At first blush, it
> seems possible to disable paging if only one program (DOS) uses the VM
> mode.
I'm not sure I follow you. What does paging have to do with logical-to-
physical address translation?
- Raw text -