trunk/src/mame/drivers/goldstar.c
| r245002 | r245003 | |
| 172 | 172 | #include "roypok96.lh" |
| 173 | 173 | #include "skill98.lh" |
| 174 | 174 | #include "tonypok.lh" |
| 175 | #include "unkch.lh" |
| 175 | 176 | |
| 176 | 177 | |
| 177 | 178 | WRITE8_MEMBER(goldstar_state::protection_w) |
| r245002 | r245003 | |
| 225 | 226 | tonypok uses lamps to indicate current button functions rather than active buttons |
| 226 | 227 | skill98 is like schery97 but doesn't activate bit 0 for stop |
| 227 | 228 | nfb96, roypok96 and nc96 sets are like schery97 but they don't activate bit 2 for select |
| 229 | all unkch use the same scheme, these sets use crude PWM to dim lamps which requires better lamp simulation |
| 228 | 230 | */ |
| 229 | 231 | output_set_lamp_value(0, (data >> 0) & 1); |
| 230 | 232 | output_set_lamp_value(1, (data >> 1) & 1); |
| r245002 | r245003 | |
| 13074 | 13076 | 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" |
| 13075 | 13077 | |
| 13076 | 13078 | // 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?) |
| 13077 | | 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 ) |
| 13078 | | GAME( 1999, unkch2, unkch1, unkch, unkch, unkch_state, unkch1, ROT0, "bootleg", "Super Cherry Gold (bootleg of Super Cherry Master)", GAME_NOT_WORKING ) |
| 13079 | | 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? |
| 13080 | | 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 |
| 13079 | 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 ) |
| 13080 | GAMEL(1999, unkch2, unkch1, unkch, unkch, unkch_state, unkch1, ROT0, "bootleg", "Super Cherry Gold (bootleg of Super Cherry Master)", GAME_NOT_WORKING, layout_unkch ) |
| 13081 | 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? |
| 13082 | 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 |
| 13081 | 13083 | |
| 13082 | 13084 | |
| 13083 | 13085 | /* Stealth sets. |
trunk/src/mame/layout/unkch.lay
| r0 | r245003 | |
| 1 | <?xml version="1.0"?> |
| 2 | <mamelayout version="2"> |
| 3 | <!-- |
| 4 | Cherry Gold control panel |
| 5 | May or may not match arrangement/colour of real control panel |
| 6 | Written by Vas Crabb. |
| 7 | --> |
| 8 | |
| 9 | <element name="start" defstate="0"> |
| 10 | <rect state="1"><color red="0.0" green="1.0" blue="0.0" /></rect> |
| 11 | <rect state="0"><color red="0.0" green="0.15" blue="0.0" /></rect> |
| 12 | <text string="START"> |
| 13 | <color red="0.0" green="0.0" blue="0.0" /> |
| 14 | <bounds x="0" y="0.1" width="1" height="0.4" /> |
| 15 | </text> |
| 16 | <text string="STOP ALL"> |
| 17 | <color red="0.0" green="0.0" blue="0.0" /> |
| 18 | <bounds x="0" y="0.5" width="1" height="0.4" /> |
| 19 | </text> |
| 20 | </element> |
| 21 | |
| 22 | <element name="stop1" defstate="0"> |
| 23 | <rect state="1"><color red="1.0" green="0.0" blue="0.0" /></rect> |
| 24 | <rect state="0"><color red="0.15" green="0.0" blue="0.0" /></rect> |
| 25 | <text string="TAKE"> |
| 26 | <color red="0.0" green="0.0" blue="0.0" /> |
| 27 | <bounds x="0" y="0.1" width="1" height="0.4" /> |
| 28 | </text> |
| 29 | <text string="STOP 1"> |
| 30 | <color red="0.0" green="0.0" blue="0.0" /> |
| 31 | <bounds x="0" y="0.5" width="1" height="0.4" /> |
| 32 | </text> |
| 33 | </element> |
| 34 | |
| 35 | <element name="stop2" defstate="0"> |
| 36 | <rect state="1"><color red="1.0" green="0.0" blue="0.0" /></rect> |
| 37 | <rect state="0"><color red="0.15" green="0.0" blue="0.0" /></rect> |
| 38 | <text string="BET-A"> |
| 39 | <color red="0.0" green="0.0" blue="0.0" /> |
| 40 | <bounds x="0" y="0.1" width="1" height="0.4" /> |
| 41 | </text> |
| 42 | <text string="STOP 2"> |
| 43 | <color red="0.0" green="0.0" blue="0.0" /> |
| 44 | <bounds x="0" y="0.5" width="1" height="0.4" /> |
| 45 | </text> |
| 46 | </element> |
| 47 | |
| 48 | <element name="stop3" defstate="0"> |
| 49 | <rect state="1"><color red="1.0" green="0.0" blue="0.0" /></rect> |
| 50 | <rect state="0"><color red="0.15" green="0.0" blue="0.0" /></rect> |
| 51 | <text string="SMALL/INFO"> |
| 52 | <color red="0.0" green="0.0" blue="0.0" /> |
| 53 | <bounds x="0" y="0.1" width="1" height="0.4" /> |
| 54 | </text> |
| 55 | <text string="STOP 3"> |
| 56 | <color red="0.0" green="0.0" blue="0.0" /> |
| 57 | <bounds x="0" y="0.5" width="1" height="0.4" /> |
| 58 | </text> |
| 59 | </element> |
| 60 | |
| 61 | <element name="big" defstate="0"> |
| 62 | <rect state="1"><color red="1.0" green="0.5" blue="0.0" /></rect> |
| 63 | <rect state="0"><color red="0.15" green="0.075" blue="0.0" /></rect> |
| 64 | <text string="BIG"> |
| 65 | <color red="0.0" green="0.0" blue="0.0" /> |
| 66 | <bounds x="0" y="0.3" width="1" height="0.4" /> |
| 67 | </text> |
| 68 | </element> |
| 69 | |
| 70 | <element name="dup" defstate="0"> |
| 71 | <rect state="1"><color red="1.0" green="0.0" blue="1.0" /></rect> |
| 72 | <rect state="0"><color red="0.15" green="0.0" blue="0.15" /></rect> |
| 73 | <text string="BET-B"> |
| 74 | <color red="0.0" green="0.0" blue="0.0" /> |
| 75 | <bounds x="0" y="0.1" width="1" height="0.4" /> |
| 76 | </text> |
| 77 | <text string="DOUBLE"> |
| 78 | <color red="0.0" green="0.0" blue="0.0" /> |
| 79 | <bounds x="0" y="0.5" width="1" height="0.4" /> |
| 80 | </text> |
| 81 | </element> |
| 82 | |
| 83 | |
| 84 | <element name="start_b" defstate="0"> |
| 85 | <rect state="1"><color red="0.0" green="0.7" blue="0.0" /></rect> |
| 86 | <rect state="0"><color red="0.0" green="0.1" blue="0.0" /></rect> |
| 87 | </element> |
| 88 | |
| 89 | <element name="stop_b" defstate="0"> |
| 90 | <rect state="1"><color red="0.7" green="0.0" blue="0.0" /></rect> |
| 91 | <rect state="0"><color red="0.1" green="0.0" blue="0.0" /></rect> |
| 92 | </element> |
| 93 | |
| 94 | <element name="big_b" defstate="0"> |
| 95 | <rect state="1"><color red="0.7" green="0.35" blue="0.0" /></rect> |
| 96 | <rect state="0"><color red="0.1" green="0.05" blue="0.0" /></rect> |
| 97 | </element> |
| 98 | |
| 99 | <element name="dup_b" defstate="0"> |
| 100 | <rect state="1"><color red="0.7" green="0.0" blue="0.7" /></rect> |
| 101 | <rect state="0"><color red="0.1" green="0.0" blue="0.1" /></rect> |
| 102 | </element> |
| 103 | |
| 104 | |
| 105 | <element name="cpanel"> |
| 106 | <rect><color red="0.0" green="0.0" blue="0.0" /></rect> |
| 107 | </element> |
| 108 | |
| 109 | <element name="cpanel1"> |
| 110 | <rect><color red="0.20" green="0.20" blue="0.20" /></rect> |
| 111 | </element> |
| 112 | |
| 113 | <element name="cpanel2"> |
| 114 | <rect><color red="0.15" green="0.15" blue="0.15" /></rect> |
| 115 | </element> |
| 116 | |
| 117 | <element name="cpanel3"> |
| 118 | <rect><color red="0.10" green="0.10" blue="0.10" /></rect> |
| 119 | </element> |
| 120 | |
| 121 | <element name="cpanel4"> |
| 122 | <rect><color red="0.05" green="0.05" blue="0.05" /></rect> |
| 123 | </element> |
| 124 | |
| 125 | |
| 126 | <view name="Button Lamps"> |
| 127 | <screen index="0"><bounds left="0" top="0" right="4" bottom="3" /></screen> |
| 128 | |
| 129 | <bezel element="cpanel"><bounds left="0" right="4" top="3" bottom="3.40" /></bezel> |
| 130 | <bezel element="cpanel1"><bounds left="0" right="4" top="3.01" bottom="3.39" /></bezel> |
| 131 | <bezel element="cpanel2"><bounds left="0" right="4" top="3.02" bottom="3.38" /></bezel> |
| 132 | <bezel element="cpanel3"><bounds left="0" right="4" top="3.03" bottom="3.37" /></bezel> |
| 133 | <bezel element="cpanel4"><bounds left="0" right="4" top="3.04" bottom="3.36" /></bezel> |
| 134 | <bezel element="cpanel"><bounds left="0" right="4" top="3.05" bottom="3.35" /></bezel> |
| 135 | |
| 136 | |
| 137 | <bezel name="lamp1" element="start_b" inputtag="IN1" inputmask="0x40"> |
| 138 | <bounds x="0.05" y="3.08" width="0.50" height="0.24" /> |
| 139 | </bezel> |
| 140 | <bezel name="lamp1" element="start" inputtag="IN1" inputmask="0x40"> |
| 141 | <bounds x="0.07" y="3.10" width="0.46" height="0.20" /> |
| 142 | </bezel> |
| 143 | |
| 144 | <bezel name="lamp5" element="stop_b" inputtag="IN0" inputmask="0x10"> |
| 145 | <bounds x="0.75" y="3.08" width="0.50" height="0.24" /> |
| 146 | </bezel> |
| 147 | <bezel name="lamp5" element="stop1" inputtag="IN0" inputmask="0x10"> |
| 148 | <bounds x="0.77" y="3.10" width="0.46" height="0.20" /> |
| 149 | </bezel> |
| 150 | |
| 151 | <bezel name="lamp0" element="stop_b" inputtag="IN0" inputmask="0x01"> |
| 152 | <bounds x="1.4" y="3.08" width="0.50" height="0.24" /> |
| 153 | </bezel> |
| 154 | <bezel name="lamp0" element="stop2" inputtag="IN0" inputmask="0x01"> |
| 155 | <bounds x="1.42" y="3.10" width="0.46" height="0.20" /> |
| 156 | </bezel> |
| 157 | |
| 158 | <bezel name="lamp2" element="stop_b" inputtag="IN0" inputmask="0x40"> |
| 159 | <bounds x="2.05" y="3.08" width="0.50" height="0.24" /> |
| 160 | </bezel> |
| 161 | <bezel name="lamp2" element="stop3" inputtag="IN0" inputmask="0x40"> |
| 162 | <bounds x="2.07" y="3.10" width="0.46" height="0.20" /> |
| 163 | </bezel> |
| 164 | |
| 165 | <bezel name="lamp3" element="big_b" inputtag="IN0" inputmask="0x80"> |
| 166 | <bounds x="2.75" y="3.08" width="0.50" height="0.24" /> |
| 167 | </bezel> |
| 168 | <bezel name="lamp3" element="big" inputtag="IN0" inputmask="0x80"> |
| 169 | <bounds x="2.77" y="3.10" width="0.46" height="0.20" /> |
| 170 | </bezel> |
| 171 | |
| 172 | <bezel name="lamp4" element="dup_b" inputtag="IN0" inputmask="0x20"> |
| 173 | <bounds x="3.45" y="3.08" width="0.50" height="0.24" /> |
| 174 | </bezel> |
| 175 | <bezel name="lamp4" element="dup" inputtag="IN0" inputmask="0x20"> |
| 176 | <bounds x="3.47" y="3.10" width="0.46" height="0.20" /> |
| 177 | </bezel> |
| 178 | </view> |
| 179 | |
| 180 | </mamelayout> |