OKUJI Yoshinori <[EMAIL PROTECTED]> writes:

> Thus, the next thing we should do is to think about how to add the
> support into the speicification.

What about something like this..

Bit 2 in the flags word of the Multiboot header should specify whether
the kernel wants to receive information about which graphics mode is
being used. If this bit is not set, setting of graphics mode should be
disabled by the boot loader.

If that bit is set, the boot loader checks whether graphics mode can
be set (VESA2/3 on PC, other methods may apply on other platforms). If
so, it sets bit 11 of the flags word, and creates a structure which
looks like this (The location of this structure should be pointed to
by a field in the Multiboot information structure, probably the one
right after APM):

0-2 Width of the resolution used
2-4 Height of the resolution used
4   Color depth used

(Perhaps those should be 4 in size, since everything else seems to be
that?)

Reply via email to