<verb>
#include <serial.h>
-extern void lynx_comlynx[];
-
static void initialize(){
struct ser_params params = {
SER_BAUD_9600,
<ref id="ser_uninstall" name="ser_uninstall">,
<ref id="ser_unload" name="ser_unload">
<tag/Example/<verb>
-extern void lynx_comlynx[]; //Include the driver statically instead of loading it.
-
-ser_install(lynx_comlynx);
+ser_install(lynx_comlynx); //Include the driver statically instead of loading it.
</verb>
</descrip>
</quote>
<verb>
#include <serial.h>
-extern void lynx_comlynx[];
-
static void initialize(){
struct ser_params params = {
SER_BAUD_9600,
extern unsigned char _filetype; /* Default 6 */
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[];
+
/*****************************************************************************/
/* 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[];
/* 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_240_200_2[]; /* Referred to by tgi_static_stddrv[] */
+
+
+
void __fastcall__ atmos_load(const char* name);
/* Load Atmos tape. */
+/* 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[];
+
+
+
unsigned __fastcall__ videomode (unsigned Mode);
/* Set the video mode, return the old mode. Call with one of the VIDEOMODE_xx
* constants.
/* End of c128.h */
#endif
-
-
-
-/* End of c16.h */
-#endif
+/* The addresses of the static drivers */
+extern void c16_ram[];
+extern void c16_stdjoy[]; /* Referred to by joy_static_stddrv[] */
+/* End of c16.h */
+#endif
#define C64_EU_OLD 0x00
#define C64_DTV 0xFF /* C64 DTV */
-
+
+
+/*****************************************************************************/
+/* Variables */
+/*****************************************************************************/
+
+
+
+/* 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[] */
+
+
/*****************************************************************************/
/* Code */
/* End of c64.h */
#endif
-
-
-
+/*****************************************************************************/
+/* Variables */
+/*****************************************************************************/
+
+
+
+/* The addresses of the static drivers */
+extern void cbm510_ram[];
+extern void cbm510_stdjoy[]; /* Referred to by joy_static_stddrv[] */
+extern void cbm510_stdser[];
+
+
+
/*****************************************************************************/
/* Code */
/*****************************************************************************/
+/*****************************************************************************/
+/* Variables */
+/*****************************************************************************/
+
+
+
+/* The addresses of the static drivers */
+extern void cbm610_ram[];
+extern void cbm610_stdser[];
+
+
+
/*****************************************************************************/
/* Code */
/*****************************************************************************/
+/*****************************************************************************/
+/* Variables */
+/*****************************************************************************/
+
+
+
+/* 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[] */
+
+
+
/*****************************************************************************/
/* Accessing the cart */
/*****************************************************************************/
+/* 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[] */
+
+
+
void waitvblank (void);
/* Wait for the vertical blanking */
+/*****************************************************************************/
+/* Variables */
+/*****************************************************************************/
+
+
+
+/* The addresses of the static drivers */
+extern void pet_ptvjoy[];
+extern void pet_stdjoy[]; /* Referred to by joy_static_stddrv[] */
+
+
+
/*****************************************************************************/
/* Code */
/*****************************************************************************/
/* End of pet.h */
#endif
-
-
-
-/* End of plus4.h */
-#endif
+/* The addresses of the static drivers */
+extern void plus4_stdjoy[]; /* Referred to by joy_static_stddrv[] */
+extern void plus4_stdser[];
+/* End of plus4.h */
+#endif
-/* End of vic20.h */
-#endif
+/* The addresses of the static drivers */
+extern void vic20_ptvjoy[];
+extern void vic20_stdjoy[]; /* Referred to by joy_static_stddrv[] */
+/* End of vic20.h */
+#endif