www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/05/10:55:35

Date: Tue, 5 Nov 1996 17:35:39 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Ronen Friedman <ronenp AT netvision DOT net DOT il>
Cc: djgpp AT delorie DOT com
Subject: Re: floating-point & locking questions
In-Reply-To: <327e3403.118637832@news.netvision.net.il>
Message-Id: <Pine.SUN.3.91.961105173112.2535F-100000@is>
Mime-Version: 1.0

On Mon, 4 Nov 1996, Ronen Friedman wrote:

> 1- I would like to avoid the need to lock my interrupt handlers. Actually,
>    I would like to prevent paging all together. I have seen a comment that
>    using _crt0_startup_flags |= _CRT0_FLAG_LOCK_MEMORY in my
>    main() will do the trick. How can that be?

Magic ;-)

> when are these flags checked?

This particular flag is checked by the DJGPP startup code.  If the bit is 
set, the entire program is locked in memory.

> 2 - I would like to use a debugger on my program. Thus, I would like
>    to use the wmemu floating point emulator. Trying to compile it for
>    DJGPP 2.0 failed (certain files were missing - probably from the main

Don't give up that fast, the problem must be fairly simple.  Just don't 
throw in the towel, read the error message(s) you get and try to 
understand them.  If you cannot figure this out, post the exact messages 
(or, better still, a complete script of the build process) and someone 
will help you.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019