1vga_addmode(3)                Svgalib User Manual               vga_addmode(3)
2
3
4

NAME

6       vga_addmode - add a mode to svgalib modes list
7

SYNOPSIS

9       #include <vga.h>
10
11       int  vga_addmode(int  width,  int height, int num_cols, int offset, int
12       bytesperpixel )
13
14

DESCRIPTION

16       Adds a mode to the list of modes, with the given parameters.  The func‐
17       tion  returns  the  mode  number.  If such a mode already exists on the
18       list, its number is returned, and no mode is added.
19
20

NOTE

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

SEE ALSO

28       vga_addtiming(3) vga_guesstiming(3) addmodetest(6)
29
30

AUTHOR

32       This manual page was written by Matan Ziv-Av
33
34
35
36Svgalib (>= 1.4.0)               7 April 1999                   vga_addmode(3)
Impressum