Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!mailrus!iuvax!uceng!mfinegan From: mfinegan@uceng.UC.EDU (michael k finegan) Newsgroups: comp.lang.c Subject: Re: cont...256 colors in C... Message-ID: <5969@uceng.UC.EDU> Date: 1 Sep 90 16:22:56 GMT References: <90243.111720TTH102@psuvm.psu.edu> Organization: Univ. of Cincinnati, College of Engg. Lines: 7 The 256 color mode uses a look up table (palette) to get 256 colors out of 2^6 possible colors. The turboC 'environment' probably changes the palette, maybe making a range of LUT entries 0. Try saving the palette on entering your program, setting default or desired palette, then restoring palette on exit. That should be pretty portable :-). - Mike mfinegan@uceng.uc.edu