home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!comp.vuw.ac.nz!actrix!templar!jbickers
- From: jbickers@templar.actrix.gen.nz (John Bickers)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Chunky Pixel Mode for Low End Chip Set?
- References: <Karsten_Weiss.0n2o@ibase.stgt.sub.org> <1hbngoINNglt@uwm.edu>
- <jbickers.0m2n@templar.actrix.gen.nz> <72410@cup.portal.com>
- <1992Dec26.170503.14668@mpifr-bonn.mpg.de>
- <jbickers.0m3z@templar.actrix.gen.nz><1992Dec27.011313.18163@mpifr-bonn.mpg.de> <jbickers.0m50@templar.actrix.gen.nz><1992Dec27.155756.23491@mpifr-bonn.mpg.de> <jbickers.0m6w@templar.actrix.gen.nz><1992Dec28.000531.26783@mpifr-bonn.mpg.de> <jbickers.0m7s@templar.actrix.gen.nz>
- <1992Dec28.123142.5096@mpifr-bonn.mpg.de>
- Message-ID: <jbickers.0m96@templar.actrix.gen.nz>
- Date: 29 Dec 92 11:38:10 PST
- Organization: TAP
- Lines: 38
-
- Quoted from <1992Dec28.123142.5096@mpifr-bonn.mpg.de> by mlelstv@speckled.mpifr-bonn.mpg.de (Michael van Elst):
- > In <jbickers.0m7s@templar.actrix.gen.nz> jbickers@templar.actrix.gen.nz (John Bickers) writes:
-
- > > Yes it is. For a 320x200 screen it's a maximum of 64000 byte reads
- > > and writes with chunky pixels, supposing all pixels turned out to
- > > need replacing. How can you get better than that with planes?
- >
- > I didn't say: get better. They are about the same speed.
-
- How are they about the same speed? The easiest method I can think
- of, to make a mask of the pixels you need to change, then AND and
- OR the mask back in to get the new color, requires much more data
- movement.
-
- > > Any particular advantages? I can't think of any. If you want to
- > > draw a horizontal line to fill a shape, you don't have to mask off
- > > each end with chunky pixels. You do with bitplanes.
- >
- > Fortunately this is a no-time operation. :)
-
- Masking off each end takes no time? Really? How?
-
- > >> :) Hmm, the classic method is using Flood(). There's nothing that forbids
- > >> the graphics.library to access the hardware and use every optimization.
- >
- > > And it will (or should) be faster with chunky pixels than with
- > > planes! Chunky pixels rule ok!
- >
- > I can't see why it should be faster..
-
- Faster AND smaller. :) Hopefully at least the folks writing the OS
- routines will have access to hardware documentation, and thus be
- able to write code Amigans can be proud of.
-
- > Michael van Elst
- --
- *** John Bickers, TAP. jbickers@templar.actrix.gen.nz ***
- *** "Radioactivity - It's in the air, for you and me" - Kraftwerk ***
-