PLEASE READ
===========

"The CompoSupport module included with this application is (c) R. Davison
1995. The author hereby grants permission for the inclusion of this module
in any application either commercial or public domain which may benefit
from its use as long as this message is included in full and the module
is not modified in any way. I would appreciate notification of such use
prior to release.

The author accepts no responsibility or legal liability for any loss
through use or misuse of this software even if the author has been
advised of the possibility of such loss.

Bug reports and suggestions are welcome however.

Programmers: Please contact me prior to release in order to ensure that
you have the latest version of the module.

Rob Davison (rdavison@xtra.co.nz)
Southland, New Zealand

Brief doc follows

Possible uses for these SWIs

...Colour correction software
...Interactive Gamma/Colour correction preview for Bitmap graphics packages
...Screensavers/Slideshow applications etc.

CompoSupport doc

ModuleName   = CompoSupport ("Foggy")
SWIBlock     = &83480 (Acorn approved)
MessageBlock = &83480      ditto

Star Commands
-------------

*Compo_OLE 0|1
disable/enable osfile traps to Compo Scrap dir.

SWIs
----

Compo_ReadGamma
STATUS: COMPLETE

on entry -
 r0 = ptr to 256 byte buffer to hold red gammas
 r1 = ptr to 256 byte buffer to hold green gammas
 r2 = ptr to 256 byte buffer to hold blue gammas

on exit -
 contents of buffers to hold last gamma tables written using WriteGamma or
 default tables.

Compo_WriteGamma
STATUS: COMPLETE

on entry -
 r0 = ptr to WORD ALIGNED red table
 r1                       green table
 r2                       blue table

on exit -
 contents of buffers written to VIDC20

Other SWIs maybe defined in some future version of the module.

[addendum 2003: And so they have.
Unfortunately I can't be bothered documenting them... :-p]

Message_CompoOLE &83480

Message_CompoKillDA_Request &83481



