Previous 199869 Revisions Next

r19601 Sunday 16th December, 2012 at 21:37:03 UTC by David Haywood
give ec_sphin some lamps (nw)
[src/mame/drivers]ecoinf3.c
[src/mame/layout]ecoinf3.lay

trunk/src/mame/layout/ecoinf3.lay
r19600r19601
66     </led16segsc>
77  </element>
88
9  <element name="matrixlamp">
10    <rect state ="0">
11      <bounds x="0" y="0" width="7" height="7" />
12      <color red="0.7" green="0.7" blue="0.7" />
13    </rect>
14    <rect state ="1">
15      <bounds x="0" y="0" width="7" height="7" />
16      <color red="0.0" green="0.0" blue="1.0" />
17    </rect>
18    <rect state ="2">
19      <bounds x="0" y="0" width="7" height="7" />
20      <color red="0.0" green="1.0" blue="0.0" />
21    </rect>
22  </element>
923
10   <view name="AWP Simulated Video (No Artwork)">
24  <view name="AWP Simulated Video (No Artwork)">
1125   <backdrop name="vfd0" element="vfd0" state="0">
1226         <bounds x="17" y="280" width="7" height="10"/>
1327      </backdrop>
r19600r19601
5266      </backdrop>
5367
5468
55   </view>
69    <backdrop name="lamp0" element="matrixlamp" state="0">
70      <bounds x="0" y="0" width="7" height="7"/>
71    </backdrop>
72    <backdrop name="lamp1" element="matrixlamp" state="0">
73      <bounds x="8" y="0" width="7" height="7"/>
74    </backdrop>
75    <backdrop name="lamp2" element="matrixlamp" state="0">
76      <bounds x="16" y="0" width="7" height="7"/>
77    </backdrop>
78    <backdrop name="lamp3" element="matrixlamp" state="0">
79      <bounds x="24" y="0" width="7" height="7"/>
80    </backdrop>
81    <backdrop name="lamp4" element="matrixlamp" state="0">
82      <bounds x="32" y="0" width="7" height="7"/>
83    </backdrop>
84    <backdrop name="lamp5" element="matrixlamp" state="0">
85      <bounds x="40" y="0" width="7" height="7"/>
86    </backdrop>
87    <backdrop name="lamp6" element="matrixlamp" state="0">
88      <bounds x="48" y="0" width="7" height="7"/>
89    </backdrop>
90    <backdrop name="lamp7" element="matrixlamp" state="0">
91      <bounds x="56" y="0" width="7" height="7"/>
92    </backdrop>
93    <backdrop name="lamp8" element="matrixlamp" state="0">
94      <bounds x="64" y="0" width="7" height="7"/>
95    </backdrop>
96    <backdrop name="lamp9" element="matrixlamp" state="0">
97      <bounds x="72" y="0" width="7" height="7"/>
98    </backdrop>
99    <backdrop name="lamp10" element="matrixlamp" state="0">
100      <bounds x="80" y="0" width="7" height="7"/>
101    </backdrop>
102    <backdrop name="lamp11" element="matrixlamp" state="0">
103      <bounds x="88" y="0" width="7" height="7"/>
104    </backdrop>
105    <backdrop name="lamp12" element="matrixlamp" state="0">
106      <bounds x="96" y="0" width="7" height="7"/>
107    </backdrop>
108    <backdrop name="lamp13" element="matrixlamp" state="0">
109      <bounds x="104" y="0" width="7" height="7"/>
110    </backdrop>
111    <backdrop name="lamp14" element="matrixlamp" state="0">
112      <bounds x="112" y="0" width="7" height="7"/>
113    </backdrop>
114    <backdrop name="lamp15" element="matrixlamp" state="0">
115      <bounds x="120" y="0" width="7" height="7"/>
116    </backdrop>
117    <backdrop name="lamp16" element="matrixlamp" state="0">
118      <bounds x="0" y="8" width="7" height="7"/>
119    </backdrop>
120    <backdrop name="lamp17" element="matrixlamp" state="0">
121      <bounds x="8" y="8" width="7" height="7"/>
122    </backdrop>
123    <backdrop name="lamp18" element="matrixlamp" state="0">
124      <bounds x="16" y="8" width="7" height="7"/>
125    </backdrop>
126    <backdrop name="lamp19" element="matrixlamp" state="0">
127      <bounds x="24" y="8" width="7" height="7"/>
128    </backdrop>
129    <backdrop name="lamp20" element="matrixlamp" state="0">
130      <bounds x="32" y="8" width="7" height="7"/>
131    </backdrop>
132    <backdrop name="lamp21" element="matrixlamp" state="0">
133      <bounds x="40" y="8" width="7" height="7"/>
134    </backdrop>
135    <backdrop name="lamp22" element="matrixlamp" state="0">
136      <bounds x="48" y="8" width="7" height="7"/>
137    </backdrop>
138    <backdrop name="lamp23" element="matrixlamp" state="0">
139      <bounds x="56" y="8" width="7" height="7"/>
140    </backdrop>
141    <backdrop name="lamp24" element="matrixlamp" state="0">
142      <bounds x="64" y="8" width="7" height="7"/>
143    </backdrop>
144    <backdrop name="lamp25" element="matrixlamp" state="0">
145      <bounds x="72" y="8" width="7" height="7"/>
146    </backdrop>
147    <backdrop name="lamp26" element="matrixlamp" state="0">
148      <bounds x="80" y="8" width="7" height="7"/>
149    </backdrop>
150    <backdrop name="lamp27" element="matrixlamp" state="0">
151      <bounds x="88" y="8" width="7" height="7"/>
152    </backdrop>
153    <backdrop name="lamp28" element="matrixlamp" state="0">
154      <bounds x="96" y="8" width="7" height="7"/>
155    </backdrop>
156    <backdrop name="lamp29" element="matrixlamp" state="0">
157      <bounds x="104" y="8" width="7" height="7"/>
158    </backdrop>
159    <backdrop name="lamp30" element="matrixlamp" state="0">
160      <bounds x="112" y="8" width="7" height="7"/>
161    </backdrop>
162    <backdrop name="lamp31" element="matrixlamp" state="0">
163      <bounds x="120" y="8" width="7" height="7"/>
164    </backdrop>
165    <backdrop name="lamp32" element="matrixlamp" state="0">
166      <bounds x="0" y="16" width="7" height="7"/>
167    </backdrop>
168    <backdrop name="lamp33" element="matrixlamp" state="0">
169      <bounds x="8" y="16" width="7" height="7"/>
170    </backdrop>
171    <backdrop name="lamp34" element="matrixlamp" state="0">
172      <bounds x="16" y="16" width="7" height="7"/>
173    </backdrop>
174    <backdrop name="lamp35" element="matrixlamp" state="0">
175      <bounds x="24" y="16" width="7" height="7"/>
176    </backdrop>
177    <backdrop name="lamp36" element="matrixlamp" state="0">
178      <bounds x="32" y="16" width="7" height="7"/>
179    </backdrop>
180    <backdrop name="lamp37" element="matrixlamp" state="0">
181      <bounds x="40" y="16" width="7" height="7"/>
182    </backdrop>
183    <backdrop name="lamp38" element="matrixlamp" state="0">
184      <bounds x="48" y="16" width="7" height="7"/>
185    </backdrop>
186    <backdrop name="lamp39" element="matrixlamp" state="0">
187      <bounds x="56" y="16" width="7" height="7"/>
188    </backdrop>
189    <backdrop name="lamp40" element="matrixlamp" state="0">
190      <bounds x="64" y="16" width="7" height="7"/>
191    </backdrop>
192    <backdrop name="lamp41" element="matrixlamp" state="0">
193      <bounds x="72" y="16" width="7" height="7"/>
194    </backdrop>
195    <backdrop name="lamp42" element="matrixlamp" state="0">
196      <bounds x="80" y="16" width="7" height="7"/>
197    </backdrop>
198    <backdrop name="lamp43" element="matrixlamp" state="0">
199      <bounds x="88" y="16" width="7" height="7"/>
200    </backdrop>
201    <backdrop name="lamp44" element="matrixlamp" state="0">
202      <bounds x="96" y="16" width="7" height="7"/>
203    </backdrop>
204    <backdrop name="lamp45" element="matrixlamp" state="0">
205      <bounds x="104" y="16" width="7" height="7"/>
206    </backdrop>
207    <backdrop name="lamp46" element="matrixlamp" state="0">
208      <bounds x="112" y="16" width="7" height="7"/>
209    </backdrop>
210    <backdrop name="lamp47" element="matrixlamp" state="0">
211      <bounds x="120" y="16" width="7" height="7"/>
212    </backdrop>
213    <backdrop name="lamp48" element="matrixlamp" state="0">
214      <bounds x="0" y="24" width="7" height="7"/>
215    </backdrop>
216    <backdrop name="lamp49" element="matrixlamp" state="0">
217      <bounds x="8" y="24" width="7" height="7"/>
218    </backdrop>
219    <backdrop name="lamp50" element="matrixlamp" state="0">
220      <bounds x="16" y="24" width="7" height="7"/>
221    </backdrop>
222    <backdrop name="lamp51" element="matrixlamp" state="0">
223      <bounds x="24" y="24" width="7" height="7"/>
224    </backdrop>
225    <backdrop name="lamp52" element="matrixlamp" state="0">
226      <bounds x="32" y="24" width="7" height="7"/>
227    </backdrop>
228    <backdrop name="lamp53" element="matrixlamp" state="0">
229      <bounds x="40" y="24" width="7" height="7"/>
230    </backdrop>
231    <backdrop name="lamp54" element="matrixlamp" state="0">
232      <bounds x="48" y="24" width="7" height="7"/>
233    </backdrop>
234    <backdrop name="lamp55" element="matrixlamp" state="0">
235      <bounds x="56" y="24" width="7" height="7"/>
236    </backdrop>
237    <backdrop name="lamp56" element="matrixlamp" state="0">
238      <bounds x="64" y="24" width="7" height="7"/>
239    </backdrop>
240    <backdrop name="lamp57" element="matrixlamp" state="0">
241      <bounds x="72" y="24" width="7" height="7"/>
242    </backdrop>
243    <backdrop name="lamp58" element="matrixlamp" state="0">
244      <bounds x="80" y="24" width="7" height="7"/>
245    </backdrop>
246    <backdrop name="lamp59" element="matrixlamp" state="0">
247      <bounds x="88" y="24" width="7" height="7"/>
248    </backdrop>
249    <backdrop name="lamp60" element="matrixlamp" state="0">
250      <bounds x="96" y="24" width="7" height="7"/>
251    </backdrop>
252    <backdrop name="lamp61" element="matrixlamp" state="0">
253      <bounds x="104" y="24" width="7" height="7"/>
254    </backdrop>
255    <backdrop name="lamp62" element="matrixlamp" state="0">
256      <bounds x="112" y="24" width="7" height="7"/>
257    </backdrop>
258    <backdrop name="lamp63" element="matrixlamp" state="0">
259      <bounds x="120" y="24" width="7" height="7"/>
260    </backdrop>
261    <backdrop name="lamp64" element="matrixlamp" state="0">
262      <bounds x="0" y="32" width="7" height="7"/>
263    </backdrop>
264    <backdrop name="lamp65" element="matrixlamp" state="0">
265      <bounds x="8" y="32" width="7" height="7"/>
266    </backdrop>
267    <backdrop name="lamp66" element="matrixlamp" state="0">
268      <bounds x="16" y="32" width="7" height="7"/>
269    </backdrop>
270    <backdrop name="lamp67" element="matrixlamp" state="0">
271      <bounds x="24" y="32" width="7" height="7"/>
272    </backdrop>
273    <backdrop name="lamp68" element="matrixlamp" state="0">
274      <bounds x="32" y="32" width="7" height="7"/>
275    </backdrop>
276    <backdrop name="lamp69" element="matrixlamp" state="0">
277      <bounds x="40" y="32" width="7" height="7"/>
278    </backdrop>
279    <backdrop name="lamp70" element="matrixlamp" state="0">
280      <bounds x="48" y="32" width="7" height="7"/>
281    </backdrop>
282    <backdrop name="lamp71" element="matrixlamp" state="0">
283      <bounds x="56" y="32" width="7" height="7"/>
284    </backdrop>
285    <backdrop name="lamp72" element="matrixlamp" state="0">
286      <bounds x="64" y="32" width="7" height="7"/>
287    </backdrop>
288    <backdrop name="lamp73" element="matrixlamp" state="0">
289      <bounds x="72" y="32" width="7" height="7"/>
290    </backdrop>
291    <backdrop name="lamp74" element="matrixlamp" state="0">
292      <bounds x="80" y="32" width="7" height="7"/>
293    </backdrop>
294    <backdrop name="lamp75" element="matrixlamp" state="0">
295      <bounds x="88" y="32" width="7" height="7"/>
296    </backdrop>
297    <backdrop name="lamp76" element="matrixlamp" state="0">
298      <bounds x="96" y="32" width="7" height="7"/>
299    </backdrop>
300    <backdrop name="lamp77" element="matrixlamp" state="0">
301      <bounds x="104" y="32" width="7" height="7"/>
302    </backdrop>
303    <backdrop name="lamp78" element="matrixlamp" state="0">
304      <bounds x="112" y="32" width="7" height="7"/>
305    </backdrop>
306    <backdrop name="lamp79" element="matrixlamp" state="0">
307      <bounds x="120" y="32" width="7" height="7"/>
308    </backdrop>
309    <backdrop name="lamp80" element="matrixlamp" state="0">
310      <bounds x="0" y="40" width="7" height="7"/>
311    </backdrop>
312    <backdrop name="lamp81" element="matrixlamp" state="0">
313      <bounds x="8" y="40" width="7" height="7"/>
314    </backdrop>
315    <backdrop name="lamp82" element="matrixlamp" state="0">
316      <bounds x="16" y="40" width="7" height="7"/>
317    </backdrop>
318    <backdrop name="lamp83" element="matrixlamp" state="0">
319      <bounds x="24" y="40" width="7" height="7"/>
320    </backdrop>
321    <backdrop name="lamp84" element="matrixlamp" state="0">
322      <bounds x="32" y="40" width="7" height="7"/>
323    </backdrop>
324    <backdrop name="lamp85" element="matrixlamp" state="0">
325      <bounds x="40" y="40" width="7" height="7"/>
326    </backdrop>
327    <backdrop name="lamp86" element="matrixlamp" state="0">
328      <bounds x="48" y="40" width="7" height="7"/>
329    </backdrop>
330    <backdrop name="lamp87" element="matrixlamp" state="0">
331      <bounds x="56" y="40" width="7" height="7"/>
332    </backdrop>
333    <backdrop name="lamp88" element="matrixlamp" state="0">
334      <bounds x="64" y="40" width="7" height="7"/>
335    </backdrop>
336    <backdrop name="lamp89" element="matrixlamp" state="0">
337      <bounds x="72" y="40" width="7" height="7"/>
338    </backdrop>
339    <backdrop name="lamp90" element="matrixlamp" state="0">
340      <bounds x="80" y="40" width="7" height="7"/>
341    </backdrop>
342    <backdrop name="lamp91" element="matrixlamp" state="0">
343      <bounds x="88" y="40" width="7" height="7"/>
344    </backdrop>
345    <backdrop name="lamp92" element="matrixlamp" state="0">
346      <bounds x="96" y="40" width="7" height="7"/>
347    </backdrop>
348    <backdrop name="lamp93" element="matrixlamp" state="0">
349      <bounds x="104" y="40" width="7" height="7"/>
350    </backdrop>
351    <backdrop name="lamp94" element="matrixlamp" state="0">
352      <bounds x="112" y="40" width="7" height="7"/>
353    </backdrop>
354    <backdrop name="lamp95" element="matrixlamp" state="0">
355      <bounds x="120" y="40" width="7" height="7"/>
356    </backdrop>
357    <backdrop name="lamp96" element="matrixlamp" state="0">
358      <bounds x="0" y="48" width="7" height="7"/>
359    </backdrop>
360    <backdrop name="lamp97" element="matrixlamp" state="0">
361      <bounds x="8" y="48" width="7" height="7"/>
362    </backdrop>
363    <backdrop name="lamp98" element="matrixlamp" state="0">
364      <bounds x="16" y="48" width="7" height="7"/>
365    </backdrop>
366    <backdrop name="lamp99" element="matrixlamp" state="0">
367      <bounds x="24" y="48" width="7" height="7"/>
368    </backdrop>
369    <backdrop name="lamp100" element="matrixlamp" state="0">
370      <bounds x="32" y="48" width="7" height="7"/>
371    </backdrop>
372    <backdrop name="lamp101" element="matrixlamp" state="0">
373      <bounds x="40" y="48" width="7" height="7"/>
374    </backdrop>
375    <backdrop name="lamp102" element="matrixlamp" state="0">
376      <bounds x="48" y="48" width="7" height="7"/>
377    </backdrop>
378    <backdrop name="lamp103" element="matrixlamp" state="0">
379      <bounds x="56" y="48" width="7" height="7"/>
380    </backdrop>
381    <backdrop name="lamp104" element="matrixlamp" state="0">
382      <bounds x="64" y="48" width="7" height="7"/>
383    </backdrop>
384    <backdrop name="lamp105" element="matrixlamp" state="0">
385      <bounds x="72" y="48" width="7" height="7"/>
386    </backdrop>
387    <backdrop name="lamp106" element="matrixlamp" state="0">
388      <bounds x="80" y="48" width="7" height="7"/>
389    </backdrop>
390    <backdrop name="lamp107" element="matrixlamp" state="0">
391      <bounds x="88" y="48" width="7" height="7"/>
392    </backdrop>
393    <backdrop name="lamp108" element="matrixlamp" state="0">
394      <bounds x="96" y="48" width="7" height="7"/>
395    </backdrop>
396    <backdrop name="lamp109" element="matrixlamp" state="0">
397      <bounds x="104" y="48" width="7" height="7"/>
398    </backdrop>
399    <backdrop name="lamp110" element="matrixlamp" state="0">
400      <bounds x="112" y="48" width="7" height="7"/>
401    </backdrop>
402    <backdrop name="lamp111" element="matrixlamp" state="0">
403      <bounds x="120" y="48" width="7" height="7"/>
404    </backdrop>
405    <backdrop name="lamp112" element="matrixlamp" state="0">
406      <bounds x="0" y="56" width="7" height="7"/>
407    </backdrop>
408    <backdrop name="lamp113" element="matrixlamp" state="0">
409      <bounds x="8" y="56" width="7" height="7"/>
410    </backdrop>
411    <backdrop name="lamp114" element="matrixlamp" state="0">
412      <bounds x="16" y="56" width="7" height="7"/>
413    </backdrop>
414    <backdrop name="lamp115" element="matrixlamp" state="0">
415      <bounds x="24" y="56" width="7" height="7"/>
416    </backdrop>
417    <backdrop name="lamp116" element="matrixlamp" state="0">
418      <bounds x="32" y="56" width="7" height="7"/>
419    </backdrop>
420    <backdrop name="lamp117" element="matrixlamp" state="0">
421      <bounds x="40" y="56" width="7" height="7"/>
422    </backdrop>
423    <backdrop name="lamp118" element="matrixlamp" state="0">
424      <bounds x="48" y="56" width="7" height="7"/>
425    </backdrop>
426    <backdrop name="lamp119" element="matrixlamp" state="0">
427      <bounds x="56" y="56" width="7" height="7"/>
428    </backdrop>
429    <backdrop name="lamp120" element="matrixlamp" state="0">
430      <bounds x="64" y="56" width="7" height="7"/>
431    </backdrop>
432    <backdrop name="lamp121" element="matrixlamp" state="0">
433      <bounds x="72" y="56" width="7" height="7"/>
434    </backdrop>
435    <backdrop name="lamp122" element="matrixlamp" state="0">
436      <bounds x="80" y="56" width="7" height="7"/>
437    </backdrop>
438    <backdrop name="lamp123" element="matrixlamp" state="0">
439      <bounds x="88" y="56" width="7" height="7"/>
440    </backdrop>
441    <backdrop name="lamp124" element="matrixlamp" state="0">
442      <bounds x="96" y="56" width="7" height="7"/>
443    </backdrop>
444    <backdrop name="lamp125" element="matrixlamp" state="0">
445      <bounds x="104" y="56" width="7" height="7"/>
446    </backdrop>
447    <backdrop name="lamp126" element="matrixlamp" state="0">
448      <bounds x="112" y="56" width="7" height="7"/>
449    </backdrop>
450    <backdrop name="lamp127" element="matrixlamp" state="0">
451      <bounds x="120" y="56" width="7" height="7"/>
452    </backdrop>
453    <backdrop name="lamp128" element="matrixlamp" state="0">
454      <bounds x="0" y="64" width="7" height="7"/>
455    </backdrop>
456    <backdrop name="lamp129" element="matrixlamp" state="0">
457      <bounds x="8" y="64" width="7" height="7"/>
458    </backdrop>
459    <backdrop name="lamp130" element="matrixlamp" state="0">
460      <bounds x="16" y="64" width="7" height="7"/>
461    </backdrop>
462    <backdrop name="lamp131" element="matrixlamp" state="0">
463      <bounds x="24" y="64" width="7" height="7"/>
464    </backdrop>
465    <backdrop name="lamp132" element="matrixlamp" state="0">
466      <bounds x="32" y="64" width="7" height="7"/>
467    </backdrop>
468    <backdrop name="lamp133" element="matrixlamp" state="0">
469      <bounds x="40" y="64" width="7" height="7"/>
470    </backdrop>
471    <backdrop name="lamp134" element="matrixlamp" state="0">
472      <bounds x="48" y="64" width="7" height="7"/>
473    </backdrop>
474    <backdrop name="lamp135" element="matrixlamp" state="0">
475      <bounds x="56" y="64" width="7" height="7"/>
476    </backdrop>
477    <backdrop name="lamp136" element="matrixlamp" state="0">
478      <bounds x="64" y="64" width="7" height="7"/>
479    </backdrop>
480    <backdrop name="lamp137" element="matrixlamp" state="0">
481      <bounds x="72" y="64" width="7" height="7"/>
482    </backdrop>
483    <backdrop name="lamp138" element="matrixlamp" state="0">
484      <bounds x="80" y="64" width="7" height="7"/>
485    </backdrop>
486    <backdrop name="lamp139" element="matrixlamp" state="0">
487      <bounds x="88" y="64" width="7" height="7"/>
488    </backdrop>
489    <backdrop name="lamp140" element="matrixlamp" state="0">
490      <bounds x="96" y="64" width="7" height="7"/>
491    </backdrop>
492    <backdrop name="lamp141" element="matrixlamp" state="0">
493      <bounds x="104" y="64" width="7" height="7"/>
494    </backdrop>
495    <backdrop name="lamp142" element="matrixlamp" state="0">
496      <bounds x="112" y="64" width="7" height="7"/>
497    </backdrop>
498    <backdrop name="lamp143" element="matrixlamp" state="0">
499      <bounds x="120" y="64" width="7" height="7"/>
500    </backdrop>
501    <backdrop name="lamp144" element="matrixlamp" state="0">
502      <bounds x="0" y="72" width="7" height="7"/>
503    </backdrop>
504    <backdrop name="lamp145" element="matrixlamp" state="0">
505      <bounds x="8" y="72" width="7" height="7"/>
506    </backdrop>
507    <backdrop name="lamp146" element="matrixlamp" state="0">
508      <bounds x="16" y="72" width="7" height="7"/>
509    </backdrop>
510    <backdrop name="lamp147" element="matrixlamp" state="0">
511      <bounds x="24" y="72" width="7" height="7"/>
512    </backdrop>
513    <backdrop name="lamp148" element="matrixlamp" state="0">
514      <bounds x="32" y="72" width="7" height="7"/>
515    </backdrop>
516    <backdrop name="lamp149" element="matrixlamp" state="0">
517      <bounds x="40" y="72" width="7" height="7"/>
518    </backdrop>
519    <backdrop name="lamp150" element="matrixlamp" state="0">
520      <bounds x="48" y="72" width="7" height="7"/>
521    </backdrop>
522    <backdrop name="lamp151" element="matrixlamp" state="0">
523      <bounds x="56" y="72" width="7" height="7"/>
524    </backdrop>
525    <backdrop name="lamp152" element="matrixlamp" state="0">
526      <bounds x="64" y="72" width="7" height="7"/>
527    </backdrop>
528    <backdrop name="lamp153" element="matrixlamp" state="0">
529      <bounds x="72" y="72" width="7" height="7"/>
530    </backdrop>
531    <backdrop name="lamp154" element="matrixlamp" state="0">
532      <bounds x="80" y="72" width="7" height="7"/>
533    </backdrop>
534    <backdrop name="lamp155" element="matrixlamp" state="0">
535      <bounds x="88" y="72" width="7" height="7"/>
536    </backdrop>
537    <backdrop name="lamp156" element="matrixlamp" state="0">
538      <bounds x="96" y="72" width="7" height="7"/>
539    </backdrop>
540    <backdrop name="lamp157" element="matrixlamp" state="0">
541      <bounds x="104" y="72" width="7" height="7"/>
542    </backdrop>
543    <backdrop name="lamp158" element="matrixlamp" state="0">
544      <bounds x="112" y="72" width="7" height="7"/>
545    </backdrop>
546    <backdrop name="lamp159" element="matrixlamp" state="0">
547      <bounds x="120" y="72" width="7" height="7"/>
548    </backdrop>
549    <backdrop name="lamp160" element="matrixlamp" state="0">
550      <bounds x="0" y="80" width="7" height="7"/>
551    </backdrop>
552    <backdrop name="lamp161" element="matrixlamp" state="0">
553      <bounds x="8" y="80" width="7" height="7"/>
554    </backdrop>
555    <backdrop name="lamp162" element="matrixlamp" state="0">
556      <bounds x="16" y="80" width="7" height="7"/>
557    </backdrop>
558    <backdrop name="lamp163" element="matrixlamp" state="0">
559      <bounds x="24" y="80" width="7" height="7"/>
560    </backdrop>
561    <backdrop name="lamp164" element="matrixlamp" state="0">
562      <bounds x="32" y="80" width="7" height="7"/>
563    </backdrop>
564    <backdrop name="lamp165" element="matrixlamp" state="0">
565      <bounds x="40" y="80" width="7" height="7"/>
566    </backdrop>
567    <backdrop name="lamp166" element="matrixlamp" state="0">
568      <bounds x="48" y="80" width="7" height="7"/>
569    </backdrop>
570    <backdrop name="lamp167" element="matrixlamp" state="0">
571      <bounds x="56" y="80" width="7" height="7"/>
572    </backdrop>
573    <backdrop name="lamp168" element="matrixlamp" state="0">
574      <bounds x="64" y="80" width="7" height="7"/>
575    </backdrop>
576    <backdrop name="lamp169" element="matrixlamp" state="0">
577      <bounds x="72" y="80" width="7" height="7"/>
578    </backdrop>
579    <backdrop name="lamp170" element="matrixlamp" state="0">
580      <bounds x="80" y="80" width="7" height="7"/>
581    </backdrop>
582    <backdrop name="lamp171" element="matrixlamp" state="0">
583      <bounds x="88" y="80" width="7" height="7"/>
584    </backdrop>
585    <backdrop name="lamp172" element="matrixlamp" state="0">
586      <bounds x="96" y="80" width="7" height="7"/>
587    </backdrop>
588    <backdrop name="lamp173" element="matrixlamp" state="0">
589      <bounds x="104" y="80" width="7" height="7"/>
590    </backdrop>
591    <backdrop name="lamp174" element="matrixlamp" state="0">
592      <bounds x="112" y="80" width="7" height="7"/>
593    </backdrop>
594    <backdrop name="lamp175" element="matrixlamp" state="0">
595      <bounds x="120" y="80" width="7" height="7"/>
596    </backdrop>
597    <backdrop name="lamp176" element="matrixlamp" state="0">
598      <bounds x="0" y="88" width="7" height="7"/>
599    </backdrop>
600    <backdrop name="lamp177" element="matrixlamp" state="0">
601      <bounds x="8" y="88" width="7" height="7"/>
602    </backdrop>
603    <backdrop name="lamp178" element="matrixlamp" state="0">
604      <bounds x="16" y="88" width="7" height="7"/>
605    </backdrop>
606    <backdrop name="lamp179" element="matrixlamp" state="0">
607      <bounds x="24" y="88" width="7" height="7"/>
608    </backdrop>
609    <backdrop name="lamp180" element="matrixlamp" state="0">
610      <bounds x="32" y="88" width="7" height="7"/>
611    </backdrop>
612    <backdrop name="lamp181" element="matrixlamp" state="0">
613      <bounds x="40" y="88" width="7" height="7"/>
614    </backdrop>
615    <backdrop name="lamp182" element="matrixlamp" state="0">
616      <bounds x="48" y="88" width="7" height="7"/>
617    </backdrop>
618    <backdrop name="lamp183" element="matrixlamp" state="0">
619      <bounds x="56" y="88" width="7" height="7"/>
620    </backdrop>
621    <backdrop name="lamp184" element="matrixlamp" state="0">
622      <bounds x="64" y="88" width="7" height="7"/>
623    </backdrop>
624    <backdrop name="lamp185" element="matrixlamp" state="0">
625      <bounds x="72" y="88" width="7" height="7"/>
626    </backdrop>
627    <backdrop name="lamp186" element="matrixlamp" state="0">
628      <bounds x="80" y="88" width="7" height="7"/>
629    </backdrop>
630    <backdrop name="lamp187" element="matrixlamp" state="0">
631      <bounds x="88" y="88" width="7" height="7"/>
632    </backdrop>
633    <backdrop name="lamp188" element="matrixlamp" state="0">
634      <bounds x="96" y="88" width="7" height="7"/>
635    </backdrop>
636    <backdrop name="lamp189" element="matrixlamp" state="0">
637      <bounds x="104" y="88" width="7" height="7"/>
638    </backdrop>
639    <backdrop name="lamp190" element="matrixlamp" state="0">
640      <bounds x="112" y="88" width="7" height="7"/>
641    </backdrop>
642    <backdrop name="lamp191" element="matrixlamp" state="0">
643      <bounds x="120" y="88" width="7" height="7"/>
644    </backdrop>
645    <backdrop name="lamp192" element="matrixlamp" state="0">
646      <bounds x="0" y="96" width="7" height="7"/>
647    </backdrop>
648    <backdrop name="lamp193" element="matrixlamp" state="0">
649      <bounds x="8" y="96" width="7" height="7"/>
650    </backdrop>
651    <backdrop name="lamp194" element="matrixlamp" state="0">
652      <bounds x="16" y="96" width="7" height="7"/>
653    </backdrop>
654    <backdrop name="lamp195" element="matrixlamp" state="0">
655      <bounds x="24" y="96" width="7" height="7"/>
656    </backdrop>
657    <backdrop name="lamp196" element="matrixlamp" state="0">
658      <bounds x="32" y="96" width="7" height="7"/>
659    </backdrop>
660    <backdrop name="lamp197" element="matrixlamp" state="0">
661      <bounds x="40" y="96" width="7" height="7"/>
662    </backdrop>
663    <backdrop name="lamp198" element="matrixlamp" state="0">
664      <bounds x="48" y="96" width="7" height="7"/>
665    </backdrop>
666    <backdrop name="lamp199" element="matrixlamp" state="0">
667      <bounds x="56" y="96" width="7" height="7"/>
668    </backdrop>
669    <backdrop name="lamp200" element="matrixlamp" state="0">
670      <bounds x="64" y="96" width="7" height="7"/>
671    </backdrop>
672    <backdrop name="lamp201" element="matrixlamp" state="0">
673      <bounds x="72" y="96" width="7" height="7"/>
674    </backdrop>
675    <backdrop name="lamp202" element="matrixlamp" state="0">
676      <bounds x="80" y="96" width="7" height="7"/>
677    </backdrop>
678    <backdrop name="lamp203" element="matrixlamp" state="0">
679      <bounds x="88" y="96" width="7" height="7"/>
680    </backdrop>
681    <backdrop name="lamp204" element="matrixlamp" state="0">
682      <bounds x="96" y="96" width="7" height="7"/>
683    </backdrop>
684    <backdrop name="lamp205" element="matrixlamp" state="0">
685      <bounds x="104" y="96" width="7" height="7"/>
686    </backdrop>
687    <backdrop name="lamp206" element="matrixlamp" state="0">
688      <bounds x="112" y="96" width="7" height="7"/>
689    </backdrop>
690    <backdrop name="lamp207" element="matrixlamp" state="0">
691      <bounds x="120" y="96" width="7" height="7"/>
692    </backdrop>
693    <backdrop name="lamp208" element="matrixlamp" state="0">
694      <bounds x="0" y="104" width="7" height="7"/>
695    </backdrop>
696    <backdrop name="lamp209" element="matrixlamp" state="0">
697      <bounds x="8" y="104" width="7" height="7"/>
698    </backdrop>
699    <backdrop name="lamp210" element="matrixlamp" state="0">
700      <bounds x="16" y="104" width="7" height="7"/>
701    </backdrop>
702    <backdrop name="lamp211" element="matrixlamp" state="0">
703      <bounds x="24" y="104" width="7" height="7"/>
704    </backdrop>
705    <backdrop name="lamp212" element="matrixlamp" state="0">
706      <bounds x="32" y="104" width="7" height="7"/>
707    </backdrop>
708    <backdrop name="lamp213" element="matrixlamp" state="0">
709      <bounds x="40" y="104" width="7" height="7"/>
710    </backdrop>
711    <backdrop name="lamp214" element="matrixlamp" state="0">
712      <bounds x="48" y="104" width="7" height="7"/>
713    </backdrop>
714    <backdrop name="lamp215" element="matrixlamp" state="0">
715      <bounds x="56" y="104" width="7" height="7"/>
716    </backdrop>
717    <backdrop name="lamp216" element="matrixlamp" state="0">
718      <bounds x="64" y="104" width="7" height="7"/>
719    </backdrop>
720    <backdrop name="lamp217" element="matrixlamp" state="0">
721      <bounds x="72" y="104" width="7" height="7"/>
722    </backdrop>
723    <backdrop name="lamp218" element="matrixlamp" state="0">
724      <bounds x="80" y="104" width="7" height="7"/>
725    </backdrop>
726    <backdrop name="lamp219" element="matrixlamp" state="0">
727      <bounds x="88" y="104" width="7" height="7"/>
728    </backdrop>
729    <backdrop name="lamp220" element="matrixlamp" state="0">
730      <bounds x="96" y="104" width="7" height="7"/>
731    </backdrop>
732    <backdrop name="lamp221" element="matrixlamp" state="0">
733      <bounds x="104" y="104" width="7" height="7"/>
734    </backdrop>
735    <backdrop name="lamp222" element="matrixlamp" state="0">
736      <bounds x="112" y="104" width="7" height="7"/>
737    </backdrop>
738    <backdrop name="lamp223" element="matrixlamp" state="0">
739      <bounds x="120" y="104" width="7" height="7"/>
740    </backdrop>
741    <backdrop name="lamp224" element="matrixlamp" state="0">
742      <bounds x="0" y="112" width="7" height="7"/>
743    </backdrop>
744    <backdrop name="lamp225" element="matrixlamp" state="0">
745      <bounds x="8" y="112" width="7" height="7"/>
746    </backdrop>
747    <backdrop name="lamp226" element="matrixlamp" state="0">
748      <bounds x="16" y="112" width="7" height="7"/>
749    </backdrop>
750    <backdrop name="lamp227" element="matrixlamp" state="0">
751      <bounds x="24" y="112" width="7" height="7"/>
752    </backdrop>
753    <backdrop name="lamp228" element="matrixlamp" state="0">
754      <bounds x="32" y="112" width="7" height="7"/>
755    </backdrop>
756    <backdrop name="lamp229" element="matrixlamp" state="0">
757      <bounds x="40" y="112" width="7" height="7"/>
758    </backdrop>
759    <backdrop name="lamp230" element="matrixlamp" state="0">
760      <bounds x="48" y="112" width="7" height="7"/>
761    </backdrop>
762    <backdrop name="lamp231" element="matrixlamp" state="0">
763      <bounds x="56" y="112" width="7" height="7"/>
764    </backdrop>
765    <backdrop name="lamp232" element="matrixlamp" state="0">
766      <bounds x="64" y="112" width="7" height="7"/>
767    </backdrop>
768    <backdrop name="lamp233" element="matrixlamp" state="0">
769      <bounds x="72" y="112" width="7" height="7"/>
770    </backdrop>
771    <backdrop name="lamp234" element="matrixlamp" state="0">
772      <bounds x="80" y="112" width="7" height="7"/>
773    </backdrop>
774    <backdrop name="lamp235" element="matrixlamp" state="0">
775      <bounds x="88" y="112" width="7" height="7"/>
776    </backdrop>
777    <backdrop name="lamp236" element="matrixlamp" state="0">
778      <bounds x="96" y="112" width="7" height="7"/>
779    </backdrop>
780    <backdrop name="lamp237" element="matrixlamp" state="0">
781      <bounds x="104" y="112" width="7" height="7"/>
782    </backdrop>
783    <backdrop name="lamp238" element="matrixlamp" state="0">
784      <bounds x="112" y="112" width="7" height="7"/>
785    </backdrop>
786    <backdrop name="lamp239" element="matrixlamp" state="0">
787      <bounds x="120" y="112" width="7" height="7"/>
788    </backdrop>
789    <backdrop name="lamp240" element="matrixlamp" state="0">
790      <bounds x="0" y="120" width="7" height="7"/>
791    </backdrop>
792    <backdrop name="lamp241" element="matrixlamp" state="0">
793      <bounds x="8" y="120" width="7" height="7"/>
794    </backdrop>
795    <backdrop name="lamp242" element="matrixlamp" state="0">
796      <bounds x="16" y="120" width="7" height="7"/>
797    </backdrop>
798    <backdrop name="lamp243" element="matrixlamp" state="0">
799      <bounds x="24" y="120" width="7" height="7"/>
800    </backdrop>
801    <backdrop name="lamp244" element="matrixlamp" state="0">
802      <bounds x="32" y="120" width="7" height="7"/>
803    </backdrop>
804    <backdrop name="lamp245" element="matrixlamp" state="0">
805      <bounds x="40" y="120" width="7" height="7"/>
806    </backdrop>
807    <backdrop name="lamp246" element="matrixlamp" state="0">
808      <bounds x="48" y="120" width="7" height="7"/>
809    </backdrop>
810    <backdrop name="lamp247" element="matrixlamp" state="0">
811      <bounds x="56" y="120" width="7" height="7"/>
812    </backdrop>
813    <backdrop name="lamp248" element="matrixlamp" state="0">
814      <bounds x="64" y="120" width="7" height="7"/>
815    </backdrop>
816    <backdrop name="lamp249" element="matrixlamp" state="0">
817      <bounds x="72" y="120" width="7" height="7"/>
818    </backdrop>
819    <backdrop name="lamp250" element="matrixlamp" state="0">
820      <bounds x="80" y="120" width="7" height="7"/>
821    </backdrop>
822    <backdrop name="lamp251" element="matrixlamp" state="0">
823      <bounds x="88" y="120" width="7" height="7"/>
824    </backdrop>
825    <backdrop name="lamp252" element="matrixlamp" state="0">
826      <bounds x="96" y="120" width="7" height="7"/>
827    </backdrop>
828    <backdrop name="lamp253" element="matrixlamp" state="0">
829      <bounds x="104" y="120" width="7" height="7"/>
830    </backdrop>
831    <backdrop name="lamp254" element="matrixlamp" state="0">
832      <bounds x="112" y="120" width="7" height="7"/>
833    </backdrop>
834    <backdrop name="lamp255" element="matrixlamp" state="0">
835      <bounds x="120" y="120" width="7" height="7"/>
836    </backdrop>
837
838
839  </view>
56840</mamelayout>
57841
trunk/src/mame/drivers/ecoinf3.c
r19600r19601
66// assuming this is like the other hardware EC produced the IO devices should probably
77// be several 8255s on 4-byte boundaries
88
9// what is the sound hardware on this one?
9// what is the sound hardware on this one? (should there be sound roms, or does the main CPU drive it directly?)
1010
1111// 2 of the sets contain program scrambled roms (where the last 0x2000 bytes match between games) why, badly dumped?
1212
r19600r19601
1919{
2020public:
2121   ecoinf3_state(const machine_config &mconfig, device_type type, const char *tag)
22      : driver_device(mconfig, type, tag) { }
22      : driver_device(mconfig, type, tag),
23      m_maincpu(*this, "maincpu")
24   {
25      strobe_amount = 0;
26      strobe_addr = 0;
27   }
2328
29   required_device<z180_device> m_maincpu;
2430
25
31   UINT16 m_lamps[16];
2632   UINT16 m_chars[14];
2733   void update_display();
2834
29   DECLARE_WRITE8_MEMBER(ppi8255_intf_e_write_a);
30   DECLARE_WRITE8_MEMBER(ppi8255_intf_e_write_b);
31   DECLARE_WRITE8_MEMBER(ppi8255_intf_e_write_c);
35   int strobe_addr;
36   int strobe_amount;
37
38   DECLARE_READ8_MEMBER(ppi8255_intf_a_read_a) { int ret = 0x00; logerror("%04x - ppi8255_intf_a_read_a %02x\n", machine().device("maincpu")->safe_pcbase(), ret); return ret; }
39   DECLARE_READ8_MEMBER(ppi8255_intf_a_read_b) { int ret = 0x00; logerror("%04x - ppi8255_intf_a_(used)read_b %02x\n", machine().device("maincpu")->safe_pcbase(), ret); return ret; }
40   DECLARE_READ8_MEMBER(ppi8255_intf_a_read_c) { int ret = 0x00; logerror("%04x - ppi8255_intf_a_read_c %02x\n", machine().device("maincpu")->safe_pcbase(), ret); return ret; }
41
42   DECLARE_READ8_MEMBER(ppi8255_intf_b_read_a) { int ret = 0x00; logerror("%04x - ppi8255_intf_b_read_a %02x\n", machine().device("maincpu")->safe_pcbase(), ret); return ret; }
43   DECLARE_READ8_MEMBER(ppi8255_intf_b_read_b) { int ret = 0x00; logerror("%04x - ppi8255_intf_b_read_b %02x\n", machine().device("maincpu")->safe_pcbase(), ret); return ret; }
44   DECLARE_READ8_MEMBER(ppi8255_intf_b_read_c) { int ret = 0x00; logerror("%04x - ppi8255_intf_b_read_c %02x\n", machine().device("maincpu")->safe_pcbase(), ret); return ret; }
45
46   DECLARE_READ8_MEMBER(ppi8255_intf_c_read_a) { int ret = 0x00; logerror("%04x - ppi8255_intf_c_(used)read_a %02x\n", machine().device("maincpu")->safe_pcbase(), ret); return ret; }
47   DECLARE_READ8_MEMBER(ppi8255_intf_c_read_b) { int ret = 0xff; logerror("%04x - ppi8255_intf_c_(used)read_b %02x\n", machine().device("maincpu")->safe_pcbase(), ret); return ret; } // changing to 00 gives coin tamper
48   DECLARE_READ8_MEMBER(ppi8255_intf_c_read_c) { int ret = 0x00; logerror("%04x - ppi8255_intf_c_read_c %02x\n", machine().device("maincpu")->safe_pcbase(), ret); return ret; }
49
50   DECLARE_READ8_MEMBER(ppi8255_intf_d_read_a) { int ret = 0x00; logerror("%04x - ppi8255_intf_d_read_a %02x\n", machine().device("maincpu")->safe_pcbase(), ret); return ret; }
51   DECLARE_READ8_MEMBER(ppi8255_intf_d_read_b) { int ret = 0x00; logerror("%04x - ppi8255_intf_d_(used)read_b %02x\n", machine().device("maincpu")->safe_pcbase(), ret); return ret; } // changing goes from reel 1 error to running something in sphinx
52   DECLARE_READ8_MEMBER(ppi8255_intf_d_read_c) { int ret = 0x00; logerror("%04x - ppi8255_intf_d_read_c %02x\n", machine().device("maincpu")->safe_pcbase(), ret); return ret; }
53
54   DECLARE_READ8_MEMBER(ppi8255_intf_e_read_a) { int ret = 0x00; logerror("%04x - ppi8255_intf_e_read_a %02x\n", machine().device("maincpu")->safe_pcbase(), ret); return ret; }
55   DECLARE_READ8_MEMBER(ppi8255_intf_e_read_b) { int ret = 0x00; logerror("%04x - ppi8255_intf_e_(used)read_b %02x\n", machine().device("maincpu")->safe_pcbase(), ret); return ret; } // changing gives no % key error in sphinx
56   DECLARE_READ8_MEMBER(ppi8255_intf_e_read_c) { int ret = 0x00; logerror("%04x - ppi8255_intf_e_read_c %02x\n", machine().device("maincpu")->safe_pcbase(), ret); return ret; }
57
58   DECLARE_READ8_MEMBER(ppi8255_intf_f_read_a) { int ret = 0xff; logerror("%04x - ppi8255_intf_f_(used)read_a %02x\n", machine().device("maincpu")->safe_pcbase(), ret); return ret; }
59   DECLARE_READ8_MEMBER(ppi8255_intf_f_read_b) { int ret = 0x00; logerror("%04x - ppi8255_intf_f_read_b %02x\n", machine().device("maincpu")->safe_pcbase(), ret); return ret; }
60   DECLARE_READ8_MEMBER(ppi8255_intf_f_read_c) { int ret = 0x00; logerror("%04x - ppi8255_intf_f_read_c %02x\n", machine().device("maincpu")->safe_pcbase(), ret); return ret; }
61
62   DECLARE_READ8_MEMBER(ppi8255_intf_g_read_a) { int ret = 0x00; logerror("%04x - ppi8255_intf_g_read_a %02x\n", machine().device("maincpu")->safe_pcbase(), ret); return ret; }
63   DECLARE_READ8_MEMBER(ppi8255_intf_g_read_b) { int ret = 0x00; logerror("%04x - ppi8255_intf_g_read_b %02x\n", machine().device("maincpu")->safe_pcbase(), ret); return ret; }
64   DECLARE_READ8_MEMBER(ppi8255_intf_g_read_c) { int ret = 0x00; logerror("%04x - ppi8255_intf_g_read_c %02x\n", machine().device("maincpu")->safe_pcbase(), ret); return ret; }
65
66   DECLARE_READ8_MEMBER(ppi8255_intf_h_read_a) { int ret = 0x00; logerror("%04x - ppi8255_intf_h_read_a %02x\n", machine().device("maincpu")->safe_pcbase(), ret); return ret; }
67   DECLARE_READ8_MEMBER(ppi8255_intf_h_read_b) { int ret = 0x00; logerror("%04x - ppi8255_intf_h_(used)read_b %02x\n", machine().device("maincpu")->safe_pcbase(), ret); return ret; }
68   DECLARE_READ8_MEMBER(ppi8255_intf_h_read_c) { int ret = 0x00; logerror("%04x - ppi8255_intf_h_read_c %02x\n", machine().device("maincpu")->safe_pcbase(), ret); return ret; }
69
70   void update_lamps(void)
71   {
72      for (int i=0; i<16; i++)
73      {
74         for (int bit=0;bit<16;bit++)
75         {
76            int data = ((m_lamps[i] << bit)&0x8000)>>15;
77   
78            output_set_indexed_value("lamp", (i*16)+bit, data );
79         }
80      }
81
82   }
83
84   DECLARE_WRITE8_MEMBER(ppi8255_intf_a_write_a)
85   {
86   //   logerror("%04x - ppi8255_intf_a_(used)write_a %02x (STROBEDAT?)\n", machine().device("maincpu")->safe_pcbase(), data);
87      if (strobe_amount)
88      {
89         m_lamps[strobe_addr] = (m_lamps[strobe_addr] &0xff00) | (data & 0x00ff);
90         strobe_amount--;
91      }
92   }
93   
94   DECLARE_WRITE8_MEMBER(ppi8255_intf_a_write_b)
95   {
96   //   logerror("%04x - ppi8255_intf_a_(used)write_b %02x (STROBEDAT?)\n", machine().device("maincpu")->safe_pcbase(), data);
97      if (strobe_amount)
98      {
99         m_lamps[strobe_addr] = (m_lamps[strobe_addr] &0x00ff) | (data << 8);
100         strobe_amount--;
101      }
102   }
103   DECLARE_WRITE8_MEMBER(ppi8255_intf_a_write_c)
104   {
105      if ((data>=0xf0) && (data<=0xff))
106      {
107      //   logerror("%04x - ppi8255_intf_a_(used)write_c %02x (STROBE?)\n", machine().device("maincpu")->safe_pcbase(), data);
108         strobe_addr = data & 0xf;
109     
110         // hack, it writes values for the lamps, then writes 0x00 afterwards, probably giving the bulbs power, then removing the power
111         // before switching the strobe to the next line?
112         strobe_amount = 2;
113     
114         update_lamps();
115      }
116      else logerror("%04x - ppi8255_intf_a_(used)write_c %02x (UNUSUAL?)\n", machine().device("maincpu")->safe_pcbase(), data);
117   }
118
119   DECLARE_WRITE8_MEMBER(ppi8255_intf_b_write_a) { logerror("%04x - ppi8255_intf_b_(used)write_a %02x\n", machine().device("maincpu")->safe_pcbase(), data); }
120   DECLARE_WRITE8_MEMBER(ppi8255_intf_b_write_b) { logerror("%04x - ppi8255_intf_b_(used)write_b %02x\n", machine().device("maincpu")->safe_pcbase(), data); }
121   DECLARE_WRITE8_MEMBER(ppi8255_intf_b_write_c) { logerror("%04x - ppi8255_intf_b_(used)write_c %02x\n", machine().device("maincpu")->safe_pcbase(), data); }
122
123   DECLARE_WRITE8_MEMBER(ppi8255_intf_c_write_a) { logerror("%04x - ppi8255_intf_c_(used)write_a %02x\n", machine().device("maincpu")->safe_pcbase(), data); }
124   DECLARE_WRITE8_MEMBER(ppi8255_intf_c_write_b) { logerror("%04x - ppi8255_intf_c_(used)write_b %02x\n", machine().device("maincpu")->safe_pcbase(), data); }
125   DECLARE_WRITE8_MEMBER(ppi8255_intf_c_write_c) { logerror("%04x - ppi8255_intf_c_(used)write_c %02x\n", machine().device("maincpu")->safe_pcbase(), data); }
126
127   DECLARE_WRITE8_MEMBER(ppi8255_intf_d_write_a) { logerror("%04x - ppi8255_intf_d_(used)write_a %02x\n", machine().device("maincpu")->safe_pcbase(), data); }
128   DECLARE_WRITE8_MEMBER(ppi8255_intf_d_write_b) { logerror("%04x - ppi8255_intf_d_(used)write_b %02x\n", machine().device("maincpu")->safe_pcbase(), data); }
129   DECLARE_WRITE8_MEMBER(ppi8255_intf_d_write_c) { logerror("%04x - ppi8255_intf_d_(used)write_c %02x\n", machine().device("maincpu")->safe_pcbase(), data); }
130
131   DECLARE_WRITE8_MEMBER(ppi8255_intf_e_write_a_alpha_display);
132   DECLARE_WRITE8_MEMBER(ppi8255_intf_e_write_b) { logerror("%04x - ppi8255_intf_e_write_b %02x\n", machine().device("maincpu")->safe_pcbase(), data); }
133   DECLARE_WRITE8_MEMBER(ppi8255_intf_e_write_c) { logerror("%04x - ppi8255_intf_e_write_c %02x\n", machine().device("maincpu")->safe_pcbase(), data); }
134
135   DECLARE_WRITE8_MEMBER(ppi8255_intf_f_write_a) { logerror("%04x - ppi8255_intf_f_write_a %02x\n", machine().device("maincpu")->safe_pcbase(), data); }
136   DECLARE_WRITE8_MEMBER(ppi8255_intf_f_write_b) { logerror("%04x - ppi8255_intf_f_write_b %02x\n", machine().device("maincpu")->safe_pcbase(), data); }
137   DECLARE_WRITE8_MEMBER(ppi8255_intf_f_write_c) { logerror("%04x - ppi8255_intf_f_write_c %02x\n", machine().device("maincpu")->safe_pcbase(), data); }
138
139   DECLARE_WRITE8_MEMBER(ppi8255_intf_g_write_a) { logerror("%04x - ppi8255_intf_g_write_a %02x\n", machine().device("maincpu")->safe_pcbase(), data); }
140   DECLARE_WRITE8_MEMBER(ppi8255_intf_g_write_b) { logerror("%04x - ppi8255_intf_g_write_b %02x\n", machine().device("maincpu")->safe_pcbase(), data); }
141   DECLARE_WRITE8_MEMBER(ppi8255_intf_g_write_c) { logerror("%04x - ppi8255_intf_g_write_c %02x\n", machine().device("maincpu")->safe_pcbase(), data); }
142
143   DECLARE_WRITE8_MEMBER(ppi8255_intf_h_write_a) { logerror("%04x - ppi8255_intf_h_(used)write_a %02x\n", machine().device("maincpu")->safe_pcbase(), data); }
144   DECLARE_WRITE8_MEMBER(ppi8255_intf_h_write_b) { logerror("%04x - ppi8255_intf_h_(used)write_b %02x\n", machine().device("maincpu")->safe_pcbase(), data); }
145   DECLARE_WRITE8_MEMBER(ppi8255_intf_h_write_c) { logerror("%04x - ppi8255_intf_h_(used)write_c %02x\n", machine().device("maincpu")->safe_pcbase(), data); }
146
147
32148   DECLARE_DRIVER_INIT(ecoinf3);
33149   DECLARE_DRIVER_INIT(ecoinf3_swap);
34150};
r19600r19601
36152
37153static I8255_INTERFACE (ppi8255_intf_a)
38154{
39   DEVCB_NULL,                  /* Port A read */
40   DEVCB_NULL,                  /* Port A write */
41   DEVCB_NULL,                  /* Port B read */
42   DEVCB_NULL,                  /* Port B write */
43   DEVCB_NULL,                  /* Port C read */
44   DEVCB_NULL                  /* Port C write */
155   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_a_read_a),         /* Port A read */
156   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_a_write_a),         /* Port A write */
157   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_a_read_b),         /* Port B read */
158   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_a_write_b),         /* Port B write */
159   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_a_read_b),         /* Port C read */
160   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_a_write_c)         /* Port C write */
45161};
46162
47163static I8255_INTERFACE (ppi8255_intf_b)
48164{
49   DEVCB_NULL,                  /* Port A read */
50   DEVCB_NULL,                  /* Port A write */
51   DEVCB_NULL,                  /* Port B read */
52   DEVCB_NULL,                  /* Port B write */
53   DEVCB_NULL,                  /* Port C read */
54   DEVCB_NULL                  /* Port C write */
165   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_b_read_a),         /* Port A read */
166   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_b_write_a),         /* Port A write */
167   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_b_read_b),         /* Port B read */
168   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_b_write_b),         /* Port B write */
169   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_b_read_b),         /* Port C read */
170   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_b_write_c)         /* Port C write */
55171};
56172
57173static I8255_INTERFACE (ppi8255_intf_c)
58174{
59   DEVCB_NULL,                  /* Port A read */
60   DEVCB_NULL,                  /* Port A write */
61   DEVCB_NULL,                  /* Port B read */
62   DEVCB_NULL,                  /* Port B write */
63   DEVCB_NULL,                  /* Port C read */
64   DEVCB_NULL                  /* Port C write */
175   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_c_read_a),         /* Port A read */
176   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_c_write_a),         /* Port A write */
177   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_c_read_b),         /* Port B read */
178   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_c_write_b),         /* Port B write */
179   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_c_read_b),         /* Port C read */
180   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_c_write_c)         /* Port C write */
65181};
66182
67183static I8255_INTERFACE (ppi8255_intf_d)
68184{
69   DEVCB_NULL,                  /* Port A read */
70   DEVCB_NULL,                  /* Port A write */
71   DEVCB_NULL,                  /* Port B read */
72   DEVCB_NULL,                  /* Port B write */
73   DEVCB_NULL,                  /* Port C read */
74   DEVCB_NULL                  /* Port C write */
185   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_d_read_a),         /* Port A read */
186   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_d_write_a),         /* Port A write */
187   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_d_read_b),         /* Port B read */
188   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_d_write_b),         /* Port B write */
189   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_d_read_b),         /* Port C read */
190   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_d_write_c)         /* Port C write */
75191};
76192
77193// this is a copy of roc10937charset for now, I don't know what chip we're meant be using here
r19600r19601
160276}
161277
162278
163WRITE8_MEMBER(ecoinf3_state::ppi8255_intf_e_write_a)
279WRITE8_MEMBER(ecoinf3_state::ppi8255_intf_e_write_a_alpha_display)
164280{
165281   static UINT8 send_buffer = 0;
166282   static int count = 0;
r19600r19601
222338
223339}
224340
225WRITE8_MEMBER(ecoinf3_state::ppi8255_intf_e_write_b)
226{
227}
228341
229WRITE8_MEMBER(ecoinf3_state::ppi8255_intf_e_write_c)
230{
231   // not written at an appropriate time for it to be a 'send' address for the text
232}
233
234342static I8255_INTERFACE (ppi8255_intf_e)
235343{
236   DEVCB_NULL,                  /* Port A read */
237   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_e_write_a),                  /* Port A write */
238   DEVCB_NULL,                  /* Port B read */
239   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_e_write_b),                  /* Port B write */
240   DEVCB_NULL,                  /* Port C read */
241   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_e_write_c)                  /* Port C write */
344   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_e_read_a),                  /* Port A read */
345   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_e_write_a_alpha_display),      /* Port A write */ /* alpha display characters*/
346   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_e_read_b),                  /* Port B read */
347   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_e_write_b),                  /* Port B write */    // not written at an appropriate time for it to be a 'send' address for the text
348   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_e_read_c),                  /* Port C read */
349   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_e_write_c)                  /* Port C write */    // not written at an appropriate time for it to be a 'send' address for the text
242350};
243351
244352static I8255_INTERFACE (ppi8255_intf_f)
245353{
246   DEVCB_NULL,                  /* Port A read */
247   DEVCB_NULL,                  /* Port A write */
248   DEVCB_NULL,                  /* Port B read */
249   DEVCB_NULL,                  /* Port B write */
250   DEVCB_NULL,                  /* Port C read */
251   DEVCB_NULL                  /* Port C write */
354   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_f_read_a),         /* Port A read */
355   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_f_write_a),         /* Port A write */
356   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_f_read_b),         /* Port B read */
357   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_f_write_b),         /* Port B write */
358   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_f_read_b),         /* Port C read */
359   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_f_write_c)         /* Port C write */
252360};
253361
254362static I8255_INTERFACE (ppi8255_intf_g)
255363{
256   DEVCB_NULL,                  /* Port A read */
257   DEVCB_NULL,                  /* Port A write */
258   DEVCB_NULL,                  /* Port B read */
259   DEVCB_NULL,                  /* Port B write */
260   DEVCB_NULL,                  /* Port C read */
261   DEVCB_NULL                  /* Port C write */
364   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_g_read_a),         /* Port A read */
365   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_g_write_a),         /* Port A write */
366   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_g_read_b),         /* Port B read */
367   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_g_write_b),         /* Port B write */
368   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_g_read_b),         /* Port C read */
369   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_g_write_c)         /* Port C write */
262370};
263371
264372static I8255_INTERFACE (ppi8255_intf_h)
265373{
266   DEVCB_NULL,                  /* Port A read */
267   DEVCB_NULL,                  /* Port A write */
268   DEVCB_NULL,                  /* Port B read */
269   DEVCB_NULL,                  /* Port B write */
270   DEVCB_NULL,                  /* Port C read */
271   DEVCB_NULL                  /* Port C write */
374   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_h_read_a),         /* Port A read */
375   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_h_write_a),         /* Port A write */
376   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_h_read_b),         /* Port B read */
377   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_h_write_b),         /* Port B write */
378   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_h_read_b),         /* Port C read */
379   DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_h_write_c)         /* Port C write */
272380};
273381
274382

Previous 199869 Revisions Next


© 1997-2024 The MAME Team