From: suganuma AT jaist DOT ac DOT jp (SUGANUMA yoshinori) Newsgroups: comp.os.msdos.djgpp Subject: Can I use 256 grayscale colors? Date: 12 Jun 1997 21:01:12 GMT Organization: Japan Advanced Institute of Science and Technology, Ishikawa, Japan Lines: 21 Message-ID: <5npo2o$k8v$1@jaist-news.jaist.ac.jp> NNTP-Posting-Host: isc-ws1.jaist.ac.jp Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hello. I would like to use 256 grayscale colors with djgpp. Is it possible? and are there any libraries to do so? I tried allegro2.2 with GFX_ET4000 gfx_mode, but I could only obtain 64 grayscale colors. e.g. set_gfx_mode(GFX_ET4000,640,480,0,0); for(c=0;c<256;c++){ pallete[c].r=c; pallete[c].g=c; pallete[c].b=c; } These palletes seem to repeat 64 grayscale colors for 4 times with my video card, ET-4000/W32 2Mram. Thanks. -- suganuma