1  /*
2   * UAE - The Un*x Amiga Emulator
3   *
4   * User configuration options
5   *
6   * Copyright 1995 - 1998 Bernd Schmidt
7   * $Id: uconfig.h 1380 2005-05-25 09:11:02Z roms $
8   */
9 
10 /*
11  * Please note: Many things are configurable with command line parameters,
12  * and you can put anything you can pass on the command line into a
13  * configuration file ~/.uaerc. Please read the documentation for more
14  * information.
15  *
16  * NOTE NOTE NOTE
17  * Whenever you change something in this file, you have to "make clean"
18  * afterwards.
19  * Don't remove the '#' signs. If you want to enable something, move it out
20  * of the C comment block, if you want to disable something, move it inside
21  * the block.
22  */
23 
24 /*
25  * When USE_COMPILER is defined, a m68k->i386 instruction compiler will be
26  * used. This is experimental. It has only been tested on a Linux/i386 ELF
27  * machine, although it might work on other i386 Unices.
28  * This is supposed to speed up application programs. It will not work very
29  * well for hardware bangers like games and demos, in fact it will be much
30  * slower. It can also be slower for some applications and/or benchmarks.
31  * It needs a lot of tuning. Please let me know your results with this.
32  * The second define, RELY_ON_LOADSEG_DETECTION, decides how the compiler
33  * tries to detect self-modifying code. If it is not set, the first bytes
34  * of every compiled routine are used as checksum before executing the
35  * routine. If it is set, the UAE filesystem will perform some checks to
36  * detect whether an executable is being loaded. This is less reliable
37  * (it won't work if you don't use the harddisk emulation, so don't try to
38  * use floppies or even the RAM disk), but much faster.
39  *
40  * @@@ NOTE: This option is unfortunately broken in this version. Don't
41  * try to use it. @@@
42  *
43 #define USE_COMPILER
44 #define RELY_ON_LOADSEG_DETECTION
45  */
46 
47 /*
48  * Set USER_PROGRAMS_BEHAVE to 1 or 2 to indicate that you are only running
49  * non-hardware banging programs which leave all the dirty work to the
50  * Kickstart. This affects the compiler. Any program that is _not_ in the ROM
51  * (i.e. everything but the Kickstart) will use faster memory access
52  * functions.
53  * There is of course the problem that the Amiga doesn't really distinguish
54  * between user programs and the kernel. Not all of the OS is in the ROM,
55  * e.g. the parallel.device is on the disk and gets loaded into RAM at least
56  * with Kickstart 1.3 (don't know about newer Kickstarts). So you probably
57  * can't print, and some other stuff may also fail to work.
58  * A useless option, really, given the way lots of Amiga software is written.
59 #define USER_PROGRAMS_BEHAVE 0
60  */
61 
62 /***************************************************************************
63  * Operating system/machine specific options
64  * Configure these for your CPU. The default settings should work on any
65  * machine, but may not give optimal performance everywhere.
66  * (These don't do very much yet, except HAVE_RDTSC
67  */
68 
69 /*
70  * Define this on PPro's, K6's and maybe other non-x86 CPUs.
71 #define MULTIPLICATION_PROFITABLE
72  */
73 
74 /*
75  * PPros don't like branches. With this option, UAE tries to avoid them in some
76  * places.
77 #define BRANCHES_ARE_EXPENSIVE
78  */
79