Offset | Contents |
---|---|
+0 | Mode Selector Flags |
+4 | X resolution (pixels) |
+8 | Y resolution (pixels) |
+12 | Pixel Depth |
+16 | Frame rate (Hz), or -1 for first match |
+20 | Mode Variable Numbers (optional pairs of words, variable number followed by value) |
… | -1 (mode variable list terminator) |
This is the block of data used by Wimp_SetMode and OS_ScreenMode to describe screen modes.
The list of mode variables is terminated by a single word containing -1.