New sprite format
=================

Version 0.90 (10-Jan-1993)
SPRtools block 1e release.
(C) 1993 DEEJ Technology PLC


15/16 and 24/32 bit sprite format
---------------------------------

The Sprite Control Block contains the following:

    Bytes            Content

     0 - 3           Offset to next sprite
     4 - 15          Sprite name, up to 12 characters
    16 - 19          Width in words-1
    20 - 23          Height in scan lines-1
    24 - 27          First bit used (left end of row) - should be 0
    32 - 35          Offset to sprite image
    36 - 39          Offset to transparency mask or offset to sprite image
                     if no mask
    40 - 43          Mode sprite was defined in

                     Bit        Content
   
                      0         Should be one
                      1 - 13    x-resolution in dpi (dots per inch), which
                                can only be equal to 45 or 90
                     14 - 26    y-resolution in dpi
                     27 - 31    Type of image: 0 = old format
                                               1 = 1 bpp
                                               2 = 2 bpp
                                               3 = 4 bpp
                                               4 = 8 bpp
                                               5 = 16 bpp
                                               6 = 32 bpp
                                               7 = 32 bpp CMYK

For 15/16 bpp sprites, the format of each pixel of the sprite image is as
follows:

    Bits            Content

     4 - 0          R
     9 - 5          G
    14 - 10         B
    15              Not used

For 24/32 bpp sprites, the format of each pixel of the sprite image is as

    Bytes           Content
    0               R
    1               G
    2               B
    3               Not Used (Alpha channel information)


Disclaimer
----------
All information is understood to be correct at time of writing.

