Showing changes from revision #2 to #3:
Added | Removed | Changed
Entry | |
---|---|
R0 | Entry type: |
0: Normal entry | |
1: Border | |
2: Pointer | |
R1 | Colour (&BBGGRRSS format) |
R2 | Palette index |
R4 | Bits 0-23: 12 (reason code) |
Bits 24-31: Display number |
Exit | |
---|---|
R1 | Updated colour (&BBGGRRSS format) |
R4 | 0 |
- | All other registers preserved |
The kernel issues this call to obtain the effective colour of a palette entry after taking into account any hardware restrictions in the video controller. The appropriate driver should respond by updating the colour value in R1 (if necessary) and setting R4 to 0 to claim the call.
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_ReadPaletteEntry?HAL_VideoReadPaletteEntry.