CompoSupport is included by permission of its author, Rob Davison.
Please read his copyright notice which is included in the Help
under 'Legal and Copyright'.


CompoSupport doc

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

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

*Compo_OLE 0|1
dis-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 tables written to VIDC20

Compo_PaletteToColour
STATUS: NOT DONE

on entry -
 r0 = 0 for first call or step number
 r1 = red to go to
 r2 = green to go to
 r3 = blue to go to
 r4 = steps to do it in

on exit -
 r0 is updated to hold next step so repeat call until r0=r4

Compo_ColourToPalette
STATUS: NOT DONE

reverse of above call.

on entry -
 r0 = 0 for first call or step number
 r1 = red to come from
 r2 = green to come from
 r3 = blue to come from
 r4 = steps to do it in

on exit -
 r0 is updated to hold next step so repeat call until r0=r4

Compo_ReadPalette
STATUS: NOT DONE
 r0,r1,r2 =ptrs to RGB palette tables (work in all modes)

Compo_WritePalette
STATUS: NOT DONE
 r0,r1,r2 = ptrs to RGB palette tables (work in all modes)

Message_CompoOLE &83480

Message_CompoKillDA_Request &83481

