GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
vga_addmode(3) Svgalib User Manual vga_addmode(3)

vga_addmode - add a mode to svgalib modes list

#include <vga.h>

int vga_addmode(int width, int height, int num_cols, int offset, int bytesperpixel )

Adds a mode to the list of modes, with the given parameters. The function returns the mode number. If such a mode already exists on the list, its number is returned, and no mode is added.

Adding a mode to the list is not enough in order to use it. There must also be a timing line that fits that mode. This can be added either as a modeline in the config file, or with one of the functions vga_addtiming(3) and vga_guesstiming(3).

vga_addtiming(3) vga_guesstiming(3) addmodetest(6)

This manual page was written by Matan Ziv-Av
7 April 1999 Svgalib (>= 1.4.0)

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.