From: mert0407 AT sable DOT ox DOT ac DOT uk (George Foot) Newsgroups: comp.os.msdos.djgpp Subject: Re: VGA question Date: Fri, 07 Feb 1997 11:37:35 GMT Organization: Oxford University Lines: 22 Message-ID: <32fb136d.4579780@news.ox.ac.uk> References: <01bc14c1$4d90a520$0cb0f8ce AT 698130> NNTP-Posting-Host: mc31.merton.ox.ac.uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp On 7 Feb 1997 06:39:51 GMT, "Ian Mausolus" wrote: >Does anybody know how to achieve double buffered animation in VGA (320x200 >256 colors)? Specifically I need to know how to select the pixel to be >displayed in the upper left corner of the display. Get Allegro. >P.S. What is allegro?? Allegro is something you should get. It's a games/graphics/sound/etc. programming library for DJGPP. It has extensive documentation, so download alleg211.zip and read about it :) Generally, using Allegro to do double-buffering, you would define a BITMAP *screenbuffer with the same dimensions as your video mode, and write to that. Then, every frame, blit that bitmap onto the screen. This should be reasonably simple if you read the relevant sections of allegro.txt. George Foot