示例#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;
	}
}
示例#2
0
文件: timekpr.c 项目: nitrologic/emu
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;
	}
}
示例#3
0
文件: exidy.c 项目: coinhelper/jsmess
void exidy_sound_device::device_reset()
{
	DEVICE_RESET_NAME( exidy_sound )(this);
}
示例#4
0
void ymf262_device::device_reset()
{
    DEVICE_RESET_NAME( ymf262 )(this);
}
示例#5
0
void s3c2440_device::device_reset()
{
	DEVICE_RESET_NAME( s3c24xx )(this);
}
示例#6
0
void mm58274c_device::device_reset()
{
	DEVICE_RESET_NAME( mm58274c )(this);
}
示例#7
0
文件: i8271.c 项目: Ilgrim/MAMEHub
void i8271_device::device_reset()
{
	DEVICE_RESET_NAME( i8271 )(this);
}
示例#8
0
文件: trackfld.c 项目: Ilgrim/MAMEHub
void trackfld_audio_device::device_reset()
{
	DEVICE_RESET_NAME( trackfld_audio )(this);
}
示例#9
0
void ay31015_device::device_reset()
{
	DEVICE_RESET_NAME( ay31015 )(this);
}
示例#10
0
文件: rp5h01.c 项目: clobber/UME
void rp5h01_device::device_reset()
{
	DEVICE_RESET_NAME( rp5h01 )(this);
}
示例#11
0
void k053252_device::device_reset()
{
	DEVICE_RESET_NAME( k053252 )(this);
}
示例#12
0
void mb14241_device::device_reset()
{
	DEVICE_RESET_NAME( mb14241 )(this);
}
示例#13
0
文件: t6721.c 项目: coinhelper/jsmess
void t6721_device::device_reset()
{
	DEVICE_RESET_NAME( t6721 )(this);
}
示例#14
0
文件: 8950intf.c 项目: clobber/UME
void y8950_device::device_reset()
{
	DEVICE_RESET_NAME( y8950 )(this);
}
示例#15
0
void apollo_config_device::device_reset()
{
	DEVICE_RESET_NAME( apollo_config )(this);
}
示例#16
0
文件: 74148.c 项目: pinchyCZN/mameppk
void ttl74148_device::device_reset()
{
	DEVICE_RESET_NAME( ttl74148 )(this);
}
示例#17
0
void ym2608_device::device_reset()
{
	DEVICE_RESET_NAME( ym2608 )(this);
}
示例#18
0
文件: m72.c 项目: coinhelper/jsmess
void m72_audio_device::device_reset()
{
	DEVICE_RESET_NAME( m72_audio )(this);
}
示例#19
0
void sid6581_device::device_reset()
{
	DEVICE_RESET_NAME( sid )(this);
}
示例#20
0
文件: tms9927.c 项目: clobber/UME
void tms9927_device::device_reset()
{
	DEVICE_RESET_NAME( tms9927 )(this);
}
示例#21
0
void mathbox_device::device_reset()
{
	DEVICE_RESET_NAME( mathbox )(this);
}
示例#22
0
文件: k056800.c 项目: Ilgrim/MAMEHub
void k056800_device::device_reset()
{
	DEVICE_RESET_NAME( k056800 )(this);
}
示例#23
0
文件: 2413intf.c 项目: clobber/UME
void ym2413_device::device_reset()
{
	DEVICE_RESET_NAME( ym2413 )(this);
}
示例#24
0
文件: beta.c 项目: clobber/UME
void beta_disk_device::device_reset()
{
	DEVICE_RESET_NAME( beta_disk )(this);
}
示例#25
0
文件: iremga20.c 项目: opicron/mame
void iremga20_device::device_reset()
{
	DEVICE_RESET_NAME( iremga20 )(this);
}
示例#26
0
void nmk112_device::device_reset()
{
	DEVICE_RESET_NAME( nmk112 )(this);
}
示例#27
0
文件: e05a03.c 项目: Ilgrim/MAMEHub
void e05a03_device::device_reset()
{
	DEVICE_RESET_NAME( e05a03 )(this);
}
示例#28
0
void namco_06xx_device::device_reset()
{
	DEVICE_RESET_NAME( namco_06xx )(this);
}
示例#29
0
文件: atarifdc.c 项目: Ilgrim/MAMEHub
void atari_fdc_device::device_reset()
{
	DEVICE_RESET_NAME( atari_fdc )(this);
}