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: Driver 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.