void y8950_device::device_start() { m_handler.resolve(m_handler_cb, *this); m_keyboardread.resolve(m_keyboardread_cb, *this); m_keyboardwrite.resolve(m_keyboardwrite_cb, *this); m_portread.resolve(m_portread_cb, *this); m_portwrite.resolve(m_portwrite_cb, *this); DEVICE_START_NAME( y8950 )(this); }
static DEVICE_GET_INFO( subwoofer ) { switch (state) { /* --- the following bits of info are returned as pointers to data or functions --- */ case DEVINFO_FCT_START: info->start = DEVICE_START_NAME(subwoofer); break; /* --- the following bits of info are returned as NULL-terminated strings --- */ case DEVINFO_STR_NAME: strcpy(info->s, "Subwoofer"); break; case DEVINFO_STR_SOURCE_FILE: strcpy(info->s, __FILE__); break; } }
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(aes_cart_common) { switch(state) { /* --- the following bits of info are returned as 64-bit signed integers --- */ case DEVINFO_INT_TOKEN_BYTES: info->i = sizeof(aes_pcb_t); break; case DEVINFO_INT_INLINE_CONFIG_BYTES: info->i = 0; break; /* --- the following bits of info are returned as pointers to functions --- */ case DEVINFO_FCT_START: info->start = DEVICE_START_NAME(aes_pcb_std); break; case DEVINFO_FCT_STOP: /* Nothing */ break; case DEVINFO_FCT_RESET: /* Nothing */ break; case AESCART_FCT_ASSM: info->f = (genf *) assemble_std; break; case AESCART_FCT_DISASSM: info->f = (genf *) disassemble_std; break; /* --- the following bits of info are returned as NULL-terminated strings --- */ case DEVINFO_STR_NAME: strcpy(info->s, "AES standard cartridge pcb"); break; case DEVINFO_STR_FAMILY: strcpy(info->s, "AES cartridge pcb"); 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: /* Nothing */ break; } }
MCFG_CARTSLOT_MANDATORY MACHINE_CONFIG_END DEVICE_GET_INFO(aes_multicart) { switch (state) { /* --- the following bits of info are returned as pointers to data --- */ case DEVINFO_PTR_MACHINE_CONFIG: info->machine_config = MACHINE_CONFIG_NAME(aes_multicart); break; /* --- the following bits of info are returned as NULL-terminated strings --- */ case DEVINFO_STR_NAME: strcpy(info->s, "AES Cartridge handler"); break; case DEVINFO_INT_TOKEN_BYTES: /* private storage, automatically allocated */ info->i = sizeof(aes_multicart_t); break; case DEVINFO_STR_FAMILY: strcpy(info->s, "Cartridge slot"); break; case DEVINFO_STR_VERSION: strcpy(info->s, "1.0"); break; case DEVINFO_STR_SOURCE_FILE: strcpy(info->s, __FILE__); break; /* --- the following bits of info are returned as pointers to functions --- */ case DEVINFO_FCT_START: info->start = DEVICE_START_NAME(aes_multicart); break; case DEVINFO_FCT_STOP: info->stop = DEVICE_STOP_NAME(aes_multicart); break; case DEVINFO_FCT_RESET: /* Nothing */ break; } }
static DEVICE_GET_INFO(general_cartridge) { switch (state) { /* --- the following bits of info are returned as 64-bit signed integers --- */ case DEVINFO_INT_TOKEN_BYTES: info->i = sizeof(coco_cartridge_t); break; case DEVINFO_INT_INLINE_CONFIG_BYTES: info->i = sizeof(cococart_config); break; /* --- the following bits of info are returned as pointers to functions --- */ case DEVINFO_FCT_START: info->start = DEVICE_START_NAME(coco_cartridge); break; case DEVINFO_FCT_STOP: /* Nothing */ break; case DEVINFO_FCT_RESET: /* Nothing */ break; /* --- the following bits of info are returned as NULL-terminated strings --- */ case DEVINFO_STR_NAME: strcpy(info->s, "CoCo Cartridge Slot"); break; case DEVINFO_STR_FAMILY: strcpy(info->s, "CoCo Cartridge Slot"); break; case DEVINFO_STR_VERSION: strcpy(info->s, "1.0"); 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 timeplt_audio_device::device_start() { DEVICE_START_NAME( timeplt_audio )(this); }
void filter_volume_device::device_start() { DEVICE_START_NAME( filter_volume )(this); }
void sega005_sound_device::device_start() { DEVICE_START_NAME( sega005_sound )(this); }
void ymf262_device::device_start() { DEVICE_START_NAME( ymf262 )(this); }
void s3c2440_device::device_start() { s3c24xx_t *s3c24xx = get_token(this); s3c24xx->m_palette = m_palette; DEVICE_START_NAME( s3c2440 )(this); }
void pv1000_sound_device::device_start() { DEVICE_START_NAME( pv1000_sound )(this); }
void k056800_device::device_start() { DEVICE_START_NAME( k056800 )(this); }
void trackfld_audio_device::device_start() { DEVICE_START_NAME( trackfld_audio )(this); }
void gmaster_sound_device::device_start() { DEVICE_START_NAME( gmaster_sound )(this); }
void mm58274c_device::device_start() { DEVICE_START_NAME( mm58274c )(this); }
void tms9927_device::device_start() { DEVICE_START_NAME( tms9927 )(this); }
void i8271_device::device_start() { DEVICE_START_NAME( i8271 )(this); }
void m72_audio_device::device_start() { DEVICE_START_NAME( m72_audio )(this); }
void s2636_sound_device::device_start() { DEVICE_START_NAME( s2636_sound )(this); }
void nmk112_device::device_start() { DEVICE_START_NAME( nmk112 )(this); }
void filter_rc_device::device_start() { DEVICE_START_NAME( filter_rc )(this); }
void ttl74148_device::device_start() { DEVICE_START_NAME( ttl74148 )(this); }
void s3c2440_device::device_start() { DEVICE_START_NAME( s3c2440 )(this); }
void atari_fdc_device::device_start() { DEVICE_START_NAME( atari_fdc )(this); }
void beep_device::device_start() { DEVICE_START_NAME( beep )(this); }
void beta_disk_device::device_start() { DEVICE_START_NAME( beta_disk )(this); }
void namco_06xx_device::device_start() { DEVICE_START_NAME( namco_06xx )(this); }
void crt_device::device_start() { DEVICE_START_NAME( crt )(this); }