Home
last modified time | relevance | path

Searched refs:m_joy (Results 1 – 25 of 171) sorted by relevance

1234567

/dports/emulators/mess/mame-mame0226/src/devices/bus/svi3x8/expander/
H A Dsv603.cpp46 m_joy[0]->irq().set(FUNC(sv603_device::joy_irq_w<0>)); in device_add_mconfig()
69 m_joy{ {*this, "joy1"}, {*this, "joy2"} }, in sv603_device()
141 data = m_joy[BIT(offset, 1)]->read(); in iorq_r()
154 m_joy[0]->common0_w(1); in iorq_w()
155 m_joy[0]->common1_w(0); in iorq_w()
156 m_joy[1]->common0_w(1); in iorq_w()
157 m_joy[1]->common1_w(0); in iorq_w()
166 m_joy[0]->common0_w(0); in iorq_w()
167 m_joy[0]->common1_w(1); in iorq_w()
168 m_joy[1]->common0_w(0); in iorq_w()
[all …]
/dports/emulators/mame/mame-mame0226/src/devices/bus/svi3x8/expander/
H A Dsv603.cpp46 m_joy[0]->irq().set(FUNC(sv603_device::joy_irq_w<0>)); in device_add_mconfig()
69 m_joy{ {*this, "joy1"}, {*this, "joy2"} }, in sv603_device()
141 data = m_joy[BIT(offset, 1)]->read(); in iorq_r()
154 m_joy[0]->common0_w(1); in iorq_w()
155 m_joy[0]->common1_w(0); in iorq_w()
156 m_joy[1]->common0_w(1); in iorq_w()
157 m_joy[1]->common1_w(0); in iorq_w()
166 m_joy[0]->common0_w(0); in iorq_w()
167 m_joy[0]->common1_w(1); in iorq_w()
168 m_joy[1]->common0_w(0); in iorq_w()
[all …]
/dports/emulators/mess/mame-mame0226/src/devices/bus/sat_ctrl/
H A Djoy_md.cpp76 m_joy(*this, "JOY") in saturn_joymd3b_device()
85 m_joy(*this, "JOY") in saturn_joymd6b_device()
102 res = m_joy->read() >> 8; in read_ctrl()
115 res = m_joy->read() >> 8; in read_ctrl()
118 res = m_joy->read() & 0xff; in read_ctrl()
H A Djoy.cpp60 m_joy(*this, "JOY") in saturn_joy_device()
95 res = m_joy->read() >> 8; in read_ctrl()
98 res = m_joy->read() & 0xff; in read_ctrl()
110 return m_joy->read(); in read_direct()
H A Dracing.cpp63 m_joy(*this, "JOY"), in saturn_wheel_device()
99 res = m_joy->read() >> 8; in read_ctrl()
102 res = m_joy->read() & 0xff; in read_ctrl()
H A Danalog.cpp69 m_joy(*this, "JOY"), in saturn_analog_device()
107 res = m_joy->read() >> 8; in read_ctrl()
110 res = m_joy->read() & 0xff; in read_ctrl()
/dports/emulators/mame/mame-mame0226/src/devices/bus/sat_ctrl/
H A Djoy_md.cpp76 m_joy(*this, "JOY") in saturn_joymd3b_device()
85 m_joy(*this, "JOY") in saturn_joymd6b_device()
102 res = m_joy->read() >> 8; in read_ctrl()
115 res = m_joy->read() >> 8; in read_ctrl()
118 res = m_joy->read() & 0xff; in read_ctrl()
H A Djoy.cpp60 m_joy(*this, "JOY") in saturn_joy_device()
95 res = m_joy->read() >> 8; in read_ctrl()
98 res = m_joy->read() & 0xff; in read_ctrl()
110 return m_joy->read(); in read_direct()
H A Dracing.cpp63 m_joy(*this, "JOY"), in saturn_wheel_device()
99 res = m_joy->read() >> 8; in read_ctrl()
102 res = m_joy->read() & 0xff; in read_ctrl()
H A Danalog.cpp69 m_joy(*this, "JOY"), in saturn_analog_device()
107 res = m_joy->read() >> 8; in read_ctrl()
110 res = m_joy->read() & 0xff; in read_ctrl()
/dports/emulators/mess/mame-mame0226/src/devices/bus/neogeo_ctrl/
H A Djoystick.cpp67 m_joy(*this, "JOY"), in neogeo_joystick_device()
90 return m_joy->read() & (BIT(m_ctrl_sel, 2) ? 0x7f : 0xff); in read_ctrl()
175 m_joy(*this, "JOY%u", 1U), in neogeo_joy_ac_device()
195 return m_joy[0]->read(); in in0_r()
204 return m_joy[1]->read(); in in1_r()
H A Dkizuna4p.cpp101 m_joy(*this, "JOY%u", 1U), in neogeo_kizuna4p_device()
124 return m_joy[BIT(m_ctrl_sel, 0) << 1]->read() & ~(BIT(m_ctrl_sel, 2) << (BIT(m_ctrl_sel, 0) | 4)); in in0_r()
133 …return m_joy[(BIT(m_ctrl_sel, 0) << 1) | 1]->read() & ~(BIT(m_ctrl_sel, 2) << (BIT(m_ctrl_sel, 0) … in in1_r()
/dports/emulators/mame/mame-mame0226/src/devices/bus/neogeo_ctrl/
H A Djoystick.cpp67 m_joy(*this, "JOY"), in neogeo_joystick_device()
90 return m_joy->read() & (BIT(m_ctrl_sel, 2) ? 0x7f : 0xff); in read_ctrl()
175 m_joy(*this, "JOY%u", 1U), in neogeo_joy_ac_device()
195 return m_joy[0]->read(); in in0_r()
204 return m_joy[1]->read(); in in1_r()
/dports/emulators/mess/mame-mame0226/src/devices/bus/cgenie/parallel/
H A Djoystick.cpp99 m_joy(*this, "JOY.%u", 0), in cgenie_joystick_device()
145 data |= m_joy[3]->read() > m_select ? 0x10 : 0x00; in pb_r()
146 data |= m_joy[2]->read() > m_select ? 0x20 : 0x00; in pb_r()
147 data |= m_joy[1]->read() > m_select ? 0x40 : 0x00; in pb_r()
148 data |= m_joy[0]->read() > m_select ? 0x80 : 0x00; in pb_r()
/dports/emulators/mame/mame-mame0226/src/devices/bus/cgenie/parallel/
H A Djoystick.cpp99 m_joy(*this, "JOY.%u", 0), in cgenie_joystick_device()
145 data |= m_joy[3]->read() > m_select ? 0x10 : 0x00; in pb_r()
146 data |= m_joy[2]->read() > m_select ? 0x20 : 0x00; in pb_r()
147 data |= m_joy[1]->read() > m_select ? 0x40 : 0x00; in pb_r()
148 data |= m_joy[0]->read() > m_select ? 0x80 : 0x00; in pb_r()
/dports/emulators/mess/mame-mame0226/src/devices/bus/plus4/
H A Dsid.cpp72 VCS_CONTROL_PORT(config, m_joy, vcs_control_port_devices, nullptr); in device_add_mconfig()
89 m_joy(*this, CONTROL1_TAG) in plus4_sid_cartridge_device()
125 data = m_joy->read_joy(); in plus4_cd_r()
/dports/emulators/mame/mame-mame0226/src/devices/bus/plus4/
H A Dsid.cpp72 VCS_CONTROL_PORT(config, m_joy, vcs_control_port_devices, nullptr); in device_add_mconfig()
89 m_joy(*this, CONTROL1_TAG) in plus4_sid_cartridge_device()
125 data = m_joy->read_joy(); in plus4_cd_r()
/dports/emulators/mess/mame-mame0226/src/devices/bus/vcs_ctrl/
H A Dwheel.cpp53 m_joy(*this, "JOY"), in vcs_wheel_device()
76 return m_joy->read() | driving_lookup[ ( m_wheel->read() & 0x18 ) >> 3 ]; in vcs_joy_r()
H A Djoystick.cpp54 m_joy(*this, "JOY") in vcs_joystick_device()
74 return m_joy->read(); in vcs_joy_r()
/dports/emulators/mame/mame-mame0226/src/devices/bus/vcs_ctrl/
H A Dwheel.cpp53 m_joy(*this, "JOY"), in vcs_wheel_device()
76 return m_joy->read() | driving_lookup[ ( m_wheel->read() & 0x18 ) >> 3 ]; in vcs_joy_r()
H A Djoystick.cpp54 m_joy(*this, "JOY") in vcs_joystick_device()
74 return m_joy->read(); in vcs_joy_r()
/dports/emulators/mess/mame-mame0226/src/devices/bus/bbc/joyport/
H A Djoystick.cpp54 , m_joy(*this, "JOY") in bbcmc_joystick_device()
83 return m_joy->read(); in pb_r()
/dports/emulators/mame/mame-mame0226/src/devices/bus/bbc/joyport/
H A Djoystick.cpp54 , m_joy(*this, "JOY") in bbcmc_joystick_device()
83 return m_joy->read(); in pb_r()
/dports/emulators/mess/mame-mame0226/src/devices/bus/spectrum/
H A Dkempjoy.cpp54 , m_joy(*this, "JOY") in spectrum_kempjoy_device()
78 data = m_joy->read() & 0x1f; in iorq_r()
/dports/emulators/mame/mame-mame0226/src/devices/bus/spectrum/
H A Dkempjoy.cpp54 , m_joy(*this, "JOY") in spectrum_kempjoy_device()
78 data = m_joy->read() & 0x1f; in iorq_r()

1234567