Default screen resolution

Bruce M Simpson bms at
Tue Aug 20 04:08:33 BST 2002


On Tue, Aug 20, 2002 at 10:50:15AM +0100, Alan Knell wrote:
> Is it possible to recompile the kernel with a default screen resolution of 
> [say] 80x30, instead of 80x25?

Rather than setting it with vidcontrol, I assume?

As far as I can see the vga/fb drivers just leave the adapter in the mode
which the BIOS programmed. Short of stuffing a call to set that mode in
the vesa_configure() routine in /src/sys/i386/isa/vesa.c I don't see any
other way of setting the mode by default.

Over the weekend I managed to get my Vaio to do the 90 column modes on
its TFT panel, but this required a patch to vesa.c to not ignore non-VGA
mode lines in the BIOS.


More information about the Ukfreebsd mailing list