summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/neogeo_ctrl/irrmaze.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/neogeo_ctrl/irrmaze.cpp')
-rw-r--r--src/devices/bus/neogeo_ctrl/irrmaze.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/devices/bus/neogeo_ctrl/irrmaze.cpp b/src/devices/bus/neogeo_ctrl/irrmaze.cpp
index 49379d02c47..d6020244ca7 100644
--- a/src/devices/bus/neogeo_ctrl/irrmaze.cpp
+++ b/src/devices/bus/neogeo_ctrl/irrmaze.cpp
@@ -25,6 +25,10 @@ static INPUT_PORTS_START( neogeo_irrmaze )
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2)
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2)
+ PORT_START("START")
+ PORT_BIT( 0xfe, IP_ACTIVE_LOW, IPT_UNUSED )
+ PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
+
PORT_START("TRACK_X")
PORT_BIT( 0xff, 0x00, IPT_TRACKBALL_X ) PORT_SENSITIVITY(10) PORT_KEYDELTA(20) PORT_REVERSE
@@ -47,6 +51,7 @@ neogeo_irrmaze_device::neogeo_irrmaze_device(const machine_config &mconfig, cons
m_tx(*this, "TRACK_X"),
m_ty(*this, "TRACK_Y"),
m_buttons(*this, "BUTTONS"),
+ m_ss(*this, "START"),
m_spi_outputs(*this, "sit%u", 0U),
m_spi_sr(0U),
m_ctrl_sel(0U)
@@ -102,6 +107,15 @@ READ8_MEMBER(neogeo_irrmaze_device::in1_r)
}
//-------------------------------------------------
+// read_start_sel
+//-------------------------------------------------
+
+uint8_t neogeo_irrmaze_device::read_start_sel()
+{
+ return m_ss->read();
+}
+
+//-------------------------------------------------
// write_ctrlsel
//-------------------------------------------------