www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/07/17:51:34

To: mausolus AT ican DOT net
Cc: djgpp AT delorie DOT com
Subject: Re: VGA question
Message-ID: <19970207.174431.4511.1.fwec@juno.com>
References: <01bc14c1$4d90a520$0cb0f8ce AT 698130>
From: fwec AT juno DOT com (Mark T Logan)
Date: Fri, 07 Feb 1997 17:37:53 EST

On 7 Feb 1997 06:39:51 GMT "Ian Mausolus" <mausolus AT ican DOT net> writes:
>Does anybody know how to achieve double buffered animation in VGA 
>(320x200
>256 colors)? 

Implenting a double buffered system is very simple.  Just allocate
a block of memory big enough to hold one screen.  At 320x200x8bpp,
that would be 64K.  Then, you simply draw onto the buffer
instead of the screen, and when you are done drawing, just copy the
buffer to the screen, and start over for the next frame.


> Specifically I need to know how to select the pixel to 
>be
>displayed in the upper left corner of the display.

Sorry, I don't understand the question.

>
>Thanx,
>
>I. Mausolus
>
>P.S. What is allegro??
>

Allegro is a *very* cool programming library.  It has everything
you need (almost).  This includes a complete graphics library,
WAV and MIDI players, a FLC player, file I/O routines, a mouse,
keyboard, and joystick handler, and all sorts of other cool stuff.

-Fwec

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019