Home » Archimedes archive » Archimedes World » AW-1996-07.adf » !Gamma_Gamma » !Gamma/Doc/Man_Text

!Gamma/Doc/Man_Text

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Archimedes World » AW-1996-07.adf » !Gamma_Gamma
Filename: !Gamma/Doc/Man_Text
Read OK:
File size: 13C1 bytes
Load address: 0000
Exec address: 0000
File contents
Gamma - Gamma correction for the Risc PC
=======================================

Why did I write Gamma?
----------------------
Basically, I was sick of having absolutely no colour correction software in
RISC OS even though the hardware has been capable of it since the release of
the Risc PC. This program is by no means perfect and I have a couple of ideas I
would like to add to it at some stage. It is however, much better than nothing
which is what we have had to put up with...

For the uninitiated here are some uses for display gamma correction:

1. Improve the appearance of the screen display.

2. Allow the monitor to take (some) account of inaccuracies in a colour
printers output so that images may be created/modified on screen which will
more closely reflect the printed versions.

3. Help with designing images which are to be transferred to another computer
platform for output. Recent Macs, for example, appear to have a default gamma
setting of around 1.70

4. Provide a nice easy to use software contrast/brightness control without you
having to fiddle with knobs on the monitor.

License details
---------------
The application Public Domain. While I retain copyright the program may be
distributed freely as long as it is not modified in any way and no charge is
made for it. The Relocatable module included with the application is provided
under a different (and more open) licensing agreement. See the file 'ModuleDoc'
for details.

Requirements
------------
Risc PC600 or 700 - probably the A7000 and later hardware too as long as it uses
a superset of RISC OS 3.50 and VIDC20 hardware.
The 'Drawfile' draw rendering module is required to display the example
drawfile.

Use
---
Provides simple colour correction for the screen display.

Load the application in the normal way - by double clicking. Click SELECT on
the icon bar icon to open the Gamma tools bar and the default modification
method window.

The Gamma tools bar
-------------------
This small window provides four icons currently.

From left to right:

The Display Curve modification window
-------------------------------------
This window allows you to deform the Colour curve by dragging control points
on a bezier curve. Turn the Combined option off to provide separate curves
for the Red, Green and Blue channels. Choose Reset all to reset to default
values. The three option buttons labelled R,G and B control display of the
Red,Green and Blue curves when Combined is off. It can often be useful to
turn�display�of one of the curves off while modifying another. The three
small Reset buttons allow you to reset the Red, Green or Blue channels
separately.

The Display�Gamma modification window
-------------------------------------
Use the bump arrows to alter the gamma curve. If the 'Combined' option is
turned on the Red, Green and Blue values will change together no matter which
of the bump arrows you use. Turning the Combined option off will allow you to
change the Red, Green and Blue gamma vales independently. The Reset button
will reset the curve to the default of 1.00 and turn the combined option on
again.

The Example drawfile window
---------------------------
This utilises the DrawFile module (if it is available) to display an example
drawfile in a window. It can be useful to have this window open while
modifying the settings.

The Save button
---------------
This opens a save dialogue allowing you to save the current settings.
To reload a Gamma file drag it to the Gamma application icon or one of the
programs windows.

In addition, clicking MENU over either the Display�Curve or Display�Gamma
windows will give you a small menu with the following items:


Save>File>
----------
This leads to a save dialogue box which is identical to the one opened by
clicking on the save button in the Gamma tools window.

Save>In !Boot
-------------
This will install the current gamma settings in your !Boot application with a
suitable section of code which will install the settings on machine reset.
This saves you having to load a particular gamma setting every time you reset
your machine/switch on.

Reset all
---------
This loads a default gamma file stored within the !Gamma application itself.

Contacting the Author
---------------------
If you wish to contact the author of this software, either to report a bug,
suggest new features, praise or (horrors!) criticise the program then the
preferred method is via email to:
rdavison@es.co.nz
or, failing that by snail mail to -

Rob Davison,
1RD Wyndham,
Southland
NEW ZEALAND

(yes, that really is my�address!)

Version History
---------------
0.01 - this program was descended from something written on the A440+PCATs
       colour card. Went nowhere.
0.02 - to PixelEyes and Are Leistad.
0.03 - to Jeremy Cook. Gamma code in a module.
     - used Compo SWI block because if a guy can't rip his own allocation
       then who's can he rip? :-)
