On 05/01/2007 11:41 PM, Linus Torvalds wrote:
The standard extended modes are actually really useful, if for a very
simply reason: they give you bigger more lines on screen when a bug
happens.
So I _still_ occasionally use "vga=extended" just for that reason. The
default 80x25 thing scrolls most oops away.
Not the right time, but I've wanted to ask for ages... why can't we keep
hardware scrolling through the VGA text buffer on a OOPS available from
Shift-PageUp/Down? With hardware scrolling it's really minimal code IIRC.
I'd consider keeping anything but VESA 1.2 (which that ET4000 and most all
other Super VGA cards of the era also do!) nonsensical and as far as I'm
concerned this includes all the VGA modes with the strange number of lines; a
43/60-line VGA screen is too horrible to look at anyway...
80x50 is useful for the above reason. Yeah, it's ugly, but it's useful for
the "It's too much work to try to do anything but just take a digital
photo of the screen". And that 50-line mode will actually be 43 in EGA
mode, I think.
The 132x50 mode is probably a bit prettier, and is fairly common too, and
useful for the same reason.
And once you support those, you might as well support all the VESA text
modes.
Yes, keeping VESA is sensible if you keep anything but note that many of the
extended text modes video.S can set are not VESA modes but modes available
on any standard VGA through tweaking VGA registers. The standard VGA text
modes are:
Mode 0/1: 40x25 (monochrome/colour)
Mode 2/3: 80x25 (monochrome/colour)
Mode 7: 80x25 (monochrome, MDA/Hercules)
VESA 1.2 adds text modes:
Mode 0x108: 80x60
Mode 0x109: 132x25
Mode 0x10a: 132x43
Mode 0x10b: 132x50
Mode 0x10c: 132x60
That 80x43 mode is one of the "specially tweaked VGA modes" (by using a 8x8
character cell instead of the normal 8x14 on the 640x350 screen; it turns
into 80x50 on 640x400).
Well, yes, for symetry with the 132x VESA fonts I guess that 80x43/50 may be
kept; they're sort of "standard" in the sense that they've been widely used
and VESA probably only didn't include them since that was the case already
anyway. And you can set them through standard BIOS calls to replace the font.
But note there are also tweaked "80x28", "80x30", "80x34", and "80x60" modes
there that I feel do not serve any purpose whatsoever and do make for rather
involved code that I expect HPA wouldn't so much mind killing. Having:
1) the standard CGA/MDA/HGA/EGA/VGA modes on an adapter that can do them
2) 80x43/80x50 on the EGA/VGA
3) the VESA 1.2 alphanumeric modes if we have VESA.
should really be enough I feel (and 2 only since it's simple and well-known)
And yes, I'm literally talking about the *text* modes. Not all of us want
to have fbcon built in - I prefer my text-mode lean and mean and fast as
hell, and if I want a frame buffer, I'll take X11, thank you very much.
I agree and don't use fbcon myself. This is (slowly, very slowly) becoming a
bit of an obsolete standpoint even on a PC though; doing away with VGA may
not be all that bad on new machines. And with the absolutely horrible
interpolation TFTS do on anything but their native resolutions, looking at a
640x350/400 screen is sometimes almost too painful even for short purposes
when you have one of those.
Rene.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]