h6. [[Hardware Abstraction Layer]] h6(. [[HAL entry points from RISC OS]] h6((. » HAL_VideoWritePaletteEntries h2. HAL_VideoWritePaletteEntries h5. (HAL entry #41) <pre> void HAL_VideoWritePaletteEntries(uint type, const uint *pcolours, uint index, uint Nentries) </pre> |_<. Entry | | |/4^. type |0 for normal palette entry | |1 for border colour | |2 for pointer colour | |>=3 reserved | |pcolours |Palette to block of palette entry colours in BBGGRRSS format (Blue,Green,Red,Supremacy) | |index |Start index in palette (for first entrry in block) | |Nentries |Number of entries in block (must be >= 1) | |_<. Exit | | |- | | h4. Use This is an internal call for OS use only and should not be used by user software. User software should use [[GraphicsV]] instead of interacting with the HAL directly. Indices are in the range 0..255 for normal, 0 for border, 0..3 for pointer colours. Note that RISC OS only makes calls using 1..3 for the pointer, and pointer colour 0 is assumed to be transparent. h4. See also * [[HAL Video API]] h6. Information source: Kernel.Docs.HAL.HAL_API in CVS