Mail Archives: djgpp/1997/02/07/17:51:34
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 -