Previous 199869 Revisions Next

r19684 Wednesday 19th December, 2012 at 10:54:53 UTC by Barry Rodewald
s11a: Rearranged score layout, and added the proper diagnostic LED.
[src/mame/drivers]s11a.c
[src/mame/layout]s11a.lay

trunk/src/mame/layout/s11a.lay
r19683r19684
1<!-- s11.lay -->
1<!-- s11a.lay -->
22
3<!-- 2012-11-04: Initial version.  [Robbbert] -->
3<!-- 2012-11-04: Initial version.  [Robbbert]
4    2012-12-19: Rearranged layout, replaced diagnostic 7-digit LED with 3 single LEDs  [Barry Rodewald]-->
45
56<mamelayout version="2">
67
r19683r19684
910         <color red="1.0" green="0.0" blue="0.0" />
1011      </led14segsc>
1112   </element>
12   <element name="diag" defstate="0">
13      <led7seg>
14         <color red="1.0" green="0.0" blue="1.0" />
15      </led7seg>
13   <element name="diagled" defstate="0">
14      <disk>
15         <color red="1.0" green="0.0" blue="0.0" />
16      </disk>
1617   </element>
1718   <element name="background">
1819      <rect>
r19683r19684
3940      <!-- Player 1 Score -->
4041
4142      <bezel name="digit1" element="digit">
42         <bounds left="10" top="45" right="44" bottom="84" />
43         <bounds left="10" top="45" right="30" bottom="84" />
4344      </bezel>
4445      <bezel name="digit2" element="digit">
45         <bounds left="54" top="45" right="88" bottom="84" />
46         <bounds left="34" top="45" right="54" bottom="84" />
4647      </bezel>
4748      <bezel name="digit3" element="digit">
48         <bounds left="98" top="45" right="132" bottom="84" />
49         <bounds left="58" top="45" right="78" bottom="84" />
4950      </bezel>
5051      <bezel name="digit4" element="digit">
51         <bounds left="142" top="45" right="176" bottom="84" />
52         <bounds left="82" top="45" right="102" bottom="84" />
5253      </bezel>
5354      <bezel name="digit5" element="digit">
54         <bounds left="186" top="45" right="220" bottom="84" />
55         <bounds left="106" top="45" right="126" bottom="84" />
5556      </bezel>
5657      <bezel name="digit6" element="digit">
57         <bounds left="230" top="45" right="264" bottom="84" />
58         <bounds left="130" top="45" right="150" bottom="84" />
5859      </bezel>
5960      <bezel name="digit7" element="digit">
60         <bounds left="274" top="45" right="308" bottom="84" />
61         <bounds left="154" top="45" right="174" bottom="84" />
6162      </bezel>
6263
6364      <!-- Player 2 Score -->
6465      <bezel name="digit9" element="digit">
65         <bounds left="10" top="105" right="44" bottom="144" />
66         <bounds left="190" top="45" right="210" bottom="84" />
6667      </bezel>
6768      <bezel name="digit10" element="digit">
68         <bounds left="54" top="105" right="88" bottom="144" />
69         <bounds left="214" top="45" right="234" bottom="84" />
6970      </bezel>
7071      <bezel name="digit11" element="digit">
71         <bounds left="98" top="105" right="132" bottom="144" />
72         <bounds left="238" top="45" right="258" bottom="84" />
7273      </bezel>
7374      <bezel name="digit12" element="digit">
74         <bounds left="142" top="105" right="176" bottom="144" />
75         <bounds left="262" top="45" right="282" bottom="84" />
7576      </bezel>
7677      <bezel name="digit13" element="digit">
77         <bounds left="186" top="105" right="220" bottom="144" />
78         <bounds left="286" top="45" right="306" bottom="84" />
7879      </bezel>
7980      <bezel name="digit14" element="digit">
80         <bounds left="230" top="105" right="264" bottom="144" />
81         <bounds left="310" top="45" right="330" bottom="84" />
8182      </bezel>
8283      <bezel name="digit15" element="digit">
83         <bounds left="274" top="105" right="308" bottom="144" />
84         <bounds left="334" top="45" right="354" bottom="84" />
8485      </bezel>
8586
8687      <!-- Player 3 Score -->
8788      <bezel name="digit17" element="digit">
88         <bounds left="10" top="165" right="44" bottom="204" />
89         <bounds left="10" top="100" right="30" bottom="139" />
8990      </bezel>
9091      <bezel name="digit18" element="digit">
91         <bounds left="54" top="165" right="88" bottom="204" />
92         <bounds left="34" top="100" right="54" bottom="139" />
9293      </bezel>
9394      <bezel name="digit19" element="digit">
94         <bounds left="98" top="165" right="132" bottom="204" />
95         <bounds left="58" top="100" right="78" bottom="139" />
9596      </bezel>
9697      <bezel name="digit20" element="digit">
97         <bounds left="142" top="165" right="176" bottom="204" />
98         <bounds left="82" top="100" right="102" bottom="139" />
9899      </bezel>
99100      <bezel name="digit21" element="digit">
100         <bounds left="186" top="165" right="220" bottom="204" />
101         <bounds left="106" top="100" right="126" bottom="139" />
101102      </bezel>
102103      <bezel name="digit22" element="digit">
103         <bounds left="230" top="165" right="264" bottom="204" />
104         <bounds left="130" top="100" right="150" bottom="139" />
104105      </bezel>
105106      <bezel name="digit23" element="digit">
106         <bounds left="274" top="165" right="308" bottom="204" />
107         <bounds left="154" top="100" right="174" bottom="139" />
107108      </bezel>
108109
109110      <!-- Player 4 Score -->
110111      <bezel name="digit25" element="digit">
111         <bounds left="10" top="225" right="44" bottom="264" />
112         <bounds left="190" top="100" right="210" bottom="139" />
112113      </bezel>
113114      <bezel name="digit26" element="digit">
114         <bounds left="54" top="225" right="88" bottom="264" />
115         <bounds left="214" top="100" right="234" bottom="139" />
115116      </bezel>
116117      <bezel name="digit27" element="digit">
117         <bounds left="98" top="225" right="132" bottom="264" />
118         <bounds left="238" top="100" right="258" bottom="139" />
118119      </bezel>
119120      <bezel name="digit28" element="digit">
120         <bounds left="142" top="225" right="176" bottom="264" />
121         <bounds left="262" top="100" right="282" bottom="139" />
121122      </bezel>
122123      <bezel name="digit29" element="digit">
123         <bounds left="186" top="225" right="220" bottom="264" />
124         <bounds left="286" top="100" right="306" bottom="139" />
124125      </bezel>
125126      <bezel name="digit30" element="digit">
126         <bounds left="230" top="225" right="264" bottom="264" />
127         <bounds left="310" top="100" right="330" bottom="139" />
127128      </bezel>
128129      <bezel name="digit31" element="digit">
129         <bounds left="274" top="225" right="308" bottom="264" />
130         <bounds left="334" top="100" right="354" bottom="139" />
130131      </bezel>
131132
132133      <!-- Credits and Balls -->
133134      <bezel name="digit16" element="digit">
134         <bounds left="10" top="345" right="44" bottom="384" />
135         <bounds left="256" top="200" right="276" bottom="239" />
135136      </bezel>
136137      <bezel name="digit24" element="digit">
137         <bounds left="54" top="345" right="88" bottom="384" />
138         <bounds left="280" top="200" right="300" bottom="239" />
138139      </bezel>
139      <bezel name="digit60" element="diag">
140         <bounds left="142" top="345" right="176" bottom="380" />
140      <bezel name="digit60" element="diagled">
141         <bounds left="200" top="200" right="210" bottom="210" />
141142      </bezel>
143      <bezel name="digit61" element="diagled">
144         <bounds left="200" top="212" right="210" bottom="222" />
145      </bezel>
146      <bezel name="digit62" element="diagled">
147         <bounds left="200" top="224" right="210" bottom="234" />
148      </bezel>
142149      <bezel name="digit0" element="digit">
143         <bounds left="186" top="345" right="220" bottom="384" />
150         <bounds left="310" top="200" right="330" bottom="239" />
144151      </bezel>
145152      <bezel name="digit8" element="digit">
146         <bounds left="230" top="345" right="264" bottom="384" />
153         <bounds left="334" top="200" right="354" bottom="239" />
147154      </bezel>
148      <bezel element="P0"><bounds left="200" right="258" top="330" bottom="342" /></bezel>
149      <bezel element="P1"><bounds left="30" right="88" top="330" bottom="342" /></bezel>
150      <bezel element="P3"><bounds left="100" right="180" top="30" bottom="42" /></bezel>
151      <bezel element="P4"><bounds left="100" right="180" top="90" bottom="102" /></bezel>
152      <bezel element="P5"><bounds left="100" right="180" top="150" bottom="162" /></bezel>
153      <bezel element="P6"><bounds left="100" right="180" top="210" bottom="222" /></bezel>
155      <bezel element="P0"><bounds left="310" right="354" top="180" bottom="192" /></bezel>
156      <bezel element="P1"><bounds left="256" right="300" top="180" bottom="192" /></bezel>
157      <bezel element="P3"><bounds left="10" right="174" top="30" bottom="42" /></bezel>
158      <bezel element="P4"><bounds left="190" right="354" top="30" bottom="42" /></bezel>
159      <bezel element="P5"><bounds left="10" right="174" top="88" bottom="100" /></bezel>
160      <bezel element="P6"><bounds left="190" right="354" top="88" bottom="100" /></bezel>
154161   </view>
155162</mamelayout>
trunk/src/mame/drivers/s11a.c
r19683r19684
1010- Can coin up but not start
1111- Doesn't react to the Advance button very well
1212- Some LEDs flicker
13- Diagnostic LED flips between 7 and 0 regularly
13- Diagnostic LED blinks constantly
1414
1515*****************************************************************************************/
1616
r19683r19684
304304
305305WRITE8_MEMBER( s11a_state::dig0_w )
306306{
307   static const UINT8 patterns[16] = { 0x3f, 0x06, 0x5b, 0x4f, 0x66, 0x6d, 0x7c, 0x07, 0x7f, 0x67, 0x58, 0x4c, 0x62, 0x69, 0x78, 0 }; // 7447
308307   data &= 0x7f;
309308   m_strobe = data & 15;
310309   m_diag = (data & 0x70) >> 4;
311   output_set_digit_value(60, patterns[m_diag]); // diag digit
310   output_set_digit_value(60, 0);  // not connected to PA5 or PA6?
311   output_set_digit_value(61, m_diag & 0x01);  // connected to PA4
312   output_set_digit_value(62, 0);
312313   m_segment1 = 0;
313314   m_segment2 = 0;
314315}

Previous 199869 Revisions Next


© 1997-2024 The MAME Team