diff options
Diffstat (limited to 'src/mame/drivers/namcos22.cpp')
-rw-r--r-- | src/mame/drivers/namcos22.cpp | 283 |
1 files changed, 158 insertions, 125 deletions
diff --git a/src/mame/drivers/namcos22.cpp b/src/mame/drivers/namcos22.cpp index 57316ed70cd..d0ed4ed556f 100644 --- a/src/mame/drivers/namcos22.cpp +++ b/src/mame/drivers/namcos22.cpp @@ -1683,6 +1683,9 @@ READ16_MEMBER(namcos22_state::namcos22_keycus_r) break; } + if (machine().side_effects_disabled()) + return 0; + // pick a random number, but don't pick the same twice in a row u16 old_rng = m_keycus_rng; do @@ -1708,7 +1711,10 @@ WRITE16_MEMBER(namcos22_state::namcos22_keycus_w) READ16_MEMBER(namcos22_state::namcos22_portbit_r) { u16 ret = m_portbits[offset] & 1; - m_portbits[offset] = m_portbits[offset] >> 1 | 0x8000; + + if (!machine().side_effects_disabled()) + m_portbits[offset] = m_portbits[offset] >> 1 | 0x8000; + return ret; } @@ -2087,7 +2093,8 @@ READ16_MEMBER(namcos22_state::namcos22_dspram16_r) break; case 2: - m_dspram16_latch = value >> 16; + if (!machine().side_effects_disabled()) + m_dspram16_latch = value >> 16; value &= 0xffff; break; @@ -2789,6 +2796,8 @@ void namcos22_state::iomcu_s22_io(address_map &map) Tokyo Wars: 1 = start button lamp + 4 = handle solenoid + 6 = seat motor other: ? */ @@ -3122,27 +3131,38 @@ static INPUT_PORTS_START( ridgera ) /* 1 3 5 When the cabinet is set to Deluxe, the stick shift is basically |-|-| an 8-way joystick that locks into place. 2 4 6 Standard (default) setup uses a racing shifter like in Ace Driver. */ - PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_NAME("Shift Down") - PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_NAME("Shift Up") - PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_NAME("Shift Left") // not used in Standard Cabinet - PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT) PORT_NAME("Shift Right") // not used in Standard Cabinet - PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Clutch Pedal") // not used in Standard Cabinet + PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_NAME("Shift Down") + PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_NAME("Shift Up") + PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_NAME("Shift Left") // not used in Standard Cabinet + PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_NAME("Shift Right") // " + PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Clutch Pedal") // " PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_UNKNOWN ) - PORT_CONFNAME( 0x0100, 0x0000, DEF_STR( Cabinet ) ) // @ JAMMA pins + PORT_CONFNAME( 0x0100, 0x0000, DEF_STR( Cabinet ) ) PORT_CONFSETTING( 0x0000, DEF_STR( Standard ) ) PORT_CONFSETTING( 0x0100, "Deluxe" ) PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_COIN2 ) - PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_SERVICE3 ) // also service mode? + PORT_SERVICE( 0x0400, IP_ACTIVE_LOW ) PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_SERVICE1 ) PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_START("ADC.0") + PORT_BIT( 0xff, 0x80, IPT_PADDLE ) PORT_MINMAX(0x20, 0xe0) PORT_SENSITIVITY(100) PORT_KEYDELTA(10) PORT_NAME("Steering Wheel") + + PORT_START("ADC.1") + PORT_BIT( 0xff, 0x00, IPT_PEDAL ) PORT_MINMAX(0x00, 0xd0) PORT_SENSITIVITY(100) PORT_KEYDELTA(10) PORT_NAME("Gas Pedal") + + PORT_START("ADC.2") + PORT_BIT( 0xff, 0x00, IPT_PEDAL2 ) PORT_MINMAX(0x00, 0xc0) PORT_SENSITIVITY(100) PORT_KEYDELTA(10) PORT_NAME("Brake Pedal") + PORT_START("DSW") - PORT_SERVICE_DIPLOC( 0x0001, IP_ACTIVE_LOW, "SW2:1") + PORT_DIPNAME( 0x0001, 0x0001, "Test Mode" ) PORT_DIPLOCATION("SW2:1") + PORT_DIPSETTING( 0x0001, DEF_STR( Off ) ) + PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) PORT_DIPUNKNOWN_DIPLOC( 0x0002, 0x0002, "SW2:2" ) PORT_DIPUNKNOWN_DIPLOC( 0x0004, 0x0004, "SW2:3" ) PORT_DIPUNKNOWN_DIPLOC( 0x0008, 0x0008, "SW2:4" ) @@ -3158,15 +3178,6 @@ static INPUT_PORTS_START( ridgera ) PORT_DIPUNKNOWN_DIPLOC( 0x2000, 0x2000, "SW3:6" ) PORT_DIPUNKNOWN_DIPLOC( 0x4000, 0x4000, "SW3:7" ) PORT_DIPUNKNOWN_DIPLOC( 0x8000, 0x8000, "SW3:8" ) - - PORT_START("ADC.0") - PORT_BIT( 0xff, 0x80, IPT_PADDLE ) PORT_SENSITIVITY(100) PORT_KEYDELTA(10) PORT_NAME("Steering Wheel") - - PORT_START("ADC.1") - PORT_BIT( 0xff, 0x00, IPT_PEDAL ) PORT_SENSITIVITY(100) PORT_KEYDELTA(10) PORT_NAME("Gas Pedal") - - PORT_START("ADC.2") - PORT_BIT( 0xff, 0x00, IPT_PEDAL2 ) PORT_SENSITIVITY(100) PORT_KEYDELTA(10) PORT_NAME("Brake Pedal") INPUT_PORTS_END static INPUT_PORTS_START( ridgeracf ) @@ -3177,14 +3188,17 @@ static INPUT_PORTS_START( ridgeracf ) PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("AT Switch") PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("MT Switch") PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_SERVICE2 ) - PORT_SERVICE( 0x0400, IP_ACTIVE_LOW ) // DIP3-1 to DIP3-3 are for setting up the viewing angle (game used one board per screen?) // Some of the other dipswitches are for debugging, like with Ridge Racer 2. PORT_MODIFY("DSW") - PORT_DIPUNKNOWN_DIPLOC( 0x0001, 0x0000, "SW2:1" ) // always on? - PORT_DIPUNKNOWN_DIPLOC( 0x0002, 0x0000, "SW2:2" ) // always on? - PORT_DIPNAME( 0x8000, 0x8000, "Test Mode" ) PORT_DIPLOCATION("SW3:8") + PORT_DIPNAME( 0x0001, 0x0000, "Unknown" ) PORT_DIPLOCATION("SW2:1") // always on? + PORT_DIPSETTING( 0x0001, DEF_STR( Off ) ) + PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) + PORT_DIPNAME( 0x0002, 0x0000, "Unknown" ) PORT_DIPLOCATION("SW2:2") // always on? + PORT_DIPSETTING( 0x0002, DEF_STR( Off ) ) + PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) + PORT_DIPNAME( 0x8000, 0x8000, "Test Mode 2" ) PORT_DIPLOCATION("SW3:8") PORT_DIPSETTING( 0x8000, DEF_STR( Off ) ) PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) INPUT_PORTS_END @@ -3193,7 +3207,7 @@ static INPUT_PORTS_START( ridgera2 ) PORT_INCLUDE( ridgera ) PORT_MODIFY("INPUTS") - PORT_CONFNAME( 0x2100, 0x2000, DEF_STR( Cabinet ) ) // @ JAMMA pins + PORT_CONFNAME( 0x2100, 0x2000, DEF_STR( Cabinet ) ) PORT_CONFSETTING( 0x0000, "50 Inch" ) PORT_CONFSETTING( 0x0100, "Twin" ) PORT_CONFSETTING( 0x2000, DEF_STR( Standard ) ) @@ -3207,7 +3221,7 @@ static INPUT_PORTS_START( ridgera2 ) 3-7 : debug polygons */ PORT_MODIFY("DSW") - PORT_DIPNAME( 0x8000, 0x8000, "Test Mode" ) PORT_DIPLOCATION("SW3:8") + PORT_DIPNAME( 0x8000, 0x8000, "Test Mode 2" ) PORT_DIPLOCATION("SW3:8") PORT_DIPSETTING( 0x8000, DEF_STR( Off ) ) PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) INPUT_PORTS_END @@ -3217,8 +3231,7 @@ static INPUT_PORTS_START( raveracw ) PORT_MODIFY("INPUTS") PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("View Change") - - PORT_CONFNAME( 0x2100, 0x2000, DEF_STR( Cabinet ) ) // @ JAMMA pins + PORT_CONFNAME( 0x2100, 0x2000, DEF_STR( Cabinet ) ) PORT_CONFSETTING( 0x0000, "50 Inch" ) PORT_CONFSETTING( 0x0100, "Twin" ) PORT_CONFSETTING( 0x2000, DEF_STR( Standard ) ) @@ -3228,8 +3241,8 @@ INPUT_PORTS_END static INPUT_PORTS_START( cybrcomm ) PORT_START("INPUTS") - PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Gun Trigger") // placed on both sticks - PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Missile Button") // placed on both sticks + PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Gun Trigger") // placed on both sticks + PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Missile Button") // placed on both sticks PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_UNKNOWN ) @@ -3245,6 +3258,21 @@ static INPUT_PORTS_START( cybrcomm ) PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN ) + // The ranges here are based on the test mode which displays +-224 + // The eeprom is calibrated using these settings. If the SUBCPU handling changes then these might end up needing to change again too. + // Default key arrangement is based on dual-joystick 'Tank' arrangement found in Assault and CyberSled + PORT_START("ADC.0") // right joystick: vertical + PORT_BIT( 0xff, 0x7f, IPT_AD_STICK_Y ) PORT_MINMAX(0x47, 0xb7) PORT_CODE_DEC(KEYCODE_I) PORT_CODE_INC(KEYCODE_K) PORT_SENSITIVITY(100) PORT_KEYDELTA(10) PORT_PLAYER(2) + + PORT_START("ADC.1") // left joystick: vertical + PORT_BIT( 0xff, 0x7f, IPT_AD_STICK_Y ) PORT_MINMAX(0x47, 0xb7) PORT_CODE_DEC(KEYCODE_E) PORT_CODE_INC(KEYCODE_D) PORT_SENSITIVITY(100) PORT_KEYDELTA(10) PORT_PLAYER(1) + + PORT_START("ADC.2") // right joystick: horizontal + PORT_BIT( 0xff, 0x7f, IPT_AD_STICK_X ) PORT_MINMAX(0x47, 0xb7) PORT_CODE_DEC(KEYCODE_J) PORT_CODE_INC(KEYCODE_L) PORT_SENSITIVITY(100) PORT_KEYDELTA(10) PORT_PLAYER(2) + + PORT_START("ADC.3") // left joystick: horizontal + PORT_BIT( 0xff, 0x7f, IPT_AD_STICK_X ) PORT_MINMAX(0x47, 0xb7) PORT_CODE_DEC(KEYCODE_S) PORT_CODE_INC(KEYCODE_F) PORT_SENSITIVITY(100) PORT_KEYDELTA(10) PORT_PLAYER(1) + PORT_START("DSW") PORT_DIPUNKNOWN_DIPLOC( 0x0001, 0x0001, "SW2:1" ) PORT_DIPUNKNOWN_DIPLOC( 0x0002, 0x0002, "SW2:2" ) @@ -3262,26 +3290,11 @@ static INPUT_PORTS_START( cybrcomm ) PORT_DIPUNKNOWN_DIPLOC( 0x2000, 0x2000, "SW3:6" ) PORT_DIPUNKNOWN_DIPLOC( 0x4000, 0x4000, "SW3:7" ) PORT_DIPUNKNOWN_DIPLOC( 0x8000, 0x8000, "SW3:8" ) - - // The ranges here are based on the test mode which displays +-224 - // The eeprom is calibrated using these settings. If the SUBCPU handling changes then these might end up needing to change again too. - // Default key arrangement is based on dual-joystick 'Tank' arrangement found in Assault and CyberSled - PORT_START("ADC.0") // right joystick: vertical - PORT_BIT( 0xff, 0x7f, IPT_AD_STICK_Y ) PORT_MINMAX(0x47, 0xb7) PORT_CODE_DEC(KEYCODE_I) PORT_CODE_INC(KEYCODE_K) PORT_SENSITIVITY(100) PORT_KEYDELTA(10) PORT_PLAYER(2) - - PORT_START("ADC.1") // left joystick: vertical - PORT_BIT( 0xff, 0x7f, IPT_AD_STICK_Y ) PORT_MINMAX(0x47, 0xb7) PORT_CODE_DEC(KEYCODE_E) PORT_CODE_INC(KEYCODE_D) PORT_SENSITIVITY(100) PORT_KEYDELTA(10) PORT_PLAYER(1) - - PORT_START("ADC.2") // right joystick: horizontal - PORT_BIT( 0xff, 0x7f, IPT_AD_STICK_X ) PORT_MINMAX(0x47, 0xb7) PORT_CODE_DEC(KEYCODE_J) PORT_CODE_INC(KEYCODE_L) PORT_SENSITIVITY(100) PORT_KEYDELTA(10) PORT_PLAYER(2) - - PORT_START("ADC.3") // left joystick: horizontal - PORT_BIT( 0xff, 0x7f, IPT_AD_STICK_X ) PORT_MINMAX(0x47, 0xb7) PORT_CODE_DEC(KEYCODE_S) PORT_CODE_INC(KEYCODE_F) PORT_SENSITIVITY(100) PORT_KEYDELTA(10) PORT_PLAYER(1) INPUT_PORTS_END static INPUT_PORTS_START( acedrvr ) PORT_START("INPUTS") - PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_NAME("Shift Down") + PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_NAME("Shift Down") PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_NAME("Shift Up") PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_UNKNOWN ) @@ -3291,28 +3304,21 @@ static INPUT_PORTS_START( acedrvr ) PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_COIN2 ) - PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_SERVICE( 0x0400, IP_ACTIVE_LOW ) PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_SERVICE1 ) PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Motion-Stop") - PORT_START("CUSTOM.0") - PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2) PORT_NAME("Dev Service Enter") // also "REC" start - PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2) PORT_NAME("Dev Service Exit") // also "REC" stop - PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_UNKNOWN ) // enters free camera view while in attract mode - PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_UNKNOWN ) // resets game? - PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_PLAYER(2) PORT_NAME("Dev Service Up") - PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_PLAYER(2) PORT_NAME("Dev Service Down") - PORT_BIT( 0xff30, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_START("ADC.0") + PORT_BIT( 0xff, 0x80, IPT_PADDLE ) PORT_MINMAX(0x20, 0xe0) PORT_SENSITIVITY(100) PORT_KEYDELTA(10) PORT_NAME("Steering Wheel") - PORT_START("CUSTOM.1") - PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_UNKNOWN ) - PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_UNKNOWN ) - PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_UNKNOWN ) // pauses game? - PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_UNKNOWN ) - PORT_BIT( 0xfff0, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_START("ADC.1") + PORT_BIT( 0xff, 0x00, IPT_PEDAL ) PORT_MINMAX(0x00, 0x90) PORT_SENSITIVITY(100) PORT_KEYDELTA(10) PORT_NAME("Gas Pedal") + + PORT_START("ADC.2") + PORT_BIT( 0xff, 0x00, IPT_PEDAL2 ) PORT_MINMAX(0x00, 0x48) PORT_SENSITIVITY(100) PORT_KEYDELTA(10) PORT_NAME("Brake Pedal") PORT_START("DSW") PORT_DIPUNKNOWN_DIPLOC( 0x0001, 0x0001, "SW2:1" ) @@ -3332,31 +3338,44 @@ static INPUT_PORTS_START( acedrvr ) PORT_DIPNAME( 0x4000, 0x4000, "Test Mode?" ) PORT_DIPLOCATION("SW3:7") PORT_DIPSETTING( 0x4000, DEF_STR( Off ) ) PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) - PORT_DIPNAME( 0x8000, 0x8000, "Test Mode?" ) PORT_DIPLOCATION("SW3:8") + PORT_DIPNAME( 0x8000, 0x8000, "Test Mode?" ) PORT_DIPLOCATION("SW3:8") // enter test mode if SW3:7 is on PORT_DIPSETTING( 0x8000, DEF_STR( Off ) ) PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) - PORT_START("ADC.0") - PORT_BIT( 0xff, 0x80, IPT_PADDLE ) PORT_SENSITIVITY(100) PORT_KEYDELTA(10) PORT_NAME("Steering Wheel") + PORT_START("DEV") + PORT_CONFNAME( 0x01, 0x00, "Enable Dev Inputs" ) + PORT_CONFSETTING( 0x00, DEF_STR( No ) ) + PORT_CONFSETTING( 0x01, DEF_STR( Yes ) ) - PORT_START("ADC.1") - PORT_BIT( 0xff, 0x00, IPT_PEDAL ) PORT_SENSITIVITY(100) PORT_KEYDELTA(10) PORT_NAME("Gas Pedal") + PORT_START("CUSTOM.0") + PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CONDITION("DEV", 0x01, EQUALS, 0x01) PORT_PLAYER(2) PORT_NAME("Dev Service Enter") // also "REC" start + PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CONDITION("DEV", 0x01, EQUALS, 0x01) PORT_PLAYER(2) PORT_NAME("Dev Service Exit") // also "REC" stop + PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CONDITION("DEV", 0x01, EQUALS, 0x01) PORT_PLAYER(2) PORT_NAME("Dev Unknown 1") // enters free camera view while in attract mode + PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CONDITION("DEV", 0x01, EQUALS, 0x01) PORT_PLAYER(2) PORT_NAME("Dev Unknown 2") // resets game? + PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_CONDITION("DEV", 0x01, EQUALS, 0x01) PORT_PLAYER(2) PORT_NAME("Dev Service Left") + PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_CONDITION("DEV", 0x01, EQUALS, 0x01) PORT_PLAYER(2) PORT_NAME("Dev Service Right") + PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_CONDITION("DEV", 0x01, EQUALS, 0x01) PORT_PLAYER(2) PORT_NAME("Dev Service Up") + PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_CONDITION("DEV", 0x01, EQUALS, 0x01) PORT_PLAYER(2) PORT_NAME("Dev Service Down") + PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_CONDITION("DEV", 0x01, EQUALS, 0x01) + PORT_BIT( 0xffff, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_CONDITION("DEV", 0x01, EQUALS, 0x00) - PORT_START("ADC.2") - PORT_BIT( 0xff, 0x00, IPT_PEDAL2 ) PORT_SENSITIVITY(100) PORT_KEYDELTA(10) PORT_NAME("Brake Pedal") + PORT_START("CUSTOM.1") + PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_CONDITION("DEV", 0x01, EQUALS, 0x01) + PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_CONDITION("DEV", 0x01, EQUALS, 0x01) + PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_CONDITION("DEV", 0x01, EQUALS, 0x01) // pauses game? + PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_CONDITION("DEV", 0x01, EQUALS, 0x01) + PORT_BIT( 0xfff0, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_CONDITION("DEV", 0x01, EQUALS, 0x01) + PORT_BIT( 0xffff, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_CONDITION("DEV", 0x01, EQUALS, 0x00) INPUT_PORTS_END static INPUT_PORTS_START( victlap ) PORT_INCLUDE( acedrvr ) PORT_MODIFY("CUSTOM.0") - PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2) PORT_NAME("Dev Service Exit") - PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_UNKNOWN ) // win race and reset game? - PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_UNKNOWN ) - PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_PLAYER(2) PORT_NAME("Dev Service Up") - PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_PLAYER(2) PORT_NAME("Dev Service Down") - PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2) PORT_NAME("Dev Service Enter") - PORT_BIT( 0xfe0e, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CONDITION("DEV", 0x01, EQUALS, 0x01) PORT_PLAYER(2) PORT_NAME("Dev Service Exit") + PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CONDITION("DEV", 0x01, EQUALS, 0x01) PORT_PLAYER(2) PORT_NAME("Dev Service Enter") + PORT_BIT( 0xfe0e, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_CONDITION("DEV", 0x01, EQUALS, 0x01) + PORT_BIT( 0xffff, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_CONDITION("DEV", 0x01, EQUALS, 0x00) INPUT_PORTS_END /*********************************************************************************************/ @@ -3367,17 +3386,6 @@ CUSTOM_INPUT_MEMBER(namcos22_state::alpine_motor_read) } static INPUT_PORTS_START( alpiner ) - PORT_START("DSW") - PORT_DIPUNKNOWN_DIPLOC( 0x0001, 0x0001, "SW4:1" ) - PORT_DIPUNKNOWN_DIPLOC( 0x0002, 0x0002, "SW4:2" ) - PORT_DIPUNKNOWN_DIPLOC( 0x0004, 0x0004, "SW4:3" ) - PORT_DIPUNKNOWN_DIPLOC( 0x0008, 0x0008, "SW4:4" ) - PORT_DIPUNKNOWN_DIPLOC( 0x0010, 0x0010, "SW4:5" ) - PORT_DIPUNKNOWN_DIPLOC( 0x0020, 0x0020, "SW4:6" ) - PORT_DIPUNKNOWN_DIPLOC( 0x0040, 0x0040, "SW4:7" ) - PORT_DIPUNKNOWN_DIPLOC( 0x0080, 0x0080, "SW4:8" ) - PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNUSED ) - PORT_START("INPUTS") PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_UNKNOWN ) @@ -3395,9 +3403,7 @@ static INPUT_PORTS_START( alpiner ) PORT_START("ADC.1") PORT_BIT( 0x3ff, 0x200, IPT_AD_STICK_X ) PORT_MINMAX(0x080, 0x380) PORT_SENSITIVITY(100) PORT_KEYDELTA(16) PORT_PLAYER(2) PORT_NAME("Steps Edge") -INPUT_PORTS_END -static INPUT_PORTS_START( airco22 ) PORT_START("DSW") PORT_DIPUNKNOWN_DIPLOC( 0x0001, 0x0001, "SW4:1" ) PORT_DIPUNKNOWN_DIPLOC( 0x0002, 0x0002, "SW4:2" ) @@ -3408,7 +3414,9 @@ static INPUT_PORTS_START( airco22 ) PORT_DIPUNKNOWN_DIPLOC( 0x0040, 0x0040, "SW4:7" ) PORT_DIPUNKNOWN_DIPLOC( 0x0080, 0x0080, "SW4:8" ) PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNUSED ) +INPUT_PORTS_END +static INPUT_PORTS_START( airco22 ) PORT_START("INPUTS") PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_UNKNOWN ) @@ -3427,14 +3435,10 @@ static INPUT_PORTS_START( airco22 ) PORT_BIT( 0x3ff, 0x200, IPT_AD_STICK_Y ) PORT_MINMAX(0x100, 0x300) PORT_SENSITIVITY(100) PORT_KEYDELTA(12) PORT_START("ADC.2") // throttle stick auto-centers - PORT_BIT( 0x3ff, 0x200, IPT_AD_STICK_Z ) PORT_MINMAX(0x100, 0x300) PORT_SENSITIVITY(100) PORT_KEYDELTA(12) PORT_NAME("Throttle Stick") -INPUT_PORTS_END + PORT_BIT( 0x3ff, 0x200, IPT_AD_STICK_Y ) PORT_MINMAX(0x100, 0x300) PORT_SENSITIVITY(100) PORT_KEYDELTA(12) PORT_PLAYER(2) PORT_NAME("Throttle Stick") -static INPUT_PORTS_START( cybrcycc ) PORT_START("DSW") - PORT_DIPNAME( 0x0001, 0x0001, "Test Mode?" ) PORT_DIPLOCATION("SW4:1") - PORT_DIPSETTING( 0x0001, DEF_STR( Off ) ) - PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) + PORT_DIPUNKNOWN_DIPLOC( 0x0001, 0x0001, "SW4:1" ) PORT_DIPUNKNOWN_DIPLOC( 0x0002, 0x0002, "SW4:2" ) PORT_DIPUNKNOWN_DIPLOC( 0x0004, 0x0004, "SW4:3" ) PORT_DIPUNKNOWN_DIPLOC( 0x0008, 0x0008, "SW4:4" ) @@ -3443,7 +3447,9 @@ static INPUT_PORTS_START( cybrcycc ) PORT_DIPUNKNOWN_DIPLOC( 0x0040, 0x0040, "SW4:7" ) PORT_DIPUNKNOWN_DIPLOC( 0x0080, 0x0080, "SW4:8" ) PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNUSED ) +INPUT_PORTS_END +static INPUT_PORTS_START( cybrcycc ) PORT_START("INPUTS") PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_UNKNOWN ) @@ -3463,11 +3469,11 @@ static INPUT_PORTS_START( cybrcycc ) PORT_START("ADC.2") PORT_BIT( 0x3ff, 0x000, IPT_PEDAL2 ) PORT_MINMAX(0x000, 0x100) PORT_SENSITIVITY(100) PORT_KEYDELTA(40) PORT_NAME("Brake Pedal") -INPUT_PORTS_END -static INPUT_PORTS_START( dirtdash ) PORT_START("DSW") - PORT_DIPUNKNOWN_DIPLOC( 0x0001, 0x0001, "SW4:1" ) + PORT_DIPNAME( 0x0001, 0x0001, "Test Mode" ) PORT_DIPLOCATION("SW4:1") + PORT_DIPSETTING( 0x0001, DEF_STR( Off ) ) + PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) PORT_DIPUNKNOWN_DIPLOC( 0x0002, 0x0002, "SW4:2" ) PORT_DIPUNKNOWN_DIPLOC( 0x0004, 0x0004, "SW4:3" ) PORT_DIPUNKNOWN_DIPLOC( 0x0008, 0x0008, "SW4:4" ) @@ -3476,7 +3482,9 @@ static INPUT_PORTS_START( dirtdash ) PORT_DIPUNKNOWN_DIPLOC( 0x0040, 0x0040, "SW4:7" ) PORT_DIPUNKNOWN_DIPLOC( 0x0080, 0x0080, "SW4:8" ) PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNUSED ) +INPUT_PORTS_END +static INPUT_PORTS_START( dirtdash ) PORT_START("INPUTS") PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_UNKNOWN ) @@ -3486,7 +3494,11 @@ static INPUT_PORTS_START( dirtdash ) PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_NAME("Shift Up") PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_NAME("Shift Down") PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Motion-Stop") - PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_CONFNAME( 0x0200, 0x0000, DEF_STR( Cabinet ) ) + PORT_CONFSETTING( 0x0000, DEF_STR( Standard ) ) + PORT_CONFSETTING( 0x0200, "Deluxe" ) // car suspension valves + PORT_BIT( 0xfc00, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_START("ADC.0") PORT_BIT( 0x3ff, 0x200, IPT_PADDLE ) PORT_MINMAX(0x001, 0x3ff) PORT_SENSITIVITY(100) PORT_KEYDELTA(12) PORT_NAME("Steering Wheel") @@ -3496,13 +3508,9 @@ static INPUT_PORTS_START( dirtdash ) PORT_START("ADC.2") PORT_BIT( 0x3ff, 0x000, IPT_PEDAL2 ) PORT_MINMAX(0x000, 0x100) PORT_SENSITIVITY(100) PORT_KEYDELTA(40) PORT_NAME("Brake Pedal") -INPUT_PORTS_END -static INPUT_PORTS_START( tokyowar ) PORT_START("DSW") - PORT_DIPNAME( 0x0001, 0x0001, "Test Mode?" ) PORT_DIPLOCATION("SW4:1") - PORT_DIPSETTING( 0x0001, DEF_STR( Off ) ) - PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) + PORT_DIPUNKNOWN_DIPLOC( 0x0001, 0x0001, "SW4:1" ) PORT_DIPUNKNOWN_DIPLOC( 0x0002, 0x0002, "SW4:2" ) PORT_DIPUNKNOWN_DIPLOC( 0x0004, 0x0004, "SW4:3" ) PORT_DIPUNKNOWN_DIPLOC( 0x0008, 0x0008, "SW4:4" ) @@ -3511,7 +3519,9 @@ static INPUT_PORTS_START( tokyowar ) PORT_DIPUNKNOWN_DIPLOC( 0x0040, 0x0040, "SW4:7" ) PORT_DIPUNKNOWN_DIPLOC( 0x0080, 0x0080, "SW4:8" ) PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNUSED ) +INPUT_PORTS_END +static INPUT_PORTS_START( tokyowar ) PORT_START("INPUTS") PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_UNKNOWN ) @@ -3520,7 +3530,9 @@ static INPUT_PORTS_START( tokyowar ) PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_START1 ) // also view-change function PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Right Trigger") PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Left Trigger") - PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_CONFNAME( 0x0080, 0x0080, DEF_STR( Cabinet ) ) + PORT_CONFSETTING( 0x0080, DEF_STR( Standard ) ) + PORT_CONFSETTING( 0x0000, "Deluxe" ) // cannon recoil motors PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_START("ADC.0") @@ -3531,11 +3543,9 @@ static INPUT_PORTS_START( tokyowar ) PORT_START("ADC.3") PORT_BIT( 0x3ff, 0x000, IPT_PEDAL2 ) PORT_MINMAX(0x000, 0x100) PORT_SENSITIVITY(100) PORT_KEYDELTA(20) PORT_NAME("Brake Pedal") -INPUT_PORTS_END -static INPUT_PORTS_START( aquajet ) PORT_START("DSW") - PORT_DIPNAME( 0x0001, 0x0001, "Test Mode?" ) PORT_DIPLOCATION("SW4:1") + PORT_DIPNAME( 0x0001, 0x0001, "Test Mode" ) PORT_DIPLOCATION("SW4:1") PORT_DIPSETTING( 0x0001, DEF_STR( Off ) ) PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) PORT_DIPUNKNOWN_DIPLOC( 0x0002, 0x0002, "SW4:2" ) @@ -3546,7 +3556,9 @@ static INPUT_PORTS_START( aquajet ) PORT_DIPUNKNOWN_DIPLOC( 0x0040, 0x0040, "SW4:7" ) PORT_DIPUNKNOWN_DIPLOC( 0x0080, 0x0080, "SW4:8" ) PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNUSED ) +INPUT_PORTS_END +static INPUT_PORTS_START( aquajet ) PORT_START("INPUTS") PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_UNKNOWN ) @@ -3566,11 +3578,9 @@ static INPUT_PORTS_START( aquajet ) PORT_START("ADC.2") PORT_BIT( 0x3ff, 0x1fc, IPT_AD_STICK_Y ) PORT_MINMAX(0x000, 0x3f8) PORT_SENSITIVITY(100) PORT_KEYDELTA(40) PORT_REVERSE -INPUT_PORTS_END -static INPUT_PORTS_START( adillor ) PORT_START("DSW") - PORT_DIPNAME( 0x0001, 0x0001, "Test Mode?" ) PORT_DIPLOCATION("SW4:1") + PORT_DIPNAME( 0x0001, 0x0001, "Test Mode" ) PORT_DIPLOCATION("SW4:1") PORT_DIPSETTING( 0x0001, DEF_STR( Off ) ) PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) PORT_DIPUNKNOWN_DIPLOC( 0x0002, 0x0002, "SW4:2" ) @@ -3581,16 +3591,9 @@ static INPUT_PORTS_START( adillor ) PORT_DIPUNKNOWN_DIPLOC( 0x0040, 0x0040, "SW4:7" ) PORT_DIPUNKNOWN_DIPLOC( 0x0080, 0x0080, "SW4:8" ) PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNUSED ) +INPUT_PORTS_END - PORT_START("CUSTOM.0") - PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2) PORT_NAME("Dev Service Enter") - PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2) PORT_NAME("Dev Service Exit") - PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_PLAYER(2) PORT_NAME("Dev Service Left") - PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(2) PORT_NAME("Dev Service Right") // when in normal testmode, press this to enter the extra testmode - PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_PLAYER(2) PORT_NAME("Dev Service Up") - PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_PLAYER(2) PORT_NAME("Dev Service Down") - PORT_BIT( 0xffc0, IP_ACTIVE_LOW, IPT_UNKNOWN ) - +static INPUT_PORTS_START( adillor ) PORT_START("INPUTS") PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_UNKNOWN ) @@ -3608,11 +3611,11 @@ static INPUT_PORTS_START( adillor ) PORT_START("TRACKY") PORT_BIT( 0xff, 0x80, IPT_AD_STICK_Y ) PORT_MINMAX(0x01, 0xff) PORT_SENSITIVITY(100) PORT_KEYDELTA(8) PORT_NAME("Trackball Y") -INPUT_PORTS_END -static INPUT_PORTS_START( propcycl ) PORT_START("DSW") - PORT_DIPUNKNOWN_DIPLOC( 0x0001, 0x0001, "SW4:1" ) + PORT_DIPNAME( 0x0001, 0x0001, "Test Mode" ) PORT_DIPLOCATION("SW4:1") + PORT_DIPSETTING( 0x0001, DEF_STR( Off ) ) + PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) PORT_DIPUNKNOWN_DIPLOC( 0x0002, 0x0002, "SW4:2" ) PORT_DIPUNKNOWN_DIPLOC( 0x0004, 0x0004, "SW4:3" ) PORT_DIPUNKNOWN_DIPLOC( 0x0008, 0x0008, "SW4:4" ) @@ -3622,6 +3625,23 @@ static INPUT_PORTS_START( propcycl ) PORT_DIPUNKNOWN_DIPLOC( 0x0080, 0x0080, "SW4:8" ) PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNUSED ) + PORT_START("DEV") + PORT_CONFNAME( 0x01, 0x00, "Enable Dev Inputs" ) + PORT_CONFSETTING( 0x00, DEF_STR( No ) ) + PORT_CONFSETTING( 0x01, DEF_STR( Yes ) ) + + PORT_START("CUSTOM.0") + PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CONDITION("DEV", 0x01, EQUALS, 0x01) PORT_PLAYER(2) PORT_NAME("Dev Service Enter") + PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CONDITION("DEV", 0x01, EQUALS, 0x01) PORT_PLAYER(2) PORT_NAME("Dev Service Exit") + PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_CONDITION("DEV", 0x01, EQUALS, 0x01) PORT_PLAYER(2) PORT_NAME("Dev Service Left") + PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_CONDITION("DEV", 0x01, EQUALS, 0x01) PORT_PLAYER(2) PORT_NAME("Dev Service Right") // when in normal testmode, press this to enter the extra testmode + PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_CONDITION("DEV", 0x01, EQUALS, 0x01) PORT_PLAYER(2) PORT_NAME("Dev Service Up") + PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_CONDITION("DEV", 0x01, EQUALS, 0x01) PORT_PLAYER(2) PORT_NAME("Dev Service Down") + PORT_BIT( 0xffc0, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_CONDITION("DEV", 0x01, EQUALS, 0x01) + PORT_BIT( 0xffff, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_CONDITION("DEV", 0x01, EQUALS, 0x00) +INPUT_PORTS_END + +static INPUT_PORTS_START( propcycl ) PORT_START("INPUTS") PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_UNKNOWN ) @@ -3642,9 +3662,7 @@ static INPUT_PORTS_START( propcycl ) PORT_START("PEDAL") PORT_BIT( 0x7f, 0x00, IPT_PEDAL ) PORT_SENSITIVITY(100) PORT_KEYDELTA(10) -INPUT_PORTS_END -static INPUT_PORTS_START( timecris ) PORT_START("DSW") PORT_DIPUNKNOWN_DIPLOC( 0x0001, 0x0001, "SW4:1" ) PORT_DIPUNKNOWN_DIPLOC( 0x0002, 0x0002, "SW4:2" ) @@ -3653,9 +3671,11 @@ static INPUT_PORTS_START( timecris ) PORT_DIPUNKNOWN_DIPLOC( 0x0010, 0x0010, "SW4:5" ) PORT_DIPUNKNOWN_DIPLOC( 0x0020, 0x0020, "SW4:6" ) PORT_DIPUNKNOWN_DIPLOC( 0x0040, 0x0040, "SW4:7" ) - PORT_SERVICE_DIPLOC( 0x0080, IP_ACTIVE_LOW, "SW4:8") + PORT_DIPUNKNOWN_DIPLOC( 0x0080, 0x0080, "SW4:8" ) PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNUSED ) +INPUT_PORTS_END +static INPUT_PORTS_START( timecris ) PORT_START("INPUTS") PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_UNKNOWN ) @@ -3672,6 +3692,19 @@ static INPUT_PORTS_START( timecris ) PORT_START( "LIGHTY" ) // tuned for CRT - can't shoot below the statusbar? PORT_BIT( 0xffff, 43+241/2, IPT_LIGHTGUN_Y ) PORT_CROSSHAIR(Y, 1.0, 0.0, 0) PORT_MINMAX(43, 43+241) PORT_SENSITIVITY(64) PORT_KEYDELTA(4) + + PORT_START("DSW") + PORT_DIPUNKNOWN_DIPLOC( 0x0001, 0x0001, "SW4:1" ) + PORT_DIPUNKNOWN_DIPLOC( 0x0002, 0x0002, "SW4:2" ) + PORT_DIPUNKNOWN_DIPLOC( 0x0004, 0x0004, "SW4:3" ) + PORT_DIPUNKNOWN_DIPLOC( 0x0008, 0x0008, "SW4:4" ) + PORT_DIPUNKNOWN_DIPLOC( 0x0010, 0x0010, "SW4:5" ) + PORT_DIPUNKNOWN_DIPLOC( 0x0020, 0x0020, "SW4:6" ) + PORT_DIPUNKNOWN_DIPLOC( 0x0040, 0x0040, "SW4:7" ) + PORT_DIPNAME( 0x0080, 0x0080, "Test Mode" ) PORT_DIPLOCATION("SW4:8") + PORT_DIPSETTING( 0x0080, DEF_STR( Off ) ) + PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) + PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNUSED ) INPUT_PORTS_END @@ -5788,7 +5821,7 @@ void namcos22_state::init_dirtdash() /* YEAR, NAME, PARENT, MACHINE, INPUT, CLASS, INIT, MNTR, COMPANY, FULLNAME, FLAGS */ // System22 games -GAME( 1993, ridgerac, 0, namcos22, ridgera, namcos22_state, init_ridgeraj, ROT0, "Namco", "Ridge Racer (Rev. RR3, World)", MACHINE_SUPPORTS_SAVE | MACHINE_IMPERFECT_GRAPHICS ) // 1994-01-17 +GAME( 1993, ridgerac, 0, namcos22, ridgera, namcos22_state, init_ridgeraj, ROT0, "Namco", "Ridge Racer (Rev. RR3, World)", MACHINE_SUPPORTS_SAVE | MACHINE_IMPERFECT_GRAPHICS ) // 1994-01-17, RR3 means USA? GAME( 1993, ridgerac3, ridgerac, namcos22, ridgera, namcos22_state, init_ridgeraj, ROT0, "Namco", "Ridge Racer (Rev. RR2 Ver.B, World, 3-screen?)", MACHINE_SUPPORTS_SAVE | MACHINE_IMPERFECT_GRAPHICS ) // 1993-10-28, no indication that this really is a 3-screen version. GAME( 1993, ridgeracb, ridgerac, namcos22, ridgera, namcos22_state, init_ridgeraj, ROT0, "Namco", "Ridge Racer (Rev. RR2, World)", MACHINE_SUPPORTS_SAVE | MACHINE_IMPERFECT_GRAPHICS ) // 1993-10-07 GAME( 1993, ridgeracj, ridgerac, namcos22, ridgera, namcos22_state, init_ridgeraj, ROT0, "Namco", "Ridge Racer (Rev. RR1, Japan)", MACHINE_SUPPORTS_SAVE | MACHINE_IMPERFECT_GRAPHICS ) // 1993-10-07 |