Home
last modified time | relevance | path

Searched refs:m_epci (Results 1 – 4 of 4) sorted by relevance

/dports/emulators/mess/mame-mame0226/src/mame/drivers/
H A Dwangpc.cpp65 m_epci(*this, SCN2661_TAG), in wangpc_state()
104 required_device<scn_pci_device> m_epci; member in wangpc_state
918 …int state = !m_timer2_irq || !m_epci->rxrdy_r() || !m_epci->txemt_dschg_r() || !m_centronics_ack |… in check_level1_interrupts()
985 data |= (m_epci->rxrdy_r() & m_epci->txemt_dschg_r()) << 1; in ppi_pb_r()
1324 SCN2661C(config, m_epci, 5'068'800); in wangpc()
1326 m_epci->rxrdy_handler().set(FUNC(wangpc_state::epci_irq_w)); in wangpc()
1329 m_epci->txemt_dschg_handler().set(FUNC(wangpc_state::epci_irq_w)); in wangpc()
1350 rs232.rxd_handler().set(m_epci, FUNC(scn_pci_device::rxd_w)); in wangpc()
1351 rs232.cts_handler().set(m_epci, FUNC(scn_pci_device::cts_w)); in wangpc()
1352 rs232.dsr_handler().set(m_epci, FUNC(scn_pci_device::dsr_w)); in wangpc()
[all …]
H A Dz100.cpp178 m_epci(*this, "epci%u", 0U), in z100_state()
237 required_device_array<scn2661b_device, 2> m_epci; member in z100_state
492 map(0xe8, 0xeb).rw(m_epci[0], FUNC(scn2661b_device::read), FUNC(scn2661b_device::write)); in z100_io()
493 map(0xec, 0xef).rw(m_epci[1], FUNC(scn2661b_device::read), FUNC(scn2661b_device::write)); in z100_io()
858 SCN2661B(config, m_epci[0], 4.9152_MHz_XTAL); // First 2661-2 serial port (printer) in z100()
859 m_epci[0]->txrdy_handler().set("epci0int", FUNC(input_merger_device::in_w<0>)); in z100()
860 m_epci[0]->rxrdy_handler().set("epci0int", FUNC(input_merger_device::in_w<1>)); in z100()
862 SCN2661B(config, m_epci[1], 4.9152_MHz_XTAL); // Second 2661-2 serial port (modem) in z100()
863 m_epci[1]->txrdy_handler().set("epci1int", FUNC(input_merger_device::in_w<0>)); in z100()
864 m_epci[1]->rxrdy_handler().set("epci1int", FUNC(input_merger_device::in_w<1>)); in z100()
/dports/emulators/mame/mame-mame0226/src/mame/drivers/
H A Dwangpc.cpp65 m_epci(*this, SCN2661_TAG), in wangpc_state()
104 required_device<scn_pci_device> m_epci; member in wangpc_state
918 …int state = !m_timer2_irq || !m_epci->rxrdy_r() || !m_epci->txemt_dschg_r() || !m_centronics_ack |… in check_level1_interrupts()
985 data |= (m_epci->rxrdy_r() & m_epci->txemt_dschg_r()) << 1; in ppi_pb_r()
1324 SCN2661C(config, m_epci, 5'068'800); in wangpc()
1326 m_epci->rxrdy_handler().set(FUNC(wangpc_state::epci_irq_w)); in wangpc()
1329 m_epci->txemt_dschg_handler().set(FUNC(wangpc_state::epci_irq_w)); in wangpc()
1350 rs232.rxd_handler().set(m_epci, FUNC(scn_pci_device::rxd_w)); in wangpc()
1351 rs232.cts_handler().set(m_epci, FUNC(scn_pci_device::cts_w)); in wangpc()
1352 rs232.dsr_handler().set(m_epci, FUNC(scn_pci_device::dsr_w)); in wangpc()
[all …]
H A Dz100.cpp178 m_epci(*this, "epci%u", 0U), in z100_state()
237 required_device_array<scn2661b_device, 2> m_epci; member in z100_state
492 map(0xe8, 0xeb).rw(m_epci[0], FUNC(scn2661b_device::read), FUNC(scn2661b_device::write)); in z100_io()
493 map(0xec, 0xef).rw(m_epci[1], FUNC(scn2661b_device::read), FUNC(scn2661b_device::write)); in z100_io()
858 SCN2661B(config, m_epci[0], 4.9152_MHz_XTAL); // First 2661-2 serial port (printer) in z100()
859 m_epci[0]->txrdy_handler().set("epci0int", FUNC(input_merger_device::in_w<0>)); in z100()
860 m_epci[0]->rxrdy_handler().set("epci0int", FUNC(input_merger_device::in_w<1>)); in z100()
862 SCN2661B(config, m_epci[1], 4.9152_MHz_XTAL); // Second 2661-2 serial port (modem) in z100()
863 m_epci[1]->txrdy_handler().set("epci1int", FUNC(input_merger_device::in_w<0>)); in z100()
864 m_epci[1]->rxrdy_handler().set("epci1int", FUNC(input_merger_device::in_w<1>)); in z100()