delorie.com/archives/browse.cgi | search |
Date: | Thu, 31 Jul 1997 09:48:50 +0000 ( ) |
From: | "Gurunandan R. Bhat" <grbhat AT unigoa DOT ernet DOT in> |
To: | anfamily AT sprintmail DOT com |
Cc: | djgpp AT delorie DOT com |
Subject: | Re: Total newbie question |
In-Reply-To: | <33e75373.3392190@news.shani.net> |
Message-Id: | <Pine.LNX.3.91.970731094532.762B-100000@aditya.unigoa.ernet.in> |
Mime-Version: | 1.0 |
On Mon, 04 Aug 1997 19:25:12 -0700, Ionicis <anfamily AT sprintmail DOT com> wrote: > > Ok, how do you even put a stinkin' white pixel on the screen with djgpp > (using C) without any gfx libs? if you are in mode 13h and want to put a pixel in "colour" at (x,y) try this. i wouldn't know how to make it stink though. #include <sys/farptr.h> #include <go32.h> _farpokeb(_dos_ds, 0xa0000 + y*320 + x, color);
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |