示例#1
0
文件: s100.cpp 项目: Enverex/mame
void s100_slot_t::device_start()
{
	m_bus = machine().device<s100_bus_t>(S100_TAG);
	device_s100_card_interface *dev = dynamic_cast<device_s100_card_interface *>(get_card_device());
	if (dev) m_bus->add_card(dev);
}
示例#2
0
文件: pc_joy.cpp 项目: goofwear/mame
void pc_joy_device::device_config_complete()
{
    m_dev = dynamic_cast<device_pc_joy_interface *>(get_card_device());
}
示例#3
0
void konami573_cassette_slot_device::device_start()
{
	m_dsr_handler.resolve_safe();

	m_dev = dynamic_cast<konami573_cassette_interface *>(get_card_device());
}
示例#4
0
文件: floppy.c 项目: ValleyBell/mame
floppy_image_device *floppy_connector::get_device()
{
	return dynamic_cast<floppy_image_device *>(get_card_device());
}
示例#5
0
void macpds_slot_device::device_start()
{
	device_macpds_card_interface *dev = dynamic_cast<device_macpds_card_interface *>(get_card_device());

	if (dev) device_macpds_card_interface::static_set_macpds_tag(*dev, m_macpds_tag, m_macpds_slottag);
}
示例#6
0
void generic_slot_device::device_start()
{
	m_cart = dynamic_cast<device_generic_cart_interface *>(get_card_device());
}
示例#7
0
文件: slot.cpp 项目: robsonfr/mame
void channelf_cart_slot_device::device_start()
{
	m_cart = dynamic_cast<device_channelf_cart_interface *>(get_card_device());
}
示例#8
0
文件: hp_dio.cpp 项目: Tauwasser/mame
void dio32_slot_device::device_start()
{
	device_dio16_card_interface *dev = dynamic_cast<device_dio16_card_interface *>(get_card_device());
	if (dev) device_dio16_card_interface::static_set_diobus(*dev,m_owner->subdevice(m_dio_tag));
}
示例#9
0
void nes_kstudio_slot_device::device_start()
{
	m_cart = dynamic_cast<kstudio_cart_interface *>(get_card_device());
}
示例#10
0
文件: nscsi_bus.c 项目: clobber/UME
nscsi_device *nscsi_connector::get_device()
{
	return dynamic_cast<nscsi_device *>(get_card_device());
}
示例#11
0
文件: isa.cpp 项目: Fulg/mame
void isa16_slot_device::device_start()
{
	device_isa8_card_interface *dev = dynamic_cast<device_isa8_card_interface *>(get_card_device());
	if (dev) device_isa8_card_interface::static_set_isabus(*dev,m_owner->subdevice(m_isa_tag));
}
示例#12
0
文件: exp.cpp 项目: broftkd/mame
void astrocade_exp_device::device_start()
{
	m_card = dynamic_cast<device_astrocade_card_interface *>(get_card_device());
	if (m_card)
		m_card_mounted = true;
}
示例#13
0
void msx_audio_kbdc_port_device::device_start()
{
	m_keyboard = dynamic_cast<msx_audio_kb_port_interface *>(get_card_device());
}
示例#14
0
文件: econet.cpp 项目: Enverex/mame
void econet_slot_device::device_start()
{
	m_econet = machine().device<econet_device>(ECONET_TAG);
	device_econet_interface *dev = dynamic_cast<device_econet_interface *>(get_card_device());
	if (dev) m_econet->add_device(get_card_device(), m_address);
}
示例#15
0
void psx_controller_port_device::device_config_complete()
{
	m_dev = dynamic_cast<device_psx_controller_interface *>(get_card_device());
}
示例#16
0
void vectrex_cart_slot_device::device_start()
{
	m_cart = dynamic_cast<device_vectrex_cart_interface *>(get_card_device());
}
示例#17
0
文件: ecbbus.c 项目: risico/jsmess
void ecbbus_slot_device::device_start()
{
	m_bus = machine().device<ecbbus_device>(m_bus_tag);
	device_ecbbus_card_interface *dev = dynamic_cast<device_ecbbus_card_interface *>(get_card_device());
	if (dev) m_bus->add_ecbbus_card(dev, m_bus_num);
}
示例#18
0
void nes_ntb_slot_device::device_start()
{
	m_cart = dynamic_cast<ntb_cart_interface *>(get_card_device());
}
示例#19
0
void vcs_control_port_device::device_start()
{
	m_device = dynamic_cast<device_vcs_control_port_interface *>(get_card_device());

	m_write_trigger.resolve_safe();
}
示例#20
0
void oricext_connector::device_config_complete()
{
	oricext_device *dev = dynamic_cast<oricext_device *>(get_card_device());
	if(dev)
		dev->set_cputag(cputag);
}
示例#21
0
文件: floppy.c 项目: ValleyBell/mame
void floppy_connector::device_config_complete()
{
	floppy_image_device *dev = dynamic_cast<floppy_image_device *>(get_card_device());
	if(dev)
		dev->set_formats(formats);
}
示例#22
0
文件: ataintf.c 项目: fesh0r/old-mame
void ata_slot_device::device_config_complete()
{
	m_dev = dynamic_cast<ata_device_interface *>(get_card_device());
}
示例#23
0
文件: ctrl.cpp 项目: MoochMcGee/mame
void nes_control_port_device::device_start()
{
	m_device = dynamic_cast<device_nes_control_port_interface *>(get_card_device());
}
示例#24
0
文件: exp.c 项目: BrandoCommando/mame
void spc1000_exp_device::device_start()
{
	m_card = dynamic_cast<device_spc1000_card_interface *>(get_card_device());
}
示例#25
0
文件: mouse.cpp 项目: Dagarman/mame
void interpro_mouse_port_device::device_config_complete()
{
	m_device = dynamic_cast<device_interpro_mouse_port_interface *>(get_card_device());
}
示例#26
0
void a800_cart_slot_device::device_start()
{
	m_cart = dynamic_cast<device_a800_cart_interface  *>(get_card_device());
}
示例#27
0
文件: slot.cpp 项目: ursine/mame
void crvision_cart_slot_device::device_start()
{
	m_cart = dynamic_cast<device_crvision_cart_interface *>(get_card_device());
}
示例#28
0
void hp_optrom_slot_device::device_start()
{
    m_cart = dynamic_cast<hp_optrom_cart_device *>(get_card_device());
}
示例#29
0
文件: exp.cpp 项目: Ashura-X/mame
void colecovision_cartridge_slot_device::device_start()
{
	m_card = dynamic_cast<device_colecovision_cartridge_interface *>(get_card_device());
}
示例#30
0
void pet_user_port_device::device_config_complete()
{
	m_card = dynamic_cast<device_pet_user_port_interface *>(get_card_device());
}