Example #1
0
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;
	}
}
Example #2
0
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;
	}
}
Example #3
0
void exidy_sound_device::device_reset()
{
	DEVICE_RESET_NAME( exidy_sound )(this);
}
Example #4
0
void ymf262_device::device_reset()
{
    DEVICE_RESET_NAME( ymf262 )(this);
}
Example #5
0
void s3c2440_device::device_reset()
{
	DEVICE_RESET_NAME( s3c24xx )(this);
}
Example #6
0
void mm58274c_device::device_reset()
{
	DEVICE_RESET_NAME( mm58274c )(this);
}
Example #7
0
void i8271_device::device_reset()
{
	DEVICE_RESET_NAME( i8271 )(this);
}
Example #8
0
void trackfld_audio_device::device_reset()
{
	DEVICE_RESET_NAME( trackfld_audio )(this);
}
Example #9
0
void ay31015_device::device_reset()
{
	DEVICE_RESET_NAME( ay31015 )(this);
}
Example #10
0
File: rp5h01.c Project: clobber/UME
void rp5h01_device::device_reset()
{
	DEVICE_RESET_NAME( rp5h01 )(this);
}
Example #11
0
void k053252_device::device_reset()
{
	DEVICE_RESET_NAME( k053252 )(this);
}
Example #12
0
void mb14241_device::device_reset()
{
	DEVICE_RESET_NAME( mb14241 )(this);
}
Example #13
0
void t6721_device::device_reset()
{
	DEVICE_RESET_NAME( t6721 )(this);
}
Example #14
0
void y8950_device::device_reset()
{
	DEVICE_RESET_NAME( y8950 )(this);
}
Example #15
0
void apollo_config_device::device_reset()
{
	DEVICE_RESET_NAME( apollo_config )(this);
}
Example #16
0
void ttl74148_device::device_reset()
{
	DEVICE_RESET_NAME( ttl74148 )(this);
}
Example #17
0
void ym2608_device::device_reset()
{
	DEVICE_RESET_NAME( ym2608 )(this);
}
Example #18
0
void m72_audio_device::device_reset()
{
	DEVICE_RESET_NAME( m72_audio )(this);
}
Example #19
0
void sid6581_device::device_reset()
{
	DEVICE_RESET_NAME( sid )(this);
}
Example #20
0
void tms9927_device::device_reset()
{
	DEVICE_RESET_NAME( tms9927 )(this);
}
Example #21
0
void mathbox_device::device_reset()
{
	DEVICE_RESET_NAME( mathbox )(this);
}
Example #22
0
void k056800_device::device_reset()
{
	DEVICE_RESET_NAME( k056800 )(this);
}
Example #23
0
void ym2413_device::device_reset()
{
	DEVICE_RESET_NAME( ym2413 )(this);
}
Example #24
0
File: beta.c Project: clobber/UME
void beta_disk_device::device_reset()
{
	DEVICE_RESET_NAME( beta_disk )(this);
}
Example #25
0
void iremga20_device::device_reset()
{
	DEVICE_RESET_NAME( iremga20 )(this);
}
Example #26
0
void nmk112_device::device_reset()
{
	DEVICE_RESET_NAME( nmk112 )(this);
}
Example #27
0
void e05a03_device::device_reset()
{
	DEVICE_RESET_NAME( e05a03 )(this);
}
Example #28
0
void namco_06xx_device::device_reset()
{
	DEVICE_RESET_NAME( namco_06xx )(this);
}
Example #29
0
void atari_fdc_device::device_reset()
{
	DEVICE_RESET_NAME( atari_fdc )(this);
}