home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / alt / sys / amiga / demos / 1508 < prev    next >
Encoding:
Internet Message Format  |  1992-11-10  |  2.6 KB

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