Annotation of uae/config.h, revision 1.1.1.5

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

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.