diff options
author | RobertoFresca <robbie@mamedev.org> | 2015-05-28 15:21:38 -0300 |
---|---|---|
committer | RobertoFresca <robbie@mamedev.org> | 2015-05-28 15:21:38 -0300 |
commit | aee54fa4a70be9015899c2f5de20d07f884838e9 (patch) | |
tree | 821b41aef1f74819dc7634862c46b0700c0e3119 | |
parent | a92760b406f6d1ecf1e249aedea39207ed3f2b37 (diff) |
Champion Super 2 & 3 games: Improved the internal layout to represent
a realistic control panel, with clickable button-lamps and a coin in.
Also added the missing BET MAX function to the HOLD 1 input/button.
[Roberto Fresca]
-rw-r--r-- | src/mame/drivers/chsuper.c | 4 | ||||
-rw-r--r-- | src/mame/layout/chsuper.lay | 57 |
2 files changed, 43 insertions, 18 deletions
diff --git a/src/mame/drivers/chsuper.c b/src/mame/drivers/chsuper.c index 4d078dc8a30..09afe80fa29 100644 --- a/src/mame/drivers/chsuper.c +++ b/src/mame/drivers/chsuper.c @@ -100,7 +100,7 @@ WRITE8_MEMBER( chsuper_state::chsuper_vram_w ) - bits - 7654 3210 ---- ---x Coin counter. - ---- --x- Hold 1 / Black (Nero) lamp. + ---- --x- Hold 1 / Black (Nero) / Bet Max lamp. ---- -x-- Payout counter. ---- x--- Hold 2 / Low (Bassa) lamp. ---x ---- unknown (unused). @@ -216,7 +216,7 @@ ADDRESS_MAP_END static INPUT_PORTS_START( chsuper ) PORT_START("IN0") PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_Q) PORT_NAME("IN0-1") - PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 ) PORT_NAME("Hold 1 / Black (Nero)") + PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 ) PORT_NAME("Hold 1 / Black (Nero) / Bet Max") PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_BET ) PORT_NAME("Bet / Cancel All / Take (Ritira)") PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Start / Double (Radoppio)") PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 ) PORT_NAME("Hold 5 / Red (Rosso) / Double (Radoppio)") diff --git a/src/mame/layout/chsuper.lay b/src/mame/layout/chsuper.lay index 681fa0108df..c3a385ebb24 100644 --- a/src/mame/layout/chsuper.lay +++ b/src/mame/layout/chsuper.lay @@ -2,7 +2,9 @@ <mamelayout version="2"> <!-- - Champion Super control panel + Champion Super realistic control panel + with clickable button.lamps + coin in. + Written by Roberto Fresca. --> @@ -19,7 +21,7 @@ <color red="0.0" green="0.0" blue="0.0" /> <bounds x="0" y="0.1" width="1" height="0.4" /> </text> - <text string="BLACK"> + <text string="BLACK/MAX"> <color red="0.0" green="0.0" blue="0.0" /> <bounds x="0" y="0.5" width="1" height="0.4" /> </text> @@ -138,6 +140,22 @@ </rect> </element> + <element name="coinin_plate"> + <rect> + <color red="0.15" green="0.15" blue="0.15" /> + </rect> + <text string="COIN"> + <color red="0.0" green="0.0" blue="0.0" /> + <bounds x="0" y="0.8" width="1" height="0.2" /> + </text> + </element> + + <element name="coinin_hole"> + <rect> + <color red="0.0" green="0.0" blue="0.0" /> + </rect> + </element> + <element name="hold_b" defstate="0"> <rect state="1"> <color red="0.75" green="0.0" blue="0.0" /> @@ -181,55 +199,62 @@ <bounds left="0" right="4" top="3" bottom="3.17" /> </bezel> + <bezel element="coinin_plate" inputtag="IN2" inputmask="0x01"> + <bounds x="0.10" y="3.05" width="0.15" height="0.24" /> + </bezel> + + <bezel element="coinin_hole" inputtag="IN2" inputmask="0x01"> + <bounds x="0.16" y="3.08" width="0.03" height="0.14" /> + </bezel> <!-- define lamps --> - <bezel name="lamp0" element="hold_b"> + <bezel name="lamp0" element="hold_b" inputtag="IN0" inputmask="0x02"> <bounds x="0.55" y="3.05" width="0.35" height="0.24" /> </bezel> - <bezel name="lamp0" element="hold1"> + <bezel name="lamp0" element="hold1" inputtag="IN0" inputmask="0x02"> <bounds x="0.57" y="3.07" width="0.31" height="0.20" /> </bezel> - <bezel name="lamp1" element="hold_b"> + <bezel name="lamp1" element="hold_b" inputtag="IN1" inputmask="0x01"> <bounds x="1.00" y="3.05" width="0.35" height="0.24" /> </bezel> - <bezel name="lamp1" element="hold2"> + <bezel name="lamp1" element="hold2" inputtag="IN1" inputmask="0x01"> <bounds x="1.02" y="3.07" width="0.31" height="0.20" /> </bezel> - <bezel name="lamp2" element="hold_b"> + <bezel name="lamp2" element="hold_b" inputtag="IN1" inputmask="0x02"> <bounds x="1.45" y="3.05" width="0.35" height="0.24" /> </bezel> - <bezel name="lamp2" element="hold3"> + <bezel name="lamp2" element="hold3" inputtag="IN1" inputmask="0x02"> <bounds x="1.47" y="3.07" width="0.31" height="0.20" /> </bezel> - <bezel name="lamp3" element="hold_b"> + <bezel name="lamp3" element="hold_b" inputtag="IN0" inputmask="0x80"> <bounds x="1.90" y="3.05" width="0.35" height="0.24" /> </bezel> - <bezel name="lamp3" element="hold4"> + <bezel name="lamp3" element="hold4" inputtag="IN0" inputmask="0x80"> <bounds x="1.92" y="3.07" width="0.31" height="0.20" /> </bezel> - <bezel name="lamp4" element="hold_b"> + <bezel name="lamp4" element="hold_b" inputtag="IN0" inputmask="0x10"> <bounds x="2.35" y="3.05" width="0.35" height="0.24" /> </bezel> - <bezel name="lamp4" element="hold5"> + <bezel name="lamp4" element="hold5" inputtag="IN0" inputmask="0x10"> <bounds x="2.37" y="3.07" width="0.31" height="0.20" /> </bezel> - <bezel name="lamp5" element="bet_b"> + <bezel name="lamp5" element="bet_b" inputtag="IN0" inputmask="0x04"> <bounds x="3.10" y="3.05" width="0.35" height="0.24" /> </bezel> - <bezel name="lamp5" element="bet"> + <bezel name="lamp5" element="bet" inputtag="IN0" inputmask="0x04"> <bounds x="3.12" y="3.07" width="0.31" height="0.20" /> </bezel> - <bezel name="lamp6" element="start_b"> + <bezel name="lamp6" element="start_b" inputtag="IN0" inputmask="0x08"> <bounds x="3.55" y="3.05" width="0.35" height="0.24" /> </bezel> - <bezel name="lamp6" element="start"> + <bezel name="lamp6" element="start" inputtag="IN0" inputmask="0x08"> <bounds x="3.57" y="3.07" width="0.31" height="0.20" /> </bezel> |