static DEVICE_GET_INFO( venture_sound ) { switch (state) { /* --- the following bits of info are returned as pointers to data or functions --- */ case DEVINFO_FCT_START: info->start = DEVICE_START_NAME(venture_sound); break; case DEVINFO_FCT_RESET: info->reset = DEVICE_RESET_NAME(venture_sound); break; /* --- the following bits of info are returned as NULL-terminated strings --- */ case DEVINFO_STR_NAME: strcpy(info->s, "Exidy SFX+PSG"); break; case DEVINFO_STR_SOURCE_FILE: strcpy(info->s, __FILE__); break; } }
static DEVICE_GET_INFO(timekeeper) { switch (state) { /* --- the following bits of info are returned as 64-bit signed integers --- */ case DEVINFO_INT_TOKEN_BYTES: info->i = sizeof(timekeeper_state); break; case DEVINFO_INT_INLINE_CONFIG_BYTES: info->i = 0; break; // sizeof(timekeeper_config) case DEVINFO_INT_CLASS: info->i = DEVICE_CLASS_PERIPHERAL; break; /* --- the following bits of info are returned as pointers to data or functions --- */ case DEVINFO_FCT_START: info->start = DEVICE_START_NAME(timekeeper); break; case DEVINFO_FCT_STOP: /* nothing */ break; case DEVINFO_FCT_RESET: info->reset = DEVICE_RESET_NAME(timekeeper); break; case DEVINFO_FCT_NVRAM: info->nvram = DEVICE_NVRAM_NAME(timekeeper); break; /* --- the following bits of info are returned as NULL-terminated strings --- */ case DEVINFO_STR_NAME: strcpy(info->s, "Timekeeper"); break; case DEVINFO_STR_FAMILY: strcpy(info->s, "EEPROM"); break; case DEVINFO_STR_VERSION: strcpy(info->s, "1.0"); break; case DEVINFO_STR_SOURCE_FILE: strcpy(info->s, __FILE__); break; case DEVINFO_STR_CREDITS: strcpy(info->s, "Copyright Nicola Salmoria and the MAME Team"); break; } }
void exidy_sound_device::device_reset() { DEVICE_RESET_NAME( exidy_sound )(this); }
void ymf262_device::device_reset() { DEVICE_RESET_NAME( ymf262 )(this); }
void s3c2440_device::device_reset() { DEVICE_RESET_NAME( s3c24xx )(this); }
void mm58274c_device::device_reset() { DEVICE_RESET_NAME( mm58274c )(this); }
void i8271_device::device_reset() { DEVICE_RESET_NAME( i8271 )(this); }
void trackfld_audio_device::device_reset() { DEVICE_RESET_NAME( trackfld_audio )(this); }
void ay31015_device::device_reset() { DEVICE_RESET_NAME( ay31015 )(this); }
void rp5h01_device::device_reset() { DEVICE_RESET_NAME( rp5h01 )(this); }
void k053252_device::device_reset() { DEVICE_RESET_NAME( k053252 )(this); }
void mb14241_device::device_reset() { DEVICE_RESET_NAME( mb14241 )(this); }
void t6721_device::device_reset() { DEVICE_RESET_NAME( t6721 )(this); }
void y8950_device::device_reset() { DEVICE_RESET_NAME( y8950 )(this); }
void apollo_config_device::device_reset() { DEVICE_RESET_NAME( apollo_config )(this); }
void ttl74148_device::device_reset() { DEVICE_RESET_NAME( ttl74148 )(this); }
void ym2608_device::device_reset() { DEVICE_RESET_NAME( ym2608 )(this); }
void m72_audio_device::device_reset() { DEVICE_RESET_NAME( m72_audio )(this); }
void sid6581_device::device_reset() { DEVICE_RESET_NAME( sid )(this); }
void tms9927_device::device_reset() { DEVICE_RESET_NAME( tms9927 )(this); }
void mathbox_device::device_reset() { DEVICE_RESET_NAME( mathbox )(this); }
void k056800_device::device_reset() { DEVICE_RESET_NAME( k056800 )(this); }
void ym2413_device::device_reset() { DEVICE_RESET_NAME( ym2413 )(this); }
void beta_disk_device::device_reset() { DEVICE_RESET_NAME( beta_disk )(this); }
void iremga20_device::device_reset() { DEVICE_RESET_NAME( iremga20 )(this); }
void nmk112_device::device_reset() { DEVICE_RESET_NAME( nmk112 )(this); }
void e05a03_device::device_reset() { DEVICE_RESET_NAME( e05a03 )(this); }
void namco_06xx_device::device_reset() { DEVICE_RESET_NAME( namco_06xx )(this); }
void atari_fdc_device::device_reset() { DEVICE_RESET_NAME( atari_fdc )(this); }