🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Reference for Smooth Animation Algorithm

#7181
From: sorrow
Date: Thu, 20 Jun 1991 20:34
22 lines
1620 bytes
Mouse cursors use two bit masks (monochrome) via XOR then an AND of a 
screen mask and a cursor mask.  The Logitech Mouse PRogrammer's Reference
describes this.  This is flicker free mostly because it is all done using
1-bit plane logic (monochrome).

As for good full screen animation, a technique called double buffering is
used, where you draw to hidden page while looking at another one, then you
swap pages when ready, etc.

As for solitaire, it seems to use a standard XOR technique much like the
mouse cursor.  If you have a Microsoft C or Borland compiler, look at the
getimage() and putimage() functions.  MSC is _getimage() and _putimage().

Brian
/*
Brian Hook -- MS-DOS Programmer for Contract
-----------------------------------------------------------------
"Seamus, that's my dog...I saw her today at the reception...sorry, sixTEEN
inches....better save the women and children first...but this one goes to 11!
..anymore of that plutonium nyborg?....there can be only ONE!....like a 
finger pointing to the moon....ease the seat back...one day closer to death
*/
Technical Details
Message-ID: <0094A6A5.297DC4E0@MAPLE.CIRCA.UFL.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!caen!uflorida!SORROW@MAPLE.CIRCA.UFL.EDU
References: <35850@mimsy.umd.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!caen!uflorida!SORROW@MAPLE.CIRCA.UFL.EDU
From: sorrow@oak.circa.ufl.edu
Newsgroups: comp.os.msdos.programmer
Subject: Re: Reference for Smooth Animation Algorithm
Message-ID: <0094A6A5.297DC4E0@MAPLE.CIRCA.UFL.EDU>
Date: 20 Jun 91 20:34:44 GMT
References: <35850@mimsy.umd.edu>
Sender: news@uflorida.cis.ufl.EDU
Reply-To: sorrow@oak.circa.ufl.edu
Organization: University of Florida CIRCA VAX Cluster
Lines: 22