예제 #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
파일: flt_vol.c 프로젝트: pinchyCZN/mameppk
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
파일: pv1000.c 프로젝트: coinhelper/jsmess
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
파일: s3c2440.c 프로젝트: pinchyCZN/mameppk
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);
}