home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.pascal
- Path: sparky!uunet!munnari.oz.au!newsroom.utas.edu.au!bruny.cc.utas.edu.au!u910826
- From: u910826@bruny.cc.utas.edu.au (Louis siuoL)
- Subject: Re: Faking millions of colors out of 16, and so on
- Message-ID: <u910826.724300353@bruny>
- Sender: news@newsroom.utas.edu.au
- Organization: University of Tasmania, Australia.
- References: <1992Dec12.234840.199@athena.mit.edu> <dmurdoch.228.724214491@mast.queensu.ca>
- Date: Mon, 14 Dec 1992 02:32:33 GMT
- Lines: 35
-
- dmurdoch@mast.queensu.ca (Duncan Murdoch) writes:
-
- >In article <1992Dec12.234840.199@athena.mit.edu> acgoldis@athena.mit.edu (Andrew C Goldish) writes:
- >>According to the Borland 6 graphics package and the rules for my monitor, one can
- >>set the sixteen colors in the palette to be different things with the
- >>SetRGBPalette command. Is there any way one can print sixteen colors, change one
- >>of the values, and print a 17th color on the screen without having the pixel
- >>originally in the color that was changed change to the new color?
-
- >Only if you're very fast. The EGA or VGA hardware standard that the 16
- >colour modes are using is only able to display 16 different colours
- >simultaneously. However, pixels only get updated on the screen 50 or 60
- >times per second. If you like, you can change the palette after a pixel has
- >been drawn, write a different pixel in a 17th colour, and change palette the
- >back by the time the card refreshes the first pixel.
-
- very possible, I just did that in a 256 colour mode, producing 728 colours on screen. (on any vga, with an 8mhz or more AT).
-
- >Soon after the EGA came out there was a program published in PC Magazine
- >that could use this technique to display 64 colours simultaneously on a 6
- >Mhz AT; I'd guess a modern PC would have enough time left over to get some
- >useful work done at the same time it was flipping the palette around like
- >this.
-
- [stuff deleted]
-
- >Duncan Murdoch
- >dmurdoch@mast.queensu.ca
-
- Louis
- --
- Louis Solomon - a student at The University of Tasmania
- e-mail: u910826@bruny.cc.utas.edu.au
-
- "If wishes were fishes, we'd all cast nets" - Dune
-