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

NAME

6       vga_getmonitortype - returns the monitor type configured
7

SYNOPSIS

9       #include <vga.h>
10
11       int vga_getmonitortype(void);
12
13

DESCRIPTION

15       This  returns  the  monitor  type configered in /etc/vga/libvga.config.
16       This function is really obsolete, as the result is of not much  use  to
17       the  application vga_getmodeinfo(3) and vga_hasmode(3) do already check
18       the monitor type and there are more flexible ways to specify it too.
19
20       The return value is one of:
21
22       MON640_60
23              31.5 KHz (standard VGA): does 640x480 in 60Hz vsync.
24       MON800_56
25              35.1 KHz (old SVGA): does 800x600 in 56Hz vsync.
26       MON1024_43I
27              35.5 KHz (low-end SVGA,  8514):  does  1024x768  in  43Hz  vsync
28              interlaced.
29       MON800_60
30              37.9 KHz (SVGA): does 800x600 in 60Hz vsync.
31       MON1024_60
32              48.3  KHz  (SVGA  non-interlaced):  does 1024x768 in 60Hz vsync,
33              non-interlaced.
34       MON1024_70
35              56.0 KHz (SVGA high frequency): does 1024x768 in 70Hz vsync.
36       MON1024_72
37              does 1024x768 in 72Hz vsync or even better.
38

SEE ALSO

40       svgalib(7),   vgagl(7),   libvga.config(5),   mousetest(6),    spin(6),
41       vga_init(3), vga_setmode(3), vga_hasmode(3), vga_getmodeinfo(3)
42
43

AUTHOR

45       This  manual  page  was  edited by Michael Weller <eowmob@exp-math.uni-
46       essen.de>. The exact source of the referenced function as  well  as  of
47       the original documentation is unknown.
48
49       It is very likely that both are at least to some extent are due to Harm
50       Hanemaayer <H.Hanemaayer@inter.nl.net>.
51
52       Occasionally this might be wrong. I hereby asked to be excused  by  the
53       original author and will happily accept any additions or corrections to
54       this first version of the svgalib manual.
55
56
57
58Svgalib (>= 1.2.11)              27 July 1997            vga_getmonitortype(3)
Impressum