Previous 199869 Revisions Next

r31745 Friday 22nd August, 2014 at 22:26:37 UTC by hap
made cabinet type a confsetting instead of dipsw
[src/mame/drivers]namcos22.c

trunk/src/mame/drivers/namcos22.c
r31744r31745
30973097       2 4 6   Standard (default) setup uses a racing shifter like in Ace Driver. */
30983098   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_UP   ) PORT_NAME("Shift Down")
30993099   PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_NAME("Shift Up")
3100   PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_NAME("Shift Left")    // not used in Standard
3101   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT) PORT_NAME("Shift Right")   // not used in Standard
3102   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Clutch Pedal")        // not used in Standard
3100   PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_NAME("Shift Left")    // not used in Standard Cabinet
3101   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT) PORT_NAME("Shift Right")   // not used in Standard Cabinet
3102   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Clutch Pedal")        // not used in Standard Cabinet
31033103   PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_UNKNOWN )
31043104   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_UNKNOWN )
31053105   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_UNKNOWN )
3106   PORT_DIPNAME( 0x0100, 0x0000, DEF_STR( Cabinet ) )
3107   PORT_DIPSETTING(      0x0000, DEF_STR( Standard ) )
3108   PORT_DIPSETTING(      0x0100, "Deluxe" )
3106   PORT_CONFNAME( 0x0100, 0x0000, DEF_STR( Cabinet ) ) // @ JAMMA pins
3107   PORT_CONFSETTING(      0x0000, DEF_STR( Standard ) )
3108   PORT_CONFSETTING(      0x0100, "Deluxe" )
31093109   PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_COIN2 )
3110   PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_UNKNOWN ) // also service mode?
3110   PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_SERVICE3 ) // also service mode?
31113111   PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_SERVICE1 )
31123112   PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_COIN1 )
31133113   PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_UNKNOWN )
r31744r31745
31663166   PORT_INCLUDE( ridgera )
31673167
31683168   PORT_MODIFY("INPUTS")
3169   PORT_DIPNAME( 0x2100, 0x2000, DEF_STR( Cabinet ) )
3170   PORT_DIPSETTING(      0x0000, "50 Inch" )
3171   PORT_DIPSETTING(      0x0100, "Twin" )
3172   PORT_DIPSETTING(      0x2000, DEF_STR( Standard ) )
3173   PORT_DIPSETTING(      0x2100, "Deluxe" )
3169   PORT_CONFNAME( 0x2100, 0x2000, DEF_STR( Cabinet ) ) // @ JAMMA pins
3170   PORT_CONFSETTING(      0x0000, "50 Inch" )
3171   PORT_CONFSETTING(      0x0100, "Twin" )
3172   PORT_CONFSETTING(      0x2000, DEF_STR( Standard ) )
3173   PORT_CONFSETTING(      0x2100, "Deluxe" )
31743174
31753175   /* Some dipswitches seem to be for debug purposes, for example:
31763176       2-4 : background drawing related
r31744r31745
31923192   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("View Change")
31933193   PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_UNKNOWN ) // no coin2
31943194
3195   PORT_DIPNAME( 0x2100, 0x2000, DEF_STR( Cabinet ) )
3196   PORT_DIPSETTING(      0x0000, "50 Inch" )
3197   PORT_DIPSETTING(      0x0100, "Twin" )
3198   PORT_DIPSETTING(      0x2000, DEF_STR( Standard ) )
3199   PORT_DIPSETTING(      0x2100, "Deluxe" )
3195   PORT_CONFNAME( 0x2100, 0x2000, DEF_STR( Cabinet ) ) // @ JAMMA pins
3196   PORT_CONFSETTING(      0x0000, "50 Inch" )
3197   PORT_CONFSETTING(      0x0100, "Twin" )
3198   PORT_CONFSETTING(      0x2000, DEF_STR( Standard ) )
3199   PORT_CONFSETTING(      0x2100, "Deluxe" )
32003200INPUT_PORTS_END
32013201
32023202

Previous 199869 Revisions Next


© 1997-2024 The MAME Team