示例#1
0
文件: 8950intf.c 项目: clobber/UME
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);
}
示例#2
0
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;
	}
}
示例#3
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;
	}
}
示例#4
0
文件: aescart.c 项目: cdenix/psmame
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;
	}
}
示例#5
0
文件: aescart.c 项目: cdenix/psmame
	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;
	}
}
示例#6
0
文件: cococart.c 项目: cdenix/psmame
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;
	}
}
示例#7
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;
	}
}
示例#8
0
void timeplt_audio_device::device_start()
{
	DEVICE_START_NAME( timeplt_audio )(this);
}
示例#9
0
void filter_volume_device::device_start()
{
	DEVICE_START_NAME( filter_volume )(this);
}
示例#10
0
文件: segag80r.c 项目: Ilgrim/MAMEHub
void sega005_sound_device::device_start()
{
	DEVICE_START_NAME( sega005_sound )(this);
}
示例#11
0
void ymf262_device::device_start()
{
    DEVICE_START_NAME( ymf262 )(this);
}
示例#12
0
void s3c2440_device::device_start()
{
	s3c24xx_t *s3c24xx = get_token(this);
	s3c24xx->m_palette = m_palette;
	DEVICE_START_NAME( s3c2440 )(this);
}
示例#13
0
void pv1000_sound_device::device_start()
{
	DEVICE_START_NAME( pv1000_sound )(this);
}
示例#14
0
文件: k056800.c 项目: Ilgrim/MAMEHub
void k056800_device::device_start()
{
	DEVICE_START_NAME( k056800 )(this);
}
示例#15
0
文件: trackfld.c 项目: Ilgrim/MAMEHub
void trackfld_audio_device::device_start()
{
	DEVICE_START_NAME( trackfld_audio )(this);
}
示例#16
0
void gmaster_sound_device::device_start()
{
	DEVICE_START_NAME( gmaster_sound )(this);
}
示例#17
0
void mm58274c_device::device_start()
{
	DEVICE_START_NAME( mm58274c )(this);
}
示例#18
0
文件: tms9927.c 项目: clobber/UME
void tms9927_device::device_start()
{
	DEVICE_START_NAME( tms9927 )(this);
}
示例#19
0
文件: i8271.c 项目: Ilgrim/MAMEHub
void i8271_device::device_start()
{
	DEVICE_START_NAME( i8271 )(this);
}
示例#20
0
文件: m72.c 项目: coinhelper/jsmess
void m72_audio_device::device_start()
{
	DEVICE_START_NAME( m72_audio )(this);
}
示例#21
0
文件: s2636.c 项目: pinchyCZN/mameppk
void s2636_sound_device::device_start()
{
	DEVICE_START_NAME( s2636_sound )(this);
}
示例#22
0
void nmk112_device::device_start()
{
	DEVICE_START_NAME( nmk112 )(this);
}
示例#23
0
文件: flt_rc.c 项目: opicron/mame
void filter_rc_device::device_start()
{
	DEVICE_START_NAME( filter_rc )(this);
}
示例#24
0
文件: 74148.c 项目: pinchyCZN/mameppk
void ttl74148_device::device_start()
{
	DEVICE_START_NAME( ttl74148 )(this);
}
示例#25
0
void s3c2440_device::device_start()
{
	DEVICE_START_NAME( s3c2440 )(this);
}
示例#26
0
void atari_fdc_device::device_start()
{
	DEVICE_START_NAME( atari_fdc )(this);
}
示例#27
0
文件: beep.c 项目: opicron/mame
void beep_device::device_start()
{
	DEVICE_START_NAME( beep )(this);
}
示例#28
0
文件: beta.c 项目: clobber/UME
void beta_disk_device::device_start()
{
	DEVICE_START_NAME( beta_disk )(this);
}
示例#29
0
void namco_06xx_device::device_start()
{
	DEVICE_START_NAME( namco_06xx )(this);
}
示例#30
0
void crt_device::device_start()
{
	DEVICE_START_NAME( crt )(this);
}