예제 #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
파일: sunsoft_dcs.cpp 프로젝트: ursine/mame
void nes_ntb_slot_device::device_start()
{
	m_cart = dynamic_cast<ntb_cart_interface *>(get_card_device());
}
예제 #19
0
파일: ctrl.cpp 프로젝트: DragonMinded/mame
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
파일: a800_slot.cpp 프로젝트: Enverex/mame
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
파일: user.cpp 프로젝트: DragonMinded/mame
void pet_user_port_device::device_config_complete()
{
	m_card = dynamic_cast<device_pet_user_port_interface *>(get_card_device());
}