-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.h
112 lines (102 loc) · 4.42 KB
/
config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
/*
* UAE - The Un*x Amiga Emulator
*
* User configuration options
*
* Copyright 1995 - 1998 Bernd Schmidt
*/
/*
* Please note: Many things are configurable with command line parameters,
* and you can put anything you can pass on the command line into a
* configuration file ~/.uaerc. Please read the documentation for more
* information.
*
* NOTE NOTE NOTE
* Whenever you change something in this file, you have to "make clean"
* afterwards.
* Don't remove the '#' signs. If you want to enable something, move it out
* of the C comment block, if you want to disable something, move it inside
* the block.
*/
/*
* When these two are enabled, a subset of the ECS features is emulated.
* Actually, it's only the chip identification and big blits. This may be
* enough to persuade some ECS programs to run.
* DON'T enable SuperHires or Productivity modes. They are not emulated,
* and will look very messy. NTSC doesn't work either.
* OS versions 2.0+ don't like ECS_DENISE at the moment.
#define ECS_DENISE
*/
#define ECS_AGNUS
/*
* When USE_COMPILER is defined, a m68k->i386 instruction compiler will be
* used. This is experimental. It has only been tested on a Linux/i386 ELF
* machine, although it might work on other i386 Unices.
* This is supposed to speed up application programs. It will not work very
* well for hardware bangers like games and demos, in fact it will be much
* slower. It can also be slower for some applications and/or benchmarks.
* It needs a lot of tuning. Please let me know your results with this.
* The second define, RELY_ON_LOADSEG_DETECTION, decides how the compiler
* tries to detect self-modifying code. If it is not set, the first bytes
* of every compiled routine are used as checksum before executing the
* routine. If it is set, the UAE filesystem will perform some checks to
* detect whether an executable is being loaded. This is less reliable
* (it won't work if you don't use the harddisk emulation, so don't try to
* use floppies or even the RAM disk), but much faster.
*
* @@@ NOTE: This option is unfortunately broken in this version. Don't
* try to use it. @@@
*
#define USE_COMPILER
#define RELY_ON_LOADSEG_DETECTION
*/
/*
* Set USER_PROGRAMS_BEHAVE to 1 or 2 to indicate that you are only running
* non-hardware banging programs which leave all the dirty work to the
* Kickstart. This affects the compiler. Any program that is _not_ in the ROM
* (i.e. everything but the Kickstart) will use faster memory access
* functions.
* There is of course the problem that the Amiga doesn't really distinguish
* between user programs and the kernel. Not all of the OS is in the ROM,
* e.g. the parallel.device is on the disk and gets loaded into RAM at least
* with Kickstart 1.3 (don't know about newer Kickstarts). So you probably
* can't print, and some other stuff may also fail to work.
* A useless option, really, given the way lots of Amiga software is written.
#define USER_PROGRAMS_BEHAVE 0
*/
/***************************************************************************
* Operating system/machine specific options
* Configure these for your CPU. The default settings should work on any
* machine, but may not give optimal performance everywhere.
* (These don't do very much yet, except HAVE_RDTSC
*/
/*
* Define this on PPro's, K6's and maybe other non-x86 CPUs.
#define MULTIPLICATION_PROFITABLE
*/
/*
* PPros don't like branches. With this option, UAE tries to avoid them in some
* places.
#define BRANCHES_ARE_EXPENSIVE
*/
/*
* Define this option if you have a very fast Pentium or another x86 CPU that
* understands the RDTSC instruction. When enabled, it will make sure that the
* frame rate does not exceed 50Hz. This will give slightly more speed to the
* CPU emulation. On slow systems (say, worse than a P166), you don't have to
* worry about the frame rate being too high anyway unless you run only boring
* WB-based stuff.
#define HAVE_RDTSC
*/
/***************************************************************************
* Support for broken software. These options are set to default values
* that are reasonable for most uses. You should not need to change these.
*/
/*
* If you want to see the "Hardwired" demo, you need to define this.
* Otherwise, it will say "This demo don't like Axel" - apparently, Axel
* has a 68040.
* NEWS FLASH! My sources tell me that "Axel" stands for accelerator. Not
* that it really matters...
#define WANT_SLOW_MULTIPLY
*/