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

NAME

6       vga_gettextmoderegs,  vga_settextmoderegs  - get/set the vga state used
7       in text mode
8

SYNOPSIS

10       #include <vga.h>
11
12       void vga_gettextmoderegs(void *state);
13       void vga_settextmoderegs(void *state);
14
15

DESCRIPTION

17       The functions gives access to the buffer where svgalib  saves  the  vga
18       state  which is use when the kernel displays text on the SVGA.  This is
19       used by the restoretextmode(1), savetextmode(1), and textmode(1) utili‐
20       ties to restore a possibly screwed console.
21
22       The  buffer  currently occupies 385 bytes. It can't do any harm to make
23       it substantially larger to allow for future enhancements.
24
25

SEE ALSO

27       svgalib(7),  vgagl(7),   libvga.config(5),   restorefont(1),   restore‐
28       textmode(1),     restorepalette(1),    savetextmode(1),    textmode(1),
29       vga_dumpregs(3), vga_gettextfont(3), dumpreg(1)
30

AUTHOR

32       This manual page was edited  by  Michael  Weller  <eowmob@exp-math.uni-
33       essen.de>.  The  exact  source of the referenced function as well as of
34       the original documentation is unknown.
35
36       It is very likely that both are at least to some extent are due to Harm
37       Hanemaayer <H.Hanemaayer@inter.nl.net>.
38
39       Occasionally  this  might be wrong. I hereby asked to be excused by the
40       original author and will happily accept any additions or corrections to
41       this first version of the svgalib manual.
42
43
44
45Svgalib (>= 1.2.11)              27 July 1997           vga_gettextmoderegs(3)
Impressum