h6. [[OS SWI Calls]] h6(. » [[OS_Word]] h6((. » OS_Word 12 h2. OS_Word 12 h5. (SWI &07) |_<^{width:4em}. Entry | | |<^. R0 |<^. 12 (&0C)| |<^. R1 |<^. Buffer:| |>^. +0|<^. Logical colour to change| |>^. +1|<^. New physical colour| |>^. +2|<^. Red component| |>^. +3|<^. Green component| |>^. +4|<^. Blue component| |_<^{width:4em}. Exit | | |<^. R0 |<^. Preserved| |<^. R1 |<^. Preserved | h4. Use The purpose of this call is to write the palette. h4. Notes This call is equivalent to [[VDU 19]], but is faster and may be used in interrupt routines. To read the palette use [[OS_ReadPalette]]. h4. See also * [[OS_ReadPalette]] * [[OS_Word]] * [[VDU 19]]