Lamps and clickable artwork for unkch sets

This commit is contained in:
Vas Crabb 2015-03-20 21:18:30 +11:00
parent 3b0d9821fb
commit d214223b18
3 changed files with 188 additions and 5 deletions

View File

@ -172,6 +172,7 @@
#include "roypok96.lh"
#include "skill98.lh"
#include "tonypok.lh"
#include "unkch.lh"
WRITE8_MEMBER(goldstar_state::protection_w)
@ -225,6 +226,7 @@ WRITE8_MEMBER(goldstar_state::p1_lamps_w)
tonypok uses lamps to indicate current button functions rather than active buttons
skill98 is like schery97 but doesn't activate bit 0 for stop
nfb96, roypok96 and nc96 sets are like schery97 but they don't activate bit 2 for select
all unkch use the same scheme, these sets use crude PWM to dim lamps which requires better lamp simulation
*/
output_set_lamp_value(0, (data >> 0) & 1);
output_set_lamp_value(1, (data >> 1) & 1);
@ -13074,10 +13076,10 @@ GAME( 2003, carb2003, nfb96, amcoe2, nfb96bl, driver_device, 0,
GAME( 2003, nfm, 0, nfm, nfb96bl, driver_device, 0, ROT0, "Ming-Yang Electronic", "New Fruit Machine (Ming-Yang Electronic)", GAME_NOT_WORKING ) // vFB02-07A "Copyright By Ms. Liu Orchis 2003/03/06"
// these have 'cherry 1994' in the program roms, but also "Super Cherry / New Cherry Gold '99" probably hacks of a 1994 version of Cherry Bonus / Cherry Master (Super Cherry Master?)
GAME( 1999, unkch1, 0, unkch, unkch, unkch_state, unkch1, ROT0, "bootleg", "New Cherry Gold '99 (bootleg of Super Cherry Master) (set 1)", GAME_NOT_WORKING )
GAME( 1999, unkch2, unkch1, unkch, unkch, unkch_state, unkch1, ROT0, "bootleg", "Super Cherry Gold (bootleg of Super Cherry Master)", GAME_NOT_WORKING )
GAME( 1999, unkch3, unkch1, unkch, unkch3, unkch_state, unkch3, ROT0, "bootleg", "New Cherry Gold '99 (bootleg of Super Cherry Master) (set 2)", GAME_NOT_WORKING ) // cards have been hacked to look like barrels, girl removed?
GAME( 1999, unkch4, unkch1, unkch, unkch4, unkch_state, unkch4, ROT0, "bootleg", "Grand Cherry Master (bootleg of Super Cherry Master)", GAME_NOT_WORKING ) // by 'Toy System' Hungary
GAMEL(1999, unkch1, 0, unkch, unkch, unkch_state, unkch1, ROT0, "bootleg", "New Cherry Gold '99 (bootleg of Super Cherry Master) (set 1)", GAME_NOT_WORKING, layout_unkch )
GAMEL(1999, unkch2, unkch1, unkch, unkch, unkch_state, unkch1, ROT0, "bootleg", "Super Cherry Gold (bootleg of Super Cherry Master)", GAME_NOT_WORKING, layout_unkch )
GAMEL(1999, unkch3, unkch1, unkch, unkch3, unkch_state, unkch3, ROT0, "bootleg", "New Cherry Gold '99 (bootleg of Super Cherry Master) (set 2)", GAME_NOT_WORKING, layout_unkch ) // cards have been hacked to look like barrels, girl removed?
GAMEL(1999, unkch4, unkch1, unkch, unkch4, unkch_state, unkch4, ROT0, "bootleg", "Grand Cherry Master (bootleg of Super Cherry Master)", GAME_NOT_WORKING, layout_unkch ) // by 'Toy System' Hungary
/* Stealth sets.

180
src/mame/layout/unkch.lay Normal file
View File

@ -0,0 +1,180 @@
<?xml version="1.0"?>
<mamelayout version="2">
<!--
Cherry Gold control panel
May or may not match arrangement/colour of real control panel
Written by Vas Crabb.
-->
<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="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="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 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="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="BET-A">
<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="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="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 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="big" 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="BIG">
<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="dup" 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-B">
<color red="0.0" green="0.0" blue="0.0" />
<bounds x="0" y="0.1" width="1" height="0.4" />
</text>
<text string="DOUBLE">
<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_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="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="big_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="dup_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="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>
<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="lamp1" element="start_b" inputtag="IN1" inputmask="0x40">
<bounds x="0.05" y="3.08" width="0.50" height="0.24" />
</bezel>
<bezel name="lamp1" element="start" inputtag="IN1" inputmask="0x40">
<bounds x="0.07" y="3.10" width="0.46" height="0.20" />
</bezel>
<bezel name="lamp5" element="stop_b" inputtag="IN0" inputmask="0x10">
<bounds x="0.75" y="3.08" width="0.50" height="0.24" />
</bezel>
<bezel name="lamp5" element="stop1" inputtag="IN0" inputmask="0x10">
<bounds x="0.77" y="3.10" width="0.46" height="0.20" />
</bezel>
<bezel name="lamp0" element="stop_b" inputtag="IN0" inputmask="0x01">
<bounds x="1.4" y="3.08" width="0.50" height="0.24" />
</bezel>
<bezel name="lamp0" element="stop2" inputtag="IN0" inputmask="0x01">
<bounds x="1.42" y="3.10" width="0.46" height="0.20" />
</bezel>
<bezel name="lamp2" element="stop_b" inputtag="IN0" inputmask="0x40">
<bounds x="2.05" y="3.08" width="0.50" height="0.24" />
</bezel>
<bezel name="lamp2" element="stop3" inputtag="IN0" inputmask="0x40">
<bounds x="2.07" y="3.10" width="0.46" height="0.20" />
</bezel>
<bezel name="lamp3" element="big_b" inputtag="IN0" inputmask="0x80">
<bounds x="2.75" y="3.08" width="0.50" height="0.24" />
</bezel>
<bezel name="lamp3" element="big" inputtag="IN0" inputmask="0x80">
<bounds x="2.77" y="3.10" width="0.46" height="0.20" />
</bezel>
<bezel name="lamp4" element="dup_b" inputtag="IN0" inputmask="0x20">
<bounds x="3.45" y="3.08" width="0.50" height="0.24" />
</bezel>
<bezel name="lamp4" element="dup" inputtag="IN0" inputmask="0x20">
<bounds x="3.47" y="3.10" width="0.46" height="0.20" />
</bezel>
</view>
</mamelayout>

View File

@ -2688,7 +2688,8 @@ $(DRIVERS)/goldstar.o: $(LAYOUT)/goldstar.lh \
$(LAYOUT)/pokonl97.lh \
$(LAYOUT)/roypok96.lh \
$(LAYOUT)/skill98.lh \
$(LAYOUT)/tonypok.lh
$(LAYOUT)/tonypok.lh \
$(LAYOUT)/unkch.lh
$(DRIVERS)/grchamp.o: $(LAYOUT)/grchamp.lh