Article View: comp.sys.amiga.tech
Article #12929Boing! demo
From: Brett Bourbin
Date: Wed, 31 May 1989 14:48
Date: Wed, 31 May 1989 14:48
32 lines
2089 bytes
2089 bytes
I was wondering how the first Boing! demo did the movement of the
ball? I know that the program draws the ball in small increments, in different
colors, and then uses color rotations to make the ball spin.
I have heard that the demo changed the copper list to alter the
starting location of the bitplanes holding the ball image to move it up and
down. Is this true, and if so, does it alter the hardware copper list on the
fly or the ViewPort and MakeVPort(), MrgCop(), LoadView()?
The reason I ask is because I need to write a program that uses a
specialized user copper list that changes the background color every scanline.
After the list is built, it needs to rotate the colors up and down the screen
to simulate motion. Now, if there was a copper instruction to move a value
from a table or location into one of the hardware color registers, then there
would not be a problem. What I feel I must do now is alter the hardware list
for each of the MOVE #nnnn,COLOR00 entries.
Can I legally create a View and build my own copper list and place
its address in the structure, so a call to LoadView() will display my tricks,
or should I use UCopper instructions to wait for the first line, change the
color, wait for the second line, etc? If I do it this way, can I legally
search for MY color register 0 changes and alter the hardware list on the
fly?
[It is so hard not to go directly to the hardware when you know you can
solve the task in a matter of minutes by doing so. 8^) ]
--
--Brett S Bourbin, Instructional Computing Programs -- Univ of Maryland
Computer Science Center, College Park, MD 20742
INTERNET: brett@umd5.umd.edu BIX: brettb DELPHI: brettb
Technical Details
Message-ID:
<4946@umd5.umd.edu>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!haven!umd5!brettShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!haven!umd5!brett From: brett@umd5.umd.edu (Brett Bourbin) Newsgroups: comp.sys.amiga.tech Subject: Boing! demo Message-ID: <4946@umd5.umd.edu> Date: 31 May 89 14:48:41 GMT Reply-To: brett@umd5.umd.edu (Brett Bourbin) Organization: University of Maryland, College Park Lines: 32