comparison config.h @ 11:fcae85b39931

Slowly getting closer. Does not compile yet, and it's messy.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 15 Mar 2013 15:47:20 +0200
parents 4c1d187d0cf6
children 2663b7bb23b9
comparison
equal deleted inserted replaced
10:fee680bb71fd 11:fcae85b39931
1 /******************************o. 1 // Settings
2 #define SET_VID_BUFW 640
3 #define SET_VID_BUFH 480
2 4
3 Here are some settings you may want to fix :) 5 #define SET_AUDIO_FREQ 44100
4 VIDEO and AUDIO are set in the makefile.
5 */
6 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 7
14 Svgalib: the best-fitting 256 color mode will be searched 8 #define SET_WIN_NAME "Ocsa (PWP) - 3x666"
15 automatically.
16 */
17 9
18 #define OUTFREQ 22050
19 /*
20 Audio output frequency.
21 */
22 10
23 #define FRAGSIZE 10 /* size = 2^n, n=7..17 */ 11 // Do not touch these
24 #define NUMFRAGS 40 /* somewhere between 2..255, i think */ 12 #define SET_DEMOHZ 100
25 /* 13 #define SET_VID_COLORS 256
26 The number and size of the audio buffers. 14 #define SET_AUDIO_CHN 1
27 15
28 If your machine has problems in keeping the mixbuffer filled, you 16 // Maybe these shouldn't be here
29 an try to increase these values. However those 10,40 are quite ok 17 #define SET_ROWTIX 6
30 for a 386dx/25 with an old soundblaster. 18 #define SET_MAXROWLGT (TIKLGT * SET_ROWTIX)
31
32 Prefer increasing NUMFRAGS unless you want an action-halt-
33 action-halt style multimedia performance a la windows.
34
35 We still have problems in keeping the audio up in all
36 circumstances.. such as leaving the svgalib console or while
37 performing some window manager functions.
38 */
39
40 #define WINNAME "3x666"
41 /*
42 The name for the x window.
43 */
44
45 #define SLEEPY 0
46 /*
47 1 = sleep between frames if there's nothing to do
48 originally implemented for a better cpu usage
49 but i don't think it is of any relevant use here
50
51 0 = use dummyloop
52
53 */
54 /* All right! Now save the file and type make ("em ay kee ee")
55 / \
56
57 .o*************/
58
59 /* don't touch these: */
60
61 #define DEMOHZ 100
62
63 /* maybe these shouldn't be here */
64 #define ROWTIX 6
65 #define MAXROWLGT (TIKLGT*ROWTIX)