NAME
vga_getmodeinfo - returns pointer to mode information structure for a mode
SYNOPSIS
#include <vga.h>
vga_cardinfo *vga_getcardinfo(void);
DESCRIPTION
The function returns a pointer to a card information structure which is
filled out with details about the video card in use
mode.
#include <vga.h>
defines
vga_cardinfo
as
typedef struct {
int version;
int size;
int chipset;
int physmem;
} vga_modeinfo;
The fields meaning in detail:
Basic mode details
- size
-
Size of the cardinfo structure. The structure is malloc()ed, and the program should free
it when no longer needed.
- chipset
-
Number of the chispet driver used to drive the card. Same list as is used in the
vga_setchipset
function.
- physmem
-
Physical address of the linear memory aperture of the card. This is needed for example for setting
the video overlay of v4l devices.
SEE ALSO
svgalib(7),
libvga.config(5),
AUTHOR
This manual page written by Matan Ziv-Av <matan@svgalib.org>.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- Basic mode details
-
- SEE ALSO
-
- AUTHOR
-