You are obviously writing a memory manager to keep the amount of RAM your program uses small and to use the disk instead. On UNIX-like platforms you don't need to do this because the operating system does it for you.
BTW: Do DJGPP and/or EMX do this, too?
If you are using CWSDPMI as your DPMI host, DJGPP does it by default (up to 128MB or 256MB of virtual ram) - however it can be disabled (For games and such). PMODETSR (another DPMI host) does NOT provide virtual memory. If you run your program from Windows it will obviously provide swap space.
I dont know about EMX but I would presume that it does the same thing.
________________________ e-mail: bernie@icenet.com.au | _) | | ptschirrenb@cc.curtin.edu.au |___)ernhard |_|schirren tschirre@cs.curtin.edu.au www: www.geocities.com/CollegePark/Quad/8070/