home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: alt.sys.amiga.demos
- Path: sparky!uunet!mcsun!news.funet.fi!funic!nntp.hut.fi!nntp!mknip
- From: mknip@niksula.hut.fi (Mats Anders Knip)
- Subject: Re: Music and Code from Demos
- In-Reply-To: jxp@dcs.ed.ac.uk's message of 12 Nov 92 10:07:32 GMT
- Message-ID: <MKNIP.92Nov13142322@superman.hut.fi>
- Sender: usenet@nntp.hut.fi (Usenet pseudouser id)
- Nntp-Posting-Host: superman.cs.hut.fi
- Organization: Helsinki University of Technology, Finland
- References: <MKNIP.92Nov5110420@silver-surfer.hut.fi> <1992Nov05.155826.9766@crash>
- <MKNIP.92Nov9165110@blob.hut.fi> <BxLLGL.uF@dcs.ed.ac.uk>
- Date: 13 Nov 92 14:23:22
- Lines: 48
-
- >> For example - let's imagine you have got a 1000-pixel wide bitmap that
- >> you want to scroll from left to right. On the PC, each frame you copy
- >> 200*320 (= 64k) bytes from memory to the graphics-handler (right?),
- >> which takes a LOT of CPU time. You can't even make a 50hz scroll on a
- >> slower PC. (the C64 could do that...poor work, PC-designers!)
-
- >Ah, but the C64 could only do it on a character mapped screen.
- >Try it with the bitmap mode!
-
- So? That's exactly what I was trying to explain. When scrolling a
- c64-char-screen there are 1000 bytes to be moved, on the VGA there are
- 64000. Besides, if scrolling at 1pix/frame the moves only had to
- be made every 8th frame on the c64 because of the (surprise)
- finescroll register. The PC has no finescroll register -> scrolling
- is a pain in the ass. If it had, everybody would be happy.
-
- > And anyway, that's the display DMA that does that. Is it
- > Agnus that does DMA? That's what's responsible for modulos.
-
- Yes, and the copper updates the display DMA.
-
- > And when you want a block-mapped screen, do you unfold the
- > *lot* at the start, into a Megs worth of screen data? At some point, in
- > real time, you need to blit blocks about. It's the blitter that's fast in the
- > Amiga!
-
- Not quite true. You can make a damn fast scroller on the Amiga without using
- the blitter (not that you would, of course, but it's possible) compared
- to the amount of time a it would take on a PC. Thanks to the display DMA.
- Yes, the blitter is fast, but putting a blitter only into a PC wouldn't
- make it nearly as sofisticated as the Amiga. What makes the Amiga so
- superb is that by using all coprocessors together you archive incredible
- stuff.
-
- > A=>D copy uses every other cycle, and on a 4-bitplane lo-res
- > screen, steals every positive clock edge from the 68000 for chipmem access.
- > If you've got a 4-colour lo-res screen, A->D is essentially free.
- > Of course, you have to include the overhead for setting up the blitter.
-
- While a AorDandC=>D leaves nearly no time to the 68000 at all.
- --
-
- *=-------------------------------------------------------=*=----------------=*
- * E-Mail: mknip@niksula.cs.hut.fi * *
- * Helsinki University of Technology / * *
- * department of Computer Science * *
- *=-------------------------------------------------------=*=----------------=*
-
-