Previous 199869 Revisions Next

r40692 Saturday 12th September, 2015 at 13:06:17 UTC by Vasantha Crabb
cmezspin: fix DIPs/inputs [Vas Crabb, hsialin]
[src/mame/drivers]goldstar.c
[src/mame/layout]cmezspin.lay*

trunk/src/mame/drivers/goldstar.c
r249203r249204
208208#include "cmaster.lh"
209209#include "cmasterb.lh"
210210#include "cmasterc.lh"
211#include "cmezspin.lh"
211212#include "cmpacman.lh"
212213#include "cmv4.lh"
213214#include "crazybon.lh"
r249203r249204
12401241   PORT_DIPNAME( 0x20, 0x00, "Double Up Game" )            PORT_DIPLOCATION("DSW1:6")
12411242   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
12421243   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1243   PORT_DIPNAME( 0xc0, 0xc0, "Bet Max" )                   PORT_DIPLOCATION("DSW1:7,8")
1244   PORT_DIPNAME( 0xc0, 0x00, "Bet Max" )                   PORT_DIPLOCATION("DSW1:7,8")
12441245   PORT_DIPSETTING(    0x00, "8" )
12451246   PORT_DIPSETTING(    0x40, "16" )
12461247   PORT_DIPSETTING(    0x80, "32" )
r249203r249204
16671668   /* Test Mode For Disp. Of Doll not checked */
16681669INPUT_PORTS_END
16691670
1671static INPUT_PORTS_START( cmezspin )
1672   PORT_START("IN0")
1673   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
1674   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
1675   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SLOT_STOP3 ) PORT_NAME("Stop 3 / Big")
1676   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SLOT_STOP1 ) PORT_NAME("Stop 1 / D-UP")
1677   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SLOT_STOP_ALL ) PORT_NAME("Stop All / Take")
1678   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_BET )
1679   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SLOT_STOP2 ) PORT_NAME("Stop 2 / Small / Info")
1680   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Start")
1681
1682   PORT_INCLUDE( cmv4_coins )
1683
1684   PORT_INCLUDE( cmv4_service )
1685
1686   PORT_INCLUDE( cmv4_dsw1 )
1687   PORT_MODIFY("DSW1")
1688   PORT_DIPNAME( 0x01, 0x00, "Hold Pair" )                 PORT_DIPLOCATION("DSW1:1")      /* OK */
1689   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
1690   PORT_DIPSETTING(    0x01, DEF_STR( On ) )
1691   /* Hopper Out Switch not checked */
1692   /* Payout Mode not checked */
1693   PORT_DIPNAME( 0x08, 0x00, "'7' In Double Up Game" )     PORT_DIPLOCATION("DSW1:4")      /* OK */
1694   PORT_DIPSETTING(    0x00, "Win" )
1695   PORT_DIPSETTING(    0x08, "Even" )
1696   PORT_DIPNAME( 0x10, 0x00, "Double Up Game Pay Rate" )   PORT_DIPLOCATION("DSW1:5")      /* OK */
1697   PORT_DIPSETTING(    0x00, "70%" )
1698   PORT_DIPSETTING(    0x10, "80%" )
1699   /* Double Up Game OK */
1700   PORT_DIPNAME( 0xc0, 0x00, "Bet Max" )                   PORT_DIPLOCATION("DSW1:7,8")    /* OK */
1701   PORT_DIPSETTING(    0x00, "16" )
1702   PORT_DIPSETTING(    0x40, "32" )
1703   PORT_DIPSETTING(    0x80, "64" )
1704   PORT_DIPSETTING(    0xc0, "96" )
1705
1706   PORT_INCLUDE( cmv4_dsw2 )
1707   PORT_MODIFY("DSW2")
1708   PORT_DIPNAME( 0x03, 0x00, "Main Game Pay Rate" )    PORT_DIPLOCATION("DSW2:1,2")    /* OK */
1709   PORT_DIPSETTING(    0x03, "55%" )
1710   PORT_DIPSETTING(    0x02, "60%" )
1711   PORT_DIPSETTING(    0x01, "65%" )
1712   PORT_DIPSETTING(    0x00, "70%" )
1713   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) )      PORT_DIPLOCATION("DSW2:3")
1714   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
1715   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1716   /* Hopper Limit not checked */
1717   /* 100+ Odds Sound not checked */
1718   /* Key In Type OK */
1719   /* Center Super 7 Bet Limit related with Min. Bet For Bonus Play (DSW4-6) - not checked */
1720
1721   PORT_INCLUDE( cmv4_dsw3 )   /* all OK */
1722
1723   PORT_INCLUDE( cmv4_dsw4 )
1724   PORT_MODIFY("DSW4")
1725   /* Credit Limit not checked */
1726   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )      PORT_DIPLOCATION("DSW4:4")
1727   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
1728   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1729   /* Type Of Coin D OK */
1730   /* Min. Bet For Bonus Play OK */
1731   /* Reel Speed OK */
1732   /* Hopper Out By Coin A OK */
1733
1734   PORT_INCLUDE( cmv4_dsw5 )
1735   /* Display of Doll On Demo only affects payout table screen */
1736   /* Coin In Limit OK */
1737   /* Condition for 3 Kind Of Bonus OK */
1738   /* Display Of Doll At All Fr. Bonus not checked */
1739   /* DSW5-7 listed as unused */
1740   /* Test Mode For Disp. Of Doll not checked */
1741INPUT_PORTS_END
1742
16701743static INPUT_PORTS_START( cmasterc )
16711744   PORT_START("IN0")
16721745   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
r249203r249204
1319813271GAMEL( 1995, cmfun,     cmv4,     cm,       cmv4,     cmaster_state,  cmv4,      ROT0, "Dyna",              "Cherry Master (Fun USA v2.5 bootleg / hack)", 0,                 layout_cmv4 )
1319913272GAMEL( 1991, cmaster,   0,        cm,       cmaster,  driver_device,  0,         ROT0, "Dyna",              "Cherry Master I (ver.1.01, set 1)",           0,                 layout_cmaster )
1320013273GAMEL( 1991, cmasterb,  cmaster,  cm,       cmasterb, cmaster_state,  cmv4,      ROT0, "Dyna",              "Cherry Master I (ver.1.01, set 2)",           0,                 layout_cmasterb )
13201GAMEL( 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
13274GAMEL( 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
1320213275GAMEL( 1991, cmasterc,  cmaster,  cmasterc, cmasterc, cmaster_state,  cmv4,      ROT0, "Dyna",              "Cherry Master I (ver.1.01, set 3)",           0,                 layout_cmasterc )
1320313276GAMEL( 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
1320413277GAMEL( 1991, cmasterd,  cmaster,  cm,       cmasterb, cmaster_state,  cmv4,      ROT0, "Dyna",              "Cherry Master I (ver.1.01, set 5)",           0,                 layout_cmasterb )
trunk/src/mame/layout/cmezspin.lay
r0r249204
1<?xml version="1.0"?>
2<mamelayout version="2">
3<!--
4      Cherry Master control panel
5      May or may not match arrangement/colour of real control panel
6      Written by Vas Crabb.
7-->
8
9<!-- define button-lamps -->
10
11   <element name="big" defstate="0">
12      <rect state="1">
13         <color red="1.0" green="0.0" blue="0.0" />
14      </rect>
15      <rect state="0">
16         <color red="0.5" green="0.0" blue="0.0" />
17      </rect>
18      <text string="BIG">
19         <color red="0.0" green="0.0" blue="0.0" />
20         <bounds x="0" y="0.1" width="1" height="0.4" />
21      </text>
22      <text string="STOP 3">
23         <color red="0.0" green="0.0" blue="0.0" />
24         <bounds x="0" y="0.5" width="1" height="0.4" />
25      </text>
26   </element>
27
28   <element name="small" defstate="0">
29      <rect state="1">
30         <color red="1.0" green="0.0" blue="0.0" />
31      </rect>
32      <rect state="0">
33         <color red="0.5" green="0.0" blue="0.0" />
34      </rect>
35      <text string="SMALL/INFO">
36         <color red="0.0" green="0.0" blue="0.0" />
37         <bounds x="0" y="0.1" width="1" height="0.4" />
38      </text>
39      <text string="STOP 2">
40         <color red="0.0" green="0.0" blue="0.0" />
41         <bounds x="0" y="0.5" width="1" height="0.4" />
42      </text>
43   </element>
44
45   <element name="take" defstate="0">
46      <rect state="1">
47         <color red="1.0" green="0.5" blue="0.0" />
48      </rect>
49      <rect state="0">
50         <color red="0.5" green="0.25" blue="0.0" />
51      </rect>
52      <text string="TAKE">
53         <color red="0.0" green="0.0" blue="0.0" />
54         <bounds x="0" y="0.1" width="1" height="0.4" />
55      </text>
56      <text string="STOP ALL">
57         <color red="0.0" green="0.0" blue="0.0" />
58         <bounds x="0" y="0.5" width="1" height="0.4" />
59      </text>
60   </element>
61
62   <element name="dup" defstate="0">
63      <rect state="1">
64         <color red="1.0" green="0.5" blue="0.0" />
65      </rect>
66      <rect state="0">
67         <color red="0.5" green="0.25" blue="0.0" />
68      </rect>
69      <text string="DOUBLE">
70         <color red="0.0" green="0.0" blue="0.0" />
71         <bounds x="0" y="0.1" width="1" height="0.4" />
72      </text>
73      <text string="STOP 1">
74         <color red="0.0" green="0.0" blue="0.0" />
75         <bounds x="0" y="0.5" width="1" height="0.4" />
76      </text>
77   </element>
78
79   <element name="start" defstate="0">
80      <rect state="1">
81         <color red="0.0" green="1.0" blue="0.0" />
82      </rect>
83      <rect state="0">
84         <color red="0.0" green="0.15" blue="0.0" />
85      </rect>
86      <text string="START">
87         <color red="0.0" green="0.0" blue="0.0" />
88         <bounds x="0" y="0.3" width="1" height="0.4" />
89      </text>
90   </element>
91
92   <element name="bet" defstate="0">
93      <rect state="1">
94         <color red="1.0" green="0.0" blue="1.0" />
95      </rect>
96      <rect state="0">
97         <color red="0.15" green="0.0" blue="0.15" />
98      </rect>
99      <text string="BET">
100         <color red="0.0" green="0.0" blue="0.0" />
101         <bounds x="0" y="0.3" width="1" height="0.4" />
102      </text>
103   </element>
104
105
106<!-- define basic elements -->
107
108   <element name="cpanel">
109      <rect>
110         <color red="0.0" green="0.0" blue="0.0" />
111      </rect>
112   </element>
113
114   <element name="stop_b" defstate="0">
115      <rect state="1">
116         <color red="0.7" green="0.0" blue="0.0" />
117      </rect>
118      <rect state="0">
119         <color red="0.4" green="0.0" blue="0.0" />
120      </rect>
121   </element>
122
123   <element name="bet_b" defstate="0">
124      <rect state="1">
125         <color red="0.7" green="0.0" blue="0.7" />
126      </rect>
127      <rect state="0">
128         <color red="0.1" green="0.0" blue="0.1" />
129      </rect>
130   </element>
131
132   <element name="take_b" defstate="0">
133      <rect state="1">
134         <color red="0.7" green="0.35" blue="0.0" />
135      </rect>
136      <rect state="0">
137         <color red="0.4" green="0.2" blue="0.0" />
138      </rect>
139   </element>
140
141   <element name="start_b" defstate="0">
142      <rect state="1">
143         <color red="0.0" green="0.7" blue="0.0" />
144      </rect>
145      <rect state="0">
146         <color red="0.0" green="0.1" blue="0.0" />
147      </rect>
148   </element>
149
150
151
152<!-- define cpanel degradee elements -->
153
154
155   <element name="cpanel1">
156      <rect>
157         <color red="0.20" green="0.20" blue="0.20" />
158      </rect>
159   </element>
160
161   <element name="cpanel2">
162      <rect>
163         <color red="0.15" green="0.15" blue="0.15" />
164      </rect>
165   </element>
166
167   <element name="cpanel3">
168      <rect>
169         <color red="0.10" green="0.10" blue="0.10" />
170      </rect>
171   </element>
172
173   <element name="cpanel4">
174      <rect>
175         <color red="0.05" green="0.05" blue="0.05" />
176      </rect>
177   </element>
178
179
180<!-- define background -->
181
182   <view name="Button Lamps">
183      <screen index="0">
184         <bounds left="0" top="0" right="4" bottom="3" />
185      </screen>
186
187      <bezel element="cpanel">
188         <bounds left="0" right="4" top="3" bottom="3.40" />
189      </bezel>
190
191      <bezel element="cpanel1">
192         <bounds left="0" right="4" top="3.01" bottom="3.39" />
193      </bezel>
194
195      <bezel element="cpanel2">
196         <bounds left="0" right="4" top="3.02" bottom="3.38" />
197      </bezel>
198
199      <bezel element="cpanel3">
200         <bounds left="0" right="4" top="3.03" bottom="3.37" />
201      </bezel>
202
203      <bezel element="cpanel4">
204         <bounds left="0" right="4" top="3.04" bottom="3.36" />
205      </bezel>
206
207      <bezel element="cpanel">
208         <bounds left="0" right="4" top="3.05" bottom="3.35" />
209      </bezel>
210
211
212<!-- define lamps -->
213
214      <bezel name="lamp3" element="bet_b" inputtag="IN0" inputmask="0x20">
215         <bounds x="0.05" y="3.08" width="0.45" height="0.24" />
216      </bezel>
217      <bezel name="lamp3" element="bet" inputtag="IN0" inputmask="0x20">
218         <bounds x="0.07" y="3.10" width="0.41" height="0.20" />
219      </bezel>
220
221
222      <bezel name="lamp2" element="take_b" inputtag="IN0" inputmask="0x10">
223         <bounds x="0.75" y="3.08" width="0.50" height="0.24" />
224      </bezel>
225      <bezel name="lamp2" element="take" inputtag="IN0" inputmask="0x10">
226         <bounds x="0.77" y="3.10" width="0.46" height="0.20" />
227      </bezel>
228
229
230      <bezel name="lamp1" element="take_b" inputtag="IN0" inputmask="0x08">
231         <bounds x="1.4" y="3.08" width="0.50" height="0.24" />
232      </bezel>
233      <bezel name="lamp1" element="dup" inputtag="IN0" inputmask="0x08">
234         <bounds x="1.42" y="3.10" width="0.46" height="0.20" />
235      </bezel>
236
237
238      <bezel name="lamp4" element="stop_b" inputtag="IN0" inputmask="0x40">
239         <bounds x="2.05" y="3.08" width="0.50" height="0.24" />
240      </bezel>
241      <bezel name="lamp4" element="small" inputtag="IN0" inputmask="0x40">
242         <bounds x="2.07" y="3.10" width="0.46" height="0.20" />
243      </bezel>
244
245
246      <bezel name="lamp0" element="stop_b" inputtag="IN0" inputmask="0x04">
247         <bounds x="2.7" y="3.08" width="0.50" height="0.24" />
248      </bezel>
249      <bezel name="lamp0" element="big" inputtag="IN0" inputmask="0x04">
250         <bounds x="2.72" y="3.10" width="0.46" height="0.20" />
251      </bezel>
252
253
254      <bezel name="lamp5" element="start_b" inputtag="IN0" inputmask="0x80">
255         <bounds x="3.45" y="3.08" width="0.50" height="0.24" />
256      </bezel>
257      <bezel name="lamp5" element="start" inputtag="IN0" inputmask="0x80">
258         <bounds x="3.47" y="3.10" width="0.46" height="0.20" />
259      </bezel>
260
261   </view>
262</mamelayout>


Previous 199869 Revisions Next


© 1997-2024 The MAME Team