Article View: comp.sys.amiga.tech
Article #1882Re: Trying to do page-flipping style animation (HELP)
From: Rob Peck
Date: Fri, 27 Oct 1989 17:11
Date: Fri, 27 Oct 1989 17:11
30 lines
1483 bytes
1483 bytes
In article <1359@jimi.cs.unlv.edu> jack@jimi.cs.unlv.edu (Jack Alexander) writes:
>I am trying to do simple full screen animation by using page flipping.
>I am running into problems because I don't know how to re-assign bitmaps
> .....
>I've tried setting the screen's bitmap pointer to one of my bitmaps, but to
>no avail.
Here is what you might NOT be doing, but must do to make the new bitmap show:
Forbid();
/* HERE: modify the bitmap pointer for the your screen ("myscreen")
to point to your bitmap. Jim Mackraz code examples usually
put the Forbid() and Permit() here I believe to prevent
Intuition from remaking the display while you are fiddling
with internal data structures which would affect the
display. User could pull down a screen just when you are
munging the pointers and the task running the screen
recreation could get a wierd value for the bitmap pointer.
*/
Permit();
MakeScreen(myscreen);
RethinkDisplay();
Rob Peck
Technical Details
Message-ID:
<8866@ardent.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!uwm.edu!lll-winken!ubvax!ardent!peck!rapReferences:
<1359@jimi.cs.unlv.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!uwm.edu!lll-winken!ubvax!ardent!peck!rap From: rap@peck.ardent.com (Rob Peck) Newsgroups: comp.sys.amiga.tech Subject: Re: Trying to do page-flipping style animation (HELP) Message-ID: <8866@ardent.UUCP> Date: 27 Oct 89 17:11:52 GMT References: <1359@jimi.cs.unlv.edu> Sender: news@ardent.UUCP Reply-To: rap@peck.ardent.com (Rob Peck) Organization: Ardent Computer Corp., Sunnyvale, CA Lines: 30