vga_gettextmoderegs, vga_settextmoderegs - get/set the vga state used in text
void vga_gettextmoderegs(void *state);
void vga_settextmoderegs(void *state);
The functions gives access to the buffer where svgalib saves the vga state which
is use when the kernel displays text on the SVGA. This is used by the
(1), and textmode
utilities to restore a possibly screwed console.
The buffer currently occupies 385 bytes. It can't do any harm to make it
substantially larger to allow for future enhancements.
This manual page was edited by Michael Weller
<firstname.lastname@example.org>. The exact source of the referenced
function as well as of the original documentation is unknown.
It is very likely that both are at least to some extent are due to Harm
Occasionally this might be wrong. I hereby asked to be excused by the original
author and will happily accept any additions or corrections to this first
version of the svgalib manual.