fpc/packages/extra/svgalib
florian b9a0e2ead2 * makefile again regenerated
git-svn-id: trunk@2280 -
2006-01-13 20:32:53 +00:00
..
fpmake.inc + Initial implementation 2005-06-17 16:52:17 +00:00
fpmake.pp + Initial implementation 2005-06-17 16:52:17 +00:00
Makefile * makefile again regenerated 2006-01-13 20:32:53 +00:00
Makefile.fpc * 2.0.0 2005-05-05 12:59:59 +00:00
README * old logs removed and tabs fixed 2002-09-07 15:40:30 +00:00
svgalib.pp * log and id tags removed 2005-05-21 09:42:41 +00:00
testvga.pp * remove $Log 2005-06-07 09:47:55 +00:00
vgamouse.h * splitted to base and extra 2002-01-29 17:54:48 +00:00
vgamouse.pp * log and id tags removed 2005-05-21 09:42:41 +00:00
vgatest.pp * log and id tags removed 2005-05-21 09:42:41 +00:00

This is the svgalib unit for Free Pascal.

Requirements:

To use this unit, you need at least:
 - Free Pascal 0.99.8 or higher
 - libsvga 1.2.10 or higher

Installation:

Edit the makefile to suit your setup (compile, options, where do you want to install)

Just type 'make', and all units will be compiled.
Type 'make install' to install the units.

Testing:

Two small testprograms have been provided:

vgatest : This is a translation of the C program that comes with svgalib.
testvga : Small program to demonstrate that you can draw lines on the screen in any mode.

typing 'make test' will compile the programs.

It is possible that you must be root to run these programs, 
The SVGAlib docs I have aren't clear about that.
If the programs should be able run as another user, you should make them setuid root.

I tested everything as root, and it ran smoothly, your mileage may vary, however.

Michael.