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

NAME

6       vga_setdisplaystart - set the display start address
7

SYNOPSIS

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

DESCRIPTION

15       Set  the display start address to a, where the address is the number of
16       pixels offset from the start of video memory, except for  hicolor/true‐
17       color  modes, which use a unit of 1 byte. Can be used for page-flipping
18       and virtual desktop scrolling. May  not  work  properly  for  16  color
19       modes.
20
21       You  should  ensure  that the memory displayed is actually available on
22       the SVGA card (query memory size with vga_modeinfo(3)) and ensure  that
23       it  is saved by svgalib during console switches with vga_claimvideomem‐
24       ory(3).
25
26       You may only set the bits of the  display  start  address  returned  by
27       vga_modeinfo(3).
28
29

SEE ALSO

31       svgalib(7),  vgagl(7),  libvga.config(5), vga_modeinfo(3), vga_setlogi‐
32       calwidth(3), vga_claimvideomemory(3)
33

AUTHOR

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