Mode test program. First the program gives a list of the supported
modes, then you enter a number and get a testimage in that mode.
The testimage consists of a sequence of crosses (in different colors,
if the mode support has different colors) in the top left corner.
Below you see three color bars red, green, blue with increasing
intensity from left to right. Depending on the capabilities of the
mode they are more or less jumpy (or smooth for true color).
In case of modes with 32K or more colors, six squares will appear
on top of that, each showing some different smooth color shades
It also shows some details from
vga_getmodeinfo (3).
This demo is part of svgalib and can be found in the
demos/
subdirectory of the original svgalib distribution. However, it is not installed in the system
by default, s.t. it is unclear where you can find it if your svgalib was installed by some
linux distribution. Even then, when you have the demo on your system, you probably won't have
the sources s.t. it is only of limited use for you.
In case of any such problem, simply get an svgalib distribution from the net. You even
don't need to install it. Just
make
in the
demos/
subdirecty. As of this writing,
svgalib-1.2.12.tar.gz
is the latest version and can be retrieved by ftp from
sunsite.unc.edu at /pub/Linux/libs/graphics
and
tsx-11.mit.edu at /pub/linux/sources/libs
which will most probably be mirrored by a site close to you.