0.05 - fixed curve min/max settings, added save, made toolbar behave properly.
0.06 - fixed small bug reported by Jeremy and crunched for release.
00000000  47 61 6d 6d 61 20 2d 20  47 61 6d 6d 61 20 63 6f  |Gamma - Gamma co|
00000010  72 72 65 63 74 69 6f 6e  20 66 6f 72 20 74 68 65  |rrection for the|
00000020  20 52 69 73 63 20 50 43  0a 3d 3d 3d 3d 3d 3d 3d  | Risc PC.=======|
00000030  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
*
00000050  0a 0a 57 68 79 20 64 69  64 20 49 20 77 72 69 74  |..Why did I writ|
00000060  65 20 47 61 6d 6d 61 3f  0a 2d 2d 2d 2d 2d 2d 2d  |e Gamma?.-------|
00000070  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 0a  |---------------.|
00000080  42 61 73 69 63 61 6c 6c  79 2c 20 49 20 77 61 73  |Basically, I was|
00000090  20 73 69 63 6b 20 6f 66  20 68 61 76 69 6e 67 20  | sick of having |
000000a0  61 62 73 6f 6c 75 74 65  6c 79 20 6e 6f 20 63 6f  |absolutely no co|
000000b0  6c 6f 75 72 20 63 6f 72  72 65 63 74 69 6f 6e 20  |lour correction |
000000c0  73 6f 66 74 77 61 72 65  20 69 6e 0a 52 49 53 43  |software in.RISC|
000000d0  20 4f 53 20 65 76 65 6e  20 74 68 6f 75 67 68 20  | OS even though |
000000e0  74 68 65 20 68 61 72 64  77 61 72 65 20 68 61 73  |the hardware has|
000000f0  20 62 65 65 6e 20 63 61  70 61 62 6c 65 20 6f 66  | been capable of|
00000100  20 69 74 20 73 69 6e 63  65 20 74 68 65 20 72 65  | it since the re|
00000110  6c 65 61 73 65 20 6f 66  0a 74 68 65 20 52 69 73  |lease of.the Ris|
00000120  63 20 50 43 2e 20 54 68  69 73 20 70 72 6f 67 72  |c PC. This progr|
00000130  61 6d 20 69 73 20 62 79  20 6e 6f 20 6d 65 61 6e  |am is by no mean|
00000140  73 20 70 65 72 66 65 63  74 20 61 6e 64 20 49 20  |s perfect and I |
00000150  68 61 76 65 20 61 20 63  6f 75 70 6c 65 20 6f 66  |have a couple of|
00000160  20 69 64 65 61 73 20 49  0a 77 6f 75 6c 64 20 6c  | ideas I.would l|
00000170  69 6b 65 20 74 6f 20 61  64 64 20 74 6f 20 69 74  |ike to add to it|
00000180  20 61 74 20 73 6f 6d 65  20 73 74 61 67 65 2e 20  | at some stage. |
00000190  49 74 20 69 73 20 68 6f  77 65 76 65 72 2c 20 6d  |It is however, m|
000001a0  75 63 68 20 62 65 74 74  65 72 20 74 68 61 6e 20  |uch better than |
000001b0  6e 6f 74 68 69 6e 67 0a  77 68 69 63 68 20 69 73  |nothing.which is|
000001c0  20 77 68 61 74 20 77 65  20 68 61 76 65 20 68 61  | what we have ha|
000001d0  64 20 74 6f 20 70 75 74  20 75 70 20 77 69 74 68  |d to put up with|
000001e0  2e 2e 2e 0a 0a 46 6f 72  20 74 68 65 20 75 6e 69  |.....For the uni|
000001f0  6e 69 74 69 61 74 65 64  20 68 65 72 65 20 61 72  |nitiated here ar|
00000200  65 20 73 6f 6d 65 20 75  73 65 73 20 66 6f 72 20  |e some uses for |
00000210  64 69 73 70 6c 61 79 20  67 61 6d 6d 61 20 63 6f  |display gamma co|
00000220  72 72 65 63 74 69 6f 6e  3a 0a 0a 31 2e 20 49 6d  |rrection:..1. Im|
00000230  70 72 6f 76 65 20 74 68  65 20 61 70 70 65 61 72  |prove the appear|
00000240  61 6e 63 65 20 6f 66 20  74 68 65 20 73 63 72 65  |ance of the scre|
00000250  65 6e 20 64 69 73 70 6c  61 79 2e 0a 0a 32 2e 20  |en display...2. |
00000260  41 6c 6c 6f 77 20 74 68  65 20 6d 6f 6e 69 74 6f  |Allow the monito|
00000270  72 20 74 6f 20 74 61 6b  65 20 28 73 6f 6d 65 29  |r to take (some)|
00000280  20 61 63 63 6f 75 6e 74  20 6f 66 20 69 6e 61 63  | account of inac|
00000290  63 75 72 61 63 69 65 73  20 69 6e 20 61 20 63 6f  |curacies in a co|
000002a0  6c 6f 75 72 0a 70 72 69  6e 74 65 72 73 20 6f 75  |lour.printers ou|
000002b0  74 70 75 74 20 73 6f 20  74 68 61 74 20 69 6d 61  |tput so that ima|
000002c0  67 65 73 20 6d 61 79 20  62 65 20 63 72 65 61 74  |ges may be creat|
000002d0  65 64 2f 6d 6f 64 69 66  69 65 64 20 6f 6e 20 73  |ed/modified on s|
000002e0  63 72 65 65 6e 20 77 68  69 63 68 20 77 69 6c 6c  |creen which will|
000002f0  0a 6d 6f 72 65 20 63 6c  6f 73 65 6c 79 20 72 65  |.more closely re|
00000300  66 6c 65 63 74 20 74 68  65 20 70 72 69 6e 74 65  |flect the printe|
00000310  64 20 76 65 72 73 69 6f  6e 73 2e 0a 0a 33 2e 20  |d versions...3. |
00000320  48 65 6c 70 20 77 69 74  68 20 64 65 73 69 67 6e  |Help with design|
00000330  69 6e 67 20 69 6d 61 67  65 73 20 77 68 69 63 68  |ing images which|
00000340  20 61 72 65 20 74 6f 20  62 65 20 74 72 61 6e 73  | are to be trans|
00000350  66 65 72 72 65 64 20 74  6f 20 61 6e 6f 74 68 65  |ferred to anothe|
00000360  72 20 63 6f 6d 70 75 74  65 72 0a 70 6c 61 74 66  |r computer.platf|
00000370  6f 72 6d 20 66 6f 72 20  6f 75 74 70 75 74 2e 20  |orm for output. |
00000380  52 65 63 65 6e 74 20 4d  61 63 73 2c 20 66 6f 72  |Recent Macs, for|
00000390  20 65 78 61 6d 70 6c 65  2c 20 61 70 70 65 61 72  | example, appear|
000003a0  20 74 6f 20 68 61 76 65  20 61 20 64 65 66 61 75  | to have a defau|
000003b0  6c 74 20 67 61 6d 6d 61  0a 73 65 74 74 69 6e 67  |lt gamma.setting|
000003c0  20 6f 66 20 61 72 6f 75  6e 64 20 31 2e 37 30 0a  | of around 1.70.|
000003d0  0a 34 2e 20 50 72 6f 76  69 64 65 20 61 20 6e 69  |.4. Provide a ni|
000003e0  63 65 20 65 61 73 79 20  74 6f 20 75 73 65 20 73  |ce easy to use s|
000003f0  6f 66 74 77 61 72 65 20  63 6f 6e 74 72 61 73 74  |oftware contrast|
00000400  2f 62 72 69 67 68 74 6e  65 73 73 20 63 6f 6e 74  |/brightness cont|
00000410  72 6f 6c 20 77 69 74 68  6f 75 74 20 79 6f 75 0a  |rol without you.|
00000420  68 61 76 69 6e 67 20 74  6f 20 66 69 64 64 6c 65  |having to fiddle|
00000430  20 77 69 74 68 20 6b 6e  6f 62 73 20 6f 6e 20 74  | with knobs on t|
00000440  68 65 20 6d 6f 6e 69 74  6f 72 2e 0a 0a 4c 69 63  |he monitor...Lic|
00000450  65 6e 73 65 20 64 65 74  61 69 6c 73 0a 2d 2d 2d  |ense details.---|
00000460  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 0a 54 68 65  |------------.The|
00000470  20 61 70 70 6c 69 63 61  74 69 6f 6e 20 50 75 62  | application Pub|
00000480  6c 69 63 20 44 6f 6d 61  69 6e 2e 20 57 68 69 6c  |lic Domain. Whil|
00000490  65 20 49 20 72 65 74 61  69 6e 20 63 6f 70 79 72  |e I retain copyr|
000004a0  69 67 68 74 20 74 68 65  20 70 72 6f 67 72 61 6d  |ight the program|
000004b0  20 6d 61 79 20 62 65 0a  64 69 73 74 72 69 62 75  | may be.distribu|
000004c0  74 65 64 20 66 72 65 65  6c 79 20 61 73 20 6c 6f  |ted freely as lo|
000004d0  6e 67 20 61 73 20 69 74  20 69 73 20 6e 6f 74 20  |ng as it is not |
000004e0  6d 6f 64 69 66 69 65 64  20 69 6e 20 61 6e 79 20  |modified in any |
000004f0  77 61 79 20 61 6e 64 20  6e 6f 20 63 68 61 72 67  |way and no charg|
00000500  65 20 69 73 0a 6d 61 64  65 20 66 6f 72 20 69 74  |e is.made for it|
00000510  2e 20 54 68 65 20 52 65  6c 6f 63 61 74 61 62 6c  |. The Relocatabl|
00000520  65 20 6d 6f 64 75 6c 65  20 69 6e 63 6c 75 64 65  |e module include|
00000530  64 20 77 69 74 68 20 74  68 65 20 61 70 70 6c 69  |d with the appli|
00000540  63 61 74 69 6f 6e 20 69  73 20 70 72 6f 76 69 64  |cation is provid|
00000550  65 64 0a 75 6e 64 65 72  20 61 20 64 69 66 66 65  |ed.under a diffe|
00000560  72 65 6e 74 20 28 61 6e  64 20 6d 6f 72 65 20 6f  |rent (and more o|
00000570  70 65 6e 29 20 6c 69 63  65 6e 73 69 6e 67 20 61  |pen) licensing a|
00000580  67 72 65 65 6d 65 6e 74  2e 20 53 65 65 20 74 68  |greement. See th|
00000590  65 20 66 69 6c 65 20 27  4d 6f 64 75 6c 65 44 6f  |e file 'ModuleDo|
000005a0  63 27 0a 66 6f 72 20 64  65 74 61 69 6c 73 2e 0a  |c'.for details..|
000005b0  0a 52 65 71 75 69 72 65  6d 65 6e 74 73 0a 2d 2d  |.Requirements.--|
000005c0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 0a 52 69 73 63 20  |----------.Risc |
000005d0  50 43 36 30 30 20 6f 72  20 37 30 30 20 2d 20 70  |PC600 or 700 - p|
000005e0  72 6f 62 61 62 6c 79 20  74 68 65 20 41 37 30 30  |robably the A700|
000005f0  30 20 61 6e 64 20 6c 61  74 65 72 20 68 61 72 64  |0 and later hard|
00000600  77 61 72 65 20 74 6f 6f  20 61 73 20 6c 6f 6e 67  |ware too as long|
00000610  20 61 73 20 69 74 20 75  73 65 73 0a 61 20 73 75  | as it uses.a su|
00000620  70 65 72 73 65 74 20 6f  66 20 52 49 53 43 20 4f  |perset of RISC O|
00000630  53 20 33 2e 35 30 20 61  6e 64 20 56 49 44 43 32  |S 3.50 and VIDC2|
00000640  30 20 68 61 72 64 77 61  72 65 2e 0a 54 68 65 20  |0 hardware..The |
00000650  27 44 72 61 77 66 69 6c  65 27 20 64 72 61 77 20  |'Drawfile' draw |
00000660  72 65 6e 64 65 72 69 6e  67 20 6d 6f 64 75 6c 65  |rendering module|
00000670  20 69 73 20 72 65 71 75  69 72 65 64 20 74 6f 20  | is required to |
00000680  64 69 73 70 6c 61 79 20  74 68 65 20 65 78 61 6d  |display the exam|
00000690  70 6c 65 0a 64 72 61 77  66 69 6c 65 2e 0a 0a 55  |ple.drawfile...U|
000006a0  73 65 0a 2d 2d 2d 0a 50  72 6f 76 69 64 65 73 20  |se.---.Provides |
000006b0  73 69 6d 70 6c 65 20 63  6f 6c 6f 75 72 20 63 6f  |simple colour co|
000006c0  72 72 65 63 74 69 6f 6e  20 66 6f 72 20 74 68 65  |rrection for the|
000006d0  20 73 63 72 65 65 6e 20  64 69 73 70 6c 61 79 2e  | screen display.|
000006e0  0a 0a 4c 6f 61 64 20 74  68 65 20 61 70 70 6c 69  |..Load the appli|
000006f0  63 61 74 69 6f 6e 20 69  6e 20 74 68 65 20 6e 6f  |cation in the no|
00000700  72 6d 61 6c 20 77 61 79  20 2d 20 62 79 20 64 6f  |rmal way - by do|
00000710  75 62 6c 65 20 63 6c 69  63 6b 69 6e 67 2e 20 43  |uble clicking. C|
00000720  6c 69 63 6b 20 53 45 4c  45 43 54 20 6f 6e 0a 74  |lick SELECT on.t|
00000730  68 65 20 69 63 6f 6e 20  62 61 72 20 69 63 6f 6e  |he icon bar icon|
00000740  20 74 6f 20 6f 70 65 6e  20 74 68 65 20 47 61 6d  | to open the Gam|
00000750  6d 61 20 74 6f 6f 6c 73  20 62 61 72 20 61 6e 64  |ma tools bar and|
00000760  20 74 68 65 20 64 65 66  61 75 6c 74 20 6d 6f 64  | the default mod|
00000770  69 66 69 63 61 74 69 6f  6e 0a 6d 65 74 68 6f 64  |ification.method|
00000780  20 77 69 6e 64 6f 77 2e  0a 0a 54 68 65 20 47 61  | window...The Ga|
00000790  6d 6d 61 20 74 6f 6f 6c  73 20 62 61 72 0a 2d 2d  |mma tools bar.--|
000007a0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
000007b0  2d 0a 54 68 69 73 20 73  6d 61 6c 6c 20 77 69 6e  |-.This small win|
000007c0  64 6f 77 20 70 72 6f 76  69 64 65 73 20 66 6f 75  |dow provides fou|
000007d0  72 20 69 63 6f 6e 73 20  63 75 72 72 65 6e 74 6c  |r icons currentl|
000007e0  79 2e 0a 0a 46 72 6f 6d  20 6c 65 66 74 20 74 6f  |y...From left to|
000007f0  20 72 69 67 68 74 3a 0a  0a 54 68 65 20 44 69 73  | right:..The Dis|
00000800  70 6c 61 79 20 43 75 72  76 65 20 6d 6f 64 69 66  |play Curve modif|
00000810  69 63 61 74 69 6f 6e 20  77 69 6e 64 6f 77 0a 2d  |ication window.-|
00000820  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00000840  2d 2d 2d 2d 0a 54 68 69  73 20 77 69 6e 64 6f 77  |----.This window|
00000850  20 61 6c 6c 6f 77 73 20  79 6f 75 20 74 6f 20 64  | allows you to d|
00000860  65 66 6f 72 6d 20 74 68  65 20 43 6f 6c 6f 75 72  |eform the Colour|
00000870  20 63 75 72 76 65 20 62  79 20 64 72 61 67 67 69  | curve by draggi|
00000880  6e 67 20 63 6f 6e 74 72  6f 6c 20 70 6f 69 6e 74  |ng control point|
00000890  73 0a 6f 6e 20 61 20 62  65 7a 69 65 72 20 63 75  |s.on a bezier cu|
000008a0  72 76 65 2e 20 54 75 72  6e 20 74 68 65 20 43 6f  |rve. Turn the Co|
000008b0  6d 62 69 6e 65 64 20 6f  70 74 69 6f 6e 20 6f 66  |mbined option of|
000008c0  66 20 74 6f 20 70 72 6f  76 69 64 65 20 73 65 70  |f to provide sep|
000008d0  61 72 61 74 65 20 63 75  72 76 65 73 0a 66 6f 72  |arate curves.for|
000008e0  20 74 68 65 20 52 65 64  2c 20 47 72 65 65 6e 20  | the Red, Green |
000008f0  61 6e 64 20 42 6c 75 65  20 63 68 61 6e 6e 65 6c  |and Blue channel|
00000900  73 2e 20 43 68 6f 6f 73  65 20 52 65 73 65 74 20  |s. Choose Reset |
00000910  61 6c 6c 20 74 6f 20 72  65 73 65 74 20 74 6f 20  |all to reset to |
00000920  64 65 66 61 75 6c 74 0a  76 61 6c 75 65 73 2e 20  |default.values. |
00000930  54 68 65 20 74 68 72 65  65 20 6f 70 74 69 6f 6e  |The three option|
00000940  20 62 75 74 74 6f 6e 73  20 6c 61 62 65 6c 6c 65  | buttons labelle|
00000950  64 20 52 2c 47 20 61 6e  64 20 42 20 63 6f 6e 74  |d R,G and B cont|
00000960  72 6f 6c 20 64 69 73 70  6c 61 79 20 6f 66 20 74  |rol display of t|
00000970  68 65 0a 52 65 64 2c 47  72 65 65 6e 20 61 6e 64  |he.Red,Green and|
00000980  20 42 6c 75 65 20 63 75  72 76 65 73 20 77 68 65  | Blue curves whe|
00000990  6e 20 43 6f 6d 62 69 6e  65 64 20 69 73 20 6f 66  |n Combined is of|
000009a0  66 2e 20 49 74 20 63 61  6e 20 6f 66 74 65 6e 20  |f. It can often |
000009b0  62 65 20 75 73 65 66 75  6c 20 74 6f 0a 74 75 72  |be useful to.tur|
000009c0  6e a0 64 69 73 70 6c 61  79 a0 6f 66 20 6f 6e 65  |n.display.of one|
000009d0  20 6f 66 20 74 68 65 20  63 75 72 76 65 73 20 6f  | of the curves o|
000009e0  66 66 20 77 68 69 6c 65  20 6d 6f 64 69 66 79 69  |ff while modifyi|
000009f0  6e 67 20 61 6e 6f 74 68  65 72 2e 20 54 68 65 20  |ng another. The |
00000a00  74 68 72 65 65 0a 73 6d  61 6c 6c 20 52 65 73 65  |three.small Rese|
00000a10  74 20 62 75 74 74 6f 6e  73 20 61 6c 6c 6f 77 20  |t buttons allow |
00000a20  79 6f 75 20 74 6f 20 72  65 73 65 74 20 74 68 65  |you to reset the|
00000a30  20 52 65 64 2c 20 47 72  65 65 6e 20 6f 72 20 42  | Red, Green or B|
00000a40  6c 75 65 20 63 68 61 6e  6e 65 6c 73 0a 73 65 70  |lue channels.sep|
00000a50  61 72 61 74 65 6c 79 2e  0a 0a 54 68 65 20 44 69  |arately...The Di|
00000a60  73 70 6c 61 79 a0 47 61  6d 6d 61 20 6d 6f 64 69  |splay.Gamma modi|
00000a70  66 69 63 61 74 69 6f 6e  20 77 69 6e 64 6f 77 0a  |fication window.|
00000a80  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00000aa0  2d 2d 2d 2d 2d 0a 55 73  65 20 74 68 65 20 62 75  |-----.Use the bu|
00000ab0  6d 70 20 61 72 72 6f 77  73 20 74 6f 20 61 6c 74  |mp arrows to alt|
00000ac0  65 72 20 74 68 65 20 67  61 6d 6d 61 20 63 75 72  |er the gamma cur|
00000ad0  76 65 2e 20 49 66 20 74  68 65 20 27 43 6f 6d 62  |ve. If the 'Comb|
00000ae0  69 6e 65 64 27 20 6f 70  74 69 6f 6e 20 69 73 0a  |ined' option is.|
00000af0  74 75 72 6e 65 64 20 6f  6e 20 74 68 65 20 52 65  |turned on the Re|
00000b00  64 2c 20 47 72 65 65 6e  20 61 6e 64 20 42 6c 75  |d, Green and Blu|
00000b10  65 20 76 61 6c 75 65 73  20 77 69 6c 6c 20 63 68  |e values will ch|
00000b20  61 6e 67 65 20 74 6f 67  65 74 68 65 72 20 6e 6f  |ange together no|
00000b30  20 6d 61 74 74 65 72 20  77 68 69 63 68 0a 6f 66  | matter which.of|
00000b40  20 74 68 65 20 62 75 6d  70 20 61 72 72 6f 77 73  | the bump arrows|
00000b50  20 79 6f 75 20 75 73 65  2e 20 54 75 72 6e 69 6e  | you use. Turnin|
00000b60  67 20 74 68 65 20 43 6f  6d 62 69 6e 65 64 20 6f  |g the Combined o|
00000b70  70 74 69 6f 6e 20 6f 66  66 20 77 69 6c 6c 20 61  |ption off will a|
00000b80  6c 6c 6f 77 20 79 6f 75  20 74 6f 0a 63 68 61 6e  |llow you to.chan|
00000b90  67 65 20 74 68 65 20 52  65 64 2c 20 47 72 65 65  |ge the Red, Gree|
00000ba0  6e 20 61 6e 64 20 42 6c  75 65 20 67 61 6d 6d 61  |n and Blue gamma|
00000bb0  20 76 61 6c 65 73 20 69  6e 64 65 70 65 6e 64 65  | vales independe|
00000bc0  6e 74 6c 79 2e 20 54 68  65 20 52 65 73 65 74 20  |ntly. The Reset |
00000bd0  62 75 74 74 6f 6e 0a 77  69 6c 6c 20 72 65 73 65  |button.will rese|
00000be0  74 20 74 68 65 20 63 75  72 76 65 20 74 6f 20 74  |t the curve to t|
00000bf0  68 65 20 64 65 66 61 75  6c 74 20 6f 66 20 31 2e  |he default of 1.|
00000c00  30 30 20 61 6e 64 20 74  75 72 6e 20 74 68 65 20  |00 and turn the |
00000c10  63 6f 6d 62 69 6e 65 64  20 6f 70 74 69 6f 6e 20  |combined option |
00000c20  6f 6e 0a 61 67 61 69 6e  2e 0a 0a 54 68 65 20 45  |on.again...The E|
00000c30  78 61 6d 70 6c 65 20 64  72 61 77 66 69 6c 65 20  |xample drawfile |
00000c40  77 69 6e 64 6f 77 0a 2d  2d 2d 2d 2d 2d 2d 2d 2d  |window.---------|
00000c50  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00000c60  2d 2d 0a 54 68 69 73 20  75 74 69 6c 69 73 65 73  |--.This utilises|
00000c70  20 74 68 65 20 44 72 61  77 46 69 6c 65 20 6d 6f  | the DrawFile mo|
00000c80  64 75 6c 65 20 28 69 66  20 69 74 20 69 73 20 61  |dule (if it is a|
00000c90  76 61 69 6c 61 62 6c 65  29 20 74 6f 20 64 69 73  |vailable) to dis|
00000ca0  70 6c 61 79 20 61 6e 20  65 78 61 6d 70 6c 65 0a  |play an example.|
00000cb0  64 72 61 77 66 69 6c 65  20 69 6e 20 61 20 77 69  |drawfile in a wi|
00000cc0  6e 64 6f 77 2e 20 49 74  20 63 61 6e 20 62 65 20  |ndow. It can be |
00000cd0  75 73 65 66 75 6c 20 74  6f 20 68 61 76 65 20 74  |useful to have t|
00000ce0  68 69 73 20 77 69 6e 64  6f 77 20 6f 70 65 6e 20  |his window open |
00000cf0  77 68 69 6c 65 0a 6d 6f  64 69 66 79 69 6e 67 20  |while.modifying |
00000d00  74 68 65 20 73 65 74 74  69 6e 67 73 2e 0a 0a 54  |the settings...T|
00000d10  68 65 20 53 61 76 65 20  62 75 74 74 6f 6e 0a 2d  |he Save button.-|
00000d20  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 0a 54  |--------------.T|
00000d30  68 69 73 20 6f 70 65 6e  73 20 61 20 73 61 76 65  |his opens a save|
00000d40  20 64 69 61 6c 6f 67 75  65 20 61 6c 6c 6f 77 69  | dialogue allowi|
00000d50  6e 67 20 79 6f 75 20 74  6f 20 73 61 76 65 20 74  |ng you to save t|
00000d60  68 65 20 63 75 72 72 65  6e 74 20 73 65 74 74 69  |he current setti|
00000d70  6e 67 73 2e 0a 54 6f 20  72 65 6c 6f 61 64 20 61  |ngs..To reload a|
00000d80  20 47 61 6d 6d 61 20 66  69 6c 65 20 64 72 61 67  | Gamma file drag|
00000d90  20 69 74 20 74 6f 20 74  68 65 20 47 61 6d 6d 61  | it to the Gamma|
00000da0  20 61 70 70 6c 69 63 61  74 69 6f 6e 20 69 63 6f  | application ico|
00000db0  6e 20 6f 72 20 6f 6e 65  20 6f 66 20 74 68 65 0a  |n or one of the.|
00000dc0  70 72 6f 67 72 61 6d 73  20 77 69 6e 64 6f 77 73  |programs windows|
00000dd0  2e 0a 0a 49 6e 20 61 64  64 69 74 69 6f 6e 2c 20  |...In addition, |
00000de0  63 6c 69 63 6b 69 6e 67  20 4d 45 4e 55 20 6f 76  |clicking MENU ov|
00000df0  65 72 20 65 69 74 68 65  72 20 74 68 65 20 44 69  |er either the Di|
00000e00  73 70 6c 61 79 a0 43 75  72 76 65 20 6f 72 20 44  |splay.Curve or D|
00000e10  69 73 70 6c 61 79 a0 47  61 6d 6d 61 0a 77 69 6e  |isplay.Gamma.win|
00000e20  64 6f 77 73 20 77 69 6c  6c 20 67 69 76 65 20 79  |dows will give y|
00000e30  6f 75 20 61 20 73 6d 61  6c 6c 20 6d 65 6e 75 20  |ou a small menu |
00000e40  77 69 74 68 20 74 68 65  20 66 6f 6c 6c 6f 77 69  |with the followi|
00000e50  6e 67 20 69 74 65 6d 73  3a 0a 0a 0a 53 61 76 65  |ng items:...Save|
00000e60  3e 46 69 6c 65 3e 0a 2d  2d 2d 2d 2d 2d 2d 2d 2d  |>File>.---------|
00000e70  2d 0a 54 68 69 73 20 6c  65 61 64 73 20 74 6f 20  |-.This leads to |
00000e80  61 20 73 61 76 65 20 64  69 61 6c 6f 67 75 65 20  |a save dialogue |
00000e90  62 6f 78 20 77 68 69 63  68 20 69 73 20 69 64 65  |box which is ide|
00000ea0  6e 74 69 63 61 6c 20 74  6f 20 74 68 65 20 6f 6e  |ntical to the on|
00000eb0  65 20 6f 70 65 6e 65 64  20 62 79 0a 63 6c 69 63  |e opened by.clic|
00000ec0  6b 69 6e 67 20 6f 6e 20  74 68 65 20 73 61 76 65  |king on the save|
00000ed0  20 62 75 74 74 6f 6e 20  69 6e 20 74 68 65 20 47  | button in the G|
00000ee0  61 6d 6d 61 20 74 6f 6f  6c 73 20 77 69 6e 64 6f  |amma tools windo|
00000ef0  77 2e 0a 0a 53 61 76 65  3e 49 6e 20 21 42 6f 6f  |w...Save>In !Boo|
00000f00  74 0a 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 0a  |t.-------------.|
00000f10  54 68 69 73 20 77 69 6c  6c 20 69 6e 73 74 61 6c  |This will instal|
00000f20  6c 20 74 68 65 20 63 75  72 72 65 6e 74 20 67 61  |l the current ga|
00000f30  6d 6d 61 20 73 65 74 74  69 6e 67 73 20 69 6e 20  |mma settings in |
00000f40  79 6f 75 72 20 21 42 6f  6f 74 20 61 70 70 6c 69  |your !Boot appli|
00000f50  63 61 74 69 6f 6e 20 77  69 74 68 20 61 0a 73 75  |cation with a.su|
00000f60  69 74 61 62 6c 65 20 73  65 63 74 69 6f 6e 20 6f  |itable section o|
00000f70  66 20 63 6f 64 65 20 77  68 69 63 68 20 77 69 6c  |f code which wil|
00000f80  6c 20 69 6e 73 74 61 6c  6c 20 74 68 65 20 73 65  |l install the se|
00000f90  74 74 69 6e 67 73 20 6f  6e 20 6d 61 63 68 69 6e  |ttings on machin|
00000fa0  65 20 72 65 73 65 74 2e  0a 54 68 69 73 20 73 61  |e reset..This sa|
00000fb0  76 65 73 20 79 6f 75 20  68 61 76 69 6e 67 20 74  |ves you having t|
00000fc0  6f 20 6c 6f 61 64 20 61  20 70 61 72 74 69 63 75  |o load a particu|
00000fd0  6c 61 72 20 67 61 6d 6d  61 20 73 65 74 74 69 6e  |lar gamma settin|
00000fe0  67 20 65 76 65 72 79 20  74 69 6d 65 20 79 6f 75  |g every time you|
00000ff0  20 72 65 73 65 74 0a 79  6f 75 72 20 6d 61 63 68  | reset.your mach|
00001000  69 6e 65 2f 73 77 69 74  63 68 20 6f 6e 2e 0a 0a  |ine/switch on...|
00001010  52 65 73 65 74 20 61 6c  6c 0a 2d 2d 2d 2d 2d 2d  |Reset all.------|
00001020  2d 2d 2d 0a 54 68 69 73  20 6c 6f 61 64 73 20 61  |---.This loads a|
00001030  20 64 65 66 61 75 6c 74  20 67 61 6d 6d 61 20 66  | default gamma f|
00001040  69 6c 65 20 73 74 6f 72  65 64 20 77 69 74 68 69  |ile stored withi|
00001050  6e 20 74 68 65 20 21 47  61 6d 6d 61 20 61 70 70  |n the !Gamma app|
00001060  6c 69 63 61 74 69 6f 6e  20 69 74 73 65 6c 66 2e  |lication itself.|
00001070  0a 0a 43 6f 6e 74 61 63  74 69 6e 67 20 74 68 65  |..Contacting the|
00001080  20 41 75 74 68 6f 72 0a  2d 2d 2d 2d 2d 2d 2d 2d  | Author.--------|
00001090  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 0a 49 66  |-------------.If|
000010a0  20 79 6f 75 20 77 69 73  68 20 74 6f 20 63 6f 6e  | you wish to con|
000010b0  74 61 63 74 20 74 68 65  20 61 75 74 68 6f 72 20  |tact the author |
000010c0  6f 66 20 74 68 69 73 20  73 6f 66 74 77 61 72 65  |of this software|
000010d0  2c 20 65 69 74 68 65 72  20 74 6f 20 72 65 70 6f  |, either to repo|
000010e0  72 74 20 61 20 62 75 67  2c 0a 73 75 67 67 65 73  |rt a bug,.sugges|
000010f0  74 20 6e 65 77 20 66 65  61 74 75 72 65 73 2c 20  |t new features, |
00001100  70 72 61 69 73 65 20 6f  72 20 28 68 6f 72 72 6f  |praise or (horro|
00001110  72 73 21 29 20 63 72 69  74 69 63 69 73 65 20 74  |rs!) criticise t|
00001120  68 65 20 70 72 6f 67 72  61 6d 20 74 68 65 6e 20  |he program then |
00001130  74 68 65 0a 70 72 65 66  65 72 72 65 64 20 6d 65  |the.preferred me|
00001140  74 68 6f 64 20 69 73 20  76 69 61 20 65 6d 61 69  |thod is via emai|
00001150  6c 20 74 6f 3a 0a 72 64  61 76 69 73 6f 6e 40 65  |l to:.rdavison@e|
00001160  73 2e 63 6f 2e 6e 7a 0a  6f 72 2c 20 66 61 69 6c  |s.co.nz.or, fail|
00001170  69 6e 67 20 74 68 61 74  20 62 79 20 73 6e 61 69  |ing that by snai|
00001180  6c 20 6d 61 69 6c 20 74  6f 20 2d 0a 0a 52 6f 62  |l mail to -..Rob|
00001190  20 44 61 76 69 73 6f 6e  2c 0a 31 52 44 20 57 79  | Davison,.1RD Wy|
000011a0  6e 64 68 61 6d 2c 0a 53  6f 75 74 68 6c 61 6e 64  |ndham,.Southland|
000011b0  0a 4e 45 57 20 5a 45 41  4c 41 4e 44 0a 0a 28 79  |.NEW ZEALAND..(y|
000011c0  65 73 2c 20 74 68 61 74  20 72 65 61 6c 6c 79 20  |es, that really |
000011d0  69 73 20 6d 79 a0 61 64  64 72 65 73 73 21 29 0a  |is my.address!).|
000011e0  0a 56 65 72 73 69 6f 6e  20 48 69 73 74 6f 72 79  |.Version History|
000011f0  0a 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |.---------------|
00001200  0a 30 2e 30 31 20 2d 20  74 68 69 73 20 70 72 6f  |.0.01 - this pro|
00001210  67 72 61 6d 20 77 61 73  20 64 65 73 63 65 6e 64  |gram was descend|
00001220  65 64 20 66 72 6f 6d 20  73 6f 6d 65 74 68 69 6e  |ed from somethin|
00001230  67 20 77 72 69 74 74 65  6e 20 6f 6e 20 74 68 65  |g written on the|
00001240  20 41 34 34 30 2b 50 43  41 54 73 0a 20 20 20 20  | A440+PCATs.    |
00001250  20 20 20 63 6f 6c 6f 75  72 20 63 61 72 64 2e 20  |   colour card. |
00001260  57 65 6e 74 20 6e 6f 77  68 65 72 65 2e 0a 30 2e  |Went nowhere..0.|
00001270  30 32 20 2d 20 74 6f 20  50 69 78 65 6c 45 79 65  |02 - to PixelEye|
00001280  73 20 61 6e 64 20 41 72  65 20 4c 65 69 73 74 61  |s and Are Leista|
00001290  64 2e 0a 30 2e 30 33 20  2d 20 74 6f 20 4a 65 72  |d..0.03 - to Jer|
000012a0  65 6d 79 20 43 6f 6f 6b  2e 20 47 61 6d 6d 61 20  |emy Cook. Gamma |
000012b0  63 6f 64 65 20 69 6e 20  61 20 6d 6f 64 75 6c 65  |code in a module|
000012c0  2e 0a 20 20 20 20 20 2d  20 75 73 65 64 20 43 6f  |..     - used Co|
000012d0  6d 70 6f 20 53 57 49 20  62 6c 6f 63 6b 20 62 65  |mpo SWI block be|
000012e0  63 61 75 73 65 20 69 66  20 61 20 67 75 79 20 63  |cause if a guy c|
000012f0  61 6e 27 74 20 72 69 70  20 68 69 73 20 6f 77 6e  |an't rip his own|
00001300  20 61 6c 6c 6f 63 61 74  69 6f 6e 0a 20 20 20 20  | allocation.    |
00001310  20 20 20 74 68 65 6e 20  77 68 6f 27 73 20 63 61  |   then who's ca|
00001320  6e 20 68 65 20 72 69 70  3f 20 3a 2d 29 0a 30 2e  |n he rip? :-).0.|
00001330  30 35 20 2d 20 66 69 78  65 64 20 63 75 72 76 65  |05 - fixed curve|
00001340  20 6d 69 6e 2f 6d 61 78  20 73 65 74 74 69 6e 67  | min/max setting|
00001350  73 2c 20 61 64 64 65 64  20 73 61 76 65 2c 20 6d  |s, added save, m|
00001360  61 64 65 20 74 6f 6f 6c  62 61 72 20 62 65 68 61  |ade toolbar beha|
00001370  76 65 20 70 72 6f 70 65  72 6c 79 2e 0a 30 2e 30  |ve properly..0.0|
00001380  36 20 2d 20 66 69 78 65  64 20 73 6d 61 6c 6c 20  |6 - fixed small |
00001390  62 75 67 20 72 65 70 6f  72 74 65 64 20 62 79 20  |bug reported by |
000013a0  4a 65 72 65 6d 79 20 61  6e 64 20 63 72 75 6e 63  |Jeremy and crunc|
000013b0  68 65 64 20 66 6f 72 20  72 65 6c 65 61 73 65 2e  |hed for release.|
000013c0  0a                                                |.|
000013c1