From: Laurentiu Badea Newsgroups: comp.os.msdos.djgpp,comp.graphics.algorithms Subject: Re: VESA 2.0 and NEAR PTR Date: Sun, 16 Mar 1997 11:17:46 +0200 Organization: Numerical Methods Laboratory Lines: 17 Message-ID: <332BBABA.2AFCB9CC@lmn.pub.ro> References: <33232BE7 DOT 2F3D AT nada DOT kth DOT se> <3327780b DOT 7631253 AT news DOT erols DOT com> <332820B9 DOT 6C1B AT nada DOT kth DOT se> NNTP-Posting-Host: heineken.lmn.pub.ro Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Niklas wrote: > > > the _only_ problem with this code is that it doesn't put a pixel on > screen as it should. > You should subtract DS base add from the linear address to get an usable pointer. Laurentiu Badea -- --------------------------------------------------------------------- | Laurentiu Badea, byte AT lmn DOT pub DOT ro | | student at PUB, | | Computer Science Dept. http://www2.lmn.pub.ro/~byte/ | ---------------------------------------------------------------------