Mail Archives: djgpp/1996/12/31/02:58:32
Daniel Boyer wrote:
>
> I have a question: I am trying to "make" allegro while I am waiting
> for someone to tell me how to get grx20 to make... but when I try to
> it tells me "out of virtual memory" ... my question: How do I tell it
> where to access space for virtual memory? I have the temp directory
> line in djgpp.env set to d:/ (my eight meg ram drive) but it insist on
> using my c: drive (which is currently a 40MB Hard Drive (the 1.6 gig
> should arrive in the next few days, but I want to do some work until
> then) and is just about maxed out...) Could somebody please tell me
> how to make DJGPP use my ram disk for virtual memory. Daniel Boyer
That is not really a good idea. Think about it: the whole point of
virtual memory is to use your hard drive to simulate physical memory.
When you use a ramdrive, you are using physical memory to simulate hard
drive space. By using the ramdrive for virtual memory, you're running
the computer in a loop.
The ideal solution to your problem is to substantially lower the
ramdrive's memory usage. I can understand why you'd want to have plenty
of space for temp files, but under no circumstances should DJGPP ever
require more than a 4 meg ramdrive.
Try typing 'go32-v2' from the DOS prompt and look at the report. If you
have less than 8 MB total physical and virtual memory, you've got a
problem. Get rid of the extra ramdrive space and then see if your
programs work.
Another possibility occurred to me: are you running under Windows 3.1x
or Windows 95? If so, try increasing the amount of memory available to
DOS programs. For Win3.1, open the PIF Editor and edit _default.pif and
dosprmpt.pif to change all the maximum memory limits to -1. For Win95,
open the Control Panel (I think) and change the DPMI memory allocated to
DOS programs to 16 MB or more. (Hint: You can't select a value more
than 16 MB, but you can type in a value up to 64 MB.)
BTW, make sure you have the latest version of allegro, v2.11. 2.1 had a
bug in one of the video driver files that made it crash under the
less-permissive assembler of DJGPP v2.01.
--
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I | fighteer AT cs DOT com |
| Plan: To find ANYONE willing to | http://www.cs.com/fighteer |
| play Descent 2 on DWANGO! | Tagline: <this space for rent> |
---------------------------------------------------------------------
- Raw text -