h6. [[Programmer's Reference Manuals]] h6(. » [[Vectors]] h6((. » [[Software Vector Numbers]] h6(((. » PaletteV h2. Palette Vector (35) |_<^{width:3em}. Entry |<^. | |<^. R4|<^. "Reason Code":#reason| |\2<^. Other registers dependant on call| h4. Use This vector is called whenever a call is made to read or write the palette. It has multiple uses, depending on the reason code in R4. h4(#reason). Reason Codes |_<^{width:3em}. # |<^. | |<^. 1|<^. [[PaletteV 1|Read palette]]| |<^. 2|<^. [[PaletteV 2|Set palette]]| |<^. 3|<^. [[PaletteV 3|Set first flash state]]| |<^. 4|<^. [[PaletteV 4|Set second flash state]]| |<^. 5|<^. [[PaletteV 5|Set default palette]]| |<^. 6|<^. [[PaletteV 6|Blank screen]]| |<^. 7|<^. [[PaletteV 7|Read palette entries]]| |<^. 8|<^. [[PaletteV 8|Write palette entries]]| |<^. 9|<^. [[PaletteV 9|Set gamma correction tables]]| |<^. 10|<^. [[PaletteV 10|Set LCD colour inversion]]| |<^. 11|<^. [[PaletteV 11|Dim screen]]| |<^. 12|<^. [[PaletteV 12|Place video hardware in power saving mode]]| |<^. 13|<^. [[PaletteV 13|Return video hardware from power saving mode]]| |<^. 14|<^. [[PaletteV 14|Read gamma correction tables]]| |<^. 15|<^. [[PaletteV 15|Read supremacy transfer table]]| |<^. 16|<^. [[PaletteV 16|Set supremacy transfer table]]| |256|HiResGammaCorrection[1]| h6. Controlling sources: "Hdr:PaletteV":https://gitlab.riscosopen.org/RiscOS/Sources/Programmer/HdrSrc/-/blob/master/hdr/PaletteV managed by the "allocations manager":/content/allocate fn1. Cerilica h4. See also * [[Software Vector Numbers]]