From: hotpulp AT netidea DOT com Newsgroups: comp.os.msdos.djgpp Subject: Re: DPMI Question Date: 20 Dec 1996 02:06:40 GMT Organization: iSTAR internet Incorporated Lines: 12 Message-ID: <59csbg$58k@nr1.ottawa.istar.net> References: NNTP-Posting-Host: login052.nelson.netidea.com 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 Eli Zaretskii wrote: > > On 18 Dec 1996, Guido Pinkas wrote: > > > What does this DPMI_lock_memory - Function do,I found in some > > sample-programs ?? > > It causes the specified region of memory to never be swapped out of > memory by the virtual memory mechanism. When would I want to lock data or code? Just when I need to rely on something always being there? could I lock the video buffer?