Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!uunet!zephyr.ens.tek.com!uw-beaver!ubc-cs!alberta!herald.usask.ca!ccu.umanitoba.ca!bison!sys6626!marco From: marco@sys6626.bison.mb.ca (Marco) Newsgroups: comp.sys.atari.st.tech Subject: Can't get Setpallete() to work. Message-ID: Date: 24 Apr 91 20:22:44 GMT Organization: system 6626 BBS, Winnipeg MB Lines: 29 Here's the code I've been trying to use to blank (black) my screen: ---------------------------------------------------------------------- #include #include main() { int i, pal; for (i=0;i<16;i++) pal = i; Setpallete(pal); } --------------------------------------------------------------------- I have tried everything, the spelling, everything. Am I totally on the wrong track with this (the purpose, by the way, is to blank the screen to prevent burn in). The above program just inverts the screen, when I click on the Control panel ACC it is re-inverted back to black on white and the first color in the pallete is set all 3 bars at the top. When I pull them down the screen goes white on black and running the program does nothing. Any suggestions? /-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\ *John Perry; Voice #-204/783-0812; Internet: * *marco%sys6626.bison.mb.ca@niven.cc.umanitoba.ca * *---------------------------------------------------------* * "It is an old maxim of mine that when you have excluded * * the impossible, whatever remains, however improbable, * * must be the truth." -Sir Arthur Conan Doyle * \-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-/