Mail Archives: djgpp/1997/05/08/18:32:15
John M. Aldrich (fighteer AT cs DOT com) wrote:
: - You can test the available physical memory on your system by
: attempting to lock successively larger blocks of memory until
: _go32_dpmi_lock_data() fails. This is basically what Quake does when it
: loads.
How do you know when they fail? There is no information on return value in
the docs, so presumably there's a flag somewhere?
BTW In the docs for _go32_dpmi_lock_data(), the first line of the
description is inaccurate; it's copied from the _go32_dpmi_lock_code()
description and says the function locks an area of code (should read
`data', I think).
--
George Foot <mert0407 AT sable DOT ox DOT ac DOT uk>
Merton College, Oxford
- Raw text -