Mail Archives: djgpp/1994/01/10/11:20:25
> The practical thing I want to ask is, is there a way to get go32 to not "go
> virtual", to only make available real memory?
Use the information in <dpmi.h> and <go32.h> to figure out the amount
of available physical memory, and limit yourself to a large fraction
(say, 80%) of that. You'll still need to access the memory at least
once to ensure that it's paged in the first time, and after that there
will be no need to page it out. You could also try using the DPMI
"lock pages" call, which will return Not Implemented in non-dpmi, and
an error if there isn't enough physical memory.
- Raw text -