s_sysMsgColors
global · sysmsg
- Address
0x835908· 32 bytes, up to0x835927- Type
uint8_t[32]- Meaning
- Holds four 8-byte records: R, G, B, a pad byte and a float duration, for message levels 0 to 3
- Confidence
- verified, proof one
- Finding
- sysmsg#colour-table
Finding: Colour table in sysmsg
Four message levels have a colour and a duration, 8 bytes each from 0x835908: bytes R, G, B, a
pad byte, then the duration as a float.
| level | R, G, B | duration |
|---|---|---|
| 0 | 255, 255, 255 | 10.0 |
| 1 | 255, 255, 127 | 15.0 |
| 2 | 255, 127, 127 | 15.0 |
| 3 | 127, 255, 255 | 20.0 |
0x44cca0(level, &r, &g, &b) stores each byte as (float)byte · f32(1/255) (0x3b808081,
at 0x8026c8); the product is formed in double and rounded by the 32-bit store. The level is
not range-checked. 0x44cd00(level) loads the duration; nothing calls it.
The derivation is in the doc.