Mail Archives: djgpp/1998/04/26/08:46:28
In article <35421A78 DOT 20A4 AT bergen DOT mail DOT telia DOT com>,
john DOT kismul AT bergen DOT mail DOT telia DOT com wrote:
>
> I've created this game with DJGPP, but whenever I try to run it
> through Windows95 it complains about that there's not enough DPMI
> memory available, even though I've got 60MB available.
> It runs fine through DOS with 40MB available.
>
DJGPP programs use virtual memory when they run out of
physical memory.
I assume that your program is doing a voluntary exit
because a function you wrote decided there is not enough memory to continue.
If so, it depends how you got the available memory.
If you use go32 to report the number of free physical pages,
then be aware that this value is not guaranteed to be correct under
all DPMI servers, and windows might be reporting -4096k to your function.
(If you reply by email, please reply to jmorris AT calderauk DOT com, as usa.net
seems to have had a major crash.)
> Anyone got any suggestions?
>
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/ Now offering spam-free web-based newsreading
- Raw text -