🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #7324

Animation in CGA (Yeah, CGA...)

#7324
From: David E Nettles
Date: Tue, 25 Jun 1991 17:58
24 lines
1457 bytes
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
Technical Details
Message-ID: <1991Jun25.175820.5054@sbcs.sunysb.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!udel!sbcs.sunysb.edu!eeserv1.ic.sunysb.edu!dnettles

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!udel!sbcs.sunysb.edu!eeserv1.ic.sunysb.edu!dnettles
From: dnettles@eeserv1.ic.sunysb.edu (David E Nettles)
Newsgroups: comp.os.msdos.programmer
Subject: Animation in CGA (Yeah, CGA...)
Message-ID: <1991Jun25.175820.5054@sbcs.sunysb.edu>
Date: 25 Jun 91 17:58:20 GMT
Sender: usenet@sbcs.sunysb.edu (Usenet poster)
Organization: State University of New York at Stony Brook
Lines: 24
Originator: dnettles@eeserv1.ic.sunysb.edu
Nntp-Posting-Host: eeserv1.ic.sunysb.edu