benilla-re systems structs docs

s_resolutionListCapacity

global · ui

Address
0xb4b3d0 · 4 bytes, up to 0xb4b3d3
Type
uint32_t
Meaning
Holds the capacity of the screen resolution list, in entries
Confidence
verified, proof one
Finding
ui/videoverbs#the-resolution-list

Finding: The resolution list in ui: the video option verbs

The list of {width, height} pairs (8 bytes each) is built once, on first use by any of the four resolution verbs, and never rebuilt. With the widescreen option (default 1) set, the connected display's modes are taken in ascending pixel area and kept when width over height is at least 1.248, the width at least 800 and the height at least 600, skipping a pair equal to the last one kept. With the option clear, missing, or no mode surviving, the list is 800x600, 1024x768, 1280x1024 and 1600x1200, never mixed with kept modes.

The derivation is in the doc.