From: Matthew Kennedy Newsgroups: comp.os.msdos.djgpp Subject: Locking entire program in memory? Date: Sat, 08 Mar 1997 23:05:00 +1000 Organization: University of Southern Queensland Lines: 17 Message-ID: <332163FC.592C@mail.connect.usq.edu.au> Reply-To: q9522772 AT mail DOT connect DOT usq DOT edu DOT au NNTP-Posting-Host: 139.86.24.68 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp NOTE: I've read all the FAQ on DPMI (lock,unlock linear region), I know how to program under DPMI and fool around with interrupts etc. I've got a sophisticated 'real-time' program (with lots of ISR hooking etc) and I'd like to lock the ENTIRE program (code,data - everthing) out of virtual memory disk swaps. How can I perform this? Currently I only lock out the code/data that is critical - but I can't lock out the other libraries like standard I/O. I know the programs memory requirements are well under the amount of available physical memory. BTW, I'm not keen on modifiy the DJGPP source etc to do this. Help greatly appreciated, Matt