beginnings of allowing more than the basic 80x25 VGA screen resolution
Quoted 4 lines
Quoted 4 lines
As far as I know, not only the VGA driver does not do any mode switching, even the VESA one doesn't (because the protected mode interface doesn't cover the mode switching functions as far as I remember). Only the video board specific frame buffer drivers are
able
Quoted 1 line
Quoted 1 line
to switch modes, and the bad thing (for me personally) is that even
in
Quoted 1 line
Quoted 1 line
2.6.12 there still is no (64-bit) support for the i915 chipset. So
I
Quoted 3 lines
Quoted 3 lines
continue to be required to live with the video mode that XEN 'sets' prior to loading dom0, and short of it supporting a VESA console my first minimal attempt was to at least increase (and propagate) the
size
Quoted 5 lines
Quoted 1 line
to the maximum possible without significant changes.
That's a pain. Maybe we can find a simple example somewhere of setting
video mode via protect-mode VBE calls. I see that this functionality
is
Quoted 2 lines
missing from the kernel drivers -- it's all done in a monstrous real-mode assembly file. Any video card we care about these days
should
Quoted 3 lines
support VBE 2.0/3.0 I think, and those interfaces don;t require you to
be runnign in real mode.
At least for VBE 2.0 such code can't exist; the protected mode interface only covers
- setting the memory window
- setting the display start
- setting the primary palette
and I don't think 3.0 significantly extended that interface. The assumption here is that any program wishing to use this is going to set up its video mode once and for all in real mode, and then only require some limited support in setting certain output-related things.
Jan