On Fri, 10 Nov 2000, OKUJI Yoshinori wrote:

> > diff -r1.97 builtins.c
> > 4064c4064
> > <   if (get_vbe_mode_info (mode_number | (1 << 14), &mode) != 0x004F
> > ---
> > >   if (get_vbe_mode_info (mode_number /*| (1 << 14)*/, &mode) != 0x004F
> > 4306c4306
> > <       if (get_vbe_mode_info (*mode_list | (1 << 14), &mode) != 0x004F)
> > ---
> > >       if (get_vbe_mode_info (*mode_list /*| (1 << 14)*/, &mode) != 0x004F)
> 
>   Why is this necessary?

Probably by wrongly coded bios implementation. But without linear-flag
in get mode request you still get correct information needed to work with
mode. Only requirement is to use linear-flag in set mode. Usually on mode
query you should only use information provided by vbe (modelist) and use
that for querying existing compatible modes. In mode flags there is
linear mode supported flag which can be used to check is mode compatible
for our use.


_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub

Reply via email to