Subversion Repositories shark

Rev

Rev 1655 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1655 giacomo 1
--------------------------------------
2
Inverted Pendulum Demo with Mesa
3
 
4
by
5
 
6
Giacomo Guidi	<giacomo@gandalf.sssup.it>
7
 
8
Last update 17/03/2003
9
--------------------------------------
10
 
11
This is the old Inverted Pendulum control
12
demo rewrited usigng the Mesa support
13
 
14
The demo needs a PCL812 card present and
15
the inv.pendulum hardware
16
 
17
The graphic cards actually supported are:
18
 
19
GEFORCE TNT TNT2 - driver name NV3
20
RAGE128 RADEON - driver name R128
21
SAVAGE VIRGE - driver neme SAVAGE
22
 
23
--------------------------------------
24
 
25
The demo is composed by:
26
 
27
MAKEFILE     The makefile used to compile the application
28
README.TXT   This file
29
INITFILE.C   The init file
30
KALM3D.C     The Inv.Pendulum Demo
31
CARRELLO.C   The control task
32
 
33
--------------------------------------
34
 
35
- To specify your card change the line
36
 
37
#define CARD <driver name>
38
 
39
- The demo calls the grx and off-screen Mesa functions.
40
The resolution must be 16 bitsperpixel (64K colors) and
41
the graphic access mode must be linear.
42
 
43
- There are two buffers
44
 
45
	The video buffer (video_buf)
46
	The virtual buffer (rgb_565_buf)
47
 
48
	copy_videomem_16to16 links these buffers
49
 
50
 
51