delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/21/11:27:23

From: "Johan Venter" <jventer AT writeme DOT com>
Newsgroups: comp.os.msdos.djgpp
References: <7ukvol$a00$1 AT news5 DOT svr DOT pol DOT co DOT uk> <BypP3.553$zO DOT 17217 AT dfiatx1-snr1 DOT gtei DOT net> <7ulo3f$5kb$1 AT news4 DOT svr DOT pol DOT co DOT uk>
Subject: Re: nearptr enabled?
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Message-ID: <j2BP3.291$we.606@newsfeeds.bigpond.com>
Date: Thu, 21 Oct 1999 17:41:58 +1000
NNTP-Posting-Host: 139.134.162.154
X-Trace: newsfeeds.bigpond.com 940498191 139.134.162.154 (Thu, 21 Oct 1999 19:29:51 EST)
NNTP-Posting-Date: Thu, 21 Oct 1999 19:29:51 EST
Organization: Telstra BigPond Internet Services (http://www.bigpond.com)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hammy <darren AT grayce DOT freeserve DOT co DOT uk> wrote in message
news:7ulo3f$5kb$1 AT news4 DOT svr DOT pol DOT co DOT uk...
> i would do it a safe way, but I dont understand it.  Besides, I hear it was
> slower using the farpokey things

It's not really. Use the far* functions and the dosmemput function.

If you really want to use the nearptr hack however, look up the function
__djgpp_nearptr_enable and add the _djgpp_conventional_base variable to your
video pointer.

--
Johan Venter
ICQ 3643877 - jventer AT writeme DOT com
The TPU DJGPP Interest Group - http://surf.to/djgppig
The RSXNTDJ 1.5 HOWTO - http://surf.to/rsxntdj


- Raw text -


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