Date: Mon, 10 Mar 1997 17:38:37 +0200 (IST) From: Eli Zaretskii To: Andrew Crabtree cc: billc AT blackmagic DOT tait DOT co DOT nz, djgpp AT delorie DOT com Subject: Re: RMCB Help In-Reply-To: <199703101417.AA263213463@typhoon.rose.hp.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 10 Mar 1997, Andrew Crabtree wrote: > I thought the > > #include > int _crt0_startup_flags = _CRT0_FLAG_LOCK_MEMORY > > did lock memory. Are you saying I need to explicitly call lock for the > functions and variables? No, if you included the above setting, all memory is locked. But you should make sure that it is indeed locked, since the startup code currently doesn't. It shouldn't be a problem with small programs and machines which aren't too tight on RAM, though. > Or is it the real mode memory I alloced that > its complaining about? AFAIK, you don't need to lock conventional memory at all, as it is never swapped out (or else DOS itself could be swapped out, which is an absolute no-no).