1gl_setdisplaystart(3) Svgalib User Manual gl_setdisplaystart(3)
2
3
4
6 gl_setdisplaystart - set the start of the screen are displayed
7
8
10 #include <vgagl.h>
11
12 vga gl_setdisplaystart(int x, int y);
13
14
16 Set the physical display start address to the pixel at (x, y).
17
18 Can be used for hardware scrolling, or for page flipping (e.g. setdisā
19 playstart(0, HEIGHT) displays from the second page). Make sure the
20 scanline width (BYTEWIDTH) in bytes of the current context corresponds
21 with the physical screen.
22
23 Note also that the display start cannot be set to completely arbitrary
24 points, see vga_setdisplaystart(3).
25
26
28 svgalib(7), vgagl(7), svgalib.conf(5), threedkit(7), testgl(1),
29 vga_setdisplaystart(3), gl_copyscreen(3), gl_setscreenoffset(3).
30
31
33 This manual page was edited by Michael Weller <eowmob@exp-math.uni-
34 essen.de>. The exact source of the referenced demo as well as of the
35 original documentation is unknown.
36
37 It is very likely that both are at least to some extent are due to Harm
38 Hanemaayer <H.Hanemaayer@inter.nl.net>.
39
40 Occasionally this might be wrong. I hereby asked to be excused by the
41 original author and will happily accept any additions or corrections to
42 this first version of the svgalib manual.
43
44
45
46Svgalib (>= 1.2.11) 2 Aug 1997 gl_setdisplaystart(3)