Home » Archimedes archive » Acorn User » AU 1998-06 A.adf » Regulars » StarInfo/Fletcher/Gamma/!Help

StarInfo/Fletcher/Gamma/!Help

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 » Acorn User » AU 1998-06 A.adf » Regulars
Filename: StarInfo/Fletcher/Gamma/!Help
Read OK:
File size: 0FB9 bytes
Load address: 0000
Exec address: 0000
File contents
                                Gamma310
                                ========
Version 1.03 (21 Mar 1997)
     
Introduction
------------
I get fed up with all this Risc PC business... It's doesn't bother me that
they are faster than my machine - I've seen high spec Pentiums used for
'Word' so this it's nothing new to see a machine not being used to it's
fullest. I do miss the colours and memory though. Dynamic Areas and JPEGs on
the fly I've got. Multi-tasking Error boxes ? Old hat. 16-bit sound ? Well,
could I tell the difference out of those little speakers ? JPEGs embedded in
Sprites ? Pah !

What has this to do with Gamma correction ? Not much really, I just wanted a
rant. I lied, actually it has got a point. You see, RPC's can do this snazzy
thing with VIDC20 involving a lookup table to perform colour translation
prior to display. It probably looks great if your brightness doesn't go up
any higher on your monitor. I wouldn't know.

Well, I wouldn't have yesterday. Now however, I'm sitting in Mode 28 with
Dave Thomas' !Gamma proggy telling me I've got gamma correction of 0.5. And
quite horrible it looks. But that's not the point, is it ? The thing is that
it's another thing I can do that the RPC can. Not a useful things, but still
one I can do...


Usage
-----
Run the !Run file. It'll install itself with the most disgusting gamma
correction you've ever seen - the default. You'll probably want to change
this, otherwise there's not a lot of point in having the module.

I've included a very quick utility I rattled off to change the gamma
correction tables. No snazzy bezier curves here. Not even the whiff of one.
Sorry... You'll just have to try some numbers - 1 is normal, <1 is darker,
>1 is lighter.

    
How it works
------------
Dead easy - Trap the Palette Vector to ensure we know about those fun
gamma correction table setting requests (number 9), then on to all the
funny old ColourTrans routines which require 'palette entries' (RGB
values to you and me) we stick a simple lookup in it's place. Fun eh ?
Actually, two bits of the code aren't that easy - Select/GenerateTable
and SelectGCOLTable - here you have to find out the number of colours
actually in the mode or sprite in question; this is made more fun by 256
being used to mean that r0 is not a sprite pointer, but that r1 is a pointer
to a sprite.

Other than that it's all dead simple. I wrote a 'reverse conversion' routine
to do the opposite of the colour lookups. Unfortunately, it's not used. Nor
tested. It's there though.


Disclaimer
----------
The author accepts no responsibility for any problems which this application
may cause or loss of data resulting in its use. This application is Public
Domain Freeware. This means that it may be distributed, so long as no charge
other than copying costs are charged for it.
  

Contact
-------
Any comments, queries, donations or bug reports can be sent to Justin
Fletcher at :

E-Mail : Gerph@innocent.com
URL    : http://users.essex.ac.uk/users/gerph
IRC    : On #Acorn as Gerph
Finger : finger jrflet@postman.essex.ac.uk
Tel    : (01842) 813979

Snail Mail :
    Justin Fletcher
    �Galadriel�
    17b Cromwell Road,
    Weeting,
    Brandon,
    Suffolk.
    IP27 0QT


History
-------
Version 1.00 : 20 Mar 1997
               Started it. Nothing special. Just a trap for PaletteV
Version 1.01 : 20 Mar 1997
               Simple colour translation for just SelectTable - this
               did the bulk of the desktop and looked quite groovey :-)
               Fixed little 63 colours bug (ncolours in 256 colour
               modes is 63 but the table is 255 bytes long)
Version 1.02 : 20 Mar 1997
               Majority of routines written, mostly just calls to 
               convertrgbtogammad (except SelectTable/SelectGCOLTable)
               Added GenerateTable to list to cope with inverted
               sprites.
Version 1.03 : 21 Mar 1997
               Fixed =256 in Select/GenerateTable so that this reads
               the sprite correctly.
