From: "Johan Venter" Newsgroups: comp.os.msdos.djgpp References: <7ukvol$a00$1 AT news5 DOT svr DOT pol DOT co DOT uk> <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: 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 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