home *** CD-ROM | disk | FTP | other *** search
- Nntp-Posting-Host: holmenkollen.ifi.uio.no
- Newsgroups: alt.sys.amiga.demos
- Path: sparky!uunet!mcsun!sunic!aun.uninett.no!nuug!ifi.uio.no!larshaug
- From: larshaug@ifi.uio.no (Lars Haugseth)
- Subject: Re: Music and Code from Demos
- Message-ID: <1992Nov13.125706.13991@ifi.uio.no>
- Sender: larshaug@ifi.uio.no (Lars Haugseth)
- Organization: Dept. of Informatics, University of Oslo, Norway
- References: <MKNIP.92Nov5110420@silver-surfer.hut.fi> <1992Nov05.155826.9766@crash> <MKNIP.92Nov9165110@blob.hut.fi> <BxLLGL.uF@dcs.ed.ac.uk>
- Date: Fri, 13 Nov 1992 12:57:06 GMT
- Lines: 41
- Originator: larshaug@holmenkollen.ifi.uio.no
-
-
- In article <BxLLGL.uF@dcs.ed.ac.uk>, jxp@dcs.ed.ac.uk (Joe Potter) writes:
- > In article <MKNIP.92Nov9165110@blob.hut.fi>, mknip@niksula.hut.fi (Mats Anders Knip) writes:
- > > The copper, my dear PC-user, is what makes the Amiga so superior to
- > > the PC when it comes to (among other things) scrolling and color-
- > > cycling. The copper (Graphics CoProcessor) takes care of all bitmap
- > > and color handling, and has direct access to chip-mem by DMA.
- >
- > Makes cups of tea as well? :-)
- >
- > > If you want to do anything with the screen, tell the copper about
- > > it, and it takes care of it all. (well, almost...)
- >
- > Don't forget the blitter!
- >
- > > 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!
-
- This can be done! You can have seen any demos or games on the C64 for
- some years 8) All you have to do is some serious timing and poking the
- $D011 register at the right cycle. If you do this right, the whole screen
- will be moved to the right, and the bytes that is moved off on the right
- side, reappears on the left. With this technique you can "easily" make
- a fast bitmap scroller. It's possible in both X and Y direction.
- (Y is a bit harder).
-
- +-----------------------------------------------------------+
- | Lars Haugseth +-+
- | Dept. of Informatics, <larshaug@ifi.uio.no> | |
- | University of Oslo, Norway | |
- | | |
- | If idiots could fly, this would be an airport... | |
- +-+---------------------------------------------------------+ |
- +-----------------------------------------------------------+
-
-