home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!uknet!edcastle!dcs.ed.ac.uk!jxp
- From: jxp@dcs.ed.ac.uk (Joe Potter)
- Newsgroups: alt.sys.amiga.demos
- Subject: Re: Music and Code from Demos
- Message-ID: <BxHzDH.M24@dcs.ed.ac.uk>
- Date: 10 Nov 92 11:17:40 GMT
- References: <MKNIP.92Nov5110420@silver-surfer.hut.fi> <1992Nov05.155826.9766@crash> <MKNIP.92Nov6113247@blob.hut.fi> <1992Nov06.161907.20975@crash>
- Sender: cnews@dcs.ed.ac.uk (UseNet News Admin)
- Organization: Department of Computer Science, University of Edinburgh
- Lines: 51
-
- In article <1992Nov06.161907.20975@crash>, tfinn@crash.cts.com (Aaron Grier) writes:
- > hmm... what exactly is copper? I'm aware that blitter is kind
- > of a background memory -> video data mover of some sort, but that's about
- > all I know.
-
- I suppose I'll hardly be alone in responding to this...
-
- Copper is a very rough abbreviation of CO-PRocessor. It's a very simple
- processor with three different instructions:
- WAIT for a bit-masked video beam position (accurate to 4 lo-res pixels,
- I think) e.g. wait for line 56, or wait for pos. (100,100), or even wait 'til the vertical
- beam's position value ends xx100
- MOVE an immediate data value into any chip register
- SKIP the next instruction if the video beam position is beyond the position
- specified in this command.
-
- By using SKIP followed by MOVE 0, COPJMP2 you can do loops.
-
- By the by, the blitter isn't just a display DMA handler, it's a general data
- manipulator. Three sources and one output of rectangular areaas of memory, shifts,
- masks, and minterm logical functions. It'll also perform fill operations as it's copying
- data, or can draw lines.
- Rectangular memory means you define the size of the block, and the width
- of the bigger block it's in:
- x x x x x x x x x x x x x x
- x x X X X X x x x x x x x
- x x X X X X x x x x x x x
- x x X X X X x x x x x x x
- x x x x x x x x x x x x x x
-
- Is a 4x3 block, address (Base+16), modulo 10.
- At the end of each line, the blitter adds the modulo value onto the address,
- thus moving to the next line. The bitplane DMA is done in the same way, allowing a
- huge playfield, with only a small section visible. Scrolling in O(1) time!
-
- > Well plasma on the IBM is currently done via palette cycling...
- > pretty fast and relatively easy to do (you've just got to do your code
- > right!)
-
- Yes, that's how you *animate* a plasma pic; how do you *draw* it?
-
- > Would someone kindly define what exactly copper and blitter plus
- > any other amy specifics are?
-
- I hope I've done that!
-
- > agrier@gompers.gompers.edu (real internet addy)
- > tfinn@crash.cts.com (UUCP address)
-
- Joe
- The man with no .sig
-