Mail Archives: djgpp/1995/06/16/20:11:55
Sorry to be posting this to the listserv rather than the newsgroup, but
the newsgroup hasn't show up on my newsfeed yet.
First, as this is my first time posting to this list, I would like to say
a big thank you to DJ and the rest of the djgpp development team: it is a
great system.
Second, a question: is there any way to turn off go32's virtual memory?
I am writing a computer game which uses a lot of bitmap data, and I want
to write my own loader and discard routines becuase I can do this a lot
more efficiently than go32. Ideally I would like to be able to have
malloc only use physical memory, and return NULL when memory runs out.
Failing this, I need some way to check how much memory is left:
_go32_dpmi_remaining_physical_memory() seems to have problems with not
noticing when memory is allocated and freed. Does anyone know any
solutions to this problem (or will V2 provide a way to disable virtual
memory?).
Thanks...
Shawn Hargreaves "God is real, unless declared as integer."
http://www.york.ac.uk/~slh100/ ----------------------------------------
- Raw text -