Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!mcnc!decwrl!uunet!proto!joe From: joe@proto.com (Joe Huffman) Newsgroups: comp.graphics Subject: Re: How to display more than 16 colors in EGA ?? Message-ID: <1991Apr30.160439.15313@proto.com> Date: 30 Apr 91 16:04:39 GMT References: <12675@uhccux.uhcc.Hawaii.Edu> <1991Apr28.180038.10097@proto.com> <12731@uhccux.uhcc.Hawaii.Edu> Distribution: usa Organization: Prototronics @ Sandpoint, Idaho Lines: 24 sharik@wiliki.eng.hawaii.edu (Harikrishnan Sundararaghavan) writes: >Say it is a VGA emulating EGA ( or VGA itself ) Is it possible to show more >than 16 colors in the hi-resolution modes. Some boards have modes of operation that allow this quite easily. Others do not (assuming hi-resolution means > 320 x 200). On the ones that do not it can probably still be done 'the hard way'. But I feel that it will probably result in unsatisfactory results. Here is a program that will display 64 simulataneous colors in mode 3 (80 x 25 text mode0) I believe the same technique can be used in most of the graphics modes but note the jitter on the first line of every horizontal band when the palette is changed. Also note that one whole line is black between bands... --- begin 644 egapalet.com MZP$B_+@# ,T0N "XCL I_[#;MQDHY+,(N0H \ZO^Q/[+=?7^SW7MBCX" ;K: M [A ([8^RCDLP'Z[*@(=/KLJ AU^^S0Z'/[_LMT!^S0Z'+[Z_"Y" "RP(C@ G) ?NB.#N_L3B]+ @[K+:B/N _$!UTXL.&@ [#AP =+FX P#-$,T@ end -- joe@proto.com