delorie.com/archives/browse.cgi | search |
From: | Endlisnis <s257m AT unb DOT ca> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Problem with following code |
Date: | Wed, 05 May 1999 17:00:37 -0400 |
Organization: | BrunNet |
Lines: | 20 |
Message-ID: | <3730B175.24F77BD5@unb.ca> |
References: | <8D53104ECD0CD211AF4000A0C9D60AE3013574DD AT probe-2 DOT acclaim-euro DOT net> <7ga082$fkb$1 AT hagen DOT cloud9 DOT co DOT uk> |
NNTP-Posting-Host: | ftnts2c33.brunnet.net |
Mime-Version: | 1.0 |
X-Mailer: | Mozilla 4.04 [en] (Win95; U) |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Michael Stewart wrote: > >This whole thing is an unnecessarily complex way to plot a pixel, > >though. You could rewrite it much more simply as: > > > > _farpokeb(_dos_ds, 0xA0000+offset, color); > > Or for maximum speed, enable near pointers (be careful, enabling near > pointers switches off _ALL_ memory protection in the DOS area!) Also, it will not work in WindowsNT (or 2000). -- (\/) Endlisnis (\/) s257m AT unb DOT ca Endlisnis AT HotMail DOT com ICQ: 32959047
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |