SYSTEM_CONFIG_END static void cbm500_quickload_getinfo(struct IODevice *dev) { quickload_device_getinfo(dev, quickload_load_cbm500, CBM_QUICKLOAD_DELAY); dev->file_extensions = "p00\0prg\0"; }
static void atom_quickload_getinfo(const device_class *devclass, UINT32 state, union devinfo *info) { /* quickload */ switch(state) { /* --- the following bits of info are returned as NULL-terminated strings --- */ case DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "atm"); break; /* --- the following bits of info are returned as pointers to data or functions --- */ case DEVINFO_PTR_QUICKLOAD_LOAD: info->f = (genf *) quickload_load_atom; break; default: quickload_device_getinfo(devclass, state, info); break; } }
SYSTEM_CONFIG_END static void cbm500_quickload_getinfo(const device_class *devclass, UINT32 state, union devinfo *info) { switch(state) { /* --- the following bits of info are returned as NULL-terminated strings --- */ case DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "p00,prg"); break; /* --- the following bits of info are returned as pointers to data or functions --- */ case DEVINFO_PTR_QUICKLOAD_LOAD: info->f = (genf *) quickload_load_cbm500; break; /* --- the following bits of info are returned as doubles --- */ case DEVINFO_FLOAT_QUICKLOAD_DELAY: info->d = CBM_QUICKLOAD_DELAY; break; default: quickload_device_getinfo(devclass, state, info); break; } }
MACHINE_DRIVER_END #define init_c65 c65_driver_init #define init_c65_alpha1 c65_driver_init #define init_c65pal c65pal_driver_init static void c65_quickload_getinfo(const device_class *devclass, UINT32 state, union devinfo *info) { switch(state) { /* --- the following bits of info are returned as NULL-terminated strings --- */ case DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "p00,prg"); break; /* --- the following bits of info are returned as pointers to data or functions --- */ case DEVINFO_PTR_QUICKLOAD_LOAD: info->f = (genf *) quickload_load_cbm_c65; break; /* --- the following bits of info are returned as doubles --- */ case DEVINFO_FLOAT_QUICKLOAD_DELAY: info->d = CBM_QUICKLOAD_DELAY; break; default: quickload_device_getinfo(devclass, state, info); break; } }
static void pet1_quickload_getinfo(struct IODevice *dev) { quickload_device_getinfo(dev, quickload_load_cbm_pet1, CBM_QUICKLOAD_DELAY); dev->file_extensions = "p00\0prg\0"; }
static void primo_quickload_getinfo(struct IODevice *dev) { /* quickload */ quickload_device_getinfo(dev, quickload_load_primo, 0.0); dev->file_extensions = "pp\0"; }
static void jaguar_quickload_getinfo(struct IODevice *dev) { /* quickload */ quickload_device_getinfo(dev, quickload_load_jaguar, 0.0); dev->file_extensions = "bin\0"; }
static void kc85_quickload_getinfo(struct IODevice *dev) { /* quickload */ quickload_device_getinfo(dev, quickload_load_kc, 0.0); dev->file_extensions = "kcc\0"; }