00000000  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00000020  47 61 6d 6d 61 33 31 30  0a 20 20 20 20 20 20 20  |Gamma310.       |
00000030  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000040  20 20 20 20 20 20 20 20  20 3d 3d 3d 3d 3d 3d 3d  |         =======|
00000050  3d 0a 56 65 72 73 69 6f  6e 20 31 2e 30 33 20 28  |=.Version 1.03 (|
00000060  32 31 20 4d 61 72 20 31  39 39 37 29 0a 20 20 20  |21 Mar 1997).   |
00000070  20 20 0a 49 6e 74 72 6f  64 75 63 74 69 6f 6e 0a  |  .Introduction.|
00000080  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 0a 49 20 67  |------------.I g|
00000090  65 74 20 66 65 64 20 75  70 20 77 69 74 68 20 61  |et fed up with a|
000000a0  6c 6c 20 74 68 69 73 20  52 69 73 63 20 50 43 20  |ll this Risc PC |
000000b0  62 75 73 69 6e 65 73 73  2e 2e 2e 20 49 74 27 73  |business... It's|
000000c0  20 64 6f 65 73 6e 27 74  20 62 6f 74 68 65 72 20  | doesn't bother |
000000d0  6d 65 20 74 68 61 74 0a  74 68 65 79 20 61 72 65  |me that.they are|
000000e0  20 66 61 73 74 65 72 20  74 68 61 6e 20 6d 79 20  | faster than my |
000000f0  6d 61 63 68 69 6e 65 20  2d 20 49 27 76 65 20 73  |machine - I've s|
00000100  65 65 6e 20 68 69 67 68  20 73 70 65 63 20 50 65  |een high spec Pe|
00000110  6e 74 69 75 6d 73 20 75  73 65 64 20 66 6f 72 0a  |ntiums used for.|
00000120  27 57 6f 72 64 27 20 73  6f 20 74 68 69 73 20 69  |'Word' so this i|
00000130  74 27 73 20 6e 6f 74 68  69 6e 67 20 6e 65 77 20  |t's nothing new |
00000140  74 6f 20 73 65 65 20 61  20 6d 61 63 68 69 6e 65  |to see a machine|
00000150  20 6e 6f 74 20 62 65 69  6e 67 20 75 73 65 64 20  | not being used |
00000160  74 6f 20 69 74 27 73 0a  66 75 6c 6c 65 73 74 2e  |to it's.fullest.|
00000170  20 49 20 64 6f 20 6d 69  73 73 20 74 68 65 20 63  | I do miss the c|
00000180  6f 6c 6f 75 72 73 20 61  6e 64 20 6d 65 6d 6f 72  |olours and memor|
00000190  79 20 74 68 6f 75 67 68  2e 20 44 79 6e 61 6d 69  |y though. Dynami|
000001a0  63 20 41 72 65 61 73 20  61 6e 64 20 4a 50 45 47  |c Areas and JPEG|
000001b0  73 20 6f 6e 0a 74 68 65  20 66 6c 79 20 49 27 76  |s on.the fly I'v|
000001c0  65 20 67 6f 74 2e 20 4d  75 6c 74 69 2d 74 61 73  |e got. Multi-tas|
000001d0  6b 69 6e 67 20 45 72 72  6f 72 20 62 6f 78 65 73  |king Error boxes|
000001e0  20 3f 20 4f 6c 64 20 68  61 74 2e 20 31 36 2d 62  | ? Old hat. 16-b|
000001f0  69 74 20 73 6f 75 6e 64  20 3f 20 57 65 6c 6c 2c  |it sound ? Well,|
00000200  0a 63 6f 75 6c 64 20 49  20 74 65 6c 6c 20 74 68  |.could I tell th|
00000210  65 20 64 69 66 66 65 72  65 6e 63 65 20 6f 75 74  |e difference out|
00000220  20 6f 66 20 74 68 6f 73  65 20 6c 69 74 74 6c 65  | of those little|
00000230  20 73 70 65 61 6b 65 72  73 20 3f 20 4a 50 45 47  | speakers ? JPEG|
00000240  73 20 65 6d 62 65 64 64  65 64 20 69 6e 0a 53 70  |s embedded in.Sp|
00000250  72 69 74 65 73 20 3f 20  50 61 68 20 21 0a 0a 57  |rites ? Pah !..W|
00000260  68 61 74 20 68 61 73 20  74 68 69 73 20 74 6f 20  |hat has this to |
00000270  64 6f 20 77 69 74 68 20  47 61 6d 6d 61 20 63 6f  |do with Gamma co|
00000280  72 72 65 63 74 69 6f 6e  20 3f 20 4e 6f 74 20 6d  |rrection ? Not m|
00000290  75 63 68 20 72 65 61 6c  6c 79 2c 20 49 20 6a 75  |uch really, I ju|
000002a0  73 74 20 77 61 6e 74 65  64 20 61 0a 72 61 6e 74  |st wanted a.rant|
000002b0  2e 20 49 20 6c 69 65 64  2c 20 61 63 74 75 61 6c  |. I lied, actual|
000002c0  6c 79 20 69 74 20 68 61  73 20 67 6f 74 20 61 20  |ly it has got a |
000002d0  70 6f 69 6e 74 2e 20 59  6f 75 20 73 65 65 2c 20  |point. You see, |
000002e0  52 50 43 27 73 20 63 61  6e 20 64 6f 20 74 68 69  |RPC's can do thi|
000002f0  73 20 73 6e 61 7a 7a 79  0a 74 68 69 6e 67 20 77  |s snazzy.thing w|
00000300  69 74 68 20 56 49 44 43  32 30 20 69 6e 76 6f 6c  |ith VIDC20 invol|
00000310  76 69 6e 67 20 61 20 6c  6f 6f 6b 75 70 20 74 61  |ving a lookup ta|
00000320  62 6c 65 20 74 6f 20 70  65 72 66 6f 72 6d 20 63  |ble to perform c|
00000330  6f 6c 6f 75 72 20 74 72  61 6e 73 6c 61 74 69 6f  |olour translatio|
00000340  6e 0a 70 72 69 6f 72 20  74 6f 20 64 69 73 70 6c  |n.prior to displ|
00000350  61 79 2e 20 49 74 20 70  72 6f 62 61 62 6c 79 20  |ay. It probably |
00000360  6c 6f 6f 6b 73 20 67 72  65 61 74 20 69 66 20 79  |looks great if y|
00000370  6f 75 72 20 62 72 69 67  68 74 6e 65 73 73 20 64  |our brightness d|
00000380  6f 65 73 6e 27 74 20 67  6f 20 75 70 0a 61 6e 79  |oesn't go up.any|
00000390  20 68 69 67 68 65 72 20  6f 6e 20 79 6f 75 72 20  | higher on your |
000003a0  6d 6f 6e 69 74 6f 72 2e  20 49 20 77 6f 75 6c 64  |monitor. I would|
000003b0  6e 27 74 20 6b 6e 6f 77  2e 0a 0a 57 65 6c 6c 2c  |n't know...Well,|
000003c0  20 49 20 77 6f 75 6c 64  6e 27 74 20 68 61 76 65  | I wouldn't have|
000003d0  20 79 65 73 74 65 72 64  61 79 2e 20 4e 6f 77 20  | yesterday. Now |
000003e0  68 6f 77 65 76 65 72 2c  20 49 27 6d 20 73 69 74  |however, I'm sit|
000003f0  74 69 6e 67 20 69 6e 20  4d 6f 64 65 20 32 38 20  |ting in Mode 28 |
00000400  77 69 74 68 0a 44 61 76  65 20 54 68 6f 6d 61 73  |with.Dave Thomas|
00000410  27 20 21 47 61 6d 6d 61  20 70 72 6f 67 67 79 20  |' !Gamma proggy |
00000420  74 65 6c 6c 69 6e 67 20  6d 65 20 49 27 76 65 20  |telling me I've |
00000430  67 6f 74 20 67 61 6d 6d  61 20 63 6f 72 72 65 63  |got gamma correc|
00000440  74 69 6f 6e 20 6f 66 20  30 2e 35 2e 20 41 6e 64  |tion of 0.5. And|
00000450  0a 71 75 69 74 65 20 68  6f 72 72 69 62 6c 65 20  |.quite horrible |
00000460  69 74 20 6c 6f 6f 6b 73  2e 20 42 75 74 20 74 68  |it looks. But th|
00000470  61 74 27 73 20 6e 6f 74  20 74 68 65 20 70 6f 69  |at's not the poi|
00000480  6e 74 2c 20 69 73 20 69  74 20 3f 20 54 68 65 20  |nt, is it ? The |
00000490  74 68 69 6e 67 20 69 73  20 74 68 61 74 0a 69 74  |thing is that.it|
000004a0  27 73 20 61 6e 6f 74 68  65 72 20 74 68 69 6e 67  |'s another thing|
000004b0  20 49 20 63 61 6e 20 64  6f 20 74 68 61 74 20 74  | I can do that t|
000004c0  68 65 20 52 50 43 20 63  61 6e 2e 20 4e 6f 74 20  |he RPC can. Not |
000004d0  61 20 75 73 65 66 75 6c  20 74 68 69 6e 67 73 2c  |a useful things,|
000004e0  20 62 75 74 20 73 74 69  6c 6c 0a 6f 6e 65 20 49  | but still.one I|
000004f0  20 63 61 6e 20 64 6f 2e  2e 2e 0a 0a 0a 55 73 61  | can do......Usa|
00000500  67 65 0a 2d 2d 2d 2d 2d  0a 52 75 6e 20 74 68 65  |ge.-----.Run the|
00000510  20 21 52 75 6e 20 66 69  6c 65 2e 20 49 74 27 6c  | !Run file. It'l|
00000520  6c 20 69 6e 73 74 61 6c  6c 20 69 74 73 65 6c 66  |l install itself|
00000530  20 77 69 74 68 20 74 68  65 20 6d 6f 73 74 20 64  | with the most d|
00000540  69 73 67 75 73 74 69 6e  67 20 67 61 6d 6d 61 0a  |isgusting gamma.|
00000550  63 6f 72 72 65 63 74 69  6f 6e 20 79 6f 75 27 76  |correction you'v|
00000560  65 20 65 76 65 72 20 73  65 65 6e 20 2d 20 74 68  |e ever seen - th|
00000570  65 20 64 65 66 61 75 6c  74 2e 20 59 6f 75 27 6c  |e default. You'l|
00000580  6c 20 70 72 6f 62 61 62  6c 79 20 77 61 6e 74 20  |l probably want |
00000590  74 6f 20 63 68 61 6e 67  65 0a 74 68 69 73 2c 20  |to change.this, |
000005a0  6f 74 68 65 72 77 69 73  65 20 74 68 65 72 65 27  |otherwise there'|
000005b0  73 20 6e 6f 74 20 61 20  6c 6f 74 20 6f 66 20 70  |s not a lot of p|
000005c0  6f 69 6e 74 20 69 6e 20  68 61 76 69 6e 67 20 74  |oint in having t|
000005d0  68 65 20 6d 6f 64 75 6c  65 2e 0a 0a 49 27 76 65  |he module...I've|
000005e0  20 69 6e 63 6c 75 64 65  64 20 61 20 76 65 72 79  | included a very|
000005f0  20 71 75 69 63 6b 20 75  74 69 6c 69 74 79 20 49  | quick utility I|
00000600  20 72 61 74 74 6c 65 64  20 6f 66 66 20 74 6f 20  | rattled off to |
00000610  63 68 61 6e 67 65 20 74  68 65 20 67 61 6d 6d 61  |change the gamma|
00000620  0a 63 6f 72 72 65 63 74  69 6f 6e 20 74 61 62 6c  |.correction tabl|
00000630  65 73 2e 20 4e 6f 20 73  6e 61 7a 7a 79 20 62 65  |es. No snazzy be|
00000640  7a 69 65 72 20 63 75 72  76 65 73 20 68 65 72 65  |zier curves here|
00000650  2e 20 4e 6f 74 20 65 76  65 6e 20 74 68 65 20 77  |. Not even the w|
00000660  68 69 66 66 20 6f 66 20  6f 6e 65 2e 0a 53 6f 72  |hiff of one..Sor|
00000670  72 79 2e 2e 2e 20 59 6f  75 27 6c 6c 20 6a 75 73  |ry... You'll jus|
00000680  74 20 68 61 76 65 20 74  6f 20 74 72 79 20 73 6f  |t have to try so|
00000690  6d 65 20 6e 75 6d 62 65  72 73 20 2d 20 31 20 69  |me numbers - 1 i|
000006a0  73 20 6e 6f 72 6d 61 6c  2c 20 3c 31 20 69 73 20  |s normal, <1 is |
000006b0  64 61 72 6b 65 72 2c 0a  3e 31 20 69 73 20 6c 69  |darker,.>1 is li|
000006c0  67 68 74 65 72 2e 0a 0a  20 20 20 20 0a 48 6f 77  |ghter...    .How|
000006d0  20 69 74 20 77 6f 72 6b  73 0a 2d 2d 2d 2d 2d 2d  | it works.------|
000006e0  2d 2d 2d 2d 2d 2d 0a 44  65 61 64 20 65 61 73 79  |------.Dead easy|
000006f0  20 2d 20 54 72 61 70 20  74 68 65 20 50 61 6c 65  | - Trap the Pale|
00000700  74 74 65 20 56 65 63 74  6f 72 20 74 6f 20 65 6e  |tte Vector to en|
00000710  73 75 72 65 20 77 65 20  6b 6e 6f 77 20 61 62 6f  |sure we know abo|
00000720  75 74 20 74 68 6f 73 65  20 66 75 6e 0a 67 61 6d  |ut those fun.gam|
00000730  6d 61 20 63 6f 72 72 65  63 74 69 6f 6e 20 74 61  |ma correction ta|
00000740  62 6c 65 20 73 65 74 74  69 6e 67 20 72 65 71 75  |ble setting requ|
00000750  65 73 74 73 20 28 6e 75  6d 62 65 72 20 39 29 2c  |ests (number 9),|
00000760  20 74 68 65 6e 20 6f 6e  20 74 6f 20 61 6c 6c 20  | then on to all |
00000770  74 68 65 0a 66 75 6e 6e  79 20 6f 6c 64 20 43 6f  |the.funny old Co|
00000780  6c 6f 75 72 54 72 61 6e  73 20 72 6f 75 74 69 6e  |lourTrans routin|
00000790  65 73 20 77 68 69 63 68  20 72 65 71 75 69 72 65  |es which require|
000007a0  20 27 70 61 6c 65 74 74  65 20 65 6e 74 72 69 65  | 'palette entrie|
000007b0  73 27 20 28 52 47 42 0a  76 61 6c 75 65 73 20 74  |s' (RGB.values t|
000007c0  6f 20 79 6f 75 20 61 6e  64 20 6d 65 29 20 77 65  |o you and me) we|
000007d0  20 73 74 69 63 6b 20 61  20 73 69 6d 70 6c 65 20  | stick a simple |
000007e0  6c 6f 6f 6b 75 70 20 69  6e 20 69 74 27 73 20 70  |lookup in it's p|
000007f0  6c 61 63 65 2e 20 46 75  6e 20 65 68 20 3f 0a 41  |lace. Fun eh ?.A|
00000800  63 74 75 61 6c 6c 79 2c  20 74 77 6f 20 62 69 74  |ctually, two bit|
00000810  73 20 6f 66 20 74 68 65  20 63 6f 64 65 20 61 72  |s of the code ar|
00000820  65 6e 27 74 20 74 68 61  74 20 65 61 73 79 20 2d  |en't that easy -|
00000830  20 53 65 6c 65 63 74 2f  47 65 6e 65 72 61 74 65  | Select/Generate|
00000840  54 61 62 6c 65 0a 61 6e  64 20 53 65 6c 65 63 74  |Table.and Select|
00000850  47 43 4f 4c 54 61 62 6c  65 20 2d 20 68 65 72 65  |GCOLTable - here|
00000860  20 79 6f 75 20 68 61 76  65 20 74 6f 20 66 69 6e  | you have to fin|
00000870  64 20 6f 75 74 20 74 68  65 20 6e 75 6d 62 65 72  |d out the number|
00000880  20 6f 66 20 63 6f 6c 6f  75 72 73 0a 61 63 74 75  | of colours.actu|
00000890  61 6c 6c 79 20 69 6e 20  74 68 65 20 6d 6f 64 65  |ally in the mode|
000008a0  20 6f 72 20 73 70 72 69  74 65 20 69 6e 20 71 75  | or sprite in qu|
000008b0  65 73 74 69 6f 6e 3b 20  74 68 69 73 20 69 73 20  |estion; this is |
000008c0  6d 61 64 65 20 6d 6f 72  65 20 66 75 6e 20 62 79  |made more fun by|
000008d0  20 32 35 36 0a 62 65 69  6e 67 20 75 73 65 64 20  | 256.being used |
000008e0  74 6f 20 6d 65 61 6e 20  74 68 61 74 20 72 30 20  |to mean that r0 |
000008f0  69 73 20 6e 6f 74 20 61  20 73 70 72 69 74 65 20  |is not a sprite |
00000900  70 6f 69 6e 74 65 72 2c  20 62 75 74 20 74 68 61  |pointer, but tha|
00000910  74 20 72 31 20 69 73 20  61 20 70 6f 69 6e 74 65  |t r1 is a pointe|
00000920  72 0a 74 6f 20 61 20 73  70 72 69 74 65 2e 0a 0a  |r.to a sprite...|
00000930  4f 74 68 65 72 20 74 68  61 6e 20 74 68 61 74 20  |Other than that |
00000940  69 74 27 73 20 61 6c 6c  20 64 65 61 64 20 73 69  |it's all dead si|
00000950  6d 70 6c 65 2e 20 49 20  77 72 6f 74 65 20 61 20  |mple. I wrote a |
00000960  27 72 65 76 65 72 73 65  20 63 6f 6e 76 65 72 73  |'reverse convers|
00000970  69 6f 6e 27 20 72 6f 75  74 69 6e 65 0a 74 6f 20  |ion' routine.to |
00000980  64 6f 20 74 68 65 20 6f  70 70 6f 73 69 74 65 20  |do the opposite |
00000990  6f 66 20 74 68 65 20 63  6f 6c 6f 75 72 20 6c 6f  |of the colour lo|
000009a0  6f 6b 75 70 73 2e 20 55  6e 66 6f 72 74 75 6e 61  |okups. Unfortuna|
000009b0  74 65 6c 79 2c 20 69 74  27 73 20 6e 6f 74 20 75  |tely, it's not u|
000009c0  73 65 64 2e 20 4e 6f 72  0a 74 65 73 74 65 64 2e  |sed. Nor.tested.|
000009d0  20 49 74 27 73 20 74 68  65 72 65 20 74 68 6f 75  | It's there thou|
000009e0  67 68 2e 0a 0a 0a 44 69  73 63 6c 61 69 6d 65 72  |gh....Disclaimer|
000009f0  0a 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 0a 54 68 65 20  |.----------.The |
00000a00  61 75 74 68 6f 72 20 61  63 63 65 70 74 73 20 6e  |author accepts n|
00000a10  6f 20 72 65 73 70 6f 6e  73 69 62 69 6c 69 74 79  |o responsibility|
00000a20  20 66 6f 72 20 61 6e 79  20 70 72 6f 62 6c 65 6d  | for any problem|
00000a30  73 20 77 68 69 63 68 20  74 68 69 73 20 61 70 70  |s which this app|
00000a40  6c 69 63 61 74 69 6f 6e  0a 6d 61 79 20 63 61 75  |lication.may cau|
00000a50  73 65 20 6f 72 20 6c 6f  73 73 20 6f 66 20 64 61  |se or loss of da|
00000a60  74 61 20 72 65 73 75 6c  74 69 6e 67 20 69 6e 20  |ta resulting in |
00000a70  69 74 73 20 75 73 65 2e  20 54 68 69 73 20 61 70  |its use. This ap|
00000a80  70 6c 69 63 61 74 69 6f  6e 20 69 73 20 50 75 62  |plication is Pub|
00000a90  6c 69 63 0a 44 6f 6d 61  69 6e 20 46 72 65 65 77  |lic.Domain Freew|
00000aa0  61 72 65 2e 20 54 68 69  73 20 6d 65 61 6e 73 20  |are. This means |
00000ab0  74 68 61 74 20 69 74 20  6d 61 79 20 62 65 20 64  |that it may be d|
00000ac0  69 73 74 72 69 62 75 74  65 64 2c 20 73 6f 20 6c  |istributed, so l|
00000ad0  6f 6e 67 20 61 73 20 6e  6f 20 63 68 61 72 67 65  |ong as no charge|
00000ae0  0a 6f 74 68 65 72 20 74  68 61 6e 20 63 6f 70 79  |.other than copy|
00000af0  69 6e 67 20 63 6f 73 74  73 20 61 72 65 20 63 68  |ing costs are ch|
00000b00  61 72 67 65 64 20 66 6f  72 20 69 74 2e 0a 20 20  |arged for it..  |
00000b10  0a 0a 43 6f 6e 74 61 63  74 0a 2d 2d 2d 2d 2d 2d  |..Contact.------|
00000b20  2d 0a 41 6e 79 20 63 6f  6d 6d 65 6e 74 73 2c 20  |-.Any comments, |
00000b30  71 75 65 72 69 65 73 2c  20 64 6f 6e 61 74 69 6f  |queries, donatio|
00000b40  6e 73 20 6f 72 20 62 75  67 20 72 65 70 6f 72 74  |ns or bug report|
00000b50  73 20 63 61 6e 20 62 65  20 73 65 6e 74 20 74 6f  |s can be sent to|
00000b60  20 4a 75 73 74 69 6e 0a  46 6c 65 74 63 68 65 72  | Justin.Fletcher|
00000b70  20 61 74 20 3a 0a 0a 45  2d 4d 61 69 6c 20 3a 20  | at :..E-Mail : |
00000b80  47 65 72 70 68 40 69 6e  6e 6f 63 65 6e 74 2e 63  |Gerph@innocent.c|
00000b90  6f 6d 0a 55 52 4c 20 20  20 20 3a 20 68 74 74 70  |om.URL    : http|
00000ba0  3a 2f 2f 75 73 65 72 73  2e 65 73 73 65 78 2e 61  |://users.essex.a|
00000bb0  63 2e 75 6b 2f 75 73 65  72 73 2f 67 65 72 70 68  |c.uk/users/gerph|
00000bc0  0a 49 52 43 20 20 20 20  3a 20 4f 6e 20 23 41 63  |.IRC    : On #Ac|
00000bd0  6f 72 6e 20 61 73 20 47  65 72 70 68 0a 46 69 6e  |orn as Gerph.Fin|
00000be0  67 65 72 20 3a 20 66 69  6e 67 65 72 20 6a 72 66  |ger : finger jrf|
00000bf0  6c 65 74 40 70 6f 73 74  6d 61 6e 2e 65 73 73 65  |let@postman.esse|
00000c00  78 2e 61 63 2e 75 6b 0a  54 65 6c 20 20 20 20 3a  |x.ac.uk.Tel    :|
00000c10  20 28 30 31 38 34 32 29  20 38 31 33 39 37 39 0a  | (01842) 813979.|
00000c20  0a 53 6e 61 69 6c 20 4d  61 69 6c 20 3a 0a 20 20  |.Snail Mail :.  |
00000c30  20 20 4a 75 73 74 69 6e  20 46 6c 65 74 63 68 65  |  Justin Fletche|
00000c40  72 0a 20 20 20 20 94 47  61 6c 61 64 72 69 65 6c  |r.    .Galadriel|
00000c50  95 0a 20 20 20 20 31 37  62 20 43 72 6f 6d 77 65  |..    17b Cromwe|
00000c60  6c 6c 20 52 6f 61 64 2c  0a 20 20 20 20 57 65 65  |ll Road,.    Wee|
00000c70  74 69 6e 67 2c 0a 20 20  20 20 42 72 61 6e 64 6f  |ting,.    Brando|
00000c80  6e 2c 0a 20 20 20 20 53  75 66 66 6f 6c 6b 2e 0a  |n,.    Suffolk..|
00000c90  20 20 20 20 49 50 32 37  20 30 51 54 0a 0a 0a 48  |    IP27 0QT...H|
00000ca0  69 73 74 6f 72 79 0a 2d  2d 2d 2d 2d 2d 2d 0a 56  |istory.-------.V|
00000cb0  65 72 73 69 6f 6e 20 31  2e 30 30 20 3a 20 32 30  |ersion 1.00 : 20|
00000cc0  20 4d 61 72 20 31 39 39  37 0a 20 20 20 20 20 20  | Mar 1997.      |
00000cd0  20 20 20 20 20 20 20 20  20 53 74 61 72 74 65 64  |         Started|
00000ce0  20 69 74 2e 20 4e 6f 74  68 69 6e 67 20 73 70 65  | it. Nothing spe|
00000cf0  63 69 61 6c 2e 20 4a 75  73 74 20 61 20 74 72 61  |cial. Just a tra|
00000d00  70 20 66 6f 72 20 50 61  6c 65 74 74 65 56 0a 56  |p for PaletteV.V|
00000d10  65 72 73 69 6f 6e 20 31  2e 30 31 20 3a 20 32 30  |ersion 1.01 : 20|
00000d20  20 4d 61 72 20 31 39 39  37 0a 20 20 20 20 20 20  | Mar 1997.      |
00000d30  20 20 20 20 20 20 20 20  20 53 69 6d 70 6c 65 20  |         Simple |
00000d40  63 6f 6c 6f 75 72 20 74  72 61 6e 73 6c 61 74 69  |colour translati|
00000d50  6f 6e 20 66 6f 72 20 6a  75 73 74 20 53 65 6c 65  |on for just Sele|
00000d60  63 74 54 61 62 6c 65 20  2d 20 74 68 69 73 0a 20  |ctTable - this. |
00000d70  20 20 20 20 20 20 20 20  20 20 20 20 20 20 64 69  |              di|
00000d80  64 20 74 68 65 20 62 75  6c 6b 20 6f 66 20 74 68  |d the bulk of th|
00000d90  65 20 64 65 73 6b 74 6f  70 20 61 6e 64 20 6c 6f  |e desktop and lo|
00000da0  6f 6b 65 64 20 71 75 69  74 65 20 67 72 6f 6f 76  |oked quite groov|
00000db0  65 79 20 3a 2d 29 0a 20  20 20 20 20 20 20 20 20  |ey :-).         |
00000dc0  20 20 20 20 20 20 46 69  78 65 64 20 6c 69 74 74  |      Fixed litt|
00000dd0  6c 65 20 36 33 20 63 6f  6c 6f 75 72 73 20 62 75  |le 63 colours bu|
00000de0  67 20 28 6e 63 6f 6c 6f  75 72 73 20 69 6e 20 32  |g (ncolours in 2|
00000df0  35 36 20 63 6f 6c 6f 75  72 0a 20 20 20 20 20 20  |56 colour.      |
00000e00  20 20 20 20 20 20 20 20  20 6d 6f 64 65 73 20 69  |         modes i|
00000e10  73 20 36 33 20 62 75 74  20 74 68 65 20 74 61 62  |s 63 but the tab|
00000e20  6c 65 20 69 73 20 32 35  35 20 62 79 74 65 73 20  |le is 255 bytes |
00000e30  6c 6f 6e 67 29 0a 56 65  72 73 69 6f 6e 20 31 2e  |long).Version 1.|
00000e40  30 32 20 3a 20 32 30 20  4d 61 72 20 31 39 39 37  |02 : 20 Mar 1997|
00000e50  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |.               |
00000e60  4d 61 6a 6f 72 69 74 79  20 6f 66 20 72 6f 75 74  |Majority of rout|
00000e70  69 6e 65 73 20 77 72 69  74 74 65 6e 2c 20 6d 6f  |ines written, mo|
00000e80  73 74 6c 79 20 6a 75 73  74 20 63 61 6c 6c 73 20  |stly just calls |
00000e90  74 6f 20 0a 20 20 20 20  20 20 20 20 20 20 20 20  |to .            |
00000ea0  20 20 20 63 6f 6e 76 65  72 74 72 67 62 74 6f 67  |   convertrgbtog|
00000eb0  61 6d 6d 61 64 20 28 65  78 63 65 70 74 20 53 65  |ammad (except Se|
00000ec0  6c 65 63 74 54 61 62 6c  65 2f 53 65 6c 65 63 74  |lectTable/Select|
00000ed0  47 43 4f 4c 54 61 62 6c  65 29 0a 20 20 20 20 20  |GCOLTable).     |
00000ee0  20 20 20 20 20 20 20 20  20 20 41 64 64 65 64 20  |          Added |
00000ef0  47 65 6e 65 72 61 74 65  54 61 62 6c 65 20 74 6f  |GenerateTable to|
00000f00  20 6c 69 73 74 20 74 6f  20 63 6f 70 65 20 77 69  | list to cope wi|
00000f10  74 68 20 69 6e 76 65 72  74 65 64 0a 20 20 20 20  |th inverted.    |
00000f20  20 20 20 20 20 20 20 20  20 20 20 73 70 72 69 74  |           sprit|
00000f30  65 73 2e 0a 56 65 72 73  69 6f 6e 20 31 2e 30 33  |es..Version 1.03|
00000f40  20 3a 20 32 31 20 4d 61  72 20 31 39 39 37 0a 20  | : 21 Mar 1997. |
00000f50  20 20 20 20 20 20 20 20  20 20 20 20 20 20 46 69  |              Fi|
00000f60  78 65 64 20 3d 32 35 36  20 69 6e 20 53 65 6c 65  |xed =256 in Sele|
00000f70  63 74 2f 47 65 6e 65 72  61 74 65 54 61 62 6c 65  |ct/GenerateTable|
00000f80  20 73 6f 20 74 68 61 74  20 74 68 69 73 20 72 65  | so that this re|
00000f90  61 64 73 0a 20 20 20 20  20 20 20 20 20 20 20 20  |ads.            |
00000fa0  20 20 20 74 68 65 20 73  70 72 69 74 65 20 63 6f  |   the sprite co|
00000fb0  72 72 65 63 74 6c 79 2e  0a                       |rrectly..|
00000fb9