cmezspin: fix DIPs/inputs [Vas Crabb, hsialin]

This commit is contained in:
Vas Crabb 2015-09-12 21:05:37 +08:00
parent 51650d9634
commit bdf6a49ecd
2 changed files with 337 additions and 2 deletions

View File

@ -208,6 +208,7 @@
#include "cmaster.lh"
#include "cmasterb.lh"
#include "cmasterc.lh"
#include "cmezspin.lh"
#include "cmpacman.lh"
#include "cmv4.lh"
#include "crazybon.lh"
@ -1240,7 +1241,7 @@ static INPUT_PORTS_START( cmv4_dsw1 )
PORT_DIPNAME( 0x20, 0x00, "Double Up Game" ) PORT_DIPLOCATION("DSW1:6")
PORT_DIPSETTING( 0x20, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_DIPNAME( 0xc0, 0xc0, "Bet Max" ) PORT_DIPLOCATION("DSW1:7,8")
PORT_DIPNAME( 0xc0, 0x00, "Bet Max" ) PORT_DIPLOCATION("DSW1:7,8")
PORT_DIPSETTING( 0x00, "8" )
PORT_DIPSETTING( 0x40, "16" )
PORT_DIPSETTING( 0x80, "32" )
@ -1667,6 +1668,78 @@ static INPUT_PORTS_START( cmasterb )
/* Test Mode For Disp. Of Doll not checked */
INPUT_PORTS_END
static INPUT_PORTS_START( cmezspin )
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_SLOT_STOP3 ) PORT_NAME("Stop 3 / Big")
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SLOT_STOP1 ) PORT_NAME("Stop 1 / D-UP")
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SLOT_STOP_ALL ) PORT_NAME("Stop All / Take")
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_BET )
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SLOT_STOP2 ) PORT_NAME("Stop 2 / Small / Info")
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Start")
PORT_INCLUDE( cmv4_coins )
PORT_INCLUDE( cmv4_service )
PORT_INCLUDE( cmv4_dsw1 )
PORT_MODIFY("DSW1")
PORT_DIPNAME( 0x01, 0x00, "Hold Pair" ) PORT_DIPLOCATION("DSW1:1") /* OK */
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
PORT_DIPSETTING( 0x01, DEF_STR( On ) )
/* Hopper Out Switch not checked */
/* Payout Mode not checked */
PORT_DIPNAME( 0x08, 0x00, "'7' In Double Up Game" ) PORT_DIPLOCATION("DSW1:4") /* OK */
PORT_DIPSETTING( 0x00, "Win" )
PORT_DIPSETTING( 0x08, "Even" )
PORT_DIPNAME( 0x10, 0x00, "Double Up Game Pay Rate" ) PORT_DIPLOCATION("DSW1:5") /* OK */
PORT_DIPSETTING( 0x00, "70%" )
PORT_DIPSETTING( 0x10, "80%" )
/* Double Up Game OK */
PORT_DIPNAME( 0xc0, 0x00, "Bet Max" ) PORT_DIPLOCATION("DSW1:7,8") /* OK */
PORT_DIPSETTING( 0x00, "16" )
PORT_DIPSETTING( 0x40, "32" )
PORT_DIPSETTING( 0x80, "64" )
PORT_DIPSETTING( 0xc0, "96" )
PORT_INCLUDE( cmv4_dsw2 )
PORT_MODIFY("DSW2")
PORT_DIPNAME( 0x03, 0x00, "Main Game Pay Rate" ) PORT_DIPLOCATION("DSW2:1,2") /* OK */
PORT_DIPSETTING( 0x03, "55%" )
PORT_DIPSETTING( 0x02, "60%" )
PORT_DIPSETTING( 0x01, "65%" )
PORT_DIPSETTING( 0x00, "70%" )
PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) ) PORT_DIPLOCATION("DSW2:3")
PORT_DIPSETTING( 0x04, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
/* Hopper Limit not checked */
/* 100+ Odds Sound not checked */
/* Key In Type OK */
/* Center Super 7 Bet Limit related with Min. Bet For Bonus Play (DSW4-6) - not checked */
PORT_INCLUDE( cmv4_dsw3 ) /* all OK */
PORT_INCLUDE( cmv4_dsw4 )
PORT_MODIFY("DSW4")
/* Credit Limit not checked */
PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) ) PORT_DIPLOCATION("DSW4:4")
PORT_DIPSETTING( 0x08, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
/* Type Of Coin D OK */
/* Min. Bet For Bonus Play OK */
/* Reel Speed OK */
/* Hopper Out By Coin A OK */
PORT_INCLUDE( cmv4_dsw5 )
/* Display of Doll On Demo only affects payout table screen */
/* Coin In Limit OK */
/* Condition for 3 Kind Of Bonus OK */
/* Display Of Doll At All Fr. Bonus not checked */
/* DSW5-7 listed as unused */
/* Test Mode For Disp. Of Doll not checked */
INPUT_PORTS_END
static INPUT_PORTS_START( cmasterc )
PORT_START("IN0")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
@ -13198,7 +13271,7 @@ GAMEL( 199?, cmwm, cmv4, cm, cmv4, cmaster_state, cmv4,
GAMEL( 1995, cmfun, cmv4, cm, cmv4, cmaster_state, cmv4, ROT0, "Dyna", "Cherry Master (Fun USA v2.5 bootleg / hack)", 0, layout_cmv4 )
GAMEL( 1991, cmaster, 0, cm, cmaster, driver_device, 0, ROT0, "Dyna", "Cherry Master I (ver.1.01, set 1)", 0, layout_cmaster )
GAMEL( 1991, cmasterb, cmaster, cm, cmasterb, cmaster_state, cmv4, ROT0, "Dyna", "Cherry Master I (ver.1.01, set 2)", 0, layout_cmasterb )
GAMEL( 1991, cmezspin, cmaster, cm, cmasterb, cmaster_state, cmv4, ROT0, "Dyna", "Cherry Master I (E-Z Spin bootleg / hack)", 0, layout_cmasterb ) // CM Fruit Bonus 55 ver.2 bootleg/hack
GAMEL( 1991, cmezspin, cmaster, cm, cmezspin, cmaster_state, cmv4, ROT0, "Dyna", "Cherry Master I (E-Z Spin bootleg / hack)", 0, layout_cmezspin ) // CM Fruit Bonus 55 ver.2 bootleg/hack
GAMEL( 1991, cmasterc, cmaster, cmasterc, cmasterc, cmaster_state, cmv4, ROT0, "Dyna", "Cherry Master I (ver.1.01, set 3)", 0, layout_cmasterc )
GAMEL( 1991, cmasterbv, cmaster, cm, cmasterb, cmaster_state, cmv4, ROT0, "Dyna", "Cherry Master I (ver.1.01, set 4, with Blitz Poker ROM?)", MACHINE_NOT_WORKING, layout_cmasterb ) // Cherry Master works, but no idea how to use the Blitz ROM
GAMEL( 1991, cmasterd, cmaster, cm, cmasterb, cmaster_state, cmv4, ROT0, "Dyna", "Cherry Master I (ver.1.01, set 5)", 0, layout_cmasterb )

View File

@ -0,0 +1,262 @@
<?xml version="1.0"?>
<mamelayout version="2">
<!--
Cherry Master control panel
May or may not match arrangement/colour of real control panel
Written by Vas Crabb.
-->
<!-- define button-lamps -->
<element name="big" defstate="0">
<rect state="1">
<color red="1.0" green="0.0" blue="0.0" />
</rect>
<rect state="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.1" width="1" height="0.4" />
</text>
<text string="STOP 3">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.5" width="1" height="0.4" />
</text>
</element>
<element name="small" defstate="0">
<rect state="1">
<color red="1.0" green="0.0" blue="0.0" />
</rect>
<rect state="0">
<color red="0.5" green="0.0" blue="0.0" />
</rect>
<text string="SMALL/INFO">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.1" width="1" height="0.4" />
</text>
<text string="STOP 2">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.5" width="1" height="0.4" />
</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.5" green="0.25" blue="0.0" />
</rect>
<text string="TAKE">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.1" width="1" height="0.4" />
</text>
<text string="STOP ALL">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.5" width="1" height="0.4" />
</text>
</element>
<element name="dup" defstate="0">
<rect state="1">
<color red="1.0" green="0.5" blue="0.0" />
</rect>
<rect state="0">
<color red="0.5" green="0.25" blue="0.0" />
</rect>
<text string="DOUBLE">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.1" width="1" height="0.4" />
</text>
<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" />
</text>
</element>
<element name="start" defstate="0">
<rect state="1">
<color red="0.0" green="1.0" blue="0.0" />
</rect>
<rect state="0">
<color red="0.0" green="0.15" blue="0.0" />
</rect>
<text string="START">
<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="bet" defstate="0">
<rect state="1">
<color red="1.0" green="0.0" blue="1.0" />
</rect>
<rect state="0">
<color red="0.15" green="0.0" blue="0.15" />
</rect>
<text string="BET">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.3" width="1" height="0.4" />
</text>
</element>
<!-- define basic elements -->
<element name="cpanel">
<rect>
<color red="0.0" green="0.0" blue="0.0" />
</rect>
</element>
<element name="stop_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" />
</rect>
<rect state="0">
<color red="0.1" green="0.0" blue="0.1" />
</rect>
</element>
<element name="take_b" defstate="0">
<rect state="1">
<color red="0.7" green="0.35" blue="0.0" />
</rect>
<rect state="0">
<color red="0.4" green="0.2" blue="0.0" />
</rect>
</element>
<element name="start_b" defstate="0">
<rect state="1">
<color red="0.0" green="0.7" blue="0.0" />
</rect>
<rect state="0">
<color red="0.0" green="0.1" blue="0.0" />
</rect>
</element>
<!-- define cpanel degradee elements -->
<element name="cpanel1">
<rect>
<color red="0.20" green="0.20" blue="0.20" />
</rect>
</element>
<element name="cpanel2">
<rect>
<color red="0.15" green="0.15" blue="0.15" />
</rect>
</element>
<element name="cpanel3">
<rect>
<color red="0.10" green="0.10" blue="0.10" />
</rect>
</element>
<element name="cpanel4">
<rect>
<color red="0.05" green="0.05" blue="0.05" />
</rect>
</element>
<!-- define background -->
<view name="Button Lamps">
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<bezel element="cpanel">
<bounds left="0" right="4" top="3" bottom="3.40" />
</bezel>
<bezel element="cpanel1">
<bounds left="0" right="4" top="3.01" bottom="3.39" />
</bezel>
<bezel element="cpanel2">
<bounds left="0" right="4" top="3.02" bottom="3.38" />
</bezel>
<bezel element="cpanel3">
<bounds left="0" right="4" top="3.03" bottom="3.37" />
</bezel>
<bezel element="cpanel4">
<bounds left="0" right="4" top="3.04" bottom="3.36" />
</bezel>
<bezel element="cpanel">
<bounds left="0" right="4" top="3.05" bottom="3.35" />
</bezel>
<!-- define lamps -->
<bezel name="lamp3" element="bet_b" inputtag="IN0" inputmask="0x20">
<bounds x="0.05" y="3.08" width="0.45" height="0.24" />
</bezel>
<bezel name="lamp3" element="bet" inputtag="IN0" inputmask="0x20">
<bounds x="0.07" y="3.10" width="0.41" height="0.20" />
</bezel>
<bezel name="lamp2" element="take_b" inputtag="IN0" inputmask="0x10">
<bounds x="0.75" y="3.08" width="0.50" height="0.24" />
</bezel>
<bezel name="lamp2" element="take" inputtag="IN0" inputmask="0x10">
<bounds x="0.77" y="3.10" width="0.46" height="0.20" />
</bezel>
<bezel name="lamp1" element="take_b" inputtag="IN0" inputmask="0x08">
<bounds x="1.4" y="3.08" width="0.50" height="0.24" />
</bezel>
<bezel name="lamp1" element="dup" inputtag="IN0" inputmask="0x08">
<bounds x="1.42" y="3.10" width="0.46" height="0.20" />
</bezel>
<bezel name="lamp4" element="stop_b" inputtag="IN0" inputmask="0x40">
<bounds x="2.05" y="3.08" width="0.50" height="0.24" />
</bezel>
<bezel name="lamp4" element="small" inputtag="IN0" inputmask="0x40">
<bounds x="2.07" y="3.10" width="0.46" height="0.20" />
</bezel>
<bezel name="lamp0" element="stop_b" inputtag="IN0" inputmask="0x04">
<bounds x="2.7" y="3.08" width="0.50" height="0.24" />
</bezel>
<bezel name="lamp0" element="big" inputtag="IN0" inputmask="0x04">
<bounds x="2.72" y="3.10" width="0.46" height="0.20" />
</bezel>
<bezel name="lamp5" element="start_b" inputtag="IN0" inputmask="0x80">
<bounds x="3.45" y="3.08" width="0.50" height="0.24" />
</bezel>
<bezel name="lamp5" element="start" inputtag="IN0" inputmask="0x80">
<bounds x="3.47" y="3.10" width="0.46" height="0.20" />
</bezel>
</view>
</mamelayout>