Re: init and mode setting

Search this archive.

From: Matan Ziv-Av (matan@svgalib.org)
Date: Fri 30 Jun 2000 - 23:25:49 IDT


> I need SVGAlib for the initialization and mode setting of my graphics
> chipset. I understand that SVGAlib must be run as root user. Can someone
> tell me how SVGAlib does initialization and mode setting
> and where in the source code I might look to find such details.

A simple program runs:

vga_init();
vga_setmode(mode);

So follow those two functions. This will be mostly in the file vga.c and
the driver.

-- 
Matan Ziv-Av.                         matan@svgalib.org


This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:23 IST