Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!ox.com!math.fu-berlin.de!ira.uka.de!fauern!unido!mcshh!abqhh!drdhh!bjoern From: bjoern@drdhh.hanse.de (Bjoern Kriews) Newsgroups: comp.sys.atari.st.tech Subject: Re: Can't get Setpallete() to work. Message-ID: <3014.05.91@drdhh.hanse.de> Date: 1 May 91 08:40:14 GMT References: Organization: Digital Island Lines: 27 From article , by marco@sys6626.bison.mb.ca (Marco): > ---------------------------------------------------------------------- > #include > #include > > main() > { > int i, pal; /* pal[16] */ > for (i=0;i<16;i++) > pal = i; /* pal[i] = 0; */ > Setpallete(pal); > } or for(i=0;i<16;++i) Setcolor(i,0); But this will never blank a mono monitor - with color it will do. Be sure to restore the old color values, get them with old=Setcolor(x,-1); hth, Bjoern --- bjoern@drdhh.hanse.de = Bjoern Kriews / Stormsweg 6 / 2000 Hamburg 76 / FRG "gaaga mahwe Bjoern urgl ufzae Turbo-C bnub" (J. Willamowius)