GNU Info

Info Node: (multiboot.info)Header graphics fields

(multiboot.info)Header graphics fields


Prev: Header address fields Up: OS image format
Enter node , (file) or (file)node

The graphics fields of Multiboot header
---------------------------------------

   Also, information about a preferred default mode can be specified in
the `mode_type', `width', `height' and `depth' fields. This is only a
_recommended_ mode by the kernel. If the mode exists, the boot loader
should set it if the user hasn't specified a mode. If not, it should
fall back to a similar mode, if available.

   Valid numbers for `mode_type' is 0 for linear graphics mode and 1
for EGA-standard text mode. Everything else is reserved for future
expansion. Please note that even if you set this field to indicate that
you want a graphics mode, you might get a text mode.

   `width' and `height' is specified in pixels, if graphics mode, or
characters in EGA text mode. `depth' is given in bits per pixel for
graphics, or zero for EGA text modes.

   Any, some or all of those three fields may be set to zero,
indicating to the boot loader that no preference is given. This makes
it possible for a kernel to just say it wants a 32-bit resolution, for
example.


automatically generated by info2www version 1.2.2.9