www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/10/17:01:07

From: "Charles Sandmann" <sandmann AT clio DOT rice DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: protected mode
Date: Fri, 10 Apr 1998 14:28:52
Organization: Aspen Technology, Inc.
Lines: 10
Message-ID: <352e2ca4.sandmann@clio.rice.edu>
References: <6ghffn$l02 AT bgtnsc02 DOT worldnet DOT att DOT net>
Reply-To: sandmann AT clio DOT rice DOT edu
NNTP-Posting-Host: dmcap2.aco.aspentech.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

> to be working fine. My question is are there any red flags in this
> function that I am not seeing.

>      if (__djgpp_nearptr_enable())
..
>        __djgpp_nearptr_disable();

These two functions are fairly slow.  Once your code is working in a
stable manner I would suggest ifdefing/removing these two calls and
putting a single call to nearptr_enable someplace early in your code.

- Raw text -


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