AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
Bits 27-30     Meaning

0     Is an old format mode word (MODE number is in bits 0-6)
1     1 bpp
2     2 bpp
3     4 bpp
4     8 bpp
5     16 bpp (5:5:5 for 32k colours)
6     32 bpp 16M colours in a 32 bit word
7     32 bpp CMYK format
8     24 bpp packed format (allocated to CC)
9     JPEG format (allocated but unused)
10     16 bpp (5:6:5 for 64k colours)
11-14     For future expansion
15     Is a RISC OS 5 sprite type

If bits 27-30 are non-zero, then bits 0-26 and 31 are:

Bit(s)     Meaning

0     Takes the value 1, to distinguish this from a so-called mode specifier
1-13     Horizontal dots per inch of sprite
14-26     Vertical dots per inch of sprite. Values of 180 (EX/EY0), 90 (EX/EY1), 45 (EX/EY2), 22.5 stored as 23 or 22 (EX/EY3) are supported.
31     Has a 'wide' 8 bpp alpha mask when set, otherwise 1 bpp binary mask

[sh-index] Back to list of manuals