crazybon: hook up stop buttons and add to layout [Vas Crabb, Ioannis Bampoulas]

there may be a payout or keyout button and hopper switch that still aren't connected
the game is playable with the current clickable artwork, but it might be
a nice touch to add clickable buttons for the individual reel stop
buttons
This commit is contained in:
Vas Crabb 2016-03-02 18:45:57 +11:00
parent e74b578c67
commit 80158a9ccb
2 changed files with 123 additions and 32 deletions

View File

@ -6137,21 +6137,24 @@ static INPUT_PORTS_START( crazybon )
PORT_START("IN0")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Big")
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Big / Hold")
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_D_UP )
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SLOT_STOP_ALL ) PORT_NAME("Stop All / Take Score")
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE ) /* also works as stop all and hold pair */
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_BET )
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Small / Info")
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Start")
PORT_INCLUDE( cmv4_coins )
PORT_MODIFY("IN1")
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED ) /* Unused coin switch */
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SLOT_STOP1 )
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SLOT_STOP2 )
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SLOT_STOP_ALL )
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SLOT_STOP3 )
PORT_INCLUDE( cmv4_service )
PORT_START("DSW1")
PORT_DIPNAME( 0x01, 0x00, "Hold Pair" ) PORT_DIPLOCATION("DSW1:1") /* OK - use Take button */
PORT_DIPNAME( 0x01, 0x00, "Hold Pair" ) PORT_DIPLOCATION("DSW1:1") /* OK */
PORT_DIPSETTING( 0x01, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_DIPNAME( 0x02, 0x02, "Double Up Jack" ) PORT_DIPLOCATION("DSW1:2") /* from manual, not checked */

View File

@ -15,13 +15,48 @@
<rect state="0">
<color red="0.15" green="0.0" blue="0.0" />
</rect>
<text string="STOP">
<text string="STOP ALL">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.1" width="1" height="0.4" />
<bounds x="0" y="0.3" width="1" height="0.4" />
</text>
<text string="TAKE">
</element>
<element name="stop1" defstate="0">
<rect state="1">
<color red="1.0" green="0.0" blue="0.0" />
</rect>
<rect state="0">
<color red="0.15" green="0.0" blue="0.0" />
</rect>
<text string="STOP 1">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.5" width="1" height="0.4" />
<bounds x="0" y="0.3" width="1" height="0.4" />
</text>
</element>
<element name="stop2" defstate="0">
<rect state="1">
<color red="1.0" green="0.0" blue="0.0" />
</rect>
<rect state="0">
<color red="0.15" green="0.0" blue="0.0" />
</rect>
<text string="STOP 2">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.3" width="1" height="0.4" />
</text>
</element>
<element name="stop3" defstate="0">
<rect state="1">
<color red="1.0" green="0.0" blue="0.0" />
</rect>
<rect state="0">
<color red="0.15" green="0.0" blue="0.0" />
</rect>
<text string="STOP 3">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.3" width="1" height="0.4" />
</text>
</element>
@ -30,11 +65,15 @@
<color red="1.0" green="0.0" blue="0.0" />
</rect>
<rect state="0">
<color red="0.15" green="0.0" blue="0.0" />
<color red="0.5" green="0.0" blue="0.0" />
</rect>
<text string="BIG">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.3" width="1" height="0.4" />
<bounds x="0" y="0.1" width="1" height="0.4" />
</text>
<text string="HOLD">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.5" width="1" height="0.4" />
</text>
</element>
@ -43,7 +82,7 @@
<color red="1.0" green="0.0" blue="0.0" />
</rect>
<rect state="0">
<color red="0.15" green="0.0" blue="0.0" />
<color red="0.5" green="0.0" blue="0.0" />
</rect>
<text string="SMALL">
<color red="0.0" green="0.0" blue="0.0" />
@ -68,6 +107,19 @@
</text>
</element>
<element name="take" defstate="0">
<rect state="1">
<color red="1.0" green="0.5" blue="0.0" />
</rect>
<rect state="0">
<color red="0.15" green="0.075" blue="0.0" />
</rect>
<text string="TAKE">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.3" width="1" height="0.4" />
</text>
</element>
<element name="start" defstate="0">
<rect state="1">
<color red="0.0" green="1.0" blue="0.0" />
@ -112,6 +164,15 @@
</rect>
</element>
<element name="big_b" defstate="0">
<rect state="1">
<color red="0.7" green="0.0" blue="0.0" />
</rect>
<rect state="0">
<color red="0.4" green="0.0" blue="0.0" />
</rect>
</element>
<element name="bet_b" defstate="0">
<rect state="1">
<color red="0.7" green="0.0" blue="0.7" />
@ -204,50 +265,77 @@
<!-- define lamps -->
<bezel name="lamp3" element="bet_b" inputtag="IN0" inputmask="0x20">
<bounds x="0.05" y="3.08" width="0.40" height="0.24" />
<bounds x="0.05" y="3.08" width="0.25" height="0.24" />
</bezel>
<bezel name="lamp3" element="bet" inputtag="IN0" inputmask="0x20">
<bounds x="0.07" y="3.10" width="0.36" height="0.20" />
</bezel>
<bezel name="lamp4" element="stop_b" inputtag="IN0" inputmask="0x10">
<bounds x="1.4" y="3.08" width="0.50" height="0.24" />
</bezel>
<bezel name="lamp4" element="stop" inputtag="IN0" inputmask="0x10">
<bounds x="1.42" y="3.10" width="0.46" height="0.20" />
<bounds x="0.07" y="3.10" width="0.21" height="0.20" />
</bezel>
<bezel name="lamp5" element="dup_b" inputtag="IN0" inputmask="0x08">
<bounds x="0.65" y="3.08" width="0.50" height="0.24" />
<bounds x="0.40" y="3.08" width="0.35" height="0.24" />
</bezel>
<bezel name="lamp5" element="dup" inputtag="IN0" inputmask="0x08">
<bounds x="0.67" y="3.10" width="0.46" height="0.20" />
<bounds x="0.42" y="3.10" width="0.31" height="0.20" />
</bezel>
<bezel name="lamp4" element="dup_b" inputtag="IN0" inputmask="0x10">
<bounds x="0.80" y="3.08" width="0.35" height="0.24" />
</bezel>
<bezel name="lamp4" element="take" inputtag="IN0" inputmask="0x10">
<bounds x="0.82" y="3.10" width="0.31" height="0.20" />
</bezel>
<bezel name="lamp7" element="stop_b" inputtag="IN0" inputmask="0x04">
<bounds x="2.05" y="3.08" width="0.50" height="0.24" />
<bezel name="lamp4" element="stop_b" inputtag="IN1" inputmask="0x04">
<bounds x="1.25" y="3.08" width="0.35" height="0.24" />
</bezel>
<bezel name="lamp4" element="stop" inputtag="IN1" inputmask="0x04">
<bounds x="1.27" y="3.10" width="0.31" height="0.20" />
</bezel>
<bezel name="lamp4" element="stop_b" inputtag="IN1" inputmask="0x01">
<bounds x="1.65" y="3.08" width="0.35" height="0.24" />
</bezel>
<bezel name="lamp4" element="stop1" inputtag="IN1" inputmask="0x01">
<bounds x="1.67" y="3.10" width="0.31" height="0.20" />
</bezel>
<bezel name="lamp4" element="stop_b" inputtag="IN1" inputmask="0x02">
<bounds x="2.05" y="3.08" width="0.35" height="0.24" />
</bezel>
<bezel name="lamp4" element="stop2" inputtag="IN1" inputmask="0x02">
<bounds x="2.07" y="3.10" width="0.31" height="0.20" />
</bezel>
<bezel name="lamp4" element="stop_b" inputtag="IN1" inputmask="0x08">
<bounds x="2.45" y="3.08" width="0.35" height="0.24" />
</bezel>
<bezel name="lamp4" element="stop3" inputtag="IN1" inputmask="0x08">
<bounds x="2.47" y="3.10" width="0.31" height="0.20" />
</bezel>
<bezel name="lamp7" element="big_b" inputtag="IN0" inputmask="0x04">
<bounds x="2.90" y="3.08" width="0.30" height="0.24" />
</bezel>
<bezel name="lamp7" element="big" inputtag="IN0" inputmask="0x04">
<bounds x="2.07" y="3.10" width="0.46" height="0.20" />
<bounds x="2.92" y="3.10" width="0.26" height="0.20" />
</bezel>
<bezel name="lamp6" element="stop_b" inputtag="IN0" inputmask="0x40">
<bounds x="2.7" y="3.08" width="0.50" height="0.24" />
<bezel name="lamp6" element="big_b" inputtag="IN0" inputmask="0x40">
<bounds x="3.25" y="3.08" width="0.30" height="0.24" />
</bezel>
<bezel name="lamp6" element="small" inputtag="IN0" inputmask="0x40">
<bounds x="2.72" y="3.10" width="0.46" height="0.20" />
<bounds x="3.27" y="3.10" width="0.26" height="0.20" />
</bezel>
<bezel name="lamp1" element="start_b" inputtag="IN0" inputmask="0x80">
<bounds x="3.45" y="3.08" width="0.50" height="0.24" />
<bounds x="3.65" y="3.08" width="0.30" height="0.24" />
</bezel>
<bezel name="lamp1" element="start" inputtag="IN0" inputmask="0x80">
<bounds x="3.47" y="3.10" width="0.46" height="0.20" />
<bounds x="3.67" y="3.10" width="0.26" height="0.20" />
</bezel>
</view>