Index: [thread] [date] [subject] [author]
  From: Andrew Apted <ajapted@netspace.net.au>
  To  : ggi-develop@eskimo.com
  Date: Sun, 2 Aug 1998 01:21:27 +1000

More progress with kgicon

Hi !

I've committed a new'n'improved fbcon-kgi.c which fixes many bugs
(palette setting, panning, splitline) but more importantly changes the
way initialization works : it is no longer "init_kgi() sets mode and
then we create a var_screeninfo" it is now "first create a var_screeninfo 
and then set the mode in kgifb_set_var()".  The mode is changed at each
VT switch -- so it is possible to have, eg, VT 1 is 320x200[8], VT 2 is
640x200[16] and VT 3 is 640x400[32] (well I guess this is pretty
obvious, but I'm still happy about it :->).

BTW changing modes is just by:

    fbset -fb /dev/fb1 -g 640 400 640 400 32

but if the mode isn't allowed the you can end up with just a black
screen (or worse... I got an instant reboot by using a funny depth).

Cheers,
_____________________________________________  ____
                                               \  /
  Andrew Apted   <andrew@ggi-project.org>       \/
  

Index: [thread] [date] [subject] [author]