Previous 199869 Revisions Next

r17834 Wednesday 12th September, 2012 at 13:38:19 UTC by hap
dpoker default layout
[src/mame]mame.mak
[src/mame/drivers]mcr.c
[src/mame/layout]dpoker.lay*

trunk/src/mame/mame.mak
r17833r17834
20792079
20802080$(DRIVERS)/jpmsys5.o:   $(LAYOUT)/awpvid16.lh
20812081
2082$(DRIVERS)/kas89.o:   $(LAYOUT)/kas89.lh
2082$(DRIVERS)/kas89.o:      $(LAYOUT)/kas89.lh
20832083
20842084$(DRIVERS)/kingdrby.o:   $(LAYOUT)/kingdrby.lh
20852085
r17833r17834
20982098
20992099$(DRIVERS)/maxaflex.o:   $(LAYOUT)/maxaflex.lh
21002100
2101$(DRIVERS)/mcr3.o:   $(LAYOUT)/turbotag.lh
2101$(DRIVERS)/mcr.o:      $(LAYOUT)/dpoker.lh
21022102
2103$(DRIVERS)/mcr3.o:      $(LAYOUT)/turbotag.lh
2104
21032105$(DRIVERS)/mpoker.o:   $(LAYOUT)/mpoker.lh
21042106
21052107$(DRIVERS)/mpu4mod2sw.o:   $(LAYOUT)/connect4.lh \
r17833r17834
21122114$(DRIVERS)/mpu4vid.o:   $(LAYOUT)/crmaze2p.lh \
21132115         $(LAYOUT)/crmaze4p.lh
21142116
2115$(DRIVERS)/mpu4plasma.o: $(LAYOUT)/mpu4plasma.lh \
2117$(DRIVERS)/mpu4plasma.o:   $(LAYOUT)/mpu4plasma.lh \
21162118
21172119
2118$(DRIVERS)/mw18w.o:   $(LAYOUT)/18w.lh
2120$(DRIVERS)/mw18w.o:      $(LAYOUT)/18w.lh
21192121
21202122$(DRIVERS)/mw8080bw.o:   $(LAYOUT)/280zzzap.lh \
21212123         $(LAYOUT)/clowns.lh \
trunk/src/mame/layout/dpoker.lay
r0r17834
1<?xml version="1.0"?>
2<mamelayout version="2">
3
4   <element name="hold1" defstate="0">
5      <rect state="1">
6         <color red="1.0" green="1.0" blue="1.0" />
7      </rect>
8      <rect state="0">
9         <color red="0.3" green="0.3" blue="0.3" />
10      </rect>
11      <text string="HOLD">
12         <color red="0.0" green="0.0" blue="0.0" />
13         <bounds x="0.1" y="0.25" width="0.8" height="0.5" />
14      </text>
15   </element>
16
17   <element name="hold2" defstate="0">
18      <rect state="1">
19         <color red="1.0" green="1.0" blue="1.0" />
20      </rect>
21      <rect state="0">
22         <color red="0.3" green="0.3" blue="0.3" />
23      </rect>
24      <text string="HOLD">
25         <color red="0.0" green="0.0" blue="0.0" />
26         <bounds x="0.1" y="0.25" width="0.8" height="0.5" />
27      </text>
28   </element>
29
30   <element name="hold3" defstate="0">
31      <rect state="1">
32         <color red="1.0" green="1.0" blue="1.0" />
33      </rect>
34      <rect state="0">
35         <color red="0.3" green="0.3" blue="0.3" />
36      </rect>
37      <text string="HOLD">
38         <color red="0.0" green="0.0" blue="0.0" />
39         <bounds x="0.1" y="0.25" width="0.8" height="0.5" />
40      </text>
41   </element>
42
43   <element name="hold4" defstate="0">
44      <rect state="1">
45         <color red="1.0" green="1.0" blue="1.0" />
46      </rect>
47      <rect state="0">
48         <color red="0.3" green="0.3" blue="0.3" />
49      </rect>
50      <text string="HOLD">
51         <color red="0.0" green="0.0" blue="0.0" />
52         <bounds x="0.1" y="0.25" width="0.8" height="0.5" />
53      </text>
54   </element>
55
56   <element name="hold5" defstate="0">
57      <rect state="1">
58         <color red="1.0" green="1.0" blue="1.0" />
59      </rect>
60      <rect state="0">
61         <color red="0.3" green="0.3" blue="0.3" />
62      </rect>
63      <text string="HOLD">
64         <color red="0.0" green="0.0" blue="0.0" />
65         <bounds x="0.1" y="0.25" width="0.8" height="0.5" />
66      </text>
67   </element>
68
69   <element name="cancel" defstate="0">
70      <rect state="1">
71         <color red="1.0" green="1.0" blue="1.0" />
72      </rect>
73      <rect state="0">
74         <color red="0.3" green="0.3" blue="0.3" />
75      </rect>
76      <text string="CANCEL">
77         <color red="0.0" green="0.0" blue="0.0" />
78         <bounds x="0.1" y="0.25" width="0.8" height="0.5" />
79      </text>
80   </element>
81
82   <element name="stand" defstate="0">
83      <rect state="1">
84         <color red="1.0" green="1.0" blue="1.0" />
85      </rect>
86      <rect state="0">
87         <color red="0.3" green="0.3" blue="0.3" />
88      </rect>
89      <text string="STAND">
90         <color red="0.0" green="0.0" blue="0.0" />
91         <bounds x="0.1" y="0.25" width="0.8" height="0.5" />
92      </text>
93   </element>
94
95   <element name="service" defstate="0">
96      <rect state="1">
97         <color red="1.0" green="1.0" blue="1.0" />
98      </rect>
99      <rect state="0">
100         <color red="0.3" green="0.3" blue="0.3" />
101      </rect>
102      <text string="SERVICE">
103         <color red="0.0" green="0.0" blue="0.0" />
104         <bounds x="0.1" y="0.25" width="0.8" height="0.5" />
105      </text>
106   </element>
107
108   <element name="deal" defstate="0">
109      <rect state="1">
110         <color red="1.0" green="1.0" blue="1.0" />
111      </rect>
112      <rect state="0">
113         <color red="0.3" green="0.3" blue="0.3" />
114      </rect>
115      <text string="DEAL">
116         <color red="0.0" green="0.0" blue="0.0" />
117         <bounds x="0.1" y="0.25" width="0.8" height="0.5" />
118      </text>
119   </element>
120
121
122   <view name="Button Lamps">
123
124      <screen index="0">
125         <bounds left="0" top="0" right="4" bottom="3" />
126      </screen>
127
128      <bezel name="lamp8" element="service">
129         <bounds x="0.01" y="3.05" width="0.34" height="0.24" />
130      </bezel>
131
132      <bezel name="lamp6" element="cancel">
133         <bounds x="0.73" y="3.05" width="0.34" height="0.24" />
134      </bezel>
135      <bezel name="lamp7" element="stand">
136         <bounds x="1.09" y="3.05" width="0.34" height="0.24" />
137      </bezel>
138      <bezel name="lamp5" element="deal">
139         <bounds x="1.45" y="3.05" width="0.34" height="0.24" />
140      </bezel>
141
142      <bezel name="lamp0" element="hold1">
143         <bounds x="2.18" y="3.05" width="0.34" height="0.24" />
144      </bezel>
145      <bezel name="lamp1" element="hold2">
146         <bounds x="2.55" y="3.05" width="0.34" height="0.24" />
147      </bezel>
148      <bezel name="lamp2" element="hold3">
149         <bounds x="2.91" y="3.05" width="0.34" height="0.24" />
150      </bezel>
151      <bezel name="lamp3" element="hold4">
152         <bounds x="3.27" y="3.05" width="0.34" height="0.24" />
153      </bezel>
154      <bezel name="lamp4" element="hold5">
155         <bounds x="3.64" y="3.05" width="0.34" height="0.24" />
156      </bezel>
157
158   </view>
159</mamelayout>
trunk/src/mame/drivers/mcr.c
r17833r17834
77    Games supported:
88        * Solar Fox
99        * Kick
10        * Draw Poker
1011        * Satan's Hollow
1112        * Tron
1213        * Kozmik Krooz'r
r17833r17834
1920        * Discs of Tron (Squawk n' Talk)
2021        * NFL Football (Squawk n' Talk + laserdisk)
2122        * Demolition Derby (Turbo Chip Squeak)
22        * Draw Poker
2323
2424****************************************************************************
2525
r17833r17834
287287#include "machine/nvram.h"
288288#include "includes/mcr.h"
289289
290#include "dpoker.lh"
290291
292
291293static UINT8 input_mux;
292294static UINT8 last_op4;
293295
r17833r17834
426428
427429WRITE8_MEMBER(mcr_state::dpoker_lamps1_w)
428430{
429   // cpanel button lamps
430   output_set_lamp_value(0, data >> 0 & 1); // hold 0
431   output_set_lamp_value(1, data >> 4 & 1); // hold 1
432   output_set_lamp_value(2, data >> 5 & 1); // hold 2
433   output_set_lamp_value(3, data >> 6 & 1); // hold 3
434   output_set_lamp_value(4, data >> 7 & 1); // hold 4
431   // cpanel button lamps (white)
432   output_set_lamp_value(0, data >> 0 & 1); // hold 1
433   output_set_lamp_value(1, data >> 4 & 1); // hold 2
434   output_set_lamp_value(2, data >> 5 & 1); // hold 3
435   output_set_lamp_value(3, data >> 6 & 1); // hold 4
436   output_set_lamp_value(4, data >> 7 & 1); // hold 5
435437   output_set_lamp_value(5, data >> 1 & 1); // deal
436438   output_set_lamp_value(6, data >> 2 & 1); // cancel
437439   output_set_lamp_value(7, data >> 3 & 1); // stand
r17833r17834
440442WRITE8_MEMBER(mcr_state::dpoker_lamps2_w)
441443{
442444   // d5: button lamp: service or change
443   output_set_lamp_value(8, data >> 1 & 1);
445   output_set_lamp_value(8, data >> 5 & 1);
444446   
445447   // d0-d4: marquee lamps: coin 1 to 5 --> output lamps 9 to 13
446448   for (int i = 0; i < 5; i++)
r17833r17834
20822084   // The sound board was missing in this pcb set, we'll use the roms from Kick as placeholder.
20832085   // Funnily enough, according to a cabinet recording, the sound is actually very similar to Kickman.
20842086   ROM_REGION( 0x10000, "ssio:cpu", 0 )
2085   ROM_LOAD( "4200-a.a7",    0x0000, 0x1000, BAD_DUMP CRC(9e35c02e) SHA1(92afd0126dcfb2d4401927b2cf261090e186b6fa) )
2086   ROM_LOAD( "4300-b.a8",    0x1000, 0x1000, BAD_DUMP CRC(ca2b7c28) SHA1(fdcca3b755822c045c3c321cccc3f58112e2ad11) )
2087   ROM_LOAD( "4400-c.a9",    0x2000, 0x1000, BAD_DUMP CRC(d1901551) SHA1(fd7d6059f8ac59f95ae6f8ef12fbfce7ed16ec12) )
2088   ROM_LOAD( "4500-d.a10",   0x3000, 0x1000, BAD_DUMP CRC(d36ddcdc) SHA1(2d3ec83b9fa5a9d309c393a0c3ee45f0ba8192c9) )
2087   ROM_LOAD( "vssp.a7",      0x0000, 0x1000, BAD_DUMP CRC(9e35c02e) SHA1(92afd0126dcfb2d4401927b2cf261090e186b6fa) )
2088   ROM_LOAD( "vssp.a8",      0x1000, 0x1000, BAD_DUMP CRC(ca2b7c28) SHA1(fdcca3b755822c045c3c321cccc3f58112e2ad11) )
2089   ROM_LOAD( "vssp.a9",      0x2000, 0x1000, BAD_DUMP CRC(d1901551) SHA1(fd7d6059f8ac59f95ae6f8ef12fbfce7ed16ec12) )
2090   ROM_LOAD( "vssp.a10",     0x3000, 0x1000, BAD_DUMP CRC(d36ddcdc) SHA1(2d3ec83b9fa5a9d309c393a0c3ee45f0ba8192c9) )
20892091
20902092    ROM_REGION( 0x02000, "gfx1", 0 )
20912093    ROM_LOAD( "vpbg.g4",      0x0000, 0x1000, CRC(9fe9aad8) SHA1(f9174bcce3886548b8c18c5a06995d5c69ce5486) )
r17833r17834
29182920GAME( 1981, kick,     0,        mcr_90009,     kick, mcr_state,     kick,      ORIENTATION_SWAP_XY,        "Midway", "Kick (upright)", GAME_SUPPORTS_SAVE )
29192921GAME( 1981, kickman,  kick,     mcr_90009,     kick, mcr_state,     kick,      ORIENTATION_SWAP_XY,        "Midway", "Kickman (upright)", GAME_SUPPORTS_SAVE )
29202922GAME( 1981, kickc,    kick,     mcr_90009,     kickc, mcr_state,    kick,      ROT90,                      "Midway", "Kick (cocktail)", GAME_SUPPORTS_SAVE )
2921GAME( 1985, dpoker,   0,        mcr_90009_dp,  dpoker, mcr_state,   dpoker,    ROT0,                       "Bally",  "Draw Poker (Bally, 03-20)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
2923GAMEL(1985, dpoker,   0,        mcr_90009_dp,  dpoker, mcr_state,   dpoker,    ROT0,                       "Bally",  "Draw Poker (Bally, 03-20)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE, layout_dpoker )
29222924
29232925/* 90010 CPU board + 91399 video gen + 90913 sound I/O */
29242926GAME( 1981, shollow,  0,        mcr_90010,     shollow, mcr_state,  mcr_90010, ROT90, "Bally Midway", "Satan's Hollow (set 1)", GAME_SUPPORTS_SAVE )

Previous 199869 Revisions Next


© 1997-2024 The MAME Team