💾 Archived View for mirrors.apple2.org.za › archive › apple.cabi.net › Graphics › FINDCOLOR.SHR.GS.S… captured on 2024-06-16 at 14:00:35.

View Raw

More Information

⬅️ Previous capture (2023-01-29)

-=-=-=-=-=-=-


                          Pick Super Hires Color
                          (C) 1989 Clinton Wong
                              --Freeware--


--Purpose--

  This program is designed to modify the red/blue/green register of the
super hires screen and show it on the screen.  Once you've found the color
of your choice, press a key and it'll tell you the number that represents
the color.

--Compatabily--

  This works fine on my rom 01 IIgs, but it might not on the newer versions.
This is mostly due to the fact that I was a bit lazy in some areas, such as
writing a constant number to an address that is supposed to be treated with
read-modify-write.  (Like placing $C1 into $C029)

--Program operation--

  When first executed, the screen will blank out and it'll wait for you to
press something.  Here are the keys:

Key       Purpose
------------------------------------------------------------------------------
 1        screen mode to super-hires
 2        screen mode to text
 r        color mode to red
 g        color mode to green
 b        color mode to blue
 c        clear the current color
 q        quit
 +        add to color
 -        take from color

 Note: the red, blue, and green modes along with clear and quit have to be
       entered in lower case to be understood.  Another one of my lazy
       program designs.  Also, the plus and minus have to be entered as such,
       so it is easier to use the plus and minus keys on the numeric keypad.


 While in text mode, one of the important things on the screen are the numbers
that represent the color on the screen.  It looks like the following:

 RGB  Current color: R
0FB1

  This means that the red register has "F" in it, the green has "B" in it, and
blue has "1" in it.  (Hex of course)  This is the main purpose of the program,
to give the user the number that represents the color.


--Disclaimer--

  Most bugs have been taken care of, but one is never sure.  The only disk
routines used was the quit code, so it shouldn't eat up your hard drive.
Don't use this program if you want to sue for "accidental" program dammage.

--Communication--

  I can be reached on America Online under the handle of PsychoPunk.  I can
also be contacted at

 Clinton D. Wong
 P.O. Box 433
 Gurnee, IL 60031

  Donations, comments, or questions, please direct them to this address.
Be on the lookout for demos and other programs to be released by myself in
the near future.  (Good animation and sound are to be expected)

--Work--

  It didn't take much effort to do this, only an hour or so.  Some might ask
themselves, "why did he release a simple and useless program like this?"
I don't have many tech manuals, and my knowledge of IIgs programming is
lower than usual.  (Most of my programs are a mixture of 16 bit and 8 bit
instructions.)  Not to mention that my library of programs are somewhat
low for the IIgs.  Thus, I was in need of determining the number that
represents a color but lacked the program to do so.  I hope my limited
knowledge of IIgs toolbox calls and instructions won't make future program
quality to suffer.  Hopefully, there are others in my shoes who are also
in need of such a program.  If you don't need such, feel free to save yourself
the disk space.  Other than that, enjoy! :)