Package svgalib

Low-level fullscreen SVGA graphics library

http://www.svgalib.org/

The svgalib package provides the SVGAlib low-level graphics library
for Linux. SVGAlib is a library which allows applications to use full
screen graphics on a variety of hardware platforms. Some games and
utilities use SVGAlib for their graphics. For details on
supported chipsets, see man 7 svgalib (when svgalib is installed).

General Commands (Section 1)
convfont
convert the standard format binary fontfile name fontfile to the codepage format required by restorefont(1). The converted font is written to vgafontfile. A...
dumpreg
The chipset drivers of svgalib inquire the mode of the graphic card when the application is started and restore it when the svgalib application quits. dumpreg...
fix132x43
This program tries to fix problems with extended textmodes on some cards. The problem is that for 132x43 textmode, some BIOS's set the vertical display end...
restorefont
The font used by SVGA when in textmode is written to or restored from filename using the vga_gettextfont(3) and vga_puttextfont(3) functions.
restorepalette
restorepalette without arguments sets the standard VGA palette. This can be useful if it is somehow messed up. With a filename argument a custom palette can be...
restoretextmode
The state of the SVGA is written to or restored from filename using the vga_gettextmoderegs(3) and vga_settextmoderegs(3) functions. As of this writing this...
runx
If XFree86 corrupts your textmode font, try putting restorefont(1) in your path and use the shell script runx to run X. runx saves the VGA font data in...
savetextmode
These are simple scripts to save the SVGA register state when in textmode to the files /etc/vga/fontdata and /etc/vga/textregs ($HOME/.vga/fontdata and...
setmclk
This program sets the memory clock of Cirrus 5424/26/28 cards. The first three values could be set by utility programs that came with my card (AVGA3), but...
svgakeymap
Generates a keymap conversion file for svgalib(7) from two keytable definitions. Keytables are searched for in /lib/kbd/keymaps and are automatically filtered...
File Formats (Section 5)
libvga.config
The svgalib configuration is usually located in /etc/vga/libvga.config though one can reconfigure this location when recompiling svgalib. In the configuration...
Games (Section 6)
accel
Test new-style accelerated functions (As of this writing: Ark, Cirrus, Chips & Technologies cards, and Mach32 only). For other cards the demo will not work...
bg_test
Tests the enhanced support of recent svgalibs to draw while switched to the background. Draws a small centered white box then waits until you switch to another...
eventtest
This is a kind of an upgraded keytest(6) and mousetest(6) demo using the vga_waitevent(3) function. Use mouse to move cursor. <1>-<9>, <0> to set the cursor...
forktest
This is a copy of the keytest(6) demo (look there). However, it uses vga_safety_fork(3) to start a background process to restore the console in case the fore...
fun
Random moving pixels accumulate in clusters. Uses virtual screens for frame animation. This uses basic VGA functionality and works only in 320x200x256. Hit...
joytest
This demo program tries to open the joystick with the given number and calibrates it. The user is prompted to press <Return> after which any state change of the...
keytest
A program to test the low-level keyboard interface. This uses basic VGA functionality (or an svga mode you specify). Works only in 256 color modes. Cursor keys...
mach32info
mach32info prints out almost all the info about your mach32 card from configuration registers and Mach32 EEPROM. It also measures the Mach32 clocks. A...
mjoytest
This demo program utilizes joysticks 0 and 1 in graphics mode. If you specify a joystick number, only this is used. The demo separates the screen in two parts...
mousetest
A simple program to test mouse functionality. This uses basic VGA functionality (or an svga mode you specify, you should stick to 256 color modes). The proper...
plane
A greyscale-shaded rendered-on-the-fly turbo-prop that you can rotate and scale however you like. The demo prompts your for a mode to be used and several...
printftest
This test utility reads keys from the keyboard and displays them on the screen at pixel position (x, y) using gl_printf(3). It must be linked with the ELF...
scrolltest
Smooth scrolling demo. Uses three different techniques. Useful for testing Mode X functionality (not that I would recommend it over 320x240x256 linear). Press...
speedtest
Video memory speed tester. Selects the given mode and makes linear screen accesses. Prints the overall run time of the test and deduces the speed with which the...
spin
Another mouse test program. This is the first svgalib program to use the 6-dimensional mouse routines. It draws a wireframe spheroid on the screen which can be...
svidtune
mode is an svgalib mode number for the mode to be tuned. The number of colours is irrelevant, but the mode must be supported by the hardware. svidtune displays...
testaccel
Program to test the old blitter functions in a screen mode. Checks the 8-bit wide color lookup tables on Mach32's with type 2 DACs as well. [I think '6bpp' and...
testgl
Demo program for vgagl(7) framebuffer library. Runs in any mode preset from the environment. First draws pixels in random locations, then random boxes, then...
testlinear
Program to test linear addressing on Cirrus cards and on Mach32 (and other cards which may support it). Selects 640x480x256 and tries to enable a linear frame...
threed
Well, the 3d demo... I, Michael, the current svgalib maintainer, do not have any source for it. Thus, you may experience weird problems with new svgalib...
vgatest
Mode test program. First the program gives a list of the supported modes, then you enter a number and vgatest displays a test pattern in that mode. The test...
wrapdemo
Demonstrates surface wrapping of pixmaps by wrapping a picture or Susanna Rubens around a 3-dimensional ball. The demo prompts your for a mode to be used and...
Miscellanea (Section 7)
svgalib
0. Introduction 1. Installation 2. How to use svgalib 3. Description of svgalib functions 4. Overview of supported SVGA chipsets and modes 5. Detailed comments...
svgalib.chips
Information for Chips and Technologies Users David Bateman <dbateman@eng.uts.edu.au> 23nd May 1997 0. Introduction 1. "libvga.config" options 2. Unsupported...
svgalib.et4000
NOTE: The ET4000 register layout changed stepping from svgalib 0.98 to 0.99. See 8. Problems below first 1. Basics of ET4000 cards 2. How to configure...
svgalib.faq
I (Matan Ziv-Av), added/changed some of the answers in this file, so some answers are mine, and some are Michael's. List of (recently) frequently asked...
svgalib.mach32
0. Introduction 1. Specifying pixel clocks 2. Copyrights 3. The mach32info utility 4. Third party cards 5. Logical linewidth 6. Noisy video signals 7. The...
threedkit
The 3dkit consists mainly of the following triangle functions gl_striangle(3), gl_swtriangle(3), gl_triangle(3), gl_trigetcolorlookup(3)...
vgagl
0. Introduction 1. How to use vgagl 2. Description of vgagl functions 3. Macros defined in vgagl.h
System Administration (Section 8)
mode3
The video card is set to vesa mode modenum (or 3 by default) using the (real mode) vesa bios calls.
vga_reset
Call real mode c000:0003, which should be the video card's initialization routine. Should work in some cases when mode3 fails to restore text mode.