Mail Archives: djgpp/1999/01/27/16:20:44
On Tue, 26 Jan 1999, Wolfy wrote:
> I am trying tto disable paging and access GDT to modify it using DJgpp and
> as.exe; Does anyone know how I can do that ?
On what operating system? If that's Windows, keep dreaming: Windows
will never let you do that, since it itself messes a lot with GDT and
the page tables (that's how it implements the Virtual Machines thing).
If this is limited to plain DOS, you will have to use CWSDPR0 and hack
it (probably a lot).
As for paging, if by that you mean disabling the virtual memory, then
this is specific to the DPMI server. For CWSDPMI, either use CWSDPR0
or point the swap file to a non-existent drive (see the documentation
of the CWSPARAM program). With Windows, I think it's impossible
(unless you disable VM entirely via the Control Panel).
Why do you need it, anyway?
- Raw text -