summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/mame/drivers/goldstar.c90
-rw-r--r--src/mame/includes/goldstar.h5
-rw-r--r--src/mame/layout/bingowng.lay276
-rw-r--r--src/mame/layout/cherryb3.lay204
-rw-r--r--src/mame/layout/chrygld.lay265
-rw-r--r--src/mame/layout/lucky8.lay324
-rw-r--r--src/mame/mame.mak1
7 files changed, 973 insertions, 192 deletions
diff --git a/src/mame/drivers/goldstar.c b/src/mame/drivers/goldstar.c
index d9e6f40492b..96aae293067 100644
--- a/src/mame/drivers/goldstar.c
+++ b/src/mame/drivers/goldstar.c
@@ -157,6 +157,7 @@
#include "bingowng.lh"
#include "cherryb3.lh"
+#include "chrygld.lh"
#include "cmaster.lh"
#include "cmasterb.lh"
#include "cmasterc.lh"
@@ -187,16 +188,16 @@ READ8_MEMBER(goldstar_state::protection_r)
return data[m_dataoffset++];
}
-WRITE8_MEMBER(goldstar_state::goldstar_lamps_w)
+WRITE8_MEMBER(goldstar_state::p1_lamps_w)
{
/* bits
- 7654 3210 goldstar crazybon
- ---- ---x Bet Red / Card 2
- ---- --x- Stop 3 / Small / Info / Card 1 Start
- ---- -x-- Bet Blue / Double Up / Card 3
- ---- x--- Stop 1 / Take Bet
- ---x ---- Stop 2 / Big / Bonus Stop All / Take Score
- --x- ---- Start / Stop All / Card 4 Double Up
+ 7654 3210 goldstar crazybon ncb3/cb3a lucky8/bingowng
+ ---- ---x Bet Red / Card 2 Stop 2 / Big
+ ---- --x- Stop 3 / Small / Info / Card 1 Start Blue Bet / Double D-UP
+ ---- -x-- Bet Blue / Double Up / Card 3 Stop 1/Take TAKE
+ ---- x--- Stop 1 / Take Bet Red Bet BET
+ ---x ---- Stop 2 / Big / Bonus Stop All / Take Score Stop 3 / Small / Info INFO
+ --x- ---- Start / Stop All / Card 4 Double Up Start / Stop All START
-x-- ---- Small / Info
x--- ---- Big
@@ -223,30 +224,21 @@ WRITE8_MEMBER(goldstar_state::goldstar_lamps_w)
output_set_lamp_value(6, (data >> 6) & 1);
output_set_lamp_value(7, (data >> 7) & 1);
-// popmessage("lamps: %02X", data);
+// popmessage("p1 lamps: %02X", data);
}
-WRITE8_MEMBER(goldstar_state::cb3_lamps_w)
+WRITE8_MEMBER(goldstar_state::p2_lamps_w)
{
-/* bits
- 7654 3210
- ---- ---x Stop 2 / Big
- ---- --x- Blue Bet / Double
- ---- -x-- Stop 1 / Take
- ---- x--- Red Bet
- ---x ---- Stop 3 / Small / Info
- --x- ---- Start / Stop All
-
- TODO: there are two sets of lamps for the two players at 0xf850 and 0xf860 - handle them independently
-*/
- output_set_lamp_value(0, (data) & 1); /* Stop 2 / Big */
- output_set_lamp_value(1, (data >> 1) & 1); /* Blue Bet / Double */
- output_set_lamp_value(2, (data >> 2) & 1); /* Stop 1 / Take */
- output_set_lamp_value(3, (data >> 3) & 1); /* Red Bet */
- output_set_lamp_value(4, (data >> 4) & 1); /* Stop 3 / Small / Info */
- output_set_lamp_value(5, (data >> 5) & 1); /* Start / Stop All */
-
-// popmessage("lamps: %02X", data);
+ output_set_lamp_value(8 + 0, (data >> 0) & 1);
+ output_set_lamp_value(8 + 1, (data >> 1) & 1);
+ output_set_lamp_value(8 + 2, (data >> 2) & 1);
+ output_set_lamp_value(8 + 3, (data >> 3) & 1);
+ output_set_lamp_value(8 + 4, (data >> 4) & 1);
+ output_set_lamp_value(8 + 5, (data >> 5) & 1);
+ output_set_lamp_value(8 + 6, (data >> 6) & 1);
+ output_set_lamp_value(8 + 7, (data >> 7) & 1);
+
+// popmessage("p2 lamps: %02X", data);
}
@@ -275,7 +267,7 @@ static ADDRESS_MAP_START( goldstar_map, AS_PROGRAM, 8, goldstar_state )
AM_RANGE(0xf820, 0xf820) AM_READ_PORT("DSW2")
AM_RANGE(0xf830, 0xf830) AM_DEVREADWRITE("aysnd", ay8910_device, data_r, data_w)
AM_RANGE(0xf840, 0xf840) AM_DEVWRITE("aysnd", ay8910_device, address_w)
- AM_RANGE(0xf900, 0xf900) AM_WRITE(goldstar_lamps_w)
+ AM_RANGE(0xf900, 0xf900) AM_WRITE(p1_lamps_w)
AM_RANGE(0xfa00, 0xfa00) AM_WRITE(goldstar_fa00_w)
AM_RANGE(0xfb00, 0xfb00) AM_DEVREADWRITE("oki", okim6295_device, read, write)
AM_RANGE(0xfd00, 0xfdff) AM_RAM_DEVWRITE("palette", palette_device, write) AM_SHARE("palette")
@@ -543,8 +535,8 @@ static ADDRESS_MAP_START( ncb3_map, AS_PROGRAM, 8, cb3_state )
AM_RANGE(0xf830, 0xf830) AM_DEVREADWRITE("aysnd", ay8910_device, data_r, data_w)
AM_RANGE(0xf840, 0xf840) AM_DEVWRITE("aysnd", ay8910_device, address_w)
- AM_RANGE(0xf850, 0xf850) AM_WRITE(cb3_lamps_w) /* Control Set 1 lamps */
- AM_RANGE(0xf860, 0xf860) AM_WRITE(cb3_lamps_w) /* Control Set 2 lamps */
+ AM_RANGE(0xf850, 0xf850) AM_WRITE(p1_lamps_w) /* Control Set 1 lamps */
+ AM_RANGE(0xf860, 0xf860) AM_WRITE(p2_lamps_w) /* Control Set 2 lamps */
AM_RANGE(0xf870, 0xf870) AM_DEVWRITE("snsnd", sn76489_device, write) /* guess... device is initialized, but doesn't seems to be used.*/
ADDRESS_MAP_END
@@ -724,7 +716,7 @@ static ADDRESS_MAP_START( cm_portmap, AS_IO, 8, cmaster_state )
AM_RANGE(0x08, 0x0b) AM_DEVREADWRITE("ppi8255_1", i8255_device, read, write) /* DIP switches */
AM_RANGE(0x10, 0x10) AM_WRITE(outport0_w)
AM_RANGE(0x11, 0x11) AM_WRITE(cm_coincount_w)
- AM_RANGE(0x12, 0x12) AM_WRITE(goldstar_lamps_w)
+ AM_RANGE(0x12, 0x12) AM_WRITE(p1_lamps_w)
AM_RANGE(0x13, 0x13) AM_WRITE(background_col_w)
AM_RANGE(0x14, 0x14) AM_WRITE(girl_scroll_w)
ADDRESS_MAP_END
@@ -743,7 +735,7 @@ static ADDRESS_MAP_START( pkrmast_portmap, AS_IO, 8, goldstar_state )
AM_RANGE(0x20, 0x20) AM_READ_PORT("DSW3-0")
AM_RANGE(0x21, 0x21) AM_READ_PORT("DSW3-1")
- AM_RANGE(0x22, 0x22) AM_WRITE(goldstar_lamps_w)
+ AM_RANGE(0x22, 0x22) AM_WRITE(p1_lamps_w)
AM_RANGE(0x24, 0x24) AM_WRITE(cm_coincount_w)
AM_RANGE(0x25, 0x25) AM_READ_PORT("DSW1")
@@ -770,7 +762,7 @@ static ADDRESS_MAP_START( amcoe1_portmap, AS_IO, 8, cmaster_state )
AM_RANGE(0x08, 0x0b) AM_DEVREADWRITE("ppi8255_1", i8255_device, read, write) /* DIP switches */
AM_RANGE(0x10, 0x10) AM_WRITE(outport0_w)
AM_RANGE(0x11, 0x11) AM_WRITE(cm_coincount_w)
- AM_RANGE(0x12, 0x12) AM_WRITE(goldstar_lamps_w)
+ AM_RANGE(0x12, 0x12) AM_WRITE(p1_lamps_w)
AM_RANGE(0x13, 0x13) AM_WRITE(background_col_w)
AM_RANGE(0x20, 0x20) AM_DEVREADWRITE("oki", okim6295_device, read, write)
ADDRESS_MAP_END
@@ -783,24 +775,11 @@ static ADDRESS_MAP_START( amcoe2_portmap, AS_IO, 8, cmaster_state )
AM_RANGE(0x08, 0x0b) AM_DEVREADWRITE("ppi8255_1", i8255_device, read, write) /* DIP switches */
AM_RANGE(0x10, 0x10) AM_WRITE(outport0_w)
AM_RANGE(0x11, 0x11) AM_WRITE(cm_coincount_w)
- AM_RANGE(0x12, 0x12) AM_WRITE(goldstar_lamps_w)
+ AM_RANGE(0x12, 0x12) AM_WRITE(p1_lamps_w)
AM_RANGE(0x13, 0x13) AM_WRITE(background_col_w)
ADDRESS_MAP_END
-WRITE8_MEMBER(goldstar_state::lucky8_lamps_w)
-{
- /* lamps */
- output_set_lamp_value(0, (data >> 1) & 1); /* D-UP Lamp */
- output_set_lamp_value(1, (data >> 2) & 1); /* TAKE Lamp */
- output_set_lamp_value(2, (data >> 3) & 1); /* BET Lamp */
- output_set_lamp_value(3, (data >> 4) & 1); /* INFO Lamp */
- output_set_lamp_value(4, (data >> 5) & 1); /* START Lamp */
-
-// popmessage("lucky8_lamps_w %02x\n", data);
-
-}
-
static ADDRESS_MAP_START( lucky8_map, AS_PROGRAM, 8, goldstar_state )
AM_RANGE(0x0000, 0x7fff) AM_ROM
AM_RANGE(0x8000, 0x87ff) AM_RAM AM_SHARE("nvram")
@@ -818,7 +797,8 @@ static ADDRESS_MAP_START( lucky8_map, AS_PROGRAM, 8, goldstar_state )
AM_RANGE(0xb820, 0xb823) AM_DEVREADWRITE("ppi8255_2", i8255_device, read, write) /* Input/Output Ports */
AM_RANGE(0xb830, 0xb830) AM_DEVREADWRITE("aysnd", ay8910_device, data_r, data_w)
AM_RANGE(0xb840, 0xb840) AM_DEVWRITE("aysnd", ay8910_device, address_w) /* no sound... only use both ports for DSWs */
- AM_RANGE(0xb850, 0xb850) AM_WRITE(lucky8_lamps_w)
+ AM_RANGE(0xb850, 0xb850) AM_WRITE(p1_lamps_w)
+ AM_RANGE(0xb860, 0xb860) AM_WRITE(p2_lamps_w)
AM_RANGE(0xb870, 0xb870) AM_DEVWRITE("snsnd", sn76489_device, write) /* sound */
AM_RANGE(0xf800, 0xffff) AM_RAM
ADDRESS_MAP_END
@@ -885,7 +865,7 @@ static ADDRESS_MAP_START( kkotnoli_map, AS_PROGRAM, 8, goldstar_state )
AM_RANGE(0xb820, 0xb823) AM_DEVREADWRITE("ppi8255_2", i8255_device, read, write) /* Input Port */
AM_RANGE(0xb830, 0xb830) AM_WRITENOP /* no ay8910 */
AM_RANGE(0xb840, 0xb840) AM_WRITENOP /* no ay8910 */
- AM_RANGE(0xb850, 0xb850) AM_WRITE(lucky8_lamps_w)
+ AM_RANGE(0xb850, 0xb850) AM_WRITE(p1_lamps_w)
AM_RANGE(0xb870, 0xb870) AM_DEVWRITE("snsnd", sn76489_device, write) /* sound */
AM_RANGE(0xf800, 0xffff) AM_RAM
ADDRESS_MAP_END
@@ -945,7 +925,7 @@ static ADDRESS_MAP_START( wcat3_map, AS_PROGRAM, 8, goldstar_state )
AM_RANGE(0xb820, 0xb823) AM_DEVREADWRITE("ppi8255_2", i8255_device, read, write) /* Input/Output Ports */
AM_RANGE(0xb830, 0xb830) AM_DEVREADWRITE("aysnd", ay8910_device, data_r, data_w)
AM_RANGE(0xb840, 0xb840) AM_DEVWRITE("aysnd", ay8910_device, address_w) /* no sound... only use both ports for DSWs */
- AM_RANGE(0xb850, 0xb850) AM_WRITE(lucky8_lamps_w)
+ AM_RANGE(0xb850, 0xb850) AM_WRITE(p1_lamps_w)
AM_RANGE(0xb870, 0xb870) AM_DEVWRITE("snsnd", sn76489_device, write) /* sound */
// AM_RANGE(0xc000, 0xc003) AM_DEVREADWRITE("ppi8255_3", i8255_device, read, write) /* Other PPI initialized? */
AM_RANGE(0xd000, 0xefff) AM_ROM
@@ -12898,8 +12878,8 @@ DRIVER_INIT_MEMBER(goldstar_state, wcherry)
GAMEL( 199?, goldstar, 0, goldstar, goldstar, goldstar_state, goldstar, ROT0, "IGS", "Golden Star", 0, layout_goldstar )
GAMEL( 199?, goldstbl, goldstar, goldstbl, goldstar, driver_device, 0, ROT0, "IGS", "Golden Star (Blue version)", 0, layout_goldstar )
GAME( 199?, moonlght, goldstar, moonlght, goldstar, driver_device, 0, ROT0, "bootleg", "Moon Light (bootleg of Golden Star)", 0 )
-GAME( 199?, chrygld, 0, chrygld, chrygld, cb3_state, chrygld, ROT0, "bootleg", "Cherry Gold I", 0 )
-GAME( 199?, chry10, 0, chrygld, chry10, cb3_state, chry10, ROT0, "bootleg", "Cherry 10 (bootleg with PIC16F84)", 0 )
+GAMEL( 199?, chrygld, 0, chrygld, chrygld, cb3_state, chrygld, ROT0, "bootleg", "Cherry Gold I", 0, layout_chrygld )
+GAMEL( 199?, chry10, 0, chrygld, chry10, cb3_state, chry10, ROT0, "bootleg", "Cherry 10 (bootleg with PIC16F84)", 0, layout_chrygld )
GAME( 199?, goldfrui, goldstar, goldfrui, goldstar, driver_device, 0, ROT0, "bootleg", "Gold Fruit", 0 ) // maybe fullname should be 'Gold Fruit (main 40%)'
GAME( 2001, super9, goldstar, super9, goldstar, goldstar_state, super9, ROT0, "Playmark", "Super Nove (Playmark)", GAME_NOT_WORKING ) // need to decode gfx and see the program loops/reset...
GAME( 2001, wcherry, 0, wcherry, chrygld, goldstar_state, wcherry, ROT0, "bootleg", "Win Cherry (ver 0.16 - 19990219)", GAME_NOT_WORKING )
@@ -12914,7 +12894,7 @@ GAMEL( 199?, cb3, ncb3, ncb3, ncb3, cb3_state, cb3,
GAMEL( 199?, cb3b, ncb3, cherrys, ncb3, cb3_state, cherrys, ROT0, "Dyna", "Cherry Bonus III (alt)", 0, layout_cherryb3 )
GAME( 199?, cb3c, ncb3, cb3c, chrygld, cb3_state, cb3, ROT0, "bootleg", "Cherry Bonus III (alt, set 2)", GAME_NOT_WORKING)
GAMEL( 199?, cb3d, ncb3, ncb3, ncb3, driver_device, 0, ROT0, "bootleg", "Cherry Bonus III (set 3)", 0, layout_cherryb3 )
-GAMEL( 199?, cb3e, ncb3, cb3e, chrygld, cb3_state, cb3e, ROT0, "bootleg", "Cherry Bonus III (set 4, encrypted bootleg)", 0, layout_cherryb3 )
+GAMEL( 199?, cb3e, ncb3, cb3e, chrygld, cb3_state, cb3e, ROT0, "bootleg", "Cherry Bonus III (set 4, encrypted bootleg)", 0, layout_chrygld )
GAME( 1996, cmast97, ncb3, cm97, chrygld, driver_device, 0, ROT0, "Dyna", "Cherry Master '97", GAME_NOT_WORKING) // fix prom decode
diff --git a/src/mame/includes/goldstar.h b/src/mame/includes/goldstar.h
index ae548f1215a..80b806493d5 100644
--- a/src/mame/includes/goldstar.h
+++ b/src/mame/includes/goldstar.h
@@ -21,10 +21,9 @@ public:
DECLARE_WRITE8_MEMBER(protection_w);
DECLARE_READ8_MEMBER(protection_r);
- DECLARE_WRITE8_MEMBER(lucky8_lamps_w);
+ DECLARE_WRITE8_MEMBER(p1_lamps_w);
+ DECLARE_WRITE8_MEMBER(p2_lamps_w);
DECLARE_WRITE8_MEMBER(ncb3_port81_w);
- DECLARE_WRITE8_MEMBER(goldstar_lamps_w);
- DECLARE_WRITE8_MEMBER(cb3_lamps_w);
DECLARE_WRITE8_MEMBER(cm_coincount_w);
DECLARE_WRITE8_MEMBER(ladylinr_outport_w);
DECLARE_WRITE8_MEMBER(goldstar_fg_vidram_w);
diff --git a/src/mame/layout/bingowng.lay b/src/mame/layout/bingowng.lay
index 27e21b70e4f..5a0bd24e575 100644
--- a/src/mame/layout/bingowng.lay
+++ b/src/mame/layout/bingowng.lay
@@ -1,12 +1,9 @@
<?xml version="1.0"?>
<mamelayout version="2">
+
<element name="Bet" defstate="0">
- <rect state="1">
- <color red="1.0" green="1.0" blue="0.0" />
- </rect>
- <rect state="0">
- <color red="0.3" green="0.3" blue="0.0" />
- </rect>
+ <rect state="1"><color red="1.0" green="1.0" blue="0.0" /></rect>
+ <rect state="0"><color red="0.2" green="0.2" blue="0.0" /></rect>
<text string="BET">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.2" width="1" height="0.6" />
@@ -14,12 +11,8 @@
</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.3" blue="0.0" />
- </rect>
+ <rect state="1"><color red="0.0" green="1.0" blue="0.0" /></rect>
+ <rect state="0"><color red="0.0" green="0.2" blue="0.0" /></rect>
<text string="START">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.2" width="1" height="0.6" />
@@ -27,12 +20,8 @@
</element>
<element name="Dup" defstate="0">
- <rect state="1">
- <color red="1.0" green="0.0" blue="0.0" />
- </rect>
- <rect state="0">
- <color red="0.3" green="0.0" blue="0.0" />
- </rect>
+ <rect state="1"><color red="1.0" green="0.0" blue="0.0" /></rect>
+ <rect state="0"><color red="0.2" green="0.0" blue="0.0" /></rect>
<text string="DOUBLE">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.2" width="1" height="0.6" />
@@ -40,26 +29,17 @@
</element>
<element name="Take" defstate="0">
- <rect state="1">
- <color red="1.0" green="0.0" blue="0.0" />
- </rect>
- <rect state="0">
- <color red="0.3" green="0.0" blue="0.0" />
- </rect>
+ <rect state="1"><color red="1.0" green="0.0" blue="0.0" /></rect>
+ <rect state="0"><color red="0.2" green="0.0" blue="0.0" /></rect>
<text string="TAKE">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.2" width="1" height="0.6" />
</text>
</element>
-
<element name="Info" defstate="0">
- <rect state="1">
- <color red="1.0" green="1.0" blue="1.0" />
- </rect>
- <rect state="0">
- <color red="0.2" green="0.2" blue="0.2" />
- </rect>
+ <rect state="1"><color red="1.0" green="1.0" blue="1.0" /></rect>
+ <rect state="0"><color red="0.2" green="0.2" blue="0.2" /></rect>
<text string="INFO">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.2" width="1" height="0.6" />
@@ -67,26 +47,234 @@
</element>
+ <element name="Bet_B" defstate="0">
+ <rect state="1"><color red="0.7" green="0.7" blue="0.0" /></rect>
+ <rect state="0"><color red="0.1" green="0.1" 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>
+
+ <element name="Dup_B" defstate="0">
+ <rect state="1"><color red="0.7" green="0.0" blue="0.0" /></rect>
+ <rect state="0"><color red="0.1" green="0.0" blue="0.0" /></rect>
+ </element>
+
+ <element name="Info_B" defstate="0">
+ <rect state="1"><color red="0.7" green="0.7" blue="0.7" /></rect>
+ <rect state="0"><color red="0.1" green="0.1" blue="0.1" /></rect>
+ </element>
+
+
+ <element name="cpanel">
+ <rect><color red="0.0" green="0.0" blue="0.0" /></rect>
+ </element>
+
+ <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>
+
+
<view name="Button Lamps">
- <screen index="0">
- <bounds left="0" top="0" right="4" bottom="3" />
- </screen>
+ <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.80" /></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>
- <bezel name="lamp0" element="Dup">
- <bounds x="1.0" y="3.02" width="0.40" height="0.24" />
+ <bezel element="cpanel1"><bounds left="0" right="4" top="3.41" bottom="3.79" /></bezel>
+ <bezel element="cpanel2"><bounds left="0" right="4" top="3.42" bottom="3.78" /></bezel>
+ <bezel element="cpanel3"><bounds left="0" right="4" top="3.43" bottom="3.77" /></bezel>
+ <bezel element="cpanel4"><bounds left="0" right="4" top="3.44" bottom="3.76" /></bezel>
+ <bezel element="cpanel"><bounds left="0" right="4" top="3.45" bottom="3.75" /></bezel>
+
+
+ <bezel name="lamp3" element="Bet_B" inputtag="IN0" inputmask="0x20">
+ <bounds x="0.05" y="3.08" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp3" element="Bet" inputtag="IN0" inputmask="0x20">
+ <bounds x="0.07" y="3.10" width="0.46" height="0.20" />
+ </bezel>
+
+ <bezel name="lamp5" element="Start_B" inputtag="IN0" inputmask="0x80">
+ <bounds x="0.90" y="3.08" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp5" element="Start" inputtag="IN0" inputmask="0x80">
+ <bounds x="0.92" y="3.10" width="0.46" height="0.20" />
</bezel>
- <bezel name="lamp1" element="Take">
- <bounds x="1.5" y="3.02" width="0.40" height="0.24" />
+
+ <bezel name="lamp1" element="Dup_B" inputtag="IN0" inputmask="0x08">
+ <bounds x="1.75" y="3.08" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp1" element="Dup" inputtag="IN0" inputmask="0x08">
+ <bounds x="1.77" y="3.10" width="0.46" height="0.20" />
+ </bezel>
+
+ <bezel name="lamp2" element="Dup_B" inputtag="IN0" inputmask="0x10">
+ <bounds x="2.40" y="3.08" width="0.50" height="0.24" />
</bezel>
- <bezel name="lamp2" element="Bet">
- <bounds x="0" y="3.02" width="0.40" height="0.24" />
+ <bezel name="lamp2" element="Take" inputtag="IN0" inputmask="0x10">
+ <bounds x="2.42" y="3.10" width="0.46" height="0.20" />
</bezel>
- <bezel name="lamp3" element="Info">
- <bounds x="2.5" y="3.02" width="0.40" height="0.24" />
+
+ <bezel name="lamp4" element="Info_B" inputtag="IN0" inputmask="0x40">
+ <bounds x="3.45" y="3.08" width="0.50" height="0.24" />
</bezel>
- <bezel name="lamp4" element="Start">
- <bounds x="0.5" y="3.02" width="0.40" height="0.24" />
+ <bezel name="lamp4" element="Info" inputtag="IN0" inputmask="0x40">
+ <bounds x="3.47" y="3.10" width="0.46" height="0.20" />
</bezel>
+
+ <bezel name="lamp11" element="Bet_B" inputtag="IN1" inputmask="0x20">
+ <bounds x="0.05" y="3.48" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp11" element="Bet" inputtag="IN1" inputmask="0x20">
+ <bounds x="0.07" y="3.50" width="0.46" height="0.20" />
+ </bezel>
+
+ <bezel name="lamp13" element="Start_B" inputtag="IN1" inputmask="0x80">
+ <bounds x="0.90" y="3.48" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp13" element="Start" inputtag="IN1" inputmask="0x80">
+ <bounds x="0.92" y="3.50" width="0.46" height="0.20" />
+ </bezel>
+
+ <bezel name="lamp9" element="Dup_B" inputtag="IN1" inputmask="0x08">
+ <bounds x="1.75" y="3.48" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp9" element="Dup" inputtag="IN1" inputmask="0x08">
+ <bounds x="1.77" y="3.50" width="0.46" height="0.20" />
+ </bezel>
+
+ <bezel name="lamp10" element="Dup_B" inputtag="IN1" inputmask="0x10">
+ <bounds x="2.40" y="3.48" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp10" element="Take" inputtag="IN1" inputmask="0x10">
+ <bounds x="2.42" y="3.50" width="0.46" height="0.20" />
+ </bezel>
+
+ <bezel name="lamp12" element="Info_B" inputtag="IN1" inputmask="0x40">
+ <bounds x="3.45" y="3.48" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp12" element="Info" inputtag="IN1" inputmask="0x40">
+ <bounds x="3.47" y="3.50" width="0.46" height="0.20" />
+ </bezel>
+ </view>
+
+
+ <view name="P1 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>
+
+
+ <bezel name="lamp3" element="Bet_B" inputtag="IN0" inputmask="0x20">
+ <bounds x="0.05" y="3.08" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp3" element="Bet" inputtag="IN0" inputmask="0x20">
+ <bounds x="0.07" y="3.10" width="0.46" height="0.20" />
+ </bezel>
+
+ <bezel name="lamp5" element="Start_B" inputtag="IN0" inputmask="0x80">
+ <bounds x="0.90" y="3.08" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp5" element="Start" inputtag="IN0" inputmask="0x80">
+ <bounds x="0.92" y="3.10" width="0.46" height="0.20" />
+ </bezel>
+
+ <bezel name="lamp1" element="Dup_B" inputtag="IN0" inputmask="0x08">
+ <bounds x="1.75" y="3.08" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp1" element="Dup" inputtag="IN0" inputmask="0x08">
+ <bounds x="1.77" y="3.10" width="0.46" height="0.20" />
+ </bezel>
+
+ <bezel name="lamp2" element="Dup_B" inputtag="IN0" inputmask="0x10">
+ <bounds x="2.40" y="3.08" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp2" element="Take" inputtag="IN0" inputmask="0x10">
+ <bounds x="2.42" y="3.10" width="0.46" height="0.20" />
+ </bezel>
+
+ <bezel name="lamp4" element="Info_B" inputtag="IN0" inputmask="0x40">
+ <bounds x="3.45" y="3.08" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp4" element="Info" inputtag="IN0" inputmask="0x40">
+ <bounds x="3.47" y="3.10" width="0.46" height="0.20" />
+ </bezel>
</view>
+
+
+ <view name="P2 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>
+
+
+ <bezel name="lamp11" element="Bet_B" inputtag="IN1" inputmask="0x20">
+ <bounds x="0.05" y="3.08" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp11" element="Bet" inputtag="IN1" inputmask="0x20">
+ <bounds x="0.07" y="3.10" width="0.46" height="0.20" />
+ </bezel>
+
+ <bezel name="lamp13" element="Start_B" inputtag="IN1" inputmask="0x80">
+ <bounds x="0.90" y="3.08" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp13" element="Start" inputtag="IN1" inputmask="0x80">
+ <bounds x="0.92" y="3.10" width="0.46" height="0.20" />
+ </bezel>
+
+ <bezel name="lamp9" element="Dup_B" inputtag="IN1" inputmask="0x08">
+ <bounds x="1.75" y="3.08" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp9" element="Dup" inputtag="IN1" inputmask="0x08">
+ <bounds x="1.77" y="3.10" width="0.46" height="0.20" />
+ </bezel>
+
+ <bezel name="lamp10" element="Dup_B" inputtag="IN1" inputmask="0x10">
+ <bounds x="2.40" y="3.08" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp10" element="Take" inputtag="IN1" inputmask="0x10">
+ <bounds x="2.42" y="3.10" width="0.46" height="0.20" />
+ </bezel>
+
+ <bezel name="lamp12" element="Info_B" inputtag="IN1" inputmask="0x40">
+ <bounds x="3.45" y="3.08" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp12" element="Info" inputtag="IN1" inputmask="0x40">
+ <bounds x="3.47" y="3.10" width="0.46" height="0.20" />
+ </bezel>
+ </view>
+
</mamelayout>
diff --git a/src/mame/layout/cherryb3.lay b/src/mame/layout/cherryb3.lay
index 8c448019aca..72a19d4b656 100644
--- a/src/mame/layout/cherryb3.lay
+++ b/src/mame/layout/cherryb3.lay
@@ -156,61 +156,144 @@
<element name="cpanel1">
- <rect>
- <color red="0.20" green="0.20" blue="0.20" />
- </rect>
+ <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>
+ <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>
+ <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>
+ <rect><color red="0.05" green="0.05" blue="0.05" /></rect>
</element>
+ <view name="Button Lamps">
+ <screen index="0"><bounds left="0" top="0" right="4" bottom="3" /></screen>
+
<!-- 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.80" /></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>
+
+ <bezel element="cpanel1"><bounds left="0" right="4" top="3.41" bottom="3.79" /></bezel>
+ <bezel element="cpanel2"><bounds left="0" right="4" top="3.42" bottom="3.78" /></bezel>
+ <bezel element="cpanel3"><bounds left="0" right="4" top="3.43" bottom="3.77" /></bezel>
+ <bezel element="cpanel4"><bounds left="0" right="4" top="3.44" bottom="3.76" /></bezel>
+ <bezel element="cpanel"><bounds left="0" right="4" top="3.45" bottom="3.75" /></bezel>
+
+
+<!-- define lamps -->
- <bezel element="cpanel">
- <bounds left="0" right="4" top="3" bottom="3.40" />
+ <bezel name="lamp0" element="stop_b" inputtag="IN0" inputmask="0x04">
+ <bounds x="2.05" y="3.08" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp0" element="stop2" inputtag="IN0" inputmask="0x04">
+ <bounds x="2.07" y="3.10" width="0.46" height="0.20" />
</bezel>
- <bezel element="cpanel1">
- <bounds left="0" right="4" top="3.01" bottom="3.39" />
+ <bezel name="lamp1" element="dup_b" inputtag="IN0" inputmask="0x08">
+ <bounds x="0.65" y="3.08" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp1" element="dup" inputtag="IN0" inputmask="0x08">
+ <bounds x="0.67" y="3.10" width="0.46" height="0.20" />
</bezel>
- <bezel element="cpanel2">
- <bounds left="0" right="4" top="3.02" bottom="3.38" />
+ <bezel name="lamp2" element="stop_b" inputtag="IN0" inputmask="0x10">
+ <bounds x="1.4" y="3.08" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp2" element="stop1" inputtag="IN0" inputmask="0x10">
+ <bounds x="1.42" y="3.10" width="0.46" height="0.20" />
</bezel>
- <bezel element="cpanel3">
- <bounds left="0" right="4" top="3.03" bottom="3.37" />
+ <bezel name="lamp3" element="bet_b" inputtag="IN0" inputmask="0x20">
+ <bounds x="0.05" y="3.08" width="0.40" 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 element="cpanel4">
- <bounds left="0" right="4" top="3.04" bottom="3.36" />
+ <bezel name="lamp4" element="stop_b" inputtag="IN0" inputmask="0x40">
+ <bounds x="2.7" y="3.08" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp4" element="stop3" inputtag="IN0" inputmask="0x40">
+ <bounds x="2.72" y="3.10" width="0.46" height="0.20" />
</bezel>
- <bezel element="cpanel">
- <bounds left="0" right="4" top="3.05" bottom="3.35" />
+ <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>
+
+
+ <bezel name="lamp8" element="stop_b" inputtag="IN3" inputmask="0x04">
+ <bounds x="2.05" y="3.48" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp8" element="stop2" inputtag="IN3" inputmask="0x04">
+ <bounds x="2.07" y="3.50" width="0.46" height="0.20" />
+ </bezel>
+
+ <bezel name="lamp9" element="dup_b" inputtag="IN3" inputmask="0x08">
+ <bounds x="0.65" y="3.48" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp9" element="dup" inputtag="IN3" inputmask="0x08">
+ <bounds x="0.67" y="3.50" width="0.46" height="0.20" />
</bezel>
+ <bezel name="lamp10" element="stop_b" inputtag="IN3" inputmask="0x10">
+ <bounds x="1.4" y="3.48" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp10" element="stop1" inputtag="IN3" inputmask="0x10">
+ <bounds x="1.42" y="3.50" width="0.46" height="0.20" />
+ </bezel>
+
+ <bezel name="lamp11" element="bet_b" inputtag="IN3" inputmask="0x20">
+ <bounds x="0.05" y="3.48" width="0.40" height="0.24" />
+ </bezel>
+ <bezel name="lamp11" element="bet" inputtag="IN3" inputmask="0x20">
+ <bounds x="0.07" y="3.50" width="0.36" height="0.20" />
+ </bezel>
+
+ <bezel name="lamp12" element="stop_b" inputtag="IN3" inputmask="0x40">
+ <bounds x="2.7" y="3.48" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp12" element="stop3" inputtag="IN3" inputmask="0x40">
+ <bounds x="2.72" y="3.50" width="0.46" height="0.20" />
+ </bezel>
+
+ <bezel name="lamp13" element="start_b" inputtag="IN3" inputmask="0x80">
+ <bounds x="3.45" y="3.48" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp13" element="start" inputtag="IN3" inputmask="0x80">
+ <bounds x="3.47" y="3.50" width="0.46" height="0.20" />
+ </bezel>
+ </view>
+
+
+ <view name="P1 Button Lamps">
+ <screen index="0"><bounds left="0" top="0" right="4" bottom="3" /></screen>
+
+<!-- define background -->
+
+ <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 -->
@@ -221,7 +304,6 @@
<bounds x="2.07" y="3.10" width="0.46" height="0.20" />
</bezel>
-
<bezel name="lamp1" element="dup_b" inputtag="IN0" inputmask="0x08">
<bounds x="0.65" y="3.08" width="0.50" height="0.24" />
</bezel>
@@ -229,7 +311,6 @@
<bounds x="0.67" y="3.10" width="0.46" height="0.20" />
</bezel>
-
<bezel name="lamp2" element="stop_b" inputtag="IN0" inputmask="0x10">
<bounds x="1.4" y="3.08" width="0.50" height="0.24" />
</bezel>
@@ -237,7 +318,6 @@
<bounds x="1.42" y="3.10" width="0.46" height="0.20" />
</bezel>
-
<bezel name="lamp3" element="bet_b" inputtag="IN0" inputmask="0x20">
<bounds x="0.05" y="3.08" width="0.40" height="0.24" />
</bezel>
@@ -245,7 +325,6 @@
<bounds x="0.07" y="3.10" width="0.36" height="0.20" />
</bezel>
-
<bezel name="lamp4" element="stop_b" inputtag="IN0" inputmask="0x40">
<bounds x="2.7" y="3.08" width="0.50" height="0.24" />
</bezel>
@@ -253,13 +332,72 @@
<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>
+
+
+ <view name="P2 Button Lamps">
+ <screen index="0"><bounds left="0" top="0" right="4" bottom="3" /></screen>
+
+<!-- define background -->
+
+ <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="lamp8" element="stop_b" inputtag="IN3" inputmask="0x04">
+ <bounds x="2.05" y="3.08" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp8" element="stop2" inputtag="IN3" inputmask="0x04">
+ <bounds x="2.07" y="3.10" width="0.46" height="0.20" />
+ </bezel>
+ <bezel name="lamp9" element="dup_b" inputtag="IN3" inputmask="0x08">
+ <bounds x="0.65" y="3.08" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp9" element="dup" inputtag="IN3" inputmask="0x08">
+ <bounds x="0.67" y="3.10" width="0.46" height="0.20" />
+ </bezel>
+
+ <bezel name="lamp10" element="stop_b" inputtag="IN3" inputmask="0x10">
+ <bounds x="1.4" y="3.08" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp10" element="stop1" inputtag="IN3" inputmask="0x10">
+ <bounds x="1.42" y="3.10" width="0.46" height="0.20" />
+ </bezel>
+
+ <bezel name="lamp11" element="bet_b" inputtag="IN3" inputmask="0x20">
+ <bounds x="0.05" y="3.08" width="0.40" height="0.24" />
+ </bezel>
+ <bezel name="lamp11" element="bet" inputtag="IN3" inputmask="0x20">
+ <bounds x="0.07" y="3.10" width="0.36" height="0.20" />
+ </bezel>
+
+ <bezel name="lamp12" element="stop_b" inputtag="IN3" inputmask="0x40">
+ <bounds x="2.7" y="3.08" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp12" element="stop3" inputtag="IN3" inputmask="0x40">
+ <bounds x="2.72" y="3.10" width="0.46" height="0.20" />
+ </bezel>
+
+ <bezel name="lamp13" element="start_b" inputtag="IN3" inputmask="0x80">
+ <bounds x="3.45" y="3.08" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp13" element="start" inputtag="IN3" inputmask="0x80">
+ <bounds x="3.47" y="3.10" width="0.46" height="0.20" />
+ </bezel>
</view>
+
</mamelayout>
diff --git a/src/mame/layout/chrygld.lay b/src/mame/layout/chrygld.lay
new file mode 100644
index 00000000000..f0c98344f8d
--- /dev/null
+++ b/src/mame/layout/chrygld.lay
@@ -0,0 +1,265 @@
+<?xml version="1.0"?>
+<mamelayout version="2">
+<!--
+ Cherry Gold control panel
+ Written by Roberto Fresca.
+-->
+
+<!-- define button-lamps -->
+
+ <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.1" width="1" height="0.4" />
+ </text>
+ <text string="TAKE">
+ <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="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.1" width="1" height="0.4" />
+ </text>
+ <text string="BIG">
+ <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="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.1" width="1" height="0.4" />
+ </text>
+ <text string="SMALL/INFO">
+ <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.15" green="0.075" 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="BET">
+ <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.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="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.1" 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="dup_b" defstate="0">
+ <rect state="1">
+ <color red="0.7" green="0.35" blue="0.0" />
+ </rect>
+ <rect state="0">
+ <color red="0.1" green="0.05" 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="lamp0" element="stop_b" inputtag="IN0" inputmask="0x04">
+ <bounds x="2.05" y="3.08" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp0" element="stop2" inputtag="IN0" inputmask="0x04">
+ <bounds x="2.07" y="3.10" width="0.46" height="0.20" />
+ </bezel>
+
+
+ <bezel name="lamp1" element="dup_b" inputtag="IN0" inputmask="0x08">
+ <bounds x="0.65" y="3.08" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp1" element="dup" inputtag="IN0" inputmask="0x08">
+ <bounds x="0.67" y="3.10" width="0.46" height="0.20" />
+ </bezel>
+
+
+ <bezel name="lamp2" element="stop_b" inputtag="IN0" inputmask="0x10">
+ <bounds x="1.4" y="3.08" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp2" element="stop1" inputtag="IN0" inputmask="0x10">
+ <bounds x="1.42" y="3.10" width="0.46" height="0.20" />
+ </bezel>
+
+
+ <bezel name="lamp3" element="bet_b" inputtag="IN0" inputmask="0x20">
+ <bounds x="0.05" y="3.08" width="0.40" 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="0x40">
+ <bounds x="2.7" y="3.08" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp4" element="stop3" inputtag="IN0" inputmask="0x40">
+ <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>
diff --git a/src/mame/layout/lucky8.lay b/src/mame/layout/lucky8.lay
index f481c547fad..ef0f1b80c60 100644
--- a/src/mame/layout/lucky8.lay
+++ b/src/mame/layout/lucky8.lay
@@ -1,77 +1,54 @@
<?xml version="1.0"?>
<mamelayout version="2">
+
<element name="Bet" defstate="0">
- <rect state="1">
- <color red="1.0" green="1.0" blue="0.0" />
- </rect>
- <rect state="0">
- <color red="0.3" green="0.3" blue="0.0" />
- </rect>
+ <rect state="1"><color red="1.0" green="1.0" blue="0.0" /></rect>
+ <rect state="0"><color red="0.2" green="0.2" blue="0.0" /></rect>
<text string="BET">
<color red="0.0" green="0.0" blue="0.0" />
- <bounds x="0" y="0.2" width="1" height="0.6" />
+ <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" />
- </rect>
- <rect state="0">
- <color red="0.0" green="0.3" blue="0.0" />
- </rect>
+ <rect state="1"><color red="0.0" green="1.0" blue="0.0" /></rect>
+ <rect state="0"><color red="0.0" green="0.2" blue="0.0" /></rect>
<text string="START">
<color red="0.0" green="0.0" blue="0.0" />
- <bounds x="0" y="0.2" width="1" height="0.6" />
+ <bounds x="0" y="0.3" width="1" height="0.4" />
</text>
</element>
<element name="Dup" defstate="0">
- <rect state="1">
- <color red="1.0" green="0.0" blue="0.0" />
- </rect>
- <rect state="0">
- <color red="0.3" green="0.0" blue="0.0" />
- </rect>
+ <rect state="1"><color red="1.0" green="0.0" blue="0.0" /></rect>
+ <rect state="0"><color red="0.2" green="0.0" blue="0.0" /></rect>
<text string="DOUBLE">
<color red="0.0" green="0.0" blue="0.0" />
- <bounds x="0" y="0.2" width="1" height="0.6" />
+ <bounds x="0" y="0.3" width="1" height="0.4" />
</text>
</element>
<element name="Take" defstate="0">
- <rect state="1">
- <color red="1.0" green="0.0" blue="0.0" />
- </rect>
- <rect state="0">
- <color red="0.3" green="0.0" blue="0.0" />
- </rect>
+ <rect state="1"><color red="1.0" green="0.0" blue="0.0" /></rect>
+ <rect state="0"><color red="0.2" green="0.0" blue="0.0" /></rect>
<text string="TAKE">
<color red="0.0" green="0.0" blue="0.0" />
- <bounds x="0" y="0.2" width="1" height="0.6" />
+ <bounds x="0" y="0.3" width="1" height="0.4" />
</text>
</element>
<element name="Big" defstate="0">
- <rect state="1">
- <color red="0.0" green="0.0" blue="1.0" />
- </rect>
- <rect state="0">
- <color red="0.0" green="0.0" blue="0.3" />
- </rect>
+ <rect state="1"><color red="0.0" green="0.0" blue="1.0" /></rect>
+ <rect state="0"><color red="0.0" green="0.0" blue="0.5" /></rect>
<text string="BIG">
<color red="0.0" green="0.0" blue="0.0" />
- <bounds x="0" y="0.2" width="1" height="0.6" />
+ <bounds x="0" y="0.3" width="1" height="0.4" />
</text>
</element>
- <element name="Smallinfo" defstate="0">
- <rect state="1">
- <color red="0.0" green="0.0" blue="1.0" />
- </rect>
- <rect state="0">
- <color red="0.0" green="0.0" blue="0.3" />
- </rect>
+ <element name="Small" defstate="0">
+ <rect state="1"><color red="0.0" green="0.0" blue="1.0" /></rect>
+ <rect state="0"><color red="0.0" green="0.0" blue="0.5" /></rect>
<text string="SMALL">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.1" width="1" height="0.4" />
@@ -83,29 +60,262 @@
</element>
+ <element name="Bet_B" defstate="0">
+ <rect state="1"><color red="0.7" green="0.7" blue="0.0" /></rect>
+ <rect state="0"><color red="0.1" green="0.1" 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>
+
+ <element name="Dup_B" defstate="0">
+ <rect state="1"><color red="0.7" green="0.0" blue="0.0" /></rect>
+ <rect state="0"><color red="0.1" green="0.0" blue="0.0" /></rect>
+ </element>
+
+ <element name="Info_B" defstate="0">
+ <rect state="1"><color red="0.0" green="0.0" blue="0.7" /></rect>
+ <rect state="0"><color red="0.0" green="0.0" blue="0.4" /></rect>
+ </element>
+
+
+ <element name="cpanel">
+ <rect><color red="0.0" green="0.0" blue="0.0" /></rect>
+ </element>
+
+ <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>
+
+
<view name="Button Lamps">
- <screen index="0">
- <bounds left="0" top="0" right="4" bottom="3" />
- </screen>
+ <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.80" /></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>
+
+ <bezel element="cpanel1"><bounds left="0" right="4" top="3.41" bottom="3.79" /></bezel>
+ <bezel element="cpanel2"><bounds left="0" right="4" top="3.42" bottom="3.78" /></bezel>
+ <bezel element="cpanel3"><bounds left="0" right="4" top="3.43" bottom="3.77" /></bezel>
+ <bezel element="cpanel4"><bounds left="0" right="4" top="3.44" bottom="3.76" /></bezel>
+ <bezel element="cpanel"><bounds left="0" right="4" top="3.45" bottom="3.75" /></bezel>
+
+
+ <bezel name="lamp3" element="Bet_B" inputtag="IN0" inputmask="0x20">
+ <bounds x="0.05" y="3.08" width="0.40" 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="lamp5" element="Start_B" inputtag="IN0" inputmask="0x80">
+ <bounds x="0.65" y="3.08" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp5" element="Start" inputtag="IN0" inputmask="0x80">
+ <bounds x="0.67" y="3.10" width="0.46" height="0.20" />
+ </bezel>
+
+ <bezel name="lamp1" element="Dup_B" inputtag="IN0" inputmask="0x08">
+ <bounds x="1.40" 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="lamp2" element="Dup_B" inputtag="IN0" inputmask="0x10">
+ <bounds x="2.05" y="3.08" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp2" element="Take" inputtag="IN0" inputmask="0x10">
+ <bounds x="2.07" y="3.10" width="0.46" height="0.20" />
+ </bezel>
+
+ <bezel name="button" element="Info_B" inputtag="IN0" inputmask="0x04">
+ <bounds x="2.80" y="3.08" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="button" element="Big" inputtag="IN0" inputmask="0x04">
+ <bounds x="2.82" y="3.10" width="0.46" height="0.20" />
+ </bezel>
- <bezel name="lamp0" element="Dup">
- <bounds x="1.0" y="3.02" width="0.40" height="0.24" />
+ <bezel name="lamp4" element="Info_B" inputtag="IN0" inputmask="0x40">
+ <bounds x="3.45" y="3.08" width="0.50" height="0.24" />
</bezel>
- <bezel name="lamp1" element="Take">
- <bounds x="1.5" y="3.02" width="0.40" height="0.24" />
+ <bezel name="lamp4" element="Small" inputtag="IN0" inputmask="0x40">
+ <bounds x="3.47" y="3.10" width="0.46" height="0.20" />
</bezel>
- <bezel name="lamp2" element="Bet">
- <bounds x="0" y="3.02" width="0.40" height="0.24" />
+
+
+ <bezel name="lamp11" element="Bet_B" inputtag="IN1" inputmask="0x20">
+ <bounds x="0.05" y="3.48" width="0.40" height="0.24" />
</bezel>
- <bezel name="lamp3" element="Smallinfo">
- <bounds x="2.5" y="3.02" width="0.40" height="0.24" />
+ <bezel name="lamp11" element="Bet" inputtag="IN1" inputmask="0x20">
+ <bounds x="0.07" y="3.50" width="0.36" height="0.20" />
</bezel>
- <bezel name="lamp4" element="Start">
- <bounds x="0.5" y="3.02" width="0.40" height="0.24" />
+
+ <bezel name="lamp13" element="Start_B" inputtag="IN1" inputmask="0x80">
+ <bounds x="0.65" y="3.48" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp13" element="Start" inputtag="IN1" inputmask="0x80">
+ <bounds x="0.67" y="3.50" width="0.46" height="0.20" />
+ </bezel>
+
+ <bezel name="lamp9" element="Dup_B" inputtag="IN1" inputmask="0x08">
+ <bounds x="1.40" y="3.48" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp9" element="Dup" inputtag="IN1" inputmask="0x08">
+ <bounds x="1.42" y="3.50" width="0.46" height="0.20" />
+ </bezel>
+
+ <bezel name="lamp10" element="Dup_B" inputtag="IN1" inputmask="0x10">
+ <bounds x="2.05" y="3.48" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp10" element="Take" inputtag="IN1" inputmask="0x10">
+ <bounds x="2.07" y="3.50" width="0.46" height="0.20" />
+ </bezel>
+
+ <bezel name="button" element="Info_B" inputtag="IN1" inputmask="0x04">
+ <bounds x="2.80" y="3.48" width="0.50" height="0.24" />
</bezel>
- <bezel name="button" element="Big">
- <bounds x="2.0" y="3.02" width="0.40" height="0.24" />
+ <bezel name="button" element="Big" inputtag="IN1" inputmask="0x04">
+ <bounds x="2.82" y="3.50" width="0.46" height="0.20" />
</bezel>
+ <bezel name="lamp12" element="Info_B" inputtag="IN1" inputmask="0x40">
+ <bounds x="3.45" y="3.48" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp12" element="Small" inputtag="IN1" inputmask="0x40">
+ <bounds x="3.47" y="3.50" width="0.46" height="0.20" />
+ </bezel>
+ </view>
+
+
+ <view name="P1 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>
+
+
+ <bezel name="lamp3" element="Bet_B" inputtag="IN0" inputmask="0x20">
+ <bounds x="0.05" y="3.08" width="0.40" 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="lamp5" element="Start_B" inputtag="IN0" inputmask="0x80">
+ <bounds x="0.65" y="3.08" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp5" element="Start" inputtag="IN0" inputmask="0x80">
+ <bounds x="0.67" y="3.10" width="0.46" height="0.20" />
+ </bezel>
+
+ <bezel name="lamp1" element="Dup_B" inputtag="IN0" inputmask="0x08">
+ <bounds x="1.40" 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="lamp2" element="Dup_B" inputtag="IN0" inputmask="0x10">
+ <bounds x="2.05" y="3.08" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp2" element="Take" inputtag="IN0" inputmask="0x10">
+ <bounds x="2.07" y="3.10" width="0.46" height="0.20" />
+ </bezel>
+
+ <bezel name="button" element="Info_B" inputtag="IN0" inputmask="0x04">
+ <bounds x="2.80" y="3.08" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="button" element="Big" inputtag="IN0" inputmask="0x04">
+ <bounds x="2.82" y="3.10" width="0.46" height="0.20" />
+ </bezel>
+
+ <bezel name="lamp4" element="Info_B" inputtag="IN0" inputmask="0x40">
+ <bounds x="3.45" y="3.08" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp4" element="Small" inputtag="IN0" inputmask="0x40">
+ <bounds x="3.47" y="3.10" width="0.46" height="0.20" />
+ </bezel>
</view>
+
+
+ <view name="P2 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>
+
+
+ <bezel name="lamp11" element="Bet_B" inputtag="IN1" inputmask="0x20">
+ <bounds x="0.05" y="3.08" width="0.40" height="0.24" />
+ </bezel>
+ <bezel name="lamp11" element="Bet" inputtag="IN1" inputmask="0x20">
+ <bounds x="0.07" y="3.10" width="0.36" height="0.20" />
+ </bezel>
+
+ <bezel name="lamp13" element="Start_B" inputtag="IN1" inputmask="0x80">
+ <bounds x="0.65" y="3.08" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp13" element="Start" inputtag="IN1" inputmask="0x80">
+ <bounds x="0.67" y="3.10" width="0.46" height="0.20" />
+ </bezel>
+
+ <bezel name="lamp9" element="Dup_B" inputtag="IN1" inputmask="0x08">
+ <bounds x="1.40" y="3.08" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp9" element="Dup" inputtag="IN1" inputmask="0x08">
+ <bounds x="1.42" y="3.10" width="0.46" height="0.20" />
+ </bezel>
+
+ <bezel name="lamp10" element="Dup_B" inputtag="IN1" inputmask="0x10">
+ <bounds x="2.05" y="3.08" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp10" element="Take" inputtag="IN1" inputmask="0x10">
+ <bounds x="2.07" y="3.10" width="0.46" height="0.20" />
+ </bezel>
+
+ <bezel name="button" element="Info_B" inputtag="IN1" inputmask="0x04">
+ <bounds x="2.80" y="3.08" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="button" element="Big" inputtag="IN1" inputmask="0x04">
+ <bounds x="2.82" y="3.10" width="0.46" height="0.20" />
+ </bezel>
+
+ <bezel name="lamp12" element="Info_B" inputtag="IN1" inputmask="0x40">
+ <bounds x="3.45" y="3.08" width="0.50" height="0.24" />
+ </bezel>
+ <bezel name="lamp12" element="Small" inputtag="IN1" inputmask="0x40">
+ <bounds x="3.47" y="3.10" width="0.46" height="0.20" />
+ </bezel>
+ </view>
+
</mamelayout>
diff --git a/src/mame/mame.mak b/src/mame/mame.mak
index edefdb39d97..79420ebb9da 100644
--- a/src/mame/mame.mak
+++ b/src/mame/mame.mak
@@ -2675,6 +2675,7 @@ $(DRIVERS)/lbeach.o: $(LAYOUT)/lbeach.lh
$(DRIVERS)/goldstar.o: $(LAYOUT)/goldstar.lh \
$(LAYOUT)/bingowng.lh \
$(LAYOUT)/cherryb3.lh \
+ $(LAYOUT)/chrygld.lh \
$(LAYOUT)/cmaster.lh \
$(LAYOUT)/cmasterb.lh \
$(LAYOUT)/cmasterc.lh \