Mail Archives: djgpp/1997/08/09/14:09:40
On Fri, 8 Aug 1997 16:23:00 GMT, "Hargreaves, Shawn"
<shawnh AT probe DOT co DOT uk> wrote:
>The problem with Allegro 1.x was probably because that was back before
>I learned about memory locking. If it started swapping to disk, kaboom!
>:-)
>The locking code was one of the first things I added in the transition to
>v2.0.
I;ve seen references to this before. And I;ve read that I must watch
out for it. But what is this memory swapping all about- for instance,
what sort of variables or data are threatened by diskswap? Pointers,
arrays? and how do I "lock down" my memory (malloc/new?!)
Please post in thread.
BTW, I've run a voxel demo made with Allegro on a 386sx with one meg
total RAM... and most incredible, in something like DOS 3.0! and it
ran fine. I was impressed.
I then tried to do some DJGPP compiling on this machine... takes about
5 minutes to compile a "Hello World!' program! I gave it an hour on a
real program; then gave up.
- Raw text -