delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/01/23:23:35

Message-ID: <37CDE127.C6C7F5EF@unb.ca>
From: Endlisnis <s257m AT unb DOT ca>
X-Mailer: Mozilla 4.61 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Nearptr putpixel method?
References: <199908242311 DOT TAA09745 AT delorie DOT com> <7q0kfa$rot$1 AT news DOT adamastor DOT ac DOT za> <7q19jj$ajq$1 AT news DOT adamastor DOT ac DOT za> <7qcucs$78c$1 AT solomon DOT cs DOT rose-hulman DOT edu> <37cb760e DOT 9341261 AT newsserver DOT cc DOT monash DOT edu DOT au> <37CC1600 DOT E9ABA4A0 AT cyberoptics DOT com>
Lines: 23
Date: Thu, 02 Sep 1999 02:29:58 GMT
NNTP-Posting-Host: 198.164.188.189
X-Trace: news20.bellglobal.com 936239398 198.164.188.189 (Wed, 01 Sep 1999 22:29:58 EDT)
NNTP-Posting-Date: Wed, 01 Sep 1999 22:29:58 EDT
Organization: Sympatico
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Eric Rudd wrote:

> Davin McCall wrote:
>
> > >It brings with it general
> > >protection faults, page faults, and other things that, if you use nearptr,
> > >are your fault, up to and including data loss.
> > I successfully used the nearptr "hack" when writing a game last year.
> > Most programming erros (access violations etc) were still caught, and I
> > certainly didn't suffer any data loss.
> I haven't had any success in using this under NT, and I am curious if anyone
> else has managed to write directly to video memory under NT.

    I think if you make a special selector just for that LFB, then it will work
under NT.

--
     (\/) Endlisnis (\/)
          s257m AT unb DOT ca
          Endlisnis AT HotMail DOT com
          ICQ: 32959047


- Raw text -


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