1testlinear(6)                 Svgalib User Manual                testlinear(6)
2
3
4

NAME

6       testlinear, lineart - test a linear frame buffer
7

SYNOPSIS

9       testlinear
10
11

DESCRIPTION

13       Program  to  test  linear addressing on Cirrus cards and on Mach32 (and
14       other cards which may support it).
15
16       Selects 640x480x256 and tries to enable a linear frame buffer (its vir‐
17       tual  address  is  printed). Fills the screen in some color, then draws
18       pixels in random positions.
19
20       For Cirrus cards some direct hardware access is then made for highspeed
21       screen  access.   Except  for the last (Cirrus only) test no speeds are
22       printed, but you are welcome to use 'time' to measure it.  The  program
23       draws  714400 one byte pixels plus a forced 1s delay and various rand()
24       calls for the pixels.
25
26       The testlinear demo needs a few presses of <Return> after each  minimal
27       demo  step.  Even when it does not prompt for it. When it appears to be
28       stuck, just press <Return>.
29
30       The lineart demo is the same, but it accepts a  command  line  with  an
31       arbitrary  number  of  modes.   The modes may be either mode numbers or
32       names, or both.  For example,
33
34       lineart 11 17 G800x600x32k 22
35
36       will give a display of mode 11.  If a  key  is  pressed  mode  17  will
37       appear, followed by mode 20 and 22 as succesive keys are pressed.
38
39       This  demo  is part of svgalib and can be found in the demos/ subdirec‐
40       tory of the original svgalib distribution. However, it is not installed
41       in  the  system by default, s.t. it is unclear where you can find it if
42       your svgalib was installed by some linux distribution. Even then,  when
43       you  have  the demo on your system, you probably won't have the sources
44       s.t. it is only of limited use for you.
45
46       In case of any such problem, simply get an  svgalib  distribution  from
47       the  net.  You  even  don't need to install it. Just make in the demos/
48       subdirecty. As of this writing,  svgalib-1.2.12.tar.gz  is  the  latest
49       version   and   can   be  retrieved  by  ftp  from  sunsite.unc.edu  at
50       /pub/Linux/libs/graphics and tsx-11.mit.edu at  /pub/linux/sources/libs
51       which will most probably be mirrored by a site close to you.
52
53

SEE ALSO

55       svgalib(7),    vgagl(7),    libvga.config(5),    threed(6),   accel(6),
56       bg_test(6),    eventtest(6),    forktest(6),    fun(6),     keytest(6),
57       mousetest(6),   scrolltest(6),   speedtest(6),  spin(6),  testaccel(6),
58       testgl(6), vgatest(6), plane(6), wrapdemo(6)
59
60

AUTHOR

62       This manual page was edited  by  Michael  Weller  <eowmob@exp-math.uni-
63       essen.de>.  The  exact  source of the referenced demo as well as of the
64       original documentation is unknown.
65
66       It is very likely that both are at least to some extent are due to Harm
67       Hanemaayer <H.Hanemaayer@inter.nl.net>.
68
69       Occasionally  this  might be wrong. I hereby asked to be excused by the
70       original author and will happily accept any additions or corrections to
71       this first version of the svgalib manual.
72
73
74
75Svgalib (>= 1.2.11)              29 July 1997                    testlinear(6)
Impressum