--- uae/src/include/options.h 2018/04/24 16:50:25 1.1.1.11 +++ uae/src/include/options.h 2018/04/24 17:00:37 1.1.1.17 @@ -4,14 +4,14 @@ * Stuff * * Copyright 1995, 1996 Ed Hanway - * Copyright 1995-98 Bernd Schmidt + * Copyright 1995-2001 Bernd Schmidt */ #define UAEMAJOR 0 #define UAEMINOR 8 -#define UAESUBREV 10 +#define UAESUBREV 17 -typedef enum { KBD_LANG_US, KBD_LANG_DE, KBD_LANG_SE, KBD_LANG_FR, KBD_LANG_IT, KBD_LANG_ES } KbdLang; +typedef enum { KBD_LANG_US, KBD_LANG_DK, KBD_LANG_DE, KBD_LANG_SE, KBD_LANG_FR, KBD_LANG_IT, KBD_LANG_ES } KbdLang; extern long int version; @@ -32,7 +32,6 @@ struct uae_prefs { int use_serial; int serial_demand; int parallel_demand; - int automount_uaedev; int use_gfxlib; int socket_emu; @@ -48,6 +47,7 @@ struct uae_prefs { int produce_sound; int stereo; + int mixed_stereo; int sound_bits; int sound_freq; int sound_minbsiz; @@ -72,6 +72,8 @@ struct uae_prefs { int immediate_blits; unsigned int chipset_mask; int ntscmode; + int collision_level; + int fast_copper; char df[4][256]; char romfile[256]; @@ -96,6 +98,8 @@ struct uae_prefs { struct uaedev_mount_info *mountinfo; + int nr_floppies; + /* Target specific options */ int x11_use_low_bandwidth; int x11_use_mitshm; @@ -266,3 +270,18 @@ STATIC_INLINE void fuzzy_memset_le32_1 ( #if defined(AMIGA) && defined(__GNUC__) #include "od-amiga/amiga-kludges.h" #endif + +/* Every Amiga hardware clock cycle takes this many "virtual" cycles. This + used to be hardcoded as 1, but using higher values allows us to time some + stuff more precisely. + 512 is the official value from now on - it can't change, unless we want + _another_ config option "finegrain2_m68k_speed". + + We define this value here rather than in events.h so that gencpu.c sees + it. */ +#define CYCLE_UNIT 512 + +/* This one is used by cfgfile.c. We could reduce the CYCLE_UNIT back to 1, + I'm not 100% sure this code is bug free yet. */ +#define OFFICIAL_CYCLE_UNIT 512 +