delorie.com/archives/browse.cgi | search |
Date: | Sun, 11 Aug 1996 11:05:52 +0200 (IST) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
To: | patrick fox <web183 AT charweb DOT org> |
Cc: | djgpp AT delorie DOT com |
Subject: | Re: locking memory |
In-Reply-To: | <Pine.SOL.3.91.960809120842.27262A-100000@wilbur> |
Message-Id: | <Pine.SUN.3.91.960811110319.24678P-100000@is> |
Mime-Version: | 1.0 |
On Fri, 9 Aug 1996, patrick fox wrote: > Could anyone tell me a way that I can lock all of my code from paging out > to disk? I am using mixed C and assembly. Set the `_CRT0_FLAG_LOCK_MEMORY' bit in `_crt0_startup_flags'. These are described in the libc on-line reference. Another way is to use CWSDPR0 or PMODE/DJ as your DPMI server; these both disable virtual memory so your code and data stay paged in at all times.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |