Message-ID: <3841F815.D954AA11@interlog.com> From: Alan Illeman X-Mailer: Mozilla 4.04 [en] (Win95; U) MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Newbie tries to plot a pixel and fails :) References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 11 Date: Sun, 28 Nov 1999 22:50:45 -0500 NNTP-Posting-Host: 154.11.82.94 X-Trace: cac1.rdr.news.psi.ca 943847026 154.11.82.94 (Sun, 28 Nov 1999 22:43:46 EST) NNTP-Posting-Date: Sun, 28 Nov 1999 22:43:46 EST To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com James Migel wrote: > > Hi all, I'm trying to work my way through the DJGPP tutorial on the game > programming megasite http://perplexed.com/GPMega/ and am having trouble > plotting a pixel. I have my code right I think... mode 13 starts and then it > is supposed to plot at x=25 y=25 color=25 but I see nothing... I thought [snip] How do you know if it starts, if you don't see anything. Your code is fine, for a real-mode Dos app but not for protected-mode in which DJGPP runs. Save yourself a lot of hassle and use Allegro (unless you're a gfx guru).