[comp.os.msdos.programmer] Animation in CGA

dnettles@eeserv1.ic.sunysb.edu (David E Nettles) (06/26/91)

I used to be a C64 hack a few years back and remember that when I wanted
to do animation (fullscreen bitmap) all I had to do was allocate 2 
separate buffers in RAM and while one was being displayed, draw the next
frame in the other buffer.  Then to display the other buffer, all I would
have to do is change the pointers to the bitmap area.  Real simple.


Well, according to my TC 2.0 and TP 5.5 books, I cannot do this in CGA!!!
They say that there is only ONE graphics page available in CGA, but other
graphics modes seem to have at least TWO.


But I find hires 3D animation demos and programs (like Stellar-7 and
numerous commercial flight simulators) that animating rather quickly.


So, is there a simple pointer I can adjust so I can flip between buffers?
Or will I have to do bitmap copies?
Or is there another option?

		Thanks in advance!
		-
			-- David