Beispiel #1
0
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);
}
Beispiel #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;
	}
}
Beispiel #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;
	}
}
Beispiel #4
0
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;
	}
}
Beispiel #5
0
	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;
	}
}
Beispiel #6
0
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;
	}
}
Beispiel #7
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;
	}
}
Beispiel #8
0
void timeplt_audio_device::device_start()
{
	DEVICE_START_NAME( timeplt_audio )(this);
}
Beispiel #9
0
void filter_volume_device::device_start()
{
	DEVICE_START_NAME( filter_volume )(this);
}
Beispiel #10
0
void sega005_sound_device::device_start()
{
	DEVICE_START_NAME( sega005_sound )(this);
}
Beispiel #11
0
void ymf262_device::device_start()
{
    DEVICE_START_NAME( ymf262 )(this);
}
Beispiel #12
0
void s3c2440_device::device_start()
{
	s3c24xx_t *s3c24xx = get_token(this);
	s3c24xx->m_palette = m_palette;
	DEVICE_START_NAME( s3c2440 )(this);
}
Beispiel #13
0
void pv1000_sound_device::device_start()
{
	DEVICE_START_NAME( pv1000_sound )(this);
}
Beispiel #14
0
void k056800_device::device_start()
{
	DEVICE_START_NAME( k056800 )(this);
}
Beispiel #15
0
void trackfld_audio_device::device_start()
{
	DEVICE_START_NAME( trackfld_audio )(this);
}
Beispiel #16
0
void gmaster_sound_device::device_start()
{
	DEVICE_START_NAME( gmaster_sound )(this);
}
Beispiel #17
0
void mm58274c_device::device_start()
{
	DEVICE_START_NAME( mm58274c )(this);
}
Beispiel #18
0
void tms9927_device::device_start()
{
	DEVICE_START_NAME( tms9927 )(this);
}
Beispiel #19
0
void i8271_device::device_start()
{
	DEVICE_START_NAME( i8271 )(this);
}
Beispiel #20
0
void m72_audio_device::device_start()
{
	DEVICE_START_NAME( m72_audio )(this);
}
Beispiel #21
0
void s2636_sound_device::device_start()
{
	DEVICE_START_NAME( s2636_sound )(this);
}
Beispiel #22
0
void nmk112_device::device_start()
{
	DEVICE_START_NAME( nmk112 )(this);
}
Beispiel #23
0
void filter_rc_device::device_start()
{
	DEVICE_START_NAME( filter_rc )(this);
}
Beispiel #24
0
void ttl74148_device::device_start()
{
	DEVICE_START_NAME( ttl74148 )(this);
}
Beispiel #25
0
void s3c2440_device::device_start()
{
	DEVICE_START_NAME( s3c2440 )(this);
}
Beispiel #26
0
void atari_fdc_device::device_start()
{
	DEVICE_START_NAME( atari_fdc )(this);
}
Beispiel #27
0
void beep_device::device_start()
{
	DEVICE_START_NAME( beep )(this);
}
Beispiel #28
0
void beta_disk_device::device_start()
{
	DEVICE_START_NAME( beta_disk )(this);
}
Beispiel #29
0
void namco_06xx_device::device_start()
{
	DEVICE_START_NAME( namco_06xx )(this);
}
Beispiel #30
0
void crt_device::device_start()
{
	DEVICE_START_NAME( crt )(this);
}