/* C128-specific command-line option initialization. */ int machine_cmdline_options_init(void) { if (traps_cmdline_options_init() < 0 || vsync_cmdline_options_init() < 0 || video_init_cmdline_options() < 0 || c128_cmdline_options_init() < 0 || vicii_cmdline_options_init() < 0 || vdc_init_cmdline_options() < 0 || sound_cmdline_options_init() < 0 || sid_cmdline_options_init() < 0 || rs232drv_cmdline_options_init() < 0 || rsuser_cmdline_options_init() < 0 || serial_cmdline_options_init() < 0 || printer_cmdline_options_init() < 0 #ifdef HAVE_MOUSE || lightpen_cmdline_options_init() < 0 || mouse_cmdline_options_init() < 0 #endif #ifndef COMMON_KBD || kbd_cmdline_options_init() < 0 #endif || drive_cmdline_options_init() < 0 || datasette_cmdline_options_init() < 0 || cartridge_cmdline_options_init() < 0 || mmu_cmdline_options_init() < 0 || functionrom_cmdline_options_init() < 0 || z80mem_cmdline_options_init() < 0) { return -1; } return 0; }
/* Plus4-specific command-line option initialization. */ int machine_cmdline_options_init(void) { if (traps_cmdline_options_init() < 0 || vsync_cmdline_options_init() < 0 || video_init_cmdline_options() < 0 || plus4_cmdline_options_init() < 0 || ted_cmdline_options_init() < 0 || cartridge_cmdline_options_init() < 0 || digiblaster_cmdline_options_init() < 0 || sound_cmdline_options_init() < 0 || sidcart_cmdline_options_init() < 0 || speech_cmdline_options_init() < 0 || acia_cmdline_options_init() < 0 || rs232drv_cmdline_options_init() < 0 || serial_cmdline_options_init() < 0 || printer_cmdline_options_init() < 0 #ifndef COMMON_KBD || kbd_cmdline_options_init() < 0 #endif || drive_cmdline_options_init() < 0 || datasette_cmdline_options_init() < 0 ) return -1; return 0; }
/* C64-specific command-line option initialization. */ int machine_cmdline_options_init(void) { if (traps_cmdline_options_init() < 0 || vsync_cmdline_options_init() < 0 || video_init_cmdline_options() < 0 || c64_cmdline_options_init() < 0 || plus60k_cmdline_options_init() < 0 || plus256k_cmdline_options_init() < 0 || c64_256k_cmdline_options_init() < 0 || vicii_cmdline_options_init() < 0 || sound_cmdline_options_init() < 0 || sid_cmdline_options_init() < 0 || rs232drv_cmdline_options_init() < 0 || rsuser_cmdline_options_init() < 0 || serial_cmdline_options_init() < 0 || printer_cmdline_options_init() < 0 #ifdef HAVE_MOUSE || mouse_cmdline_options_init() < 0 || lightpen_cmdline_options_init() < 0 #endif #ifndef COMMON_KBD || kbd_cmdline_options_init() < 0 #endif || drive_cmdline_options_init() < 0 || datasette_cmdline_options_init() < 0 || c64_glue_cmdline_options_init() < 0 || userport_joystick_cmdline_options_init() < 0 || userport_rtc_cmdline_options_init() < 0 || cartio_cmdline_options_init() < 0 || cartridge_cmdline_options_init() < 0) { return -1; } return 0; }
/* PET-specific command-line option initialization. */ int machine_cmdline_options_init(void) { #if 0 if (cmdline_register_options(cmdline_options) < 0) { return -1; } #endif if (traps_cmdline_options_init() < 0 || vsync_cmdline_options_init() < 0 || video_init_cmdline_options() < 0 || pet_cmdline_options_init() < 0 || petreu_cmdline_options_init() < 0 || crtc_cmdline_options_init() < 0 || petdww_cmdline_options_init() < 0 || pethre_cmdline_options_init() < 0 || pia1_init_cmdline_options() < 0 || sound_cmdline_options_init() < 0 || sidcart_cmdline_options_init() < 0 || userport_dac_cmdline_options_init() < 0 || drive_cmdline_options_init() < 0 || datasette_cmdline_options_init() < 0 || acia1_cmdline_options_init() < 0 || rs232drv_cmdline_options_init() < 0 || printer_cmdline_options_init() < 0 #ifndef COMMON_KBD || pet_kbd_cmdline_options_init() < 0 #endif || userport_joystick_cmdline_options_init() < 0 ) { return -1; } return 0; }
/* CBM-II-specific command-line option initialization. */ int machine_cmdline_options_init(void) { if (traps_cmdline_options_init() < 0 || vsync_cmdline_options_init() < 0 || video_init_cmdline_options() < 0 || cbm2_cmdline_options_init() < 0 || cartridge_cmdline_options_init() < 0 || crtc_cmdline_options_init() < 0 || sound_cmdline_options_init() < 0 || sid_cmdline_options_init() < 0 || drive_cmdline_options_init() < 0 || datasette_cmdline_options_init() < 0 || acia1_cmdline_options_init() < 0 || rs232drv_cmdline_options_init() < 0 || printer_cmdline_options_init() < 0 #ifndef COMMON_KBD || pet_kbd_cmdline_options_init() < 0 #endif || userport_joystick_cmdline_options_init() < 0 ) { return -1; } return 0; }
/* VIC20-specific command-line option initialization. */ int machine_cmdline_options_init(void) { if (traps_cmdline_options_init() < 0 || vsync_cmdline_options_init() < 0 || video_init_cmdline_options() < 0 || vic20_cmdline_options_init() < 0 || vic_cmdline_options_init() < 0 || sound_cmdline_options_init() < 0 || sidcart_cmdline_options_init() < 0 || rs232drv_cmdline_options_init() < 0 || rsuser_cmdline_options_init() < 0 || serial_cmdline_options_init() < 0 || printer_cmdline_options_init() < 0 #ifdef HAVE_MOUSE || lightpen_cmdline_options_init() < 0 || mouse_cmdline_options_init() < 0 #endif #ifndef COMMON_KBD || kbd_cmdline_options_init() < 0 #endif || drive_cmdline_options_init() < 0 || datasette_cmdline_options_init() < 0 || cartridge_cmdline_options_init() < 0 #ifdef HAVE_MIDI || vic20_midi_cmdline_options_init() < 0 #endif || vic20_ieee488_cmdline_options_init() < 0 || cartio_cmdline_options_init() < 0) { return -1; } return 0; }
/* C64-specific command-line option initialization. */ int machine_cmdline_options_init(void) { if (sound_cmdline_options_init() < 0 || sid_cmdline_options_init() < 0 || psid_init_cmdline_options() < 0 || vsync_cmdline_options_init() < 0) { return -1; } return 0; }
/* C64-specific command-line option initialization. */ int machine_cmdline_options_init(void) { if (vsid_mode) { if (sound_cmdline_options_init() < 0 || sid_cmdline_options_init() < 0 || psid_init_cmdline_options() < 0 ) return -1; return 0; } if (traps_cmdline_options_init() < 0 || vsync_cmdline_options_init() < 0 || video_init_cmdline_options() < 0 || c64_cmdline_options_init() < 0 || reu_cmdline_options_init() < 0 || georam_cmdline_options_init() < 0 || ramcart_cmdline_options_init() < 0 || plus60k_cmdline_options_init() < 0 || plus256k_cmdline_options_init() < 0 || c64_256k_cmdline_options_init() < 0 || mmc64_cmdline_options_init() < 0 || digimax_cmdline_options_init() < 0 #ifdef HAVE_TFE || tfe_cmdline_options_init() < 0 #endif || vicii_cmdline_options_init() < 0 || sound_cmdline_options_init() < 0 || sid_cmdline_options_init() < 0 || acia1_cmdline_options_init() < 0 || rs232drv_cmdline_options_init() < 0 || rsuser_cmdline_options_init() < 0 || serial_cmdline_options_init() < 0 || printer_cmdline_options_init() < 0 #ifdef HAVE_MOUSE || mouse_cmdline_options_init() < 0 #endif #ifndef COMMON_KBD || kbd_cmdline_options_init() < 0 #endif || drive_cmdline_options_init() < 0 || datasette_cmdline_options_init() < 0 || cartridge_cmdline_options_init() < 0 ) return -1; return 0; }
/* CBM-II-specific command-line option initialization. */ int machine_cmdline_options_init(void) { if (traps_cmdline_options_init() < 0 || vsync_cmdline_options_init() < 0 || video_init_cmdline_options() < 0 || cbm2_cmdline_options_init() < 0 || crtc_cmdline_options_init() < 0 || vicii_cmdline_options_init() < 0 || sound_cmdline_options_init() < 0 || sid_cmdline_options_init() < 0 || drive_cmdline_options_init() < 0 || datasette_cmdline_options_init() < 0 || acia1_cmdline_options_init() < 0 || rs232drv_cmdline_options_init() < 0 || printer_cmdline_options_init() < 0 #ifndef COMMON_KBD || pet_kbd_cmdline_options_init() < 0 #endif ) return -1; return 0; }
int init_cmdline_options(void) { if (cmdline_init()) { archdep_startup_log_error("Cannot initialize command-line handling.\n"); return -1; } if (log_cmdline_options_init() < 0) { init_cmdline_options_fail("log"); return -1; } if (initcmdline_init() < 0) { init_cmdline_options_fail("main"); return -1; } if (sysfile_cmdline_options_init() < 0) { init_cmdline_options_fail("system file locator"); return -1; } if (!video_disabled_mode && ui_cmdline_options_init() < 0) { init_cmdline_options_fail("UI"); return -1; } if (machine_class != VICE_MACHINE_VSID) { if (romset_cmdline_options_init() < 0) { init_cmdline_options_fail("romset"); return -1; } } if (monitor_cmdline_options_init() < 0) { init_cmdline_options_fail("monitor"); return -1; } if (machine_common_cmdline_options_init() < 0) { init_cmdline_options_fail("machine common"); return -1; } if (vsync_cmdline_options_init() < 0) { init_cmdline_options_fail("vsync"); return -1; } if (sound_cmdline_options_init() < 0) { init_cmdline_options_fail("sound"); return -1; } if (keyboard_cmdline_options_init() < 0) { init_cmdline_options_fail("keyboard"); return -1; } if (video_cmdline_options_init() < 0) { init_cmdline_options_fail("video"); return -1; } if (machine_cmdline_options_init() < 0) { init_cmdline_options_fail("machine"); return -1; } if (machine_class != VICE_MACHINE_VSID) { if (ram_cmdline_options_init() < 0) { init_cmdline_options_fail("RAM"); return -1; } } #ifdef HAVE_NETWORK if (monitor_network_cmdline_options_init() < 0) { init_cmdline_options_fail("MONITOR_NETWORK"); return -1; } #endif return 0; }