fbcon vs. text console

Thomas Pornin (pornin@bolet.ens.fr)
Wed, 6 Jan 1999 11:09:29 +0100


In article <Pine.BSI.4.05L.9901050439240.1636-100000@mail.his.com> you write:
> Brain malfunction. Do not understand. Please try again.

If you use vesafb: the trick is to switch to a high-resolution graphic
mode using the video card bios (or a dos tsr program if you boot with
loadlin) before entering the kernel mode (see arch/i386/boot/video.S),
and then get from the bios functions a usable framebuffer. Once the
kernel is booted, you can no longer call bios functions (for they run
in so-called "real-mode", the old 16-bits way of 8086) and therefore
you have to stick to the current video mode (to switch from one video
mode to another requires that you know how to speak to the video card,
and the whole vesafb thing is about using high-resolution modes without
having this information).

--Thomas Pornin

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/