OS_SpriteOp and 32bpp sprites
John Clark
jdclark at argonet.co.uk
Sun Nov 17 16:29:34 GMT 2002
When using OS_SpriteOP with reason codes 41 and 42 to read and write pixel
colours in a 32 bpp sprite it seems that R5 contains the 24 bit RGB value
and R6 (tint) is not used, though I can't find this clearly stated in the
PRMs.
The OSLib calls for these reason codes, osspriteop_read_pixel_colour and
osspriteop_write_pixel_colour take an os_gcol type for the colour value to
go in R5. However, this is a byte value and so will not take the 24 bit
RGB value.
Have I missed something, or does OSLib need extending to cover 32 bpp (and
16 bpp?) sprite colour reads and writes?
John Clark
--
_________
jdclark at argonet.co.uk
More information about the oslib-user
mailing list