extern unsigned int _auxtype; /* Default 0 */
/* The addresses of the static drivers */
-extern void apple2_auxmem[];
-extern void apple2_stdjoy[]; /* Referred to by joy_static_stddrv[] */
-extern void apple2_stdmou[]; /* Referred to by mouse_static_stddrv[] */
-extern void apple2_ssc[];
-extern void apple2_280_192_8[]; /* Referred to by tgi_static_stddrv[] */
-extern void apple2_40_48_16[];
+#ifndef __APPLE2ENH__
+extern void a2_auxmem_emd[];
+extern void a2_stdjoy_joy[]; /* Referred to by joy_static_stddrv[] */
+extern void a2_stdmou_mou[]; /* Referred to by mouse_static_stddrv[] */
+extern void a2_ssc_ser[];
+extern void a2_hi_tgi[]; /* Referred to by tgi_static_stddrv[] */
+extern void a2_lo_tgi[];
+#endif
+/*****************************************************************************/
+/* Variables */
+/*****************************************************************************/
+
+
+
+/* The addresses of the static drivers */
+extern void a2e_auxmem_emd[];
+extern void a2e_stdjoy_joy[]; /* Referred to by joy_static_stddrv[] */
+extern void a2e_stdmou_mou[]; /* Referred to by mouse_static_stddrv[] */
+extern void a2e_ssc_ser[];
+extern void a2e_hi_tgi[]; /* Referred to by tgi_static_stddrv[] */
+extern void a2e_lo_tgi[];
+
+
+
/*****************************************************************************/
/* Code */
/*****************************************************************************/
/* global variables */
extern unsigned char _dos_type; /* the DOS flavour */
-extern void atari_130xe[];
-extern void atari_stdjoy[]; /* referred to by joy_static_stddrv[] */
-extern void atari_multijoy[];
-extern void atari_10[];
-extern void atari_10p2[];
-extern void atari_11[];
-extern void atari_14[];
-extern void atari_15[];
-extern void atari_15p2[];
-extern void atari_3[];
-extern void atari_4[];
-extern void atari_5[];
-extern void atari_6[];
-extern void atari_7[];
-extern void atari_8[]; /* referred to by tgi_static_stddrv[] */
-extern void atari_8p2[];
-extern void atari_9[];
-extern void atari_9p2[];
+extern void atr130xe_emd[];
+extern void ataristd_joy[]; /* referred to by joy_static_stddrv[] */
+extern void atarim8_joy[];
+extern void atari10_tgi[];
+extern void atr10p2_tgi[];
+extern void atari11_tgi[];
+extern void atari14_tgi[];
+extern void atari15_tgi[];
+extern void atr15p2_tgi[];
+extern void atari3_tgi[];
+extern void atari4_tgi[];
+extern void atari5_tgi[];
+extern void atari6_tgi[];
+extern void atari7_tgi[];
+extern void atari8_tgi[]; /* referred to by tgi_static_stddrv[] */
+extern void atr8p2_tgi[];
+extern void atari9_tgi[];
+extern void atr9p2_tgi[];
/* provide old names for backwards compatibility */
#ifdef ATARI_COMPAT_PRE_2_11
/* The addresses of the static drivers */
-extern void atmos_pase[]; /* Referred to by joy_static_stddrv[] */
-extern void atmos_acia[];
-extern void atmos_228_200_3[];
-extern void atmos_240_200_2[]; /* Referred to by tgi_static_stddrv[] */
+extern void atmos_pase_joy[]; /* Referred to by joy_static_stddrv[] */
+extern void atmos_acia_ser[];
+extern void atmos_228_200_3_tgi[];
+extern void atmos_240_200_2_tgi[]; /* Referred to by tgi_static_stddrv[] */
/* The addresses of the static drivers */
-extern void c128_georam[];
-extern void c128_ram[];
-extern void c128_ram2[];
-extern void c128_ramcart[];
-extern void c128_reu[];
-extern void c128_vdc[];
-extern void c128_ptvjoy[];
-extern void c128_stdjoy[]; /* Referred to by joy_static_stddrv[] */
-extern void c128_1351[]; /* Referred to by mouse_static_stddrv[] */
-extern void c128_joymouse[];
-extern void c128_potmouse[];
-extern void c128_swlink[];
-extern void c128_640_200_2[]; /* Referred to by tgi_static_stddrv[] */
-extern void c128_640_480_2[];
+extern void c128_georam_emd[];
+extern void c128_ram_emd[];
+extern void c128_ram2_emd[];
+extern void c128_ramcart_emd[];
+extern void c128_reu_emd[];
+extern void c128_vdc_emd[];
+extern void c128_ptvjoy_joy[];
+extern void c128_stdjoy_joy[]; /* Referred to by joy_static_stddrv[] */
+extern void c128_1351_mous[]; /* Referred to by mouse_static_stddrv[] */
+extern void c128_joy_mou[];
+extern void c128_pot_mou[];
+extern void c128_swlink_ser[];
+extern void c128_vdc_tgi[]; /* Referred to by tgi_static_stddrv[] */
+extern void c128_vdc2_tgi[];
/* The addresses of the static drivers */
-extern void c16_ram[];
-extern void c16_stdjoy[]; /* Referred to by joy_static_stddrv[] */
+extern void c16_ram_emd[];
+extern void c16_stdjoy_joy[]; /* Referred to by joy_static_stddrv[] */
/* The addresses of the static drivers */
-extern void c64_c256k[];
-extern void c64_dqbb[];
-extern void c64_georam[];
-extern void c64_isepic[];
-extern void c64_ram[];
-extern void c64_ramcart[];
-extern void c64_reu[];
-extern void c64_vdc[];
-extern void dtv_himem[];
-extern void c64_hitjoy[];
-extern void c64_numpad[];
-extern void c64_ptvjoy[];
-extern void c64_stdjoy[]; /* Referred to by joy_static_stddrv[] */
-extern void c64_1351[]; /* Referred to by mouse_static_stddrv[] */
-extern void c64_joymouse[];
-extern void c64_potmouse[];
-extern void c64_swlink[];
-extern void c64_320_200_2[]; /* Referred to by tgi_static_stddrv[] */
+extern void c64_c256k_emd[];
+extern void c64_dqbb_emd[];
+extern void c64_georam_emd[];
+extern void c64_isepic_emd[];
+extern void c64_ram_emd[];
+extern void c64_ramcart_emd[];
+extern void c64_reu_emd[];
+extern void c64_vdc_emd[];
+extern void dtv_himem_emd[];
+extern void c64_hitjoy_joy[];
+extern void c64_numpad_joy[];
+extern void c64_ptvjoy_joy[];
+extern void c64_stdjoy_joy[]; /* Referred to by joy_static_stddrv[] */
+extern void c64_1351_mou[]; /* Referred to by mouse_static_stddrv[] */
+extern void c64_joy_mou[];
+extern void c64_pot_mou[];
+extern void c64_swlink_ser[];
+extern void c64_hi_tgi[]; /* Referred to by tgi_static_stddrv[] */
/* The addresses of the static drivers */
-extern void cbm510_ram[];
-extern void cbm510_stdjoy[]; /* Referred to by joy_static_stddrv[] */
-extern void cbm510_stdser[];
+extern void cbm510_ram_emd[];
+extern void cbm510_std_joy[]; /* Referred to by joy_static_stddrv[] */
+extern void cbm510_std_ser[];
/* The addresses of the static drivers */
-extern void cbm610_ram[];
-extern void cbm610_stdser[];
+extern void cbm610_ram_emd[];
+extern void cbm610_std_ser[];
/* The addresses of the static drivers */
-extern void lynx_stdjoy[]; /* Referred to by joy_static_stddrv[] */
-extern void lynx_comlynx[];
-extern void lynx_160_102_16[]; /* Referred to by tgi_static_stddrv[] */
+extern void lynx_stdjoy_joy[]; /* Referred to by joy_static_stddrv[] */
+extern void lynx_comlynx_ser[];
+extern void lynx_160_102_16_tgi[]; /* Referred to by tgi_static_stddrv[] */
/* The addresses of the static drivers */
-extern void nes_stdjoy[]; /* Referred to by joy_static_stddrv[] */
-extern void nes_64_56_2[]; /* Referred to by tgi_static_stddrv[] */
+extern void nes_stdjoy_joy[]; /* Referred to by joy_static_stddrv[] */
+extern void nes_64_56_2_tgi[]; /* Referred to by tgi_static_stddrv[] */
/* The addresses of the static drivers */
-extern void pet_ptvjoy[];
-extern void pet_stdjoy[]; /* Referred to by joy_static_stddrv[] */
+extern void pet_ptvjoy_joy[];
+extern void pet_stdjoy_joy[]; /* Referred to by joy_static_stddrv[] */
/* The addresses of the static drivers */
-extern void plus4_stdjoy[]; /* Referred to by joy_static_stddrv[] */
-extern void plus4_stdser[];
+extern void plus4_stdjoy_joy[]; /* Referred to by joy_static_stddrv[] */
+extern void plus4_stdser_ser[];
/* The addresses of the static drivers */
-extern void vic20_ptvjoy[];
-extern void vic20_stdjoy[]; /* Referred to by joy_static_stddrv[] */
+extern void vic20_ptvjoy_joy[];
+extern void vic20_stdjoy_joy[]; /* Referred to by joy_static_stddrv[] */