From: "Andrew R. Gillett" Newsgroups: comp.os.msdos.djgpp Subject: Re: [Allegro] Small Question Date: Sat, 9 Jun 2001 22:25:34 +0100 Organization: www.release-dates.co.uk Lines: 17 Message-ID: References: NNTP-Posting-Host: modem-534.turkish-angora.dialup.pol.co.uk X-Trace: newsg4.svr.pol.co.uk 992121900 15516 217.134.126.22 (9 Jun 2001 21:25:00 GMT) NNTP-Posting-Date: 9 Jun 2001 21:25:00 GMT X-Complaints-To: abuse AT theplanet DOT net X-Newsreader: MicroPlanet Gravity v2.30 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In comp.os.msdos.djgpp, Brent Ritchie wrote: > I Was just wondering I want to make a dot on the screen but it dosent > want to show up here is my code: Your problem is that you are drawing the bitmap to b, but b is a memory bitmap, it's separate from the screen. If you want to draw to the screen, specify screen in putpixel as the bitmap instead of b - or copy the contents of b to the screen using blit. (Most graphical programs write their graphics to a memory bitmap then copy that bitmap to the actual screen, so that the entire screen is updated simultaneously) -- Andrew Gillett http://argnet.fatal-design.com/ ICQ: See homepage US videogame release dates at: http://www.release-dates.com/