Annotation of uae/config.h, revision 1.1

1.1     ! root        1:  /* 
        !             2:   * UAE - The Un*x Amiga Emulator
        !             3:   * 
        !             4:   * User configuration options
        !             5:   *
        !             6:   * (c) 1995 Bernd Schmidt
        !             7:   */
        !             8: 
        !             9: /*
        !            10:  * This is just a performance hack. It should work automatically in all
        !            11:  * circumstances. If you get compilation errors because of this, use a
        !            12:  * single line saying "#define REGPARAM".
        !            13:  */
        !            14: #undef REGPARAM
        !            15: #if defined(__i386__) && defined(__GNUC_MINOR__) 
        !            16: #if (__GNUC__ > 2) || (__GNUC_MINOR__ > 6)
        !            17: #define REGPARAM __attribute__((regparm(3)))
        !            18: #endif
        !            19: #endif
        !            20: #ifndef REGPARAM
        !            21: #define REGPARAM
        !            22: #endif
        !            23: 
        !            24: /*
        !            25:  * If you encounter compilation problems of the sort "IPC_whatever undefined",
        !            26:  * or if you get SHM errors when running UAE, try defining this.
        !            27: #define DONT_WANT_SHM
        !            28:  */
        !            29: 
        !            30: /*
        !            31:  * Define if you have a Mac. No, wrong. Define if you are compiling on a Mac.
        !            32: */
        !            33: #define __mac__
        !            34: 
        !            35: /***************************************************************************
        !            36:  * The following options are run-time configurable. However, you can
        !            37:  * change the default values by adding defines here. You can also simply
        !            38:  * skip this block: in that case you'll get the default behaviour.
        !            39:  */
        !            40: 
        !            41: /*
        !            42:  * You can select your keyboard language. US is the default when neither is
        !            43:  * selected.
        !            44:  * The run-time option for this is "-l lang", where lang is US or DE.
        !            45: #define DEFAULT_KBD_LANG_DE
        !            46: */
        !            47: #define DEFAULT_KBD_LANG_US
        !            48: /*
        !            49:  * The frame rate. Setting this to a higher value will speed up the
        !            50:  * emulation by a large factor, but animations will not be smooth.
        !            51:  * I normally use a frame rate of 3-5 myself (use odd frame rates for
        !            52:  * interlaced screens).
        !            53:  * The run-time option is "-f n" where n is the frame rate.
        !            54: #define DEFAULT_FRAMERATE 5
        !            55:  */
        !            56: 
        !            57: /*
        !            58:  * Define this if you want every line to be drawn twice. This is required
        !            59:  * if you want circles to be circles and not ellipses. On the other hand,
        !            60:  * non-aspect screens will be drawn twice as fast.
        !            61:  * (To get a correct aspect, you could also try to fiddle with your
        !            62:  * XF86Config file. I won't pay your broken monitor, though.)
        !            63:  * The run-time option is "-d" to enable correct-aspect drawing.
        !            64: */
        !            65: #define DEFAULT_WANT_ASPECT
        !            66: 
        !            67: /*
        !            68:  * It is not necessary to select one of these: UAE will figure this out
        !            69:  * at run-time. However, selecting the right one will result in a faster
        !            70:  * executable.
        !            71:  * Selecting the wrong one will result in a non-working executable.
        !            72: #define X_8BIT_SCREEN
        !            73: #define X_16BIT_SCREEN
        !            74:  */
        !            75: 
        !            76: #ifdef __linux /* This line protects you if you don't use Linux */
        !            77: /***************************************************************************
        !            78:  * Linux specific options. Ignore these if you are using another OS.
        !            79:  */
        !            80: 
        !            81: /*
        !            82:  * Set this if you want to use SVGAlib instead of X. Don't forget to say
        !            83:  * "make svga" instead of "make linux".
        !            84: #define LINUX_SVGALIB
        !            85:  */
        !            86: 
        !            87: /*
        !            88:  * If you have defined LINUX_SVGALIB, select either SVGALIB_16BIT_SCREEN 
        !            89:  * or SVGALIB_8BIT_SCREEN. If the combination of your graphics card and
        !            90:  * SVGAlib supports 800x600 with 16 bit color, you should use the 16 bit 
        !            91:  * screen to get better colors.
        !            92:  * You may have to change the ?_WEIGHT defines if you
        !            93:  * use a 16 bit screen.
        !            94: #define SVGALIB_8BIT_SCREEN
        !            95:  */
        !            96: #define SVGALIB_16BIT_SCREEN
        !            97: #define SVGALIB_R_WEIGHT 5
        !            98: #define SVGALIB_G_WEIGHT 6
        !            99: #define SVGALIB_B_WEIGHT 5
        !           100: 
        !           101: /*
        !           102:  * Define if you have installed the joystick driver module.
        !           103: #define LINUX_JOYSTICK
        !           104:  */
        !           105: 
        !           106: /*
        !           107:  * Define if you have installed the Linux sound driver and if you have read
        !           108:  * the section about sound in the README.
        !           109:  * Turn off sound at run-time with the "-S" option.
        !           110: #define LINUX_SOUND
        !           111:  */
        !           112: 
        !           113: /*
        !           114:  * Try defining this if you don't get steady sound output. 
        !           115: #define LINUX_SOUND_SLOW_MACHINE
        !           116:  */
        !           117: 
        !           118: #endif /* __linux */
        !           119: 
        !           120: /***************************************************************************
        !           121:  * Support for broken software. These options are set to default values
        !           122:  * that are reasonable for most uses. You should not need to change these.
        !           123:  */
        !           124: 
        !           125: /*
        !           126:  * Some STUPID programs access a longword at an odd address and expect to
        !           127:  * end up at the routine given in the vector for exception 3.
        !           128:  * (For example, Katakis does this)
        !           129:  * If you leave this commented in, memory accesses will be faster,
        !           130:  * but some programs may fail for an obscure reason.
        !           131:  */
        !           132: #define NO_EXCEPTION_3
        !           133: 
        !           134: /*
        !           135:  * If you use Kickstart 1.3, you had better define the following.
        !           136:  * Useful for other programs too. It causes the emulator to
        !           137:  * prevent a segfault if an address outside the 16M range is 
        !           138:  * accessed.
        !           139:  * Again, some programs may fail for some obscure reason.
        !           140:  */
        !           141: #define HAVE_BROKEN_SOFTWARE
        !           142: 
        !           143: /*
        !           144:  * If you want to see the "Hardwired" demo, you need to define this.
        !           145:  * Otherwise, it will say "This demo don't like Axel" - apparently, Axel
        !           146:  * has a 68040.
        !           147: #define WANT_SLOW_MULTIPLY
        !           148:  */
        !           149: 
        !           150: /***************************************************************************
        !           151:  * From here, you should not need to change anything.
        !           152:  */
        !           153: 
        !           154: /*
        !           155:  * The blitter emulator contains an optimization that is, strictly
        !           156:  * speaking, invalid, but very unlikely to break anything. Leaving
        !           157:  * this commented out will enable it.
        !           158: #define NO_FAST_BLITTER
        !           159:  */
        !           160: 
        !           161: /*
        !           162:  * Similar: Disk accesses can be sped up. This isn't such a big win, though.
        !           163:  * It hasn't been extensively tested and is turned off by default.
        !           164:  */
        !           165: #define NO_FAST_DISK
        !           166: 
        !           167: /*
        !           168:  * This means more or less what it says. It will produce much
        !           169:  * larger .cc files which you can only compile if you have lots
        !           170:  * of physical memory. On my machine, I can't even preprocess them.
        !           171:  * The CPU emulator might be a little faster if you really can get
        !           172:  * this to compile.
        !           173: #define HAVE_ONE_GIG_OF_MEMORY_TO_COMPILE_THIS
        !           174:  */
        !           175: 
        !           176: /*
        !           177:  * Better leave these untouched.
        !           178:  */
        !           179: #define SVGALIB_MODE_16 21
        !           180: #define SVGALIB_MODE_8 11

unix.superglobalmegacorp.com

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