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

NAME

6       vga_setwritepage - set the 64K SVGA page number
7

SYNOPSIS

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

DESCRIPTION

15       Usually  SVGA  cards have more than the 64K memory which suffice for an
16       ordinary VGA.  However, the memory window mapped at  vga_getgraphmem(3)
17       is  only  64K  bytes large.  vga_setwritepage() selects the page-th 64K
18       memory chunk to be visible for writes at position vga_getgraphmem(3).
19
20       vga_setreadpage(3) allows a different 64K memory chunk to  be  modified
21       by  reads  from  this  memory window. This is a very useful feature for
22       screen to screen pixmap copies. However, not all cards support this  in
23       all  graphics  modes.  Check  vga_modeinfo(3) for availability. Esp. as
24       this feature can also not be used when in background mode.
25
26       Of course, this function must be used in conjunction with  vga_setread‐
27       page(3) but may not be used in conjunction with vga_setpage(3).
28
29

SEE ALSO

31       svgalib(7),  vgagl(7),  libvga.config(5),  fun(6), vgatest(6), vga_get‐
32       graphmem(3), vga_claimvideomemory(3),  vga_modeinfo(3)  vga_setpage(3),
33       vga_setreadpage(3), vga_setlinearaddressing(3)
34

AUTHOR

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