[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Announce (and questions): Linux 2.2 VGA 640x480x16 framebuffer driver



On Tue, 26 Jan 1999, Ben Pfaff wrote:
> For use mainly by graphical installation disks, I have written a
> `least common denominator' 640x480x16 framebuffer for VGA and
> compatible cards.  It is essentially complete.  You can find it at
> 	http://pfaffben.user.msu.edu/~blp
> and	http://www.msu.edu/user/pfaffben
> 
> To use it, patch a 2.2.0 kernel pre-patch with vga16.patch, then
> select `VGA 16-color graphics console' and `VGA 16-color planar
> support' in configuration.  When you reboot, you must specify vga=274
> (which is 0x112 in hex) to kick your card into the proper video mode
> for use by VGA16 (I have not implemented mode-setting yet).

Nice!

> +       vga16fb_defined.pixclock     = 10000000 / 640 * 1000 / 480;
> +       vga16fb_defined.left_margin  = (640 / 8) & 0xf8;
> +       vga16fb_defined.right_margin = 32;
> +       vga16fb_defined.upper_margin = 16;
> +       vga16fb_defined.lower_margin = 4;

Here you could fill in the timings for the standard VGA 640x480 mode.

And now we're waiting for 320x200 in 256 colors :-)

Greetings,

						Geert

--
Geert Uytterhoeven                     Geert.Uytterhoeven@cs.kuleuven.ac.be
Wavelets, Linux/{m68k~Amiga,PPC~CHRP}  http://www.cs.kuleuven.ac.be/~geert/
Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium


Reply to: