Entry | |
---|---|
R0 | Entry type: |
0: Normal entry | |
1: Border | |
2: Pointer | |
R1 | Colour |
R2 | Palette index |
R4 | Bits 0-23: 10 (reason code) |
Bits 24-31: Display number |
Exit | |
---|---|
R4 | 0 |
- | All other registers preserved |
The kernel issues this call to instruct the driver to update the display palette. The appropriate driver should respond by performing the requested action and setting R4 to 0 to claim the call.
For details of the colour formats used with the different palettes, see GraphicsV palette colours.
The default claimant of this call is the kernel. If the call is left unclaimed, and the call was for display 0, the kernel will claim it by setting R4 to 0 and call HAL_Video_WritePaletteEntry?.