s_fallbackFormat
global · console
- Address
0xc4e6fc· 56 bytes, up to0xc4e733- Type
uint32_t[14]- Meaning
- Holds the second fixed device format, 800 x 600 until the desktop mode replaces its size
- Confidence
- verified, proof one
- Finding
- console/display#device-format-record
Finding: Device format record in console: display
A device format is 14 dwords: bytes +4 hardware transform-and-lighting (true unless -swtnl), +5 hardware
cursor, +6 fix-lag, +7 windowed, +8 constrain aspect and +9 maximise; +0xc depth index, +0x10 width,
+0x14 height, +0x18 triple buffering (1 or 2), +0x1c multisample count, +0x20 multisample quality (a float),
+0x24 colour index, +0x28 refresh rate and byte +0x2c vertical sync. The working record is 0xc4eb98;
0xc4ea08 keeps the last format the device accepted; fixed records hold 640 × 480 (colour 0, depth 4) at 0xc4ebd0
and 800 × 600 (1, 5) at 0xc4e6fc, both 60 Hz. Colour index 0, 1, 3 is 16, 24, 30 bits; depth index 4, 5, 7 is 16, 24, 32.
The derivation is in the doc.