0
|
1 /******************************o.
|
|
2
|
|
3 Here are some settings you may want to fix :)
|
|
4 VIDEO and AUDIO are set in the makefile.
|
|
5 */
|
|
6
|
|
7 #define BUFW 320
|
|
8 #define BUFH 200
|
|
9 /*
|
|
10 The size (width&height) of the display buffer.
|
|
11
|
|
12 320x200 is smooth on a 386.
|
|
13
|
|
14 Svgalib: the best-fitting 256 color mode will be searched
|
|
15 automatically.
|
|
16 */
|
|
17
|
|
18 #define VGARETRACE 0
|
|
19 /*
|
|
20 1 = Svgalib waits for the vertical retrace before dumping the
|
|
21 framebuffer.
|
|
22 */
|
|
23
|
|
24 #define ASMLOOPS 0
|
|
25 /*
|
|
26 386 = use the i386-optimized asm loops (slightly buggy)
|
|
27 0 = pure c source (recommended for non-pc machines :)
|
|
28 */
|
|
29
|
|
30 #define OUTFREQ 22050
|
|
31 /*
|
|
32 Audio output frequency.
|
|
33 */
|
|
34
|
|
35 #define FRAGSIZE 10 /* size = 2^n, n=7..17 */
|
|
36 #define NUMFRAGS 40 /* somewhere between 2..255, i think */
|
|
37 /*
|
|
38 The number and size of the audio buffers.
|
|
39
|
|
40 If your machine has problems in keeping the mixbuffer filled, you
|
|
41 an try to increase these values. However those 10,40 are quite ok
|
|
42 for a 386dx/25 with an old soundblaster.
|
|
43
|
|
44 Prefer increasing NUMFRAGS unless you want an action-halt-
|
|
45 action-halt style multimedia performance a la windows.
|
|
46
|
|
47 We still have problems in keeping the audio up in all
|
|
48 circumstances.. such as leaving the svgalib console or while
|
|
49 performing some window manager functions.
|
|
50 */
|
|
51
|
|
52 #define WINNAME "3x666"
|
|
53 /*
|
|
54 The name for the x window.
|
|
55 */
|
|
56
|
|
57 #define SLEEPY 0
|
|
58 /*
|
|
59 1 = sleep between frames if there's nothing to do
|
|
60 originally implemented for a better cpu usage
|
|
61 but i don't think it is of any relevant use here
|
|
62
|
|
63 0 = use dummyloop
|
|
64
|
|
65 */
|
|
66 /* All right! Now save the file and type make ("em ay kee ee")
|
|
67 / \
|
|
68
|
|
69 .o*************/
|
|
70
|
|
71 /* don't touch these: */
|
|
72
|
|
73 #define DEMOHZ 100
|
|
74
|
|
75 /* maybe these shouldn't be here */
|
|
76 #define ROWTIX 6
|
|
77 #define MAXROWLGT TIKLGT*ROWTIX
|
|
78
|
|
79 #define vga 0
|
|
80 #define X11 1
|