Previous 199869 Revisions Next

r22646 Thursday 2nd May, 2013 at 19:39:03 UTC by David Haywood
silence some excessive logging
[src/emu/machine]mcf5206e.c mcf5206e.h
[src/mame]mame.mak
[src/mame/drivers]bfm_sc5.c
[src/mame/includes]bfm_sc5.h
[src/mame/layout]bfm_sc5.lay*

trunk/src/mame/mame.mak
r22645r22646
20612061$(DRIVERS)/bfm_sc4h.o:  $(LAYOUT)/bfm_sc4.lh \
20622062         $(LAYOUT)/sc4_dmd.lh
20632063
2064$(DRIVERS)/bfm_sc5.o:   $(LAYOUT)/bfm_sc5.lh
2065
20642066$(DRIVERS)/bfmsys85.o:  $(LAYOUT)/bfmsys85.lh
20652067
20662068$(DRIVERS)/blockade.o:  $(LAYOUT)/blockade.lh
trunk/src/mame/includes/bfm_sc5.h
r22645r22646
1616public:
1717   DECLARE_DRIVER_INIT(sc5);
1818   DECLARE_WRITE_LINE_MEMBER(bfm_sc5_ym_irqhandler);
19   DECLARE_READ8_MEMBER( sc5_10202F0_r );
20   DECLARE_WRITE8_MEMBER( sc5_10202F0_w );
1921
2022};
trunk/src/mame/layout/bfm_sc5.lay
r0r22646
1<?xml version="1.0"?>
2<mamelayout version="2">
3   <element name="matrixlamp">
4      <rect state ="0">
5         <bounds x="0" y="0" width="7" height="7" />
6         <color red="0.7" green="0.7" blue="0.7" />
7      </rect>
8      <rect state ="1">
9         <bounds x="0" y="0" width="7" height="7" />
10         <color red="0.0" green="0.0" blue="1.0" />
11      </rect>
12      <rect state ="2">
13         <bounds x="0" y="0" width="7" height="7" />
14         <color red="0.0" green="1.0" blue="0.0" />
15      </rect>
16   </element>
17
18   <element name="reellamp">
19   <rect state ="0">
20      <bounds x="0" y="0" width="7" height="7" />
21      <color red="0.1" green="0.1" blue="0.1" />
22   </rect>
23   <rect state ="1">
24      <bounds x="0" y="0" width="7" height="7" />
25      <color red="0.6" green="0.6" blue="0.6" />
26   </rect>
27   <rect state ="2">
28      <bounds x="0" y="0" width="7" height="7" />
29      <color red="0.6" green="0.6" blue="0.6" />
30   </rect>
31   </element>
32
33   <element name="Steppers" defstate="0">
34   <simplecounter maxstate="999" digits="3">
35      <color red="1.0" green="1.0" blue="1.0" />
36      <bounds x="0" y="0" width="1" height="1" />
37   </simplecounter>
38   </element>
39
40
41
42   <!-- a stateoffset of 682 will shift us by 1 step on a 96 step reel (0x10000/96) which seems a good default alignment for 96 step / 16 symbol reels -->
43   <element name="SteppersReel1" defstate="0">
44   <reel stateoffset="682" symbollist="Fruit1:image11.png,Fruit2:image12.png,Fruit3:image13.png,Fruit4:image14.png,Fruit5:image15.png,Fruit6:image16.png,Fruit7:image17.png,Fruit8:image18.png,Fruit9:image19.png,Fruit10:image110.png,Fruit11:image111.png,Fruit12:image112.png,Fruit13:image113.png,Fruit14:image114.png,Fruit15:image115.png,Fruit16:image116.png">
45      <color red="1.0" green="1.0" blue="1.0" />
46      <bounds x="0" y="0" width="1" height="1" />
47   </reel>
48   </element>
49
50   <element name="SteppersReel2" defstate="0">
51   <reel stateoffset="682" symbollist="Fruit1,Fruit2,Fruit3,Fruit4,Fruit5,Fruit6,Fruit7,Fruit8,Fruit9,Fruit10,Fruit11,Fruit12,Fruit13,Fruit14,Fruit15,Fruit16">
52      "<color red="1.0" green="1.0" blue="1.0" />
53      <bounds x="0" y="0" width="1" height="1" />
54   </reel>
55   </element>
56
57   <element name="SteppersReel3" defstate="0">
58   <reel stateoffset="682" symbollist="Fruit1,Fruit2,Fruit3,Fruit4,Fruit5,Fruit6,Fruit7,Fruit8,Fruit9,Fruit10,Fruit11,Fruit12,Fruit13,Fruit14,Fruit15,Fruit16">
59      <color red="1.0" green="1.0" blue="1.0" />
60      <bounds x="0" y="0" width="1" height="1" />
61   </reel>
62   </element>
63
64   <element name="SteppersReel4" defstate="0">
65   <reel stateoffset="682" symbollist="Fruit1,Fruit2,Fruit3,Fruit4,Fruit5,Fruit6,Fruit7,Fruit8,Fruit9,Fruit10,Fruit11,Fruit12,Fruit13,Fruit14,Fruit15,Fruit16">
66      <color red="1.0" green="1.0" blue="1.0" />
67      <bounds x="0" y="0" width="1" height="1" />
68   </reel>
69   </element>
70
71   <element name="SteppersReel5" defstate="0">
72   <reel symbollist="Example1,Example2,Example3,Example4,Example5,Example6,Example7,Example8,Example9,Example10,Example11,Example12">
73      <color red="1.0" green="1.0" blue="1.0" />
74      <bounds x="0" y="0" width="1" height="1" />
75   </reel>
76   </element>
77
78   <element name="SteppersReel6" defstate="0">
79   <reel symbollist="Example1,Example2,Example3,Example4,Example5,Example6,Example7,Example8,Example9,Example10,Example11,Example12">
80      <color red="1.0" green="1.0" blue="1.0" />
81      <bounds x="0" y="0" width="1" height="1" />
82   </reel>
83   </element>
84
85
86
87   <element name="vfd0">
88      <led14segsc>
89            <color red="0" green="0.6" blue="1.0" />
90      </led14segsc>
91   </element>
92   <element name="digit" defstate="10">
93   <led7seg>
94      <color red="1.0" green="0.3" blue="0.0" />
95   </led7seg>
96   </element>
97
98   <view name="AWP Simulated Video (No Artwork)">
99      <backdrop name="vfd0" element="vfd0" state="0">
100         <bounds x="210" y="200" width="9" height="17"/>
101      </backdrop>
102      <backdrop name="vfd1" element="vfd0" state="0">
103         <bounds x="219" y="200" width="9" height="17"/>
104      </backdrop>
105      <backdrop name="vfd2" element="vfd0" state="0">
106         <bounds x="228" y="200" width="9" height="17"/>
107      </backdrop>
108      <backdrop name="vfd3" element="vfd0" state="0">
109         <bounds x="237" y="200" width="9" height="17"/>
110      </backdrop>
111      <backdrop name="vfd4" element="vfd0" state="0">
112         <bounds x="246" y="200" width="9" height="17"/>
113      </backdrop>
114      <backdrop name="vfd5" element="vfd0" state="0">
115         <bounds x="255" y="200" width="9" height="17"/>
116      </backdrop>
117      <backdrop name="vfd6" element="vfd0" state="0">
118         <bounds x="264" y="200" width="9" height="17"/>
119      </backdrop>
120      <backdrop name="vfd7" element="vfd0" state="0">
121         <bounds x="273" y="200" width="9" height="17"/>
122      </backdrop>
123      <backdrop name="vfd8" element="vfd0" state="0">
124         <bounds x="282" y="200" width="9" height="17"/>
125      </backdrop>
126      <backdrop name="vfd9" element="vfd0" state="0">
127         <bounds x="291" y="200" width="9" height="17"/>
128      </backdrop>
129      <backdrop name="vfd10" element="vfd0" state="0">
130         <bounds x="300" y="200" width="9" height="17"/>
131      </backdrop>
132      <backdrop name="vfd11" element="vfd0" state="0">
133         <bounds x="309" y="200" width="9" height="17"/>
134      </backdrop>
135      <backdrop name="vfd12" element="vfd0" state="0">
136         <bounds x="318" y="200" width="9" height="17"/>
137      </backdrop>
138      <backdrop name="vfd13" element="vfd0" state="0">
139         <bounds x="327" y="200" width="9" height="17"/>
140      </backdrop>
141      <backdrop name="vfd14" element="vfd0" state="0">
142         <bounds x="336" y="200" width="9" height="17"/>
143      </backdrop>
144      <backdrop name="vfd15" element="vfd0" state="0">
145         <bounds x="345" y="200" width="9" height="17"/>
146      </backdrop>
147
148
149   <backdrop name="reel1" element="Steppers" state="0">
150         <bounds x="250" y="350" width="10" height="5"/>
151      </backdrop>
152      <backdrop name="reel2" element="Steppers" state="0">
153         <bounds x="300" y="350" width="10" height="5"/>
154      </backdrop>
155      <backdrop name="reel3" element="Steppers" state="0">
156         <bounds x="350" y="350" width="10" height="5"/>
157      </backdrop>
158
159      <backdrop name="reel4" element="Steppers" state="0">
160         <bounds x="250" y="410" width="10" height="5"/>
161      </backdrop>
162      <backdrop name="reel5" element="Steppers" state="0">
163         <bounds x="300" y="410" width="10" height="5"/>
164      </backdrop>
165      <backdrop name="reel6" element="Steppers" state="0">
166         <bounds x="350" y="410" width="10" height="5"/>
167      </backdrop>
168
169   <!-- these are typically the reel lamps, so duplicate them here -->
170   <backdrop name="lamp32" element="reellamp" state="0">
171      <bounds x="210" y="300" width="50" height="17"/>
172   </backdrop>
173   <backdrop name="lamp33" element="reellamp" state="0">
174      <bounds x="210" y="317" width="50" height="17"/>
175   </backdrop>
176   <backdrop name="lamp34" element="reellamp" state="0">
177      <bounds x="210" y="333" width="50" height="17"/>
178   </backdrop>
179
180   <backdrop name="lamp35" element="reellamp" state="0">
181      <bounds x="260" y="300" width="50" height="17"/>
182   </backdrop>
183   <backdrop name="lamp36" element="reellamp" state="0">
184      <bounds x="260" y="317" width="50" height="17"/>
185   </backdrop>
186   <backdrop name="lamp37" element="reellamp" state="0">
187      <bounds x="260" y="333" width="50" height="17"/>
188   </backdrop>
189
190   <backdrop name="lamp48" element="reellamp" state="0">
191      <bounds x="310" y="300" width="50" height="17"/>
192   </backdrop>
193   <backdrop name="lamp49" element="reellamp" state="0">
194      <bounds x="310" y="317" width="50" height="17"/>
195   </backdrop>
196   <backdrop name="lamp50" element="reellamp" state="0">
197      <bounds x="310" y="333" width="50" height="17"/>
198   </backdrop>
199
200   <backdrop name="lamp51" element="reellamp" state="0">
201      <bounds x="210" y="360" width="50" height="17"/>
202   </backdrop>
203   <backdrop name="lamp52" element="reellamp" state="0">
204      <bounds x="210" y="377" width="50" height="17"/>
205   </backdrop>
206   <backdrop name="lamp53" element="reellamp" state="0">
207      <bounds x="210" y="393" width="50" height="17"/>
208   </backdrop>
209
210   <backdrop name="sreel1" element="SteppersReel1" state="0">
211      <bounds x="210" y="300" width="50" height="50"/>
212   </backdrop>
213   <backdrop name="sreel2" element="SteppersReel2" state="0">
214      <bounds x="260" y="300" width="50" height="50"/>
215   </backdrop>
216   <backdrop name="sreel3" element="SteppersReel3" state="0">
217      <bounds x="310" y="300" width="50" height="50"/>
218   </backdrop>
219
220   <backdrop name="sreel4" element="SteppersReel4" state="0">
221      <bounds x="210" y="360" width="50" height="50"/>
222   </backdrop>
223   <backdrop name="sreel5" element="SteppersReel5" state="0">
224      <bounds x="260" y="360" width="50" height="50"/>
225   </backdrop>
226   <backdrop name="sreel6" element="SteppersReel6" state="0">
227      <bounds x="310" y="360" width="50" height="50"/>
228   </backdrop>
229
230
231
232
233   <backdrop name="lamp0" element="matrixlamp" state="0">
234         <bounds x="0" y="0" width="7" height="7"/>
235      </backdrop>
236      <backdrop name="lamp1" element="matrixlamp" state="0">
237         <bounds x="8" y="0" width="7" height="7"/>
238      </backdrop>
239      <backdrop name="lamp2" element="matrixlamp" state="0">
240         <bounds x="16" y="0" width="7" height="7"/>
241      </backdrop>
242      <backdrop name="lamp3" element="matrixlamp" state="0">
243         <bounds x="24" y="0" width="7" height="7"/>
244      </backdrop>
245      <backdrop name="lamp4" element="matrixlamp" state="0">
246         <bounds x="32" y="0" width="7" height="7"/>
247      </backdrop>
248      <backdrop name="lamp5" element="matrixlamp" state="0">
249         <bounds x="40" y="0" width="7" height="7"/>
250      </backdrop>
251      <backdrop name="lamp6" element="matrixlamp" state="0">
252         <bounds x="48" y="0" width="7" height="7"/>
253      </backdrop>
254      <backdrop name="lamp7" element="matrixlamp" state="0">
255         <bounds x="56" y="0" width="7" height="7"/>
256      </backdrop>
257      <backdrop name="lamp8" element="matrixlamp" state="0">
258         <bounds x="64" y="0" width="7" height="7"/>
259      </backdrop>
260      <backdrop name="lamp9" element="matrixlamp" state="0">
261         <bounds x="72" y="0" width="7" height="7"/>
262      </backdrop>
263      <backdrop name="lamp10" element="matrixlamp" state="0">
264         <bounds x="80" y="0" width="7" height="7"/>
265      </backdrop>
266      <backdrop name="lamp11" element="matrixlamp" state="0">
267         <bounds x="88" y="0" width="7" height="7"/>
268      </backdrop>
269      <backdrop name="lamp12" element="matrixlamp" state="0">
270         <bounds x="96" y="0" width="7" height="7"/>
271      </backdrop>
272
273      <backdrop name="lamp13" element="matrixlamp" state="0">
274         <bounds x="104" y="0" width="7" height="7"/>
275      </backdrop>
276      <backdrop name="lamp14" element="matrixlamp" state="0">
277         <bounds x="112" y="0" width="7" height="7"/>
278      </backdrop>
279      <backdrop name="lamp15" element="matrixlamp" state="0">
280         <bounds x="120" y="0" width="7" height="7"/>
281      </backdrop>
282      <backdrop name="lamp16" element="matrixlamp" state="0">
283         <bounds x="0" y="8" width="7" height="7"/>
284      </backdrop>
285      <backdrop name="lamp17" element="matrixlamp" state="0">
286         <bounds x="8" y="8" width="7" height="7"/>
287      </backdrop>
288      <backdrop name="lamp18" element="matrixlamp" state="0">
289         <bounds x="16" y="8" width="7" height="7"/>
290      </backdrop>
291      <backdrop name="lamp19" element="matrixlamp" state="0">
292         <bounds x="24" y="8" width="7" height="7"/>
293      </backdrop>
294      <backdrop name="lamp20" element="matrixlamp" state="0">
295         <bounds x="32" y="8" width="7" height="7"/>
296      </backdrop>
297      <backdrop name="lamp21" element="matrixlamp" state="0">
298         <bounds x="40" y="8" width="7" height="7"/>
299      </backdrop>
300      <backdrop name="lamp22" element="matrixlamp" state="0">
301         <bounds x="48" y="8" width="7" height="7"/>
302      </backdrop>
303      <backdrop name="lamp23" element="matrixlamp" state="0">
304         <bounds x="56" y="8" width="7" height="7"/>
305      </backdrop>
306      <backdrop name="lamp24" element="matrixlamp" state="0">
307         <bounds x="64" y="8" width="7" height="7"/>
308      </backdrop>
309      <backdrop name="lamp25" element="matrixlamp" state="0">
310         <bounds x="72" y="8" width="7" height="7"/>
311      </backdrop>
312      <backdrop name="lamp26" element="matrixlamp" state="0">
313         <bounds x="80" y="8" width="7" height="7"/>
314      </backdrop>
315      <backdrop name="lamp27" element="matrixlamp" state="0">
316         <bounds x="88" y="8" width="7" height="7"/>
317      </backdrop>
318      <backdrop name="lamp28" element="matrixlamp" state="0">
319         <bounds x="96" y="8" width="7" height="7"/>
320      </backdrop>
321      <backdrop name="lamp29" element="matrixlamp" state="0">
322         <bounds x="104" y="8" width="7" height="7"/>
323      </backdrop>
324      <backdrop name="lamp30" element="matrixlamp" state="0">
325         <bounds x="112" y="8" width="7" height="7"/>
326      </backdrop>
327      <backdrop name="lamp31" element="matrixlamp" state="0">
328         <bounds x="120" y="8" width="7" height="7"/>
329      </backdrop>
330      <backdrop name="lamp32" element="matrixlamp" state="0">
331         <bounds x="0" y="16" width="7" height="7"/>
332      </backdrop>
333      <backdrop name="lamp33" element="matrixlamp" state="0">
334         <bounds x="8" y="16" width="7" height="7"/>
335      </backdrop>
336      <backdrop name="lamp34" element="matrixlamp" state="0">
337         <bounds x="16" y="16" width="7" height="7"/>
338      </backdrop>
339      <backdrop name="lamp35" element="matrixlamp" state="0">
340         <bounds x="24" y="16" width="7" height="7"/>
341      </backdrop>
342      <backdrop name="lamp36" element="matrixlamp" state="0">
343         <bounds x="32" y="16" width="7" height="7"/>
344      </backdrop>
345      <backdrop name="lamp37" element="matrixlamp" state="0">
346         <bounds x="40" y="16" width="7" height="7"/>
347      </backdrop>
348      <backdrop name="lamp38" element="matrixlamp" state="0">
349         <bounds x="48" y="16" width="7" height="7"/>
350      </backdrop>
351      <backdrop name="lamp39" element="matrixlamp" state="0">
352         <bounds x="56" y="16" width="7" height="7"/>
353      </backdrop>
354      <backdrop name="lamp40" element="matrixlamp" state="0">
355         <bounds x="64" y="16" width="7" height="7"/>
356      </backdrop>
357      <backdrop name="lamp41" element="matrixlamp" state="0">
358         <bounds x="72" y="16" width="7" height="7"/>
359      </backdrop>
360      <backdrop name="lamp42" element="matrixlamp" state="0">
361         <bounds x="80" y="16" width="7" height="7"/>
362      </backdrop>
363      <backdrop name="lamp43" element="matrixlamp" state="0">
364         <bounds x="88" y="16" width="7" height="7"/>
365      </backdrop>
366      <backdrop name="lamp44" element="matrixlamp" state="0">
367         <bounds x="96" y="16" width="7" height="7"/>
368      </backdrop>
369      <backdrop name="lamp45" element="matrixlamp" state="0">
370         <bounds x="104" y="16" width="7" height="7"/>
371      </backdrop>
372      <backdrop name="lamp46" element="matrixlamp" state="0">
373         <bounds x="112" y="16" width="7" height="7"/>
374      </backdrop>
375      <backdrop name="lamp47" element="matrixlamp" state="0">
376         <bounds x="120" y="16" width="7" height="7"/>
377      </backdrop>
378      <backdrop name="lamp48" element="matrixlamp" state="0">
379         <bounds x="0" y="24" width="7" height="7"/>
380      </backdrop>
381      <backdrop name="lamp49" element="matrixlamp" state="0">
382         <bounds x="8" y="24" width="7" height="7"/>
383      </backdrop>
384      <backdrop name="lamp50" element="matrixlamp" state="0">
385         <bounds x="16" y="24" width="7" height="7"/>
386      </backdrop>
387      <backdrop name="lamp51" element="matrixlamp" state="0">
388         <bounds x="24" y="24" width="7" height="7"/>
389      </backdrop>
390      <backdrop name="lamp52" element="matrixlamp" state="0">
391         <bounds x="32" y="24" width="7" height="7"/>
392      </backdrop>
393      <backdrop name="lamp53" element="matrixlamp" state="0">
394         <bounds x="40" y="24" width="7" height="7"/>
395      </backdrop>
396      <backdrop name="lamp54" element="matrixlamp" state="0">
397         <bounds x="48" y="24" width="7" height="7"/>
398      </backdrop>
399      <backdrop name="lamp55" element="matrixlamp" state="0">
400         <bounds x="56" y="24" width="7" height="7"/>
401      </backdrop>
402      <backdrop name="lamp56" element="matrixlamp" state="0">
403         <bounds x="64" y="24" width="7" height="7"/>
404      </backdrop>
405      <backdrop name="lamp57" element="matrixlamp" state="0">
406         <bounds x="72" y="24" width="7" height="7"/>
407      </backdrop>
408      <backdrop name="lamp58" element="matrixlamp" state="0">
409         <bounds x="80" y="24" width="7" height="7"/>
410      </backdrop>
411      <backdrop name="lamp59" element="matrixlamp" state="0">
412         <bounds x="88" y="24" width="7" height="7"/>
413      </backdrop>
414      <backdrop name="lamp60" element="matrixlamp" state="0">
415         <bounds x="96" y="24" width="7" height="7"/>
416      </backdrop>
417      <backdrop name="lamp61" element="matrixlamp" state="0">
418         <bounds x="104" y="24" width="7" height="7"/>
419      </backdrop>
420      <backdrop name="lamp62" element="matrixlamp" state="0">
421         <bounds x="112" y="24" width="7" height="7"/>
422      </backdrop>
423      <backdrop name="lamp63" element="matrixlamp" state="0">
424         <bounds x="120" y="24" width="7" height="7"/>
425      </backdrop>
426      <backdrop name="lamp64" element="matrixlamp" state="0">
427         <bounds x="0" y="32" width="7" height="7"/>
428      </backdrop>
429      <backdrop name="lamp65" element="matrixlamp" state="0">
430         <bounds x="8" y="32" width="7" height="7"/>
431      </backdrop>
432      <backdrop name="lamp66" element="matrixlamp" state="0">
433         <bounds x="16" y="32" width="7" height="7"/>
434      </backdrop>
435      <backdrop name="lamp67" element="matrixlamp" state="0">
436         <bounds x="24" y="32" width="7" height="7"/>
437      </backdrop>
438      <backdrop name="lamp68" element="matrixlamp" state="0">
439         <bounds x="32" y="32" width="7" height="7"/>
440      </backdrop>
441      <backdrop name="lamp69" element="matrixlamp" state="0">
442         <bounds x="40" y="32" width="7" height="7"/>
443      </backdrop>
444      <backdrop name="lamp70" element="matrixlamp" state="0">
445         <bounds x="48" y="32" width="7" height="7"/>
446      </backdrop>
447      <backdrop name="lamp71" element="matrixlamp" state="0">
448         <bounds x="56" y="32" width="7" height="7"/>
449      </backdrop>
450      <backdrop name="lamp72" element="matrixlamp" state="0">
451         <bounds x="64" y="32" width="7" height="7"/>
452      </backdrop>
453      <backdrop name="lamp73" element="matrixlamp" state="0">
454         <bounds x="72" y="32" width="7" height="7"/>
455      </backdrop>
456      <backdrop name="lamp74" element="matrixlamp" state="0">
457         <bounds x="80" y="32" width="7" height="7"/>
458      </backdrop>
459      <backdrop name="lamp75" element="matrixlamp" state="0">
460         <bounds x="88" y="32" width="7" height="7"/>
461      </backdrop>
462      <backdrop name="lamp76" element="matrixlamp" state="0">
463         <bounds x="96" y="32" width="7" height="7"/>
464      </backdrop>
465      <backdrop name="lamp77" element="matrixlamp" state="0">
466         <bounds x="104" y="32" width="7" height="7"/>
467      </backdrop>
468      <backdrop name="lamp78" element="matrixlamp" state="0">
469         <bounds x="112" y="32" width="7" height="7"/>
470      </backdrop>
471      <backdrop name="lamp79" element="matrixlamp" state="0">
472         <bounds x="120" y="32" width="7" height="7"/>
473      </backdrop>
474      <backdrop name="lamp80" element="matrixlamp" state="0">
475         <bounds x="0" y="40" width="7" height="7"/>
476      </backdrop>
477      <backdrop name="lamp81" element="matrixlamp" state="0">
478         <bounds x="8" y="40" width="7" height="7"/>
479      </backdrop>
480      <backdrop name="lamp82" element="matrixlamp" state="0">
481         <bounds x="16" y="40" width="7" height="7"/>
482      </backdrop>
483      <backdrop name="lamp83" element="matrixlamp" state="0">
484         <bounds x="24" y="40" width="7" height="7"/>
485      </backdrop>
486      <backdrop name="lamp84" element="matrixlamp" state="0">
487         <bounds x="32" y="40" width="7" height="7"/>
488      </backdrop>
489      <backdrop name="lamp85" element="matrixlamp" state="0">
490         <bounds x="40" y="40" width="7" height="7"/>
491      </backdrop>
492      <backdrop name="lamp86" element="matrixlamp" state="0">
493         <bounds x="48" y="40" width="7" height="7"/>
494      </backdrop>
495      <backdrop name="lamp87" element="matrixlamp" state="0">
496         <bounds x="56" y="40" width="7" height="7"/>
497      </backdrop>
498      <backdrop name="lamp88" element="matrixlamp" state="0">
499         <bounds x="64" y="40" width="7" height="7"/>
500      </backdrop>
501      <backdrop name="lamp89" element="matrixlamp" state="0">
502         <bounds x="72" y="40" width="7" height="7"/>
503      </backdrop>
504      <backdrop name="lamp90" element="matrixlamp" state="0">
505         <bounds x="80" y="40" width="7" height="7"/>
506      </backdrop>
507      <backdrop name="lamp91" element="matrixlamp" state="0">
508         <bounds x="88" y="40" width="7" height="7"/>
509      </backdrop>
510      <backdrop name="lamp92" element="matrixlamp" state="0">
511         <bounds x="96" y="40" width="7" height="7"/>
512      </backdrop>
513      <backdrop name="lamp93" element="matrixlamp" state="0">
514         <bounds x="104" y="40" width="7" height="7"/>
515      </backdrop>
516      <backdrop name="lamp94" element="matrixlamp" state="0">
517         <bounds x="112" y="40" width="7" height="7"/>
518      </backdrop>
519      <backdrop name="lamp95" element="matrixlamp" state="0">
520         <bounds x="120" y="40" width="7" height="7"/>
521      </backdrop>
522      <backdrop name="lamp96" element="matrixlamp" state="0">
523         <bounds x="0" y="48" width="7" height="7"/>
524      </backdrop>
525      <backdrop name="lamp97" element="matrixlamp" state="0">
526         <bounds x="8" y="48" width="7" height="7"/>
527      </backdrop>
528      <backdrop name="lamp98" element="matrixlamp" state="0">
529         <bounds x="16" y="48" width="7" height="7"/>
530      </backdrop>
531      <backdrop name="lamp99" element="matrixlamp" state="0">
532         <bounds x="24" y="48" width="7" height="7"/>
533      </backdrop>
534      <backdrop name="lamp100" element="matrixlamp" state="0">
535         <bounds x="32" y="48" width="7" height="7"/>
536      </backdrop>
537      <backdrop name="lamp101" element="matrixlamp" state="0">
538         <bounds x="40" y="48" width="7" height="7"/>
539      </backdrop>
540      <backdrop name="lamp102" element="matrixlamp" state="0">
541         <bounds x="48" y="48" width="7" height="7"/>
542      </backdrop>
543      <backdrop name="lamp103" element="matrixlamp" state="0">
544         <bounds x="56" y="48" width="7" height="7"/>
545      </backdrop>
546      <backdrop name="lamp104" element="matrixlamp" state="0">
547         <bounds x="64" y="48" width="7" height="7"/>
548      </backdrop>
549      <backdrop name="lamp105" element="matrixlamp" state="0">
550         <bounds x="72" y="48" width="7" height="7"/>
551      </backdrop>
552      <backdrop name="lamp106" element="matrixlamp" state="0">
553         <bounds x="80" y="48" width="7" height="7"/>
554      </backdrop>
555      <backdrop name="lamp107" element="matrixlamp" state="0">
556         <bounds x="88" y="48" width="7" height="7"/>
557      </backdrop>
558      <backdrop name="lamp108" element="matrixlamp" state="0">
559         <bounds x="96" y="48" width="7" height="7"/>
560      </backdrop>
561      <backdrop name="lamp109" element="matrixlamp" state="0">
562         <bounds x="104" y="48" width="7" height="7"/>
563      </backdrop>
564      <backdrop name="lamp110" element="matrixlamp" state="0">
565         <bounds x="112" y="48" width="7" height="7"/>
566      </backdrop>
567      <backdrop name="lamp111" element="matrixlamp" state="0">
568         <bounds x="120" y="48" width="7" height="7"/>
569      </backdrop>
570      <backdrop name="lamp112" element="matrixlamp" state="0">
571         <bounds x="0" y="56" width="7" height="7"/>
572      </backdrop>
573      <backdrop name="lamp113" element="matrixlamp" state="0">
574         <bounds x="8" y="56" width="7" height="7"/>
575      </backdrop>
576      <backdrop name="lamp114" element="matrixlamp" state="0">
577         <bounds x="16" y="56" width="7" height="7"/>
578      </backdrop>
579      <backdrop name="lamp115" element="matrixlamp" state="0">
580         <bounds x="24" y="56" width="7" height="7"/>
581      </backdrop>
582      <backdrop name="lamp116" element="matrixlamp" state="0">
583         <bounds x="32" y="56" width="7" height="7"/>
584      </backdrop>
585      <backdrop name="lamp117" element="matrixlamp" state="0">
586         <bounds x="40" y="56" width="7" height="7"/>
587      </backdrop>
588      <backdrop name="lamp118" element="matrixlamp" state="0">
589         <bounds x="48" y="56" width="7" height="7"/>
590      </backdrop>
591      <backdrop name="lamp119" element="matrixlamp" state="0">
592         <bounds x="56" y="56" width="7" height="7"/>
593      </backdrop>
594      <backdrop name="lamp120" element="matrixlamp" state="0">
595         <bounds x="64" y="56" width="7" height="7"/>
596      </backdrop>
597      <backdrop name="lamp121" element="matrixlamp" state="0">
598         <bounds x="72" y="56" width="7" height="7"/>
599      </backdrop>
600      <backdrop name="lamp122" element="matrixlamp" state="0">
601         <bounds x="80" y="56" width="7" height="7"/>
602      </backdrop>
603      <backdrop name="lamp123" element="matrixlamp" state="0">
604         <bounds x="88" y="56" width="7" height="7"/>
605      </backdrop>
606      <backdrop name="lamp124" element="matrixlamp" state="0">
607         <bounds x="96" y="56" width="7" height="7"/>
608      </backdrop>
609      <backdrop name="lamp125" element="matrixlamp" state="0">
610         <bounds x="104" y="56" width="7" height="7"/>
611      </backdrop>
612      <backdrop name="lamp126" element="matrixlamp" state="0">
613         <bounds x="112" y="56" width="7" height="7"/>
614      </backdrop>
615      <backdrop name="lamp127" element="matrixlamp" state="0">
616         <bounds x="120" y="56" width="7" height="7"/>
617      </backdrop>
618      <backdrop name="lamp128" element="matrixlamp" state="0">
619         <bounds x="0" y="64" width="7" height="7"/>
620      </backdrop>
621      <backdrop name="lamp129" element="matrixlamp" state="0">
622         <bounds x="8" y="64" width="7" height="7"/>
623      </backdrop>
624      <backdrop name="lamp130" element="matrixlamp" state="0">
625         <bounds x="16" y="64" width="7" height="7"/>
626      </backdrop>
627      <backdrop name="lamp131" element="matrixlamp" state="0">
628         <bounds x="24" y="64" width="7" height="7"/>
629      </backdrop>
630      <backdrop name="lamp132" element="matrixlamp" state="0">
631         <bounds x="32" y="64" width="7" height="7"/>
632      </backdrop>
633      <backdrop name="lamp133" element="matrixlamp" state="0">
634         <bounds x="40" y="64" width="7" height="7"/>
635      </backdrop>
636      <backdrop name="lamp134" element="matrixlamp" state="0">
637         <bounds x="48" y="64" width="7" height="7"/>
638      </backdrop>
639      <backdrop name="lamp135" element="matrixlamp" state="0">
640         <bounds x="56" y="64" width="7" height="7"/>
641      </backdrop>
642      <backdrop name="lamp136" element="matrixlamp" state="0">
643         <bounds x="64" y="64" width="7" height="7"/>
644      </backdrop>
645      <backdrop name="lamp137" element="matrixlamp" state="0">
646         <bounds x="72" y="64" width="7" height="7"/>
647      </backdrop>
648      <backdrop name="lamp138" element="matrixlamp" state="0">
649         <bounds x="80" y="64" width="7" height="7"/>
650      </backdrop>
651      <backdrop name="lamp139" element="matrixlamp" state="0">
652         <bounds x="88" y="64" width="7" height="7"/>
653      </backdrop>
654      <backdrop name="lamp140" element="matrixlamp" state="0">
655         <bounds x="96" y="64" width="7" height="7"/>
656      </backdrop>
657      <backdrop name="lamp141" element="matrixlamp" state="0">
658         <bounds x="104" y="64" width="7" height="7"/>
659      </backdrop>
660      <backdrop name="lamp142" element="matrixlamp" state="0">
661         <bounds x="112" y="64" width="7" height="7"/>
662      </backdrop>
663      <backdrop name="lamp143" element="matrixlamp" state="0">
664         <bounds x="120" y="64" width="7" height="7"/>
665      </backdrop>
666      <backdrop name="lamp144" element="matrixlamp" state="0">
667         <bounds x="0" y="72" width="7" height="7"/>
668      </backdrop>
669      <backdrop name="lamp145" element="matrixlamp" state="0">
670         <bounds x="8" y="72" width="7" height="7"/>
671      </backdrop>
672      <backdrop name="lamp146" element="matrixlamp" state="0">
673         <bounds x="16" y="72" width="7" height="7"/>
674      </backdrop>
675      <backdrop name="lamp147" element="matrixlamp" state="0">
676         <bounds x="24" y="72" width="7" height="7"/>
677      </backdrop>
678      <backdrop name="lamp148" element="matrixlamp" state="0">
679         <bounds x="32" y="72" width="7" height="7"/>
680      </backdrop>
681      <backdrop name="lamp149" element="matrixlamp" state="0">
682         <bounds x="40" y="72" width="7" height="7"/>
683      </backdrop>
684      <backdrop name="lamp150" element="matrixlamp" state="0">
685         <bounds x="48" y="72" width="7" height="7"/>
686      </backdrop>
687      <backdrop name="lamp151" element="matrixlamp" state="0">
688         <bounds x="56" y="72" width="7" height="7"/>
689      </backdrop>
690      <backdrop name="lamp152" element="matrixlamp" state="0">
691         <bounds x="64" y="72" width="7" height="7"/>
692      </backdrop>
693      <backdrop name="lamp153" element="matrixlamp" state="0">
694         <bounds x="72" y="72" width="7" height="7"/>
695      </backdrop>
696      <backdrop name="lamp154" element="matrixlamp" state="0">
697         <bounds x="80" y="72" width="7" height="7"/>
698      </backdrop>
699      <backdrop name="lamp155" element="matrixlamp" state="0">
700         <bounds x="88" y="72" width="7" height="7"/>
701      </backdrop>
702      <backdrop name="lamp156" element="matrixlamp" state="0">
703         <bounds x="96" y="72" width="7" height="7"/>
704      </backdrop>
705      <backdrop name="lamp157" element="matrixlamp" state="0">
706         <bounds x="104" y="72" width="7" height="7"/>
707      </backdrop>
708      <backdrop name="lamp158" element="matrixlamp" state="0">
709         <bounds x="112" y="72" width="7" height="7"/>
710      </backdrop>
711      <backdrop name="lamp159" element="matrixlamp" state="0">
712         <bounds x="120" y="72" width="7" height="7"/>
713      </backdrop>
714      <backdrop name="lamp160" element="matrixlamp" state="0">
715         <bounds x="0" y="80" width="7" height="7"/>
716      </backdrop>
717      <backdrop name="lamp161" element="matrixlamp" state="0">
718         <bounds x="8" y="80" width="7" height="7"/>
719      </backdrop>
720      <backdrop name="lamp162" element="matrixlamp" state="0">
721         <bounds x="16" y="80" width="7" height="7"/>
722      </backdrop>
723      <backdrop name="lamp163" element="matrixlamp" state="0">
724         <bounds x="24" y="80" width="7" height="7"/>
725      </backdrop>
726      <backdrop name="lamp164" element="matrixlamp" state="0">
727         <bounds x="32" y="80" width="7" height="7"/>
728      </backdrop>
729      <backdrop name="lamp165" element="matrixlamp" state="0">
730         <bounds x="40" y="80" width="7" height="7"/>
731      </backdrop>
732      <backdrop name="lamp166" element="matrixlamp" state="0">
733         <bounds x="48" y="80" width="7" height="7"/>
734      </backdrop>
735      <backdrop name="lamp167" element="matrixlamp" state="0">
736         <bounds x="56" y="80" width="7" height="7"/>
737      </backdrop>
738      <backdrop name="lamp168" element="matrixlamp" state="0">
739         <bounds x="64" y="80" width="7" height="7"/>
740      </backdrop>
741      <backdrop name="lamp169" element="matrixlamp" state="0">
742         <bounds x="72" y="80" width="7" height="7"/>
743      </backdrop>
744      <backdrop name="lamp170" element="matrixlamp" state="0">
745         <bounds x="80" y="80" width="7" height="7"/>
746      </backdrop>
747      <backdrop name="lamp171" element="matrixlamp" state="0">
748         <bounds x="88" y="80" width="7" height="7"/>
749      </backdrop>
750      <backdrop name="lamp172" element="matrixlamp" state="0">
751         <bounds x="96" y="80" width="7" height="7"/>
752      </backdrop>
753      <backdrop name="lamp173" element="matrixlamp" state="0">
754         <bounds x="104" y="80" width="7" height="7"/>
755      </backdrop>
756      <backdrop name="lamp174" element="matrixlamp" state="0">
757         <bounds x="112" y="80" width="7" height="7"/>
758      </backdrop>
759      <backdrop name="lamp175" element="matrixlamp" state="0">
760         <bounds x="120" y="80" width="7" height="7"/>
761      </backdrop>
762      <backdrop name="lamp176" element="matrixlamp" state="0">
763         <bounds x="0" y="88" width="7" height="7"/>
764      </backdrop>
765      <backdrop name="lamp177" element="matrixlamp" state="0">
766         <bounds x="8" y="88" width="7" height="7"/>
767      </backdrop>
768      <backdrop name="lamp178" element="matrixlamp" state="0">
769         <bounds x="16" y="88" width="7" height="7"/>
770      </backdrop>
771      <backdrop name="lamp179" element="matrixlamp" state="0">
772         <bounds x="24" y="88" width="7" height="7"/>
773      </backdrop>
774      <backdrop name="lamp180" element="matrixlamp" state="0">
775         <bounds x="32" y="88" width="7" height="7"/>
776      </backdrop>
777      <backdrop name="lamp181" element="matrixlamp" state="0">
778         <bounds x="40" y="88" width="7" height="7"/>
779      </backdrop>
780      <backdrop name="lamp182" element="matrixlamp" state="0">
781         <bounds x="48" y="88" width="7" height="7"/>
782      </backdrop>
783      <backdrop name="lamp183" element="matrixlamp" state="0">
784         <bounds x="56" y="88" width="7" height="7"/>
785      </backdrop>
786      <backdrop name="lamp184" element="matrixlamp" state="0">
787         <bounds x="64" y="88" width="7" height="7"/>
788      </backdrop>
789      <backdrop name="lamp185" element="matrixlamp" state="0">
790         <bounds x="72" y="88" width="7" height="7"/>
791      </backdrop>
792      <backdrop name="lamp186" element="matrixlamp" state="0">
793         <bounds x="80" y="88" width="7" height="7"/>
794      </backdrop>
795      <backdrop name="lamp187" element="matrixlamp" state="0">
796         <bounds x="88" y="88" width="7" height="7"/>
797      </backdrop>
798      <backdrop name="lamp188" element="matrixlamp" state="0">
799         <bounds x="96" y="88" width="7" height="7"/>
800      </backdrop>
801      <backdrop name="lamp189" element="matrixlamp" state="0">
802         <bounds x="104" y="88" width="7" height="7"/>
803      </backdrop>
804      <backdrop name="lamp190" element="matrixlamp" state="0">
805         <bounds x="112" y="88" width="7" height="7"/>
806      </backdrop>
807      <backdrop name="lamp191" element="matrixlamp" state="0">
808         <bounds x="120" y="88" width="7" height="7"/>
809      </backdrop>
810      <backdrop name="lamp192" element="matrixlamp" state="0">
811         <bounds x="0" y="96" width="7" height="7"/>
812      </backdrop>
813      <backdrop name="lamp193" element="matrixlamp" state="0">
814         <bounds x="8" y="96" width="7" height="7"/>
815      </backdrop>
816      <backdrop name="lamp194" element="matrixlamp" state="0">
817         <bounds x="16" y="96" width="7" height="7"/>
818      </backdrop>
819      <backdrop name="lamp195" element="matrixlamp" state="0">
820         <bounds x="24" y="96" width="7" height="7"/>
821      </backdrop>
822      <backdrop name="lamp196" element="matrixlamp" state="0">
823         <bounds x="32" y="96" width="7" height="7"/>
824      </backdrop>
825      <backdrop name="lamp197" element="matrixlamp" state="0">
826         <bounds x="40" y="96" width="7" height="7"/>
827      </backdrop>
828      <backdrop name="lamp198" element="matrixlamp" state="0">
829         <bounds x="48" y="96" width="7" height="7"/>
830      </backdrop>
831      <backdrop name="lamp199" element="matrixlamp" state="0">
832         <bounds x="56" y="96" width="7" height="7"/>
833      </backdrop>
834      <backdrop name="lamp200" element="matrixlamp" state="0">
835         <bounds x="64" y="96" width="7" height="7"/>
836      </backdrop>
837      <backdrop name="lamp201" element="matrixlamp" state="0">
838         <bounds x="72" y="96" width="7" height="7"/>
839      </backdrop>
840      <backdrop name="lamp202" element="matrixlamp" state="0">
841         <bounds x="80" y="96" width="7" height="7"/>
842      </backdrop>
843      <backdrop name="lamp203" element="matrixlamp" state="0">
844         <bounds x="88" y="96" width="7" height="7"/>
845      </backdrop>
846      <backdrop name="lamp204" element="matrixlamp" state="0">
847         <bounds x="96" y="96" width="7" height="7"/>
848      </backdrop>
849      <backdrop name="lamp205" element="matrixlamp" state="0">
850         <bounds x="104" y="96" width="7" height="7"/>
851      </backdrop>
852      <backdrop name="lamp206" element="matrixlamp" state="0">
853         <bounds x="112" y="96" width="7" height="7"/>
854      </backdrop>
855      <backdrop name="lamp207" element="matrixlamp" state="0">
856         <bounds x="120" y="96" width="7" height="7"/>
857      </backdrop>
858      <backdrop name="lamp208" element="matrixlamp" state="0">
859         <bounds x="0" y="104" width="7" height="7"/>
860      </backdrop>
861      <backdrop name="lamp209" element="matrixlamp" state="0">
862         <bounds x="8" y="104" width="7" height="7"/>
863      </backdrop>
864      <backdrop name="lamp210" element="matrixlamp" state="0">
865         <bounds x="16" y="104" width="7" height="7"/>
866      </backdrop>
867      <backdrop name="lamp211" element="matrixlamp" state="0">
868         <bounds x="24" y="104" width="7" height="7"/>
869      </backdrop>
870      <backdrop name="lamp212" element="matrixlamp" state="0">
871         <bounds x="32" y="104" width="7" height="7"/>
872      </backdrop>
873      <backdrop name="lamp213" element="matrixlamp" state="0">
874         <bounds x="40" y="104" width="7" height="7"/>
875      </backdrop>
876      <backdrop name="lamp214" element="matrixlamp" state="0">
877         <bounds x="48" y="104" width="7" height="7"/>
878      </backdrop>
879      <backdrop name="lamp215" element="matrixlamp" state="0">
880         <bounds x="56" y="104" width="7" height="7"/>
881      </backdrop>
882      <backdrop name="lamp216" element="matrixlamp" state="0">
883         <bounds x="64" y="104" width="7" height="7"/>
884      </backdrop>
885      <backdrop name="lamp217" element="matrixlamp" state="0">
886         <bounds x="72" y="104" width="7" height="7"/>
887      </backdrop>
888      <backdrop name="lamp218" element="matrixlamp" state="0">
889         <bounds x="80" y="104" width="7" height="7"/>
890      </backdrop>
891      <backdrop name="lamp219" element="matrixlamp" state="0">
892         <bounds x="88" y="104" width="7" height="7"/>
893      </backdrop>
894      <backdrop name="lamp220" element="matrixlamp" state="0">
895         <bounds x="96" y="104" width="7" height="7"/>
896      </backdrop>
897      <backdrop name="lamp221" element="matrixlamp" state="0">
898         <bounds x="104" y="104" width="7" height="7"/>
899      </backdrop>
900      <backdrop name="lamp222" element="matrixlamp" state="0">
901         <bounds x="112" y="104" width="7" height="7"/>
902      </backdrop>
903      <backdrop name="lamp223" element="matrixlamp" state="0">
904         <bounds x="120" y="104" width="7" height="7"/>
905      </backdrop>
906      <backdrop name="lamp224" element="matrixlamp" state="0">
907         <bounds x="0" y="112" width="7" height="7"/>
908      </backdrop>
909      <backdrop name="lamp225" element="matrixlamp" state="0">
910         <bounds x="8" y="112" width="7" height="7"/>
911      </backdrop>
912      <backdrop name="lamp226" element="matrixlamp" state="0">
913         <bounds x="16" y="112" width="7" height="7"/>
914      </backdrop>
915      <backdrop name="lamp227" element="matrixlamp" state="0">
916         <bounds x="24" y="112" width="7" height="7"/>
917      </backdrop>
918      <backdrop name="lamp228" element="matrixlamp" state="0">
919         <bounds x="32" y="112" width="7" height="7"/>
920      </backdrop>
921      <backdrop name="lamp229" element="matrixlamp" state="0">
922         <bounds x="40" y="112" width="7" height="7"/>
923      </backdrop>
924      <backdrop name="lamp230" element="matrixlamp" state="0">
925         <bounds x="48" y="112" width="7" height="7"/>
926      </backdrop>
927      <backdrop name="lamp231" element="matrixlamp" state="0">
928         <bounds x="56" y="112" width="7" height="7"/>
929      </backdrop>
930      <backdrop name="lamp232" element="matrixlamp" state="0">
931         <bounds x="64" y="112" width="7" height="7"/>
932      </backdrop>
933      <backdrop name="lamp233" element="matrixlamp" state="0">
934         <bounds x="72" y="112" width="7" height="7"/>
935      </backdrop>
936      <backdrop name="lamp234" element="matrixlamp" state="0">
937         <bounds x="80" y="112" width="7" height="7"/>
938      </backdrop>
939      <backdrop name="lamp235" element="matrixlamp" state="0">
940         <bounds x="88" y="112" width="7" height="7"/>
941      </backdrop>
942      <backdrop name="lamp236" element="matrixlamp" state="0">
943         <bounds x="96" y="112" width="7" height="7"/>
944      </backdrop>
945      <backdrop name="lamp237" element="matrixlamp" state="0">
946         <bounds x="104" y="112" width="7" height="7"/>
947      </backdrop>
948      <backdrop name="lamp238" element="matrixlamp" state="0">
949         <bounds x="112" y="112" width="7" height="7"/>
950      </backdrop>
951      <backdrop name="lamp239" element="matrixlamp" state="0">
952         <bounds x="120" y="112" width="7" height="7"/>
953      </backdrop>
954      <backdrop name="lamp240" element="matrixlamp" state="0">
955         <bounds x="0" y="120" width="7" height="7"/>
956      </backdrop>
957      <backdrop name="lamp241" element="matrixlamp" state="0">
958         <bounds x="8" y="120" width="7" height="7"/>
959      </backdrop>
960      <backdrop name="lamp242" element="matrixlamp" state="0">
961         <bounds x="16" y="120" width="7" height="7"/>
962      </backdrop>
963      <backdrop name="lamp243" element="matrixlamp" state="0">
964         <bounds x="24" y="120" width="7" height="7"/>
965      </backdrop>
966      <backdrop name="lamp244" element="matrixlamp" state="0">
967         <bounds x="32" y="120" width="7" height="7"/>
968      </backdrop>
969      <backdrop name="lamp245" element="matrixlamp" state="0">
970         <bounds x="40" y="120" width="7" height="7"/>
971      </backdrop>
972      <backdrop name="lamp246" element="matrixlamp" state="0">
973         <bounds x="48" y="120" width="7" height="7"/>
974      </backdrop>
975      <backdrop name="lamp247" element="matrixlamp" state="0">
976         <bounds x="56" y="120" width="7" height="7"/>
977      </backdrop>
978      <backdrop name="lamp248" element="matrixlamp" state="0">
979         <bounds x="64" y="120" width="7" height="7"/>
980      </backdrop>
981      <backdrop name="lamp249" element="matrixlamp" state="0">
982         <bounds x="72" y="120" width="7" height="7"/>
983      </backdrop>
984      <backdrop name="lamp250" element="matrixlamp" state="0">
985         <bounds x="80" y="120" width="7" height="7"/>
986      </backdrop>
987      <backdrop name="lamp251" element="matrixlamp" state="0">
988         <bounds x="88" y="120" width="7" height="7"/>
989      </backdrop>
990      <backdrop name="lamp252" element="matrixlamp" state="0">
991         <bounds x="96" y="120" width="7" height="7"/>
992      </backdrop>
993      <backdrop name="lamp253" element="matrixlamp" state="0">
994         <bounds x="104" y="120" width="7" height="7"/>
995      </backdrop>
996      <backdrop name="lamp254" element="matrixlamp" state="0">
997         <bounds x="112" y="120" width="7" height="7"/>
998      </backdrop>
999      <backdrop name="lamp255" element="matrixlamp" state="0">
1000         <bounds x="120" y="120" width="7" height="7"/>
1001      </backdrop>
1002
1003
1004
1005
1006   <backdrop name="matrix0" element="matrixlamp" state="0">
1007      <bounds y="0" x="180" width="3" height="3"/>
1008   </backdrop>
1009   <backdrop name="matrix1" element="matrixlamp" state="0">
1010      <bounds y="4" x="180" width="3" height="3"/>
1011   </backdrop>
1012   <backdrop name="matrix2" element="matrixlamp" state="0">
1013      <bounds y="8" x="180" width="3" height="3"/>
1014   </backdrop>
1015   <backdrop name="matrix3" element="matrixlamp" state="0">
1016      <bounds y="12" x="180" width="3" height="3"/>
1017   </backdrop>
1018   <backdrop name="matrix4" element="matrixlamp" state="0">
1019      <bounds y="16" x="180" width="3" height="3"/>
1020   </backdrop>
1021   <backdrop name="matrix5" element="matrixlamp" state="0">
1022      <bounds y="20" x="180" width="3" height="3"/>
1023   </backdrop>
1024   <backdrop name="matrix6" element="matrixlamp" state="0">
1025      <bounds y="24" x="180" width="3" height="3"/>
1026   </backdrop>
1027   <backdrop name="matrix7" element="matrixlamp" state="0">
1028      <bounds y="28" x="180" width="3" height="3"/>
1029   </backdrop>
1030   <backdrop name="matrix8" element="matrixlamp" state="0">
1031      <bounds y="0" x="184" width="3" height="3"/>
1032   </backdrop>
1033   <backdrop name="matrix9" element="matrixlamp" state="0">
1034      <bounds y="4" x="184" width="3" height="3"/>
1035   </backdrop>
1036   <backdrop name="matrix10" element="matrixlamp" state="0">
1037      <bounds y="8" x="184" width="3" height="3"/>
1038   </backdrop>
1039   <backdrop name="matrix11" element="matrixlamp" state="0">
1040      <bounds y="12" x="184" width="3" height="3"/>
1041   </backdrop>
1042   <backdrop name="matrix12" element="matrixlamp" state="0">
1043      <bounds y="16" x="184" width="3" height="3"/>
1044   </backdrop>
1045   <backdrop name="matrix13" element="matrixlamp" state="0">
1046      <bounds y="20" x="184" width="3" height="3"/>
1047   </backdrop>
1048   <backdrop name="matrix14" element="matrixlamp" state="0">
1049      <bounds y="24" x="184" width="3" height="3"/>
1050   </backdrop>
1051   <backdrop name="matrix15" element="matrixlamp" state="0">
1052      <bounds y="28" x="184" width="3" height="3"/>
1053   </backdrop>
1054   <backdrop name="matrix16" element="matrixlamp" state="0">
1055      <bounds y="0" x="188" width="3" height="3"/>
1056   </backdrop>
1057   <backdrop name="matrix17" element="matrixlamp" state="0">
1058      <bounds y="4" x="188" width="3" height="3"/>
1059   </backdrop>
1060   <backdrop name="matrix18" element="matrixlamp" state="0">
1061      <bounds y="8" x="188" width="3" height="3"/>
1062   </backdrop>
1063   <backdrop name="matrix19" element="matrixlamp" state="0">
1064      <bounds y="12" x="188" width="3" height="3"/>
1065   </backdrop>
1066   <backdrop name="matrix20" element="matrixlamp" state="0">
1067      <bounds y="16" x="188" width="3" height="3"/>
1068   </backdrop>
1069   <backdrop name="matrix21" element="matrixlamp" state="0">
1070      <bounds y="20" x="188" width="3" height="3"/>
1071   </backdrop>
1072   <backdrop name="matrix22" element="matrixlamp" state="0">
1073      <bounds y="24" x="188" width="3" height="3"/>
1074   </backdrop>
1075   <backdrop name="matrix23" element="matrixlamp" state="0">
1076      <bounds y="28" x="188" width="3" height="3"/>
1077   </backdrop>
1078   <backdrop name="matrix24" element="matrixlamp" state="0">
1079      <bounds y="0" x="192" width="3" height="3"/>
1080   </backdrop>
1081   <backdrop name="matrix25" element="matrixlamp" state="0">
1082      <bounds y="4" x="192" width="3" height="3"/>
1083   </backdrop>
1084   <backdrop name="matrix26" element="matrixlamp" state="0">
1085      <bounds y="8" x="192" width="3" height="3"/>
1086   </backdrop>
1087   <backdrop name="matrix27" element="matrixlamp" state="0">
1088      <bounds y="12" x="192" width="3" height="3"/>
1089   </backdrop>
1090   <backdrop name="matrix28" element="matrixlamp" state="0">
1091      <bounds y="16" x="192" width="3" height="3"/>
1092   </backdrop>
1093   <backdrop name="matrix29" element="matrixlamp" state="0">
1094      <bounds y="20" x="192" width="3" height="3"/>
1095   </backdrop>
1096   <backdrop name="matrix30" element="matrixlamp" state="0">
1097      <bounds y="24" x="192" width="3" height="3"/>
1098   </backdrop>
1099   <backdrop name="matrix31" element="matrixlamp" state="0">
1100      <bounds y="28" x="192" width="3" height="3"/>
1101   </backdrop>
1102   <backdrop name="matrix32" element="matrixlamp" state="0">
1103      <bounds y="0" x="196" width="3" height="3"/>
1104   </backdrop>
1105   <backdrop name="matrix33" element="matrixlamp" state="0">
1106      <bounds y="4" x="196" width="3" height="3"/>
1107   </backdrop>
1108   <backdrop name="matrix34" element="matrixlamp" state="0">
1109      <bounds y="8" x="196" width="3" height="3"/>
1110   </backdrop>
1111   <backdrop name="matrix35" element="matrixlamp" state="0">
1112      <bounds y="12" x="196" width="3" height="3"/>
1113   </backdrop>
1114   <backdrop name="matrix36" element="matrixlamp" state="0">
1115      <bounds y="16" x="196" width="3" height="3"/>
1116   </backdrop>
1117   <backdrop name="matrix37" element="matrixlamp" state="0">
1118      <bounds y="20" x="196" width="3" height="3"/>
1119   </backdrop>
1120   <backdrop name="matrix38" element="matrixlamp" state="0">
1121      <bounds y="24" x="196" width="3" height="3"/>
1122   </backdrop>
1123   <backdrop name="matrix39" element="matrixlamp" state="0">
1124      <bounds y="28" x="196" width="3" height="3"/>
1125   </backdrop>
1126
1127
1128   <backdrop name="matrix40" element="matrixlamp" state="0">
1129      <bounds y="0" x="202" width="3" height="3"/>
1130   </backdrop>
1131   <backdrop name="matrix41" element="matrixlamp" state="0">
1132      <bounds y="4" x="202" width="3" height="3"/>
1133   </backdrop>
1134   <backdrop name="matrix42" element="matrixlamp" state="0">
1135      <bounds y="8" x="202" width="3" height="3"/>
1136   </backdrop>
1137   <backdrop name="matrix43" element="matrixlamp" state="0">
1138      <bounds y="12" x="202" width="3" height="3"/>
1139   </backdrop>
1140   <backdrop name="matrix44" element="matrixlamp" state="0">
1141      <bounds y="16" x="202" width="3" height="3"/>
1142   </backdrop>
1143   <backdrop name="matrix45" element="matrixlamp" state="0">
1144      <bounds y="20" x="202" width="3" height="3"/>
1145   </backdrop>
1146   <backdrop name="matrix46" element="matrixlamp" state="0">
1147      <bounds y="24" x="202" width="3" height="3"/>
1148   </backdrop>
1149   <backdrop name="matrix47" element="matrixlamp" state="0">
1150      <bounds y="28" x="202" width="3" height="3"/>
1151   </backdrop>
1152   <backdrop name="matrix48" element="matrixlamp" state="0">
1153      <bounds y="0" x="206" width="3" height="3"/>
1154   </backdrop>
1155   <backdrop name="matrix49" element="matrixlamp" state="0">
1156      <bounds y="4" x="206" width="3" height="3"/>
1157   </backdrop>
1158   <backdrop name="matrix50" element="matrixlamp" state="0">
1159      <bounds y="8" x="206" width="3" height="3"/>
1160   </backdrop>
1161   <backdrop name="matrix51" element="matrixlamp" state="0">
1162      <bounds y="12" x="206" width="3" height="3"/>
1163   </backdrop>
1164   <backdrop name="matrix52" element="matrixlamp" state="0">
1165      <bounds y="16" x="206" width="3" height="3"/>
1166   </backdrop>
1167   <backdrop name="matrix53" element="matrixlamp" state="0">
1168      <bounds y="20" x="206" width="3" height="3"/>
1169   </backdrop>
1170   <backdrop name="matrix54" element="matrixlamp" state="0">
1171      <bounds y="24" x="206" width="3" height="3"/>
1172   </backdrop>
1173   <backdrop name="matrix55" element="matrixlamp" state="0">
1174      <bounds y="28" x="206" width="3" height="3"/>
1175   </backdrop>
1176   <backdrop name="matrix56" element="matrixlamp" state="0">
1177      <bounds y="0" x="210" width="3" height="3"/>
1178   </backdrop>
1179   <backdrop name="matrix57" element="matrixlamp" state="0">
1180      <bounds y="4" x="210" width="3" height="3"/>
1181   </backdrop>
1182   <backdrop name="matrix58" element="matrixlamp" state="0">
1183      <bounds y="8" x="210" width="3" height="3"/>
1184   </backdrop>
1185   <backdrop name="matrix59" element="matrixlamp" state="0">
1186      <bounds y="12" x="210" width="3" height="3"/>
1187   </backdrop>
1188   <backdrop name="matrix60" element="matrixlamp" state="0">
1189      <bounds y="16" x="210" width="3" height="3"/>
1190   </backdrop>
1191   <backdrop name="matrix61" element="matrixlamp" state="0">
1192      <bounds y="20" x="210" width="3" height="3"/>
1193   </backdrop>
1194   <backdrop name="matrix62" element="matrixlamp" state="0">
1195      <bounds y="24" x="210" width="3" height="3"/>
1196   </backdrop>
1197   <backdrop name="matrix63" element="matrixlamp" state="0">
1198      <bounds y="28" x="210" width="3" height="3"/>
1199   </backdrop>
1200   <backdrop name="matrix64" element="matrixlamp" state="0">
1201      <bounds y="0" x="214" width="3" height="3"/>
1202   </backdrop>
1203   <backdrop name="matrix65" element="matrixlamp" state="0">
1204      <bounds y="4" x="214" width="3" height="3"/>
1205   </backdrop>
1206   <backdrop name="matrix66" element="matrixlamp" state="0">
1207      <bounds y="8" x="214" width="3" height="3"/>
1208   </backdrop>
1209   <backdrop name="matrix67" element="matrixlamp" state="0">
1210      <bounds y="12" x="214" width="3" height="3"/>
1211   </backdrop>
1212   <backdrop name="matrix68" element="matrixlamp" state="0">
1213      <bounds y="16" x="214" width="3" height="3"/>
1214   </backdrop>
1215   <backdrop name="matrix69" element="matrixlamp" state="0">
1216      <bounds y="20" x="214" width="3" height="3"/>
1217   </backdrop>
1218   <backdrop name="matrix70" element="matrixlamp" state="0">
1219      <bounds y="24" x="214" width="3" height="3"/>
1220   </backdrop>
1221   <backdrop name="matrix71" element="matrixlamp" state="0">
1222      <bounds y="28" x="214" width="3" height="3"/>
1223   </backdrop>
1224   <backdrop name="matrix72" element="matrixlamp" state="0">
1225      <bounds y="0" x="218" width="3" height="3"/>
1226   </backdrop>
1227   <backdrop name="matrix73" element="matrixlamp" state="0">
1228      <bounds y="4" x="218" width="3" height="3"/>
1229   </backdrop>
1230   <backdrop name="matrix74" element="matrixlamp" state="0">
1231      <bounds y="8" x="218" width="3" height="3"/>
1232   </backdrop>
1233   <backdrop name="matrix75" element="matrixlamp" state="0">
1234      <bounds y="12" x="218" width="3" height="3"/>
1235   </backdrop>
1236   <backdrop name="matrix76" element="matrixlamp" state="0">
1237      <bounds y="16" x="218" width="3" height="3"/>
1238   </backdrop>
1239   <backdrop name="matrix77" element="matrixlamp" state="0">
1240      <bounds y="20" x="218" width="3" height="3"/>
1241   </backdrop>
1242   <backdrop name="matrix78" element="matrixlamp" state="0">
1243      <bounds y="24" x="218" width="3" height="3"/>
1244   </backdrop>
1245   <backdrop name="matrix79" element="matrixlamp" state="0">
1246      <bounds y="28" x="218" width="3" height="3"/>
1247   </backdrop>
1248
1249
1250   <backdrop name="matrix80" element="matrixlamp" state="0">
1251      <bounds y="0" x="224" width="3" height="3"/>
1252   </backdrop>
1253   <backdrop name="matrix81" element="matrixlamp" state="0">
1254      <bounds y="4" x="224" width="3" height="3"/>
1255   </backdrop>
1256   <backdrop name="matrix82" element="matrixlamp" state="0">
1257      <bounds y="8" x="224" width="3" height="3"/>
1258   </backdrop>
1259   <backdrop name="matrix83" element="matrixlamp" state="0">
1260      <bounds y="12" x="224" width="3" height="3"/>
1261   </backdrop>
1262   <backdrop name="matrix84" element="matrixlamp" state="0">
1263      <bounds y="16" x="224" width="3" height="3"/>
1264   </backdrop>
1265   <backdrop name="matrix85" element="matrixlamp" state="0">
1266      <bounds y="20" x="224" width="3" height="3"/>
1267   </backdrop>
1268   <backdrop name="matrix86" element="matrixlamp" state="0">
1269      <bounds y="24" x="224" width="3" height="3"/>
1270   </backdrop>
1271   <backdrop name="matrix87" element="matrixlamp" state="0">
1272      <bounds y="28" x="224" width="3" height="3"/>
1273   </backdrop>
1274   <backdrop name="matrix88" element="matrixlamp" state="0">
1275      <bounds y="0" x="228" width="3" height="3"/>
1276   </backdrop>
1277   <backdrop name="matrix89" element="matrixlamp" state="0">
1278      <bounds y="4" x="228" width="3" height="3"/>
1279   </backdrop>
1280   <backdrop name="matrix90" element="matrixlamp" state="0">
1281      <bounds y="8" x="228" width="3" height="3"/>
1282   </backdrop>
1283   <backdrop name="matrix91" element="matrixlamp" state="0">
1284      <bounds y="12" x="228" width="3" height="3"/>
1285   </backdrop>
1286   <backdrop name="matrix92" element="matrixlamp" state="0">
1287      <bounds y="16" x="228" width="3" height="3"/>
1288   </backdrop>
1289   <backdrop name="matrix93" element="matrixlamp" state="0">
1290      <bounds y="20" x="228" width="3" height="3"/>
1291   </backdrop>
1292   <backdrop name="matrix94" element="matrixlamp" state="0">
1293      <bounds y="24" x="228" width="3" height="3"/>
1294   </backdrop>
1295   <backdrop name="matrix95" element="matrixlamp" state="0">
1296      <bounds y="28" x="228" width="3" height="3"/>
1297   </backdrop>
1298   <backdrop name="matrix96" element="matrixlamp" state="0">
1299      <bounds y="0" x="232" width="3" height="3"/>
1300   </backdrop>
1301   <backdrop name="matrix97" element="matrixlamp" state="0">
1302      <bounds y="4" x="232" width="3" height="3"/>
1303   </backdrop>
1304   <backdrop name="matrix98" element="matrixlamp" state="0">
1305      <bounds y="8" x="232" width="3" height="3"/>
1306   </backdrop>
1307   <backdrop name="matrix99" element="matrixlamp" state="0">
1308      <bounds y="12" x="232" width="3" height="3"/>
1309   </backdrop>
1310   <backdrop name="matrix100" element="matrixlamp" state="0">
1311      <bounds y="16" x="232" width="3" height="3"/>
1312   </backdrop>
1313   <backdrop name="matrix101" element="matrixlamp" state="0">
1314      <bounds y="20" x="232" width="3" height="3"/>
1315   </backdrop>
1316   <backdrop name="matrix102" element="matrixlamp" state="0">
1317      <bounds y="24" x="232" width="3" height="3"/>
1318   </backdrop>
1319   <backdrop name="matrix103" element="matrixlamp" state="0">
1320      <bounds y="28" x="232" width="3" height="3"/>
1321   </backdrop>
1322   <backdrop name="matrix104" element="matrixlamp" state="0">
1323      <bounds y="0" x="236" width="3" height="3"/>
1324   </backdrop>
1325   <backdrop name="matrix105" element="matrixlamp" state="0">
1326      <bounds y="4" x="236" width="3" height="3"/>
1327   </backdrop>
1328   <backdrop name="matrix106" element="matrixlamp" state="0">
1329      <bounds y="8" x="236" width="3" height="3"/>
1330   </backdrop>
1331   <backdrop name="matrix107" element="matrixlamp" state="0">
1332      <bounds y="12" x="236" width="3" height="3"/>
1333   </backdrop>
1334   <backdrop name="matrix108" element="matrixlamp" state="0">
1335      <bounds y="16" x="236" width="3" height="3"/>
1336   </backdrop>
1337   <backdrop name="matrix109" element="matrixlamp" state="0">
1338      <bounds y="20" x="236" width="3" height="3"/>
1339   </backdrop>
1340   <backdrop name="matrix110" element="matrixlamp" state="0">
1341      <bounds y="24" x="236" width="3" height="3"/>
1342   </backdrop>
1343   <backdrop name="matrix111" element="matrixlamp" state="0">
1344      <bounds y="28" x="236" width="3" height="3"/>
1345   </backdrop>
1346   <backdrop name="matrix112" element="matrixlamp" state="0">
1347      <bounds y="0" x="240" width="3" height="3"/>
1348   </backdrop>
1349   <backdrop name="matrix113" element="matrixlamp" state="0">
1350      <bounds y="4" x="240" width="3" height="3"/>
1351   </backdrop>
1352   <backdrop name="matrix114" element="matrixlamp" state="0">
1353      <bounds y="8" x="240" width="3" height="3"/>
1354   </backdrop>
1355   <backdrop name="matrix115" element="matrixlamp" state="0">
1356      <bounds y="12" x="240" width="3" height="3"/>
1357   </backdrop>
1358   <backdrop name="matrix116" element="matrixlamp" state="0">
1359      <bounds y="16" x="240" width="3" height="3"/>
1360   </backdrop>
1361   <backdrop name="matrix117" element="matrixlamp" state="0">
1362      <bounds y="20" x="240" width="3" height="3"/>
1363   </backdrop>
1364   <backdrop name="matrix118" element="matrixlamp" state="0">
1365      <bounds y="24" x="240" width="3" height="3"/>
1366   </backdrop>
1367   <backdrop name="matrix119" element="matrixlamp" state="0">
1368      <bounds y="28" x="240" width="3" height="3"/>
1369   </backdrop>
1370
1371
1372   <backdrop name="matrix120" element="matrixlamp" state="0">
1373      <bounds y="0" x="246" width="3" height="3"/>
1374   </backdrop>
1375   <backdrop name="matrix121" element="matrixlamp" state="0">
1376      <bounds y="4" x="246" width="3" height="3"/>
1377   </backdrop>
1378   <backdrop name="matrix122" element="matrixlamp" state="0">
1379      <bounds y="8" x="246" width="3" height="3"/>
1380   </backdrop>
1381   <backdrop name="matrix123" element="matrixlamp" state="0">
1382      <bounds y="12" x="246" width="3" height="3"/>
1383   </backdrop>
1384   <backdrop name="matrix124" element="matrixlamp" state="0">
1385      <bounds y="16" x="246" width="3" height="3"/>
1386   </backdrop>
1387   <backdrop name="matrix125" element="matrixlamp" state="0">
1388      <bounds y="20" x="246" width="3" height="3"/>
1389   </backdrop>
1390   <backdrop name="matrix126" element="matrixlamp" state="0">
1391      <bounds y="24" x="246" width="3" height="3"/>
1392   </backdrop>
1393   <backdrop name="matrix127" element="matrixlamp" state="0">
1394      <bounds y="28" x="246" width="3" height="3"/>
1395   </backdrop>
1396   <backdrop name="matrix128" element="matrixlamp" state="0">
1397      <bounds y="0" x="250" width="3" height="3"/>
1398   </backdrop>
1399   <backdrop name="matrix129" element="matrixlamp" state="0">
1400      <bounds y="4" x="250" width="3" height="3"/>
1401   </backdrop>
1402   <backdrop name="matrix130" element="matrixlamp" state="0">
1403      <bounds y="8" x="250" width="3" height="3"/>
1404   </backdrop>
1405   <backdrop name="matrix131" element="matrixlamp" state="0">
1406      <bounds y="12" x="250" width="3" height="3"/>
1407   </backdrop>
1408   <backdrop name="matrix132" element="matrixlamp" state="0">
1409      <bounds y="16" x="250" width="3" height="3"/>
1410   </backdrop>
1411   <backdrop name="matrix133" element="matrixlamp" state="0">
1412      <bounds y="20" x="250" width="3" height="3"/>
1413   </backdrop>
1414   <backdrop name="matrix134" element="matrixlamp" state="0">
1415      <bounds y="24" x="250" width="3" height="3"/>
1416   </backdrop>
1417   <backdrop name="matrix135" element="matrixlamp" state="0">
1418      <bounds y="28" x="250" width="3" height="3"/>
1419   </backdrop>
1420   <backdrop name="matrix136" element="matrixlamp" state="0">
1421      <bounds y="0" x="254" width="3" height="3"/>
1422   </backdrop>
1423   <backdrop name="matrix137" element="matrixlamp" state="0">
1424      <bounds y="4" x="254" width="3" height="3"/>
1425   </backdrop>
1426   <backdrop name="matrix138" element="matrixlamp" state="0">
1427      <bounds y="8" x="254" width="3" height="3"/>
1428   </backdrop>
1429   <backdrop name="matrix139" element="matrixlamp" state="0">
1430      <bounds y="12" x="254" width="3" height="3"/>
1431   </backdrop>
1432   <backdrop name="matrix140" element="matrixlamp" state="0">
1433      <bounds y="16" x="254" width="3" height="3"/>
1434   </backdrop>
1435   <backdrop name="matrix141" element="matrixlamp" state="0">
1436      <bounds y="20" x="254" width="3" height="3"/>
1437   </backdrop>
1438   <backdrop name="matrix142" element="matrixlamp" state="0">
1439      <bounds y="24" x="254" width="3" height="3"/>
1440   </backdrop>
1441   <backdrop name="matrix143" element="matrixlamp" state="0">
1442      <bounds y="28" x="254" width="3" height="3"/>
1443   </backdrop>
1444   <backdrop name="matrix144" element="matrixlamp" state="0">
1445      <bounds y="0" x="258" width="3" height="3"/>
1446   </backdrop>
1447   <backdrop name="matrix145" element="matrixlamp" state="0">
1448      <bounds y="4" x="258" width="3" height="3"/>
1449   </backdrop>
1450   <backdrop name="matrix146" element="matrixlamp" state="0">
1451      <bounds y="8" x="258" width="3" height="3"/>
1452   </backdrop>
1453   <backdrop name="matrix147" element="matrixlamp" state="0">
1454      <bounds y="12" x="258" width="3" height="3"/>
1455   </backdrop>
1456   <backdrop name="matrix148" element="matrixlamp" state="0">
1457      <bounds y="16" x="258" width="3" height="3"/>
1458   </backdrop>
1459   <backdrop name="matrix149" element="matrixlamp" state="0">
1460      <bounds y="20" x="258" width="3" height="3"/>
1461   </backdrop>
1462   <backdrop name="matrix150" element="matrixlamp" state="0">
1463      <bounds y="24" x="258" width="3" height="3"/>
1464   </backdrop>
1465   <backdrop name="matrix151" element="matrixlamp" state="0">
1466      <bounds y="28" x="258" width="3" height="3"/>
1467   </backdrop>
1468   <backdrop name="matrix152" element="matrixlamp" state="0">
1469      <bounds y="0" x="262" width="3" height="3"/>
1470   </backdrop>
1471   <backdrop name="matrix153" element="matrixlamp" state="0">
1472      <bounds y="4" x="262" width="3" height="3"/>
1473   </backdrop>
1474   <backdrop name="matrix154" element="matrixlamp" state="0">
1475      <bounds y="8" x="262" width="3" height="3"/>
1476   </backdrop>
1477   <backdrop name="matrix155" element="matrixlamp" state="0">
1478      <bounds y="12" x="262" width="3" height="3"/>
1479   </backdrop>
1480   <backdrop name="matrix156" element="matrixlamp" state="0">
1481      <bounds y="16" x="262" width="3" height="3"/>
1482   </backdrop>
1483   <backdrop name="matrix157" element="matrixlamp" state="0">
1484      <bounds y="20" x="262" width="3" height="3"/>
1485   </backdrop>
1486   <backdrop name="matrix158" element="matrixlamp" state="0">
1487      <bounds y="24" x="262" width="3" height="3"/>
1488   </backdrop>
1489   <backdrop name="matrix159" element="matrixlamp" state="0">
1490      <bounds y="28" x="262" width="3" height="3"/>
1491   </backdrop>
1492
1493   <!-- the rest of the elements tend to be used for 7-segs
1494         so render them as both -->
1495   <backdrop name="matrix160" element="matrixlamp" state="0">
1496      <bounds y="0" x="280" width="3" height="3"/>
1497   </backdrop>
1498   <backdrop name="matrix161" element="matrixlamp" state="0">
1499      <bounds y="4" x="280" width="3" height="3"/>
1500   </backdrop>
1501   <backdrop name="matrix162" element="matrixlamp" state="0">
1502      <bounds y="8" x="280" width="3" height="3"/>
1503   </backdrop>
1504   <backdrop name="matrix163" element="matrixlamp" state="0">
1505      <bounds y="12" x="280" width="3" height="3"/>
1506   </backdrop>
1507   <backdrop name="matrix164" element="matrixlamp" state="0">
1508      <bounds y="16" x="280" width="3" height="3"/>
1509   </backdrop>
1510   <backdrop name="matrix165" element="matrixlamp" state="0">
1511      <bounds y="20" x="280" width="3" height="3"/>
1512   </backdrop>
1513   <backdrop name="matrix166" element="matrixlamp" state="0">
1514      <bounds y="24" x="280" width="3" height="3"/>
1515   </backdrop>
1516   <backdrop name="matrix167" element="matrixlamp" state="0">
1517      <bounds y="28" x="280" width="3" height="3"/>
1518   </backdrop>
1519   <backdrop name="matrix168" element="matrixlamp" state="0">
1520      <bounds y="0" x="284" width="3" height="3"/>
1521   </backdrop>
1522   <backdrop name="matrix169" element="matrixlamp" state="0">
1523      <bounds y="4" x="284" width="3" height="3"/>
1524   </backdrop>
1525   <backdrop name="matrix170" element="matrixlamp" state="0">
1526      <bounds y="8" x="284" width="3" height="3"/>
1527   </backdrop>
1528   <backdrop name="matrix171" element="matrixlamp" state="0">
1529      <bounds y="12" x="284" width="3" height="3"/>
1530   </backdrop>
1531   <backdrop name="matrix172" element="matrixlamp" state="0">
1532      <bounds y="16" x="284" width="3" height="3"/>
1533   </backdrop>
1534   <backdrop name="matrix173" element="matrixlamp" state="0">
1535      <bounds y="20" x="284" width="3" height="3"/>
1536   </backdrop>
1537   <backdrop name="matrix174" element="matrixlamp" state="0">
1538      <bounds y="24" x="284" width="3" height="3"/>
1539   </backdrop>
1540   <backdrop name="matrix175" element="matrixlamp" state="0">
1541      <bounds y="28" x="284" width="3" height="3"/>
1542   </backdrop>
1543   <backdrop name="matrix176" element="matrixlamp" state="0">
1544      <bounds y="0" x="288" width="3" height="3"/>
1545   </backdrop>
1546   <backdrop name="matrix177" element="matrixlamp" state="0">
1547      <bounds y="4" x="288" width="3" height="3"/>
1548   </backdrop>
1549   <backdrop name="matrix178" element="matrixlamp" state="0">
1550      <bounds y="8" x="288" width="3" height="3"/>
1551   </backdrop>
1552   <backdrop name="matrix179" element="matrixlamp" state="0">
1553      <bounds y="12" x="288" width="3" height="3"/>
1554   </backdrop>
1555   <backdrop name="matrix180" element="matrixlamp" state="0">
1556      <bounds y="16" x="288" width="3" height="3"/>
1557   </backdrop>
1558   <backdrop name="matrix181" element="matrixlamp" state="0">
1559      <bounds y="20" x="288" width="3" height="3"/>
1560   </backdrop>
1561   <backdrop name="matrix182" element="matrixlamp" state="0">
1562      <bounds y="24" x="288" width="3" height="3"/>
1563   </backdrop>
1564   <backdrop name="matrix183" element="matrixlamp" state="0">
1565      <bounds y="28" x="288" width="3" height="3"/>
1566   </backdrop>
1567   <backdrop name="matrix184" element="matrixlamp" state="0">
1568      <bounds y="0" x="292" width="3" height="3"/>
1569   </backdrop>
1570   <backdrop name="matrix185" element="matrixlamp" state="0">
1571      <bounds y="4" x="292" width="3" height="3"/>
1572   </backdrop>
1573   <backdrop name="matrix186" element="matrixlamp" state="0">
1574      <bounds y="8" x="292" width="3" height="3"/>
1575   </backdrop>
1576   <backdrop name="matrix187" element="matrixlamp" state="0">
1577      <bounds y="12" x="292" width="3" height="3"/>
1578   </backdrop>
1579   <backdrop name="matrix188" element="matrixlamp" state="0">
1580      <bounds y="16" x="292" width="3" height="3"/>
1581   </backdrop>
1582   <backdrop name="matrix189" element="matrixlamp" state="0">
1583      <bounds y="20" x="292" width="3" height="3"/>
1584   </backdrop>
1585   <backdrop name="matrix190" element="matrixlamp" state="0">
1586      <bounds y="24" x="292" width="3" height="3"/>
1587   </backdrop>
1588   <backdrop name="matrix191" element="matrixlamp" state="0">
1589      <bounds y="28" x="292" width="3" height="3"/>
1590   </backdrop>
1591   <backdrop name="matrix192" element="matrixlamp" state="0">
1592      <bounds y="0" x="296" width="3" height="3"/>
1593   </backdrop>
1594   <backdrop name="matrix193" element="matrixlamp" state="0">
1595      <bounds y="4" x="296" width="3" height="3"/>
1596   </backdrop>
1597   <backdrop name="matrix194" element="matrixlamp" state="0">
1598      <bounds y="8" x="296" width="3" height="3"/>
1599   </backdrop>
1600   <backdrop name="matrix195" element="matrixlamp" state="0">
1601      <bounds y="12" x="296" width="3" height="3"/>
1602   </backdrop>
1603   <backdrop name="matrix196" element="matrixlamp" state="0">
1604      <bounds y="16" x="296" width="3" height="3"/>
1605   </backdrop>
1606   <backdrop name="matrix197" element="matrixlamp" state="0">
1607      <bounds y="20" x="296" width="3" height="3"/>
1608   </backdrop>
1609   <backdrop name="matrix198" element="matrixlamp" state="0">
1610      <bounds y="24" x="296" width="3" height="3"/>
1611   </backdrop>
1612   <backdrop name="matrix199" element="matrixlamp" state="0">
1613      <bounds y="28" x="296" width="3" height="3"/>
1614   </backdrop>
1615   <backdrop name="matrix200" element="matrixlamp" state="0">
1616      <bounds y="0" x="300" width="3" height="3"/>
1617   </backdrop>
1618   <backdrop name="matrix201" element="matrixlamp" state="0">
1619      <bounds y="4" x="300" width="3" height="3"/>
1620   </backdrop>
1621   <backdrop name="matrix202" element="matrixlamp" state="0">
1622      <bounds y="8" x="300" width="3" height="3"/>
1623   </backdrop>
1624   <backdrop name="matrix203" element="matrixlamp" state="0">
1625      <bounds y="12" x="300" width="3" height="3"/>
1626   </backdrop>
1627   <backdrop name="matrix204" element="matrixlamp" state="0">
1628      <bounds y="16" x="300" width="3" height="3"/>
1629   </backdrop>
1630   <backdrop name="matrix205" element="matrixlamp" state="0">
1631      <bounds y="20" x="300" width="3" height="3"/>
1632   </backdrop>
1633   <backdrop name="matrix206" element="matrixlamp" state="0">
1634      <bounds y="24" x="300" width="3" height="3"/>
1635   </backdrop>
1636   <backdrop name="matrix207" element="matrixlamp" state="0">
1637      <bounds y="28" x="300" width="3" height="3"/>
1638   </backdrop>
1639   <backdrop name="matrix208" element="matrixlamp" state="0">
1640      <bounds y="0" x="304" width="3" height="3"/>
1641   </backdrop>
1642   <backdrop name="matrix209" element="matrixlamp" state="0">
1643      <bounds y="4" x="304" width="3" height="3"/>
1644   </backdrop>
1645   <backdrop name="matrix210" element="matrixlamp" state="0">
1646      <bounds y="8" x="304" width="3" height="3"/>
1647   </backdrop>
1648   <backdrop name="matrix211" element="matrixlamp" state="0">
1649      <bounds y="12" x="304" width="3" height="3"/>
1650   </backdrop>
1651   <backdrop name="matrix212" element="matrixlamp" state="0">
1652      <bounds y="16" x="304" width="3" height="3"/>
1653   </backdrop>
1654   <backdrop name="matrix213" element="matrixlamp" state="0">
1655      <bounds y="20" x="304" width="3" height="3"/>
1656   </backdrop>
1657   <backdrop name="matrix214" element="matrixlamp" state="0">
1658      <bounds y="24" x="304" width="3" height="3"/>
1659   </backdrop>
1660   <backdrop name="matrix215" element="matrixlamp" state="0">
1661      <bounds y="28" x="304" width="3" height="3"/>
1662   </backdrop>
1663   <backdrop name="matrix216" element="matrixlamp" state="0">
1664      <bounds y="0" x="308" width="3" height="3"/>
1665   </backdrop>
1666   <backdrop name="matrix217" element="matrixlamp" state="0">
1667      <bounds y="4" x="308" width="3" height="3"/>
1668   </backdrop>
1669   <backdrop name="matrix218" element="matrixlamp" state="0">
1670      <bounds y="8" x="308" width="3" height="3"/>
1671   </backdrop>
1672   <backdrop name="matrix219" element="matrixlamp" state="0">
1673      <bounds y="12" x="308" width="3" height="3"/>
1674   </backdrop>
1675   <backdrop name="matrix220" element="matrixlamp" state="0">
1676      <bounds y="16" x="308" width="3" height="3"/>
1677   </backdrop>
1678   <backdrop name="matrix221" element="matrixlamp" state="0">
1679      <bounds y="20" x="308" width="3" height="3"/>
1680   </backdrop>
1681   <backdrop name="matrix222" element="matrixlamp" state="0">
1682      <bounds y="24" x="308" width="3" height="3"/>
1683   </backdrop>
1684   <backdrop name="matrix223" element="matrixlamp" state="0">
1685      <bounds y="28" x="308" width="3" height="3"/>
1686   </backdrop>
1687   <backdrop name="matrix224" element="matrixlamp" state="0">
1688      <bounds y="0" x="312" width="3" height="3"/>
1689   </backdrop>
1690   <backdrop name="matrix225" element="matrixlamp" state="0">
1691      <bounds y="4" x="312" width="3" height="3"/>
1692   </backdrop>
1693   <backdrop name="matrix226" element="matrixlamp" state="0">
1694      <bounds y="8" x="312" width="3" height="3"/>
1695   </backdrop>
1696   <backdrop name="matrix227" element="matrixlamp" state="0">
1697      <bounds y="12" x="312" width="3" height="3"/>
1698   </backdrop>
1699   <backdrop name="matrix228" element="matrixlamp" state="0">
1700      <bounds y="16" x="312" width="3" height="3"/>
1701   </backdrop>
1702   <backdrop name="matrix229" element="matrixlamp" state="0">
1703      <bounds y="20" x="312" width="3" height="3"/>
1704   </backdrop>
1705   <backdrop name="matrix230" element="matrixlamp" state="0">
1706      <bounds y="24" x="312" width="3" height="3"/>
1707   </backdrop>
1708   <backdrop name="matrix231" element="matrixlamp" state="0">
1709      <bounds y="28" x="312" width="3" height="3"/>
1710   </backdrop>
1711   <backdrop name="matrix232" element="matrixlamp" state="0">
1712      <bounds y="0" x="316" width="3" height="3"/>
1713   </backdrop>
1714   <backdrop name="matrix233" element="matrixlamp" state="0">
1715      <bounds y="4" x="316" width="3" height="3"/>
1716   </backdrop>
1717   <backdrop name="matrix234" element="matrixlamp" state="0">
1718      <bounds y="8" x="316" width="3" height="3"/>
1719   </backdrop>
1720   <backdrop name="matrix235" element="matrixlamp" state="0">
1721      <bounds y="12" x="316" width="3" height="3"/>
1722   </backdrop>
1723   <backdrop name="matrix236" element="matrixlamp" state="0">
1724      <bounds y="16" x="316" width="3" height="3"/>
1725   </backdrop>
1726   <backdrop name="matrix237" element="matrixlamp" state="0">
1727      <bounds y="20" x="316" width="3" height="3"/>
1728   </backdrop>
1729   <backdrop name="matrix238" element="matrixlamp" state="0">
1730      <bounds y="24" x="316" width="3" height="3"/>
1731   </backdrop>
1732   <backdrop name="matrix239" element="matrixlamp" state="0">
1733      <bounds y="28" x="316" width="3" height="3"/>
1734   </backdrop>
1735   <backdrop name="matrix240" element="matrixlamp" state="0">
1736      <bounds y="0" x="320" width="3" height="3"/>
1737   </backdrop>
1738   <backdrop name="matrix241" element="matrixlamp" state="0">
1739      <bounds y="4" x="320" width="3" height="3"/>
1740   </backdrop>
1741   <backdrop name="matrix242" element="matrixlamp" state="0">
1742      <bounds y="8" x="320" width="3" height="3"/>
1743   </backdrop>
1744   <backdrop name="matrix243" element="matrixlamp" state="0">
1745      <bounds y="12" x="320" width="3" height="3"/>
1746   </backdrop>
1747   <backdrop name="matrix244" element="matrixlamp" state="0">
1748      <bounds y="16" x="320" width="3" height="3"/>
1749   </backdrop>
1750   <backdrop name="matrix245" element="matrixlamp" state="0">
1751      <bounds y="20" x="320" width="3" height="3"/>
1752   </backdrop>
1753   <backdrop name="matrix246" element="matrixlamp" state="0">
1754      <bounds y="24" x="320" width="3" height="3"/>
1755   </backdrop>
1756   <backdrop name="matrix247" element="matrixlamp" state="0">
1757      <bounds y="28" x="320" width="3" height="3"/>
1758   </backdrop>
1759   <backdrop name="matrix248" element="matrixlamp" state="0">
1760      <bounds y="0" x="324" width="3" height="3"/>
1761   </backdrop>
1762   <backdrop name="matrix249" element="matrixlamp" state="0">
1763      <bounds y="4" x="324" width="3" height="3"/>
1764   </backdrop>
1765   <backdrop name="matrix250" element="matrixlamp" state="0">
1766      <bounds y="8" x="324" width="3" height="3"/>
1767   </backdrop>
1768   <backdrop name="matrix251" element="matrixlamp" state="0">
1769      <bounds y="12" x="324" width="3" height="3"/>
1770   </backdrop>
1771   <backdrop name="matrix252" element="matrixlamp" state="0">
1772      <bounds y="16" x="324" width="3" height="3"/>
1773   </backdrop>
1774   <backdrop name="matrix253" element="matrixlamp" state="0">
1775      <bounds y="20" x="324" width="3" height="3"/>
1776   </backdrop>
1777   <backdrop name="matrix254" element="matrixlamp" state="0">
1778      <bounds y="24" x="324" width="3" height="3"/>
1779   </backdrop>
1780   <backdrop name="matrix255" element="matrixlamp" state="0">
1781      <bounds y="28" x="324" width="3" height="3"/>
1782   </backdrop>
1783
1784   <backdrop name="digit0" element="digit" state="0">
1785      <bounds x="180" y="64" width="9" height="19"/>
1786   </backdrop>
1787   <backdrop name="digit1" element="digit" state="0">
1788      <bounds x="190" y="64" width="9" height="19"/>
1789   </backdrop>
1790   <backdrop name="digit2" element="digit" state="0">
1791      <bounds x="200" y="64" width="9" height="19"/>
1792   </backdrop>
1793   <backdrop name="digit3" element="digit" state="0">
1794      <bounds x="210" y="64" width="9" height="19"/>
1795   </backdrop>
1796   <backdrop name="digit4" element="digit" state="0">
1797      <bounds x="220" y="64" width="9" height="19"/>
1798   </backdrop>
1799   <backdrop name="digit5" element="digit" state="0">
1800      <bounds x="230" y="64" width="9" height="19"/>
1801   </backdrop>
1802   <backdrop name="digit6" element="digit" state="0">
1803      <bounds x="240" y="64" width="9" height="19"/>
1804   </backdrop>
1805   <backdrop name="digit7" element="digit" state="0">
1806      <bounds x="250" y="64" width="9" height="19"/>
1807   </backdrop>
1808
1809   <backdrop name="digit8" element="digit" state="0">
1810      <bounds x="180" y="84" width="9" height="19"/>
1811   </backdrop>
1812   <backdrop name="digit9" element="digit" state="0">
1813      <bounds x="190" y="84" width="9" height="19"/>
1814   </backdrop>
1815   <backdrop name="digit10" element="digit" state="0">
1816      <bounds x="200" y="84" width="9" height="19"/>
1817   </backdrop>
1818   <backdrop name="digit11" element="digit" state="0">
1819      <bounds x="210" y="84" width="9" height="19"/>
1820   </backdrop>
1821   <backdrop name="digit12" element="digit" state="0">
1822      <bounds x="220" y="84" width="9" height="19"/>
1823   </backdrop>
1824   <backdrop name="digit13" element="digit" state="0">
1825      <bounds x="230" y="84" width="9" height="19"/>
1826   </backdrop>
1827   <backdrop name="digit14" element="digit" state="0">
1828      <bounds x="240" y="84" width="9" height="19"/>
1829   </backdrop>
1830   <backdrop name="digit15" element="digit" state="0">
1831      <bounds x="250" y="84" width="9" height="19"/>
1832   </backdrop>
1833
1834   <backdrop name="digit16" element="digit" state="0">
1835      <bounds x="180" y="104" width="9" height="19"/>
1836   </backdrop>
1837   <backdrop name="digit17" element="digit" state="0">
1838      <bounds x="190" y="104" width="9" height="19"/>
1839   </backdrop>
1840   <backdrop name="digit18" element="digit" state="0">
1841      <bounds x="200" y="104" width="9" height="19"/>
1842   </backdrop>
1843   <backdrop name="digit19" element="digit" state="0">
1844      <bounds x="210" y="104" width="9" height="19"/>
1845   </backdrop>
1846   <backdrop name="digit20" element="digit" state="0">
1847      <bounds x="220" y="104" width="9" height="19"/>
1848   </backdrop>
1849   <backdrop name="digit21" element="digit" state="0">
1850      <bounds x="230" y="104" width="9" height="19"/>
1851   </backdrop>
1852   <backdrop name="digit22" element="digit" state="0">
1853      <bounds x="240" y="104" width="9" height="19"/>
1854   </backdrop>
1855   <backdrop name="digit23" element="digit" state="0">
1856      <bounds x="250" y="104" width="9" height="19"/>
1857   </backdrop>
1858
1859   <backdrop name="digit24" element="digit" state="0">
1860      <bounds x="180" y="124" width="9" height="19"/>
1861   </backdrop>
1862   <backdrop name="digit25" element="digit" state="0">
1863      <bounds x="190" y="124" width="9" height="19"/>
1864   </backdrop>
1865   <backdrop name="digit26" element="digit" state="0">
1866      <bounds x="200" y="124" width="9" height="19"/>
1867   </backdrop>
1868   <backdrop name="digit27" element="digit" state="0">
1869      <bounds x="210" y="124" width="9" height="19"/>
1870   </backdrop>
1871   <backdrop name="digit28" element="digit" state="0">
1872      <bounds x="220" y="124" width="9" height="19"/>
1873   </backdrop>
1874   <backdrop name="digit29" element="digit" state="0">
1875      <bounds x="230" y="124" width="9" height="19"/>
1876   </backdrop>
1877   <backdrop name="digit30" element="digit" state="0">
1878      <bounds x="240" y="124" width="9" height="19"/>
1879   </backdrop>
1880   <backdrop name="digit31" element="digit" state="0">
1881      <bounds x="250" y="124" width="9" height="19"/>
1882   </backdrop>
1883
1884
1885   </view>
1886   <view name="VFD Display Output Only">
1887      <backdrop name="vfd0" element="vfd0" state="0">
1888         <bounds x="10" y="200" width="9" height="17"/>
1889      </backdrop>
1890      <backdrop name="vfd1" element="vfd0" state="0">
1891         <bounds x="19" y="200" width="9" height="17"/>
1892      </backdrop>
1893      <backdrop name="vfd2" element="vfd0" state="0">
1894         <bounds x="28" y="200" width="9" height="17"/>
1895      </backdrop>
1896      <backdrop name="vfd3" element="vfd0" state="0">
1897         <bounds x="37" y="200" width="9" height="17"/>
1898      </backdrop>
1899      <backdrop name="vfd4" element="vfd0" state="0">
1900         <bounds x="46" y="200" width="9" height="17"/>
1901      </backdrop>
1902      <backdrop name="vfd5" element="vfd0" state="0">
1903         <bounds x="55" y="200" width="9" height="17"/>
1904      </backdrop>
1905      <backdrop name="vfd6" element="vfd0" state="0">
1906         <bounds x="64" y="200" width="9" height="17"/>
1907      </backdrop>
1908      <backdrop name="vfd7" element="vfd0" state="0">
1909         <bounds x="73" y="200" width="9" height="17"/>
1910      </backdrop>
1911      <backdrop name="vfd8" element="vfd0" state="0">
1912         <bounds x="82" y="200" width="9" height="17"/>
1913      </backdrop>
1914      <backdrop name="vfd9" element="vfd0" state="0">
1915         <bounds x="91" y="200" width="9" height="17"/>
1916      </backdrop>
1917      <backdrop name="vfd10" element="vfd0" state="0">
1918         <bounds x="100" y="200" width="9" height="17"/>
1919      </backdrop>
1920      <backdrop name="vfd11" element="vfd0" state="0">
1921         <bounds x="109" y="200" width="9" height="17"/>
1922      </backdrop>
1923      <backdrop name="vfd12" element="vfd0" state="0">
1924         <bounds x="118" y="200" width="9" height="17"/>
1925      </backdrop>
1926      <backdrop name="vfd13" element="vfd0" state="0">
1927         <bounds x="127" y="200" width="9" height="17"/>
1928      </backdrop>
1929      <backdrop name="vfd14" element="vfd0" state="0">
1930         <bounds x="136" y="200" width="9" height="17"/>
1931      </backdrop>
1932      <backdrop name="vfd15" element="vfd0" state="0">
1933         <bounds x="145" y="200" width="9" height="17"/>
1934      </backdrop>
1935   </view>
1936</mamelayout>
1937
Property changes on: trunk/src/mame/layout/bfm_sc5.lay
Added: svn:eol-style
   + native
Added: svn:mime-type
   + text/plain
trunk/src/mame/drivers/bfm_sc5.c
r22645r22646
1212#include "emu.h"
1313#include "includes/bfm_sc5.h"
1414#include "machine/mcf5206e.h"
15#include "bfm_sc5.lh"
16#include "video/awpvid.h"
1517
16
1718static ADDRESS_MAP_START( sc5_map, AS_PROGRAM, 32, bfm_sc5_state )
19   // ROM (max size?)
1820   AM_RANGE(0x00000000, 0x002fffff) AM_ROM
21   // ?
1922   AM_RANGE(0x01000000, 0x0100ffff) AM_RAM
23
24   // dev1
25   AM_RANGE(0x01010000, 0x01010003) AM_NOP
26   AM_RANGE(0x01010010, 0x01010013) AM_NOP
27   AM_RANGE(0x01010020, 0x01010023) AM_NOP
28   AM_RANGE(0x01010030, 0x01010033) AM_NOP
29   AM_RANGE(0x01010040, 0x01010043) AM_NOP
30   AM_RANGE(0x01010050, 0x01010053) AM_NOP
31   AM_RANGE(0x01010060, 0x01010063) AM_NOP
32   AM_RANGE(0x01010070, 0x01010073) AM_NOP
33   AM_RANGE(0x01010080, 0x01010083) AM_NOP
34   AM_RANGE(0x01010090, 0x01010093) AM_NOP
35   AM_RANGE(0x010100a0, 0x010100a3) AM_NOP
36   AM_RANGE(0x010100b0, 0x010100b3) AM_NOP
37   AM_RANGE(0x010100c0, 0x010100c3) AM_NOP
38   AM_RANGE(0x010100d0, 0x010100d3) AM_NOP
39   AM_RANGE(0x010100e0, 0x010100e3) AM_NOP
40   AM_RANGE(0x010100f0, 0x010100f3) AM_NOP
41   AM_RANGE(0x01010100, 0x01010103) AM_NOP
42   AM_RANGE(0x01010110, 0x01010113) AM_NOP
43   AM_RANGE(0x01010120, 0x01010123) AM_NOP
44   AM_RANGE(0x01010130, 0x01010133) AM_NOP
45   AM_RANGE(0x01010140, 0x01010143) AM_NOP
46   AM_RANGE(0x01010150, 0x01010153) AM_NOP
47   AM_RANGE(0x01010160, 0x01010163) AM_NOP
48   AM_RANGE(0x01010170, 0x01010173) AM_NOP
49   AM_RANGE(0x01010180, 0x01010183) AM_NOP
50   AM_RANGE(0x01010190, 0x01010193) AM_NOP
51   AM_RANGE(0x010101a0, 0x010101a3) AM_NOP
52   AM_RANGE(0x010101b0, 0x010101b3) AM_NOP
53   AM_RANGE(0x010101c0, 0x010101c3) AM_NOP
54   AM_RANGE(0x010101d0, 0x010101d3) AM_NOP
55   AM_RANGE(0x010101e0, 0x010101e3) AM_NOP
56   AM_RANGE(0x010101f0, 0x010101f3) AM_NOP
57   AM_RANGE(0x01010200, 0x01010203) AM_NOP
58   AM_RANGE(0x01010210, 0x01010213) AM_NOP
59   AM_RANGE(0x01010220, 0x01010223) AM_NOP
60   AM_RANGE(0x01010230, 0x01010233) AM_NOP
61
62   AM_RANGE(0x01010280, 0x01010283) AM_NOP
63
64   AM_RANGE(0x010102a0, 0x010102a3) AM_NOP
65
66   AM_RANGE(0x010102c0, 0x010102c3) AM_NOP
67
68   AM_RANGE(0x010102f0, 0x010102f3) AM_NOP
69
70   AM_RANGE(0x01010300, 0x01010303) AM_NOP
71   
72   AM_RANGE(0x01010330, 0x01010333) AM_NOP
73   
74   AM_RANGE(0x01010360, 0x01010363) AM_NOP
75
76   AM_RANGE(0x01010380, 0x01010383) AM_NOP
77   AM_RANGE(0x01010390, 0x01010393) AM_NOP
78
79   // dev2
80   AM_RANGE(0x01020000, 0x01020003) AM_NOP
81   AM_RANGE(0x01020010, 0x01020013) AM_NOP
82   AM_RANGE(0x01020020, 0x01020023) AM_NOP
83   AM_RANGE(0x01020030, 0x01020033) AM_NOP
84   AM_RANGE(0x01020040, 0x01020043) AM_NOP
85   AM_RANGE(0x01020050, 0x01020053) AM_NOP
86   AM_RANGE(0x01020060, 0x01020063) AM_NOP
87   AM_RANGE(0x01020070, 0x01020073) AM_NOP
88   AM_RANGE(0x01020080, 0x01020083) AM_NOP
89   AM_RANGE(0x01020090, 0x01020093) AM_NOP
90   AM_RANGE(0x010200a0, 0x010200a3) AM_NOP
91   AM_RANGE(0x010200b0, 0x010200b3) AM_NOP
92   AM_RANGE(0x010200c0, 0x010200c3) AM_NOP
93   AM_RANGE(0x010200d0, 0x010200d3) AM_NOP
94   AM_RANGE(0x010200e0, 0x010200e3) AM_NOP
95   AM_RANGE(0x010200f0, 0x010200f3) AM_NOP
96   AM_RANGE(0x01020100, 0x01020103) AM_NOP
97   AM_RANGE(0x01020110, 0x01020113) AM_NOP
98   AM_RANGE(0x01020120, 0x01020123) AM_NOP
99   AM_RANGE(0x01020130, 0x01020133) AM_NOP
100   AM_RANGE(0x01020140, 0x01020143) AM_NOP
101   AM_RANGE(0x01020150, 0x01020153) AM_NOP
102   AM_RANGE(0x01020160, 0x01020163) AM_NOP
103   AM_RANGE(0x01020170, 0x01020173) AM_NOP
104   AM_RANGE(0x01020180, 0x01020183) AM_NOP
105   AM_RANGE(0x01020190, 0x01020193) AM_NOP
106   AM_RANGE(0x010201a0, 0x010201a3) AM_NOP
107   AM_RANGE(0x010201b0, 0x010201b3) AM_NOP
108   AM_RANGE(0x010201c0, 0x010201c3) AM_NOP
109   AM_RANGE(0x010201d0, 0x010201d3) AM_NOP
110   AM_RANGE(0x010201e0, 0x010201e3) AM_NOP
111   AM_RANGE(0x010201f0, 0x010201f3) AM_NOP
112   AM_RANGE(0x01020200, 0x01020203) AM_NOP
113   AM_RANGE(0x01020210, 0x01020213) AM_NOP
114   AM_RANGE(0x01020220, 0x01020223) AM_NOP
115   AM_RANGE(0x01020230, 0x01020233) AM_NOP
116
117   AM_RANGE(0x01020280, 0x01020283) AM_NOP
118
119   AM_RANGE(0x010202a0, 0x010202a3) AM_NOP
120   AM_RANGE(0x010202b0, 0x010202b3) AM_NOP
121   AM_RANGE(0x010202c0, 0x010202c3) AM_NOP
122
123   AM_RANGE(0x010202F0, 0x010202F3) AM_READWRITE8(sc5_10202F0_r, sc5_10202F0_w, 0xffffffff)
124   
125   AM_RANGE(0x01020330, 0x01020333) AM_NOP
126
127   AM_RANGE(0x01020350, 0x01020353) AM_NOP
128   AM_RANGE(0x01020360, 0x01020363) AM_NOP
129   AM_RANGE(0x01020370, 0x01020373) AM_NOP
130
131   AM_RANGE(0x01020390, 0x01020393) AM_NOP
132   // ram
20133   AM_RANGE(0x40000000, 0x4000ffff) AM_RAM
21134
135   // peripherals
22136   AM_RANGE(0xffff0000, 0xffff03ff) AM_DEVREADWRITE("maincpu_onboard", mcf5206e_peripheral_device, dev_r, dev_w) // technically this can be moved with MBAR
23137ADDRESS_MAP_END
24138
25139INPUT_PORTS_START( bfm_sc5 )
26140INPUT_PORTS_END
27141
142READ8_MEMBER( bfm_sc5_state::sc5_10202F0_r )
143{
144   switch (offset)
145   {
146      case 0x0:
147      case 0x1:
148      case 0x2:
149      case 0x3:
150         printf("%s: sc5_10202F0_r %d\n", machine().describe_context(), offset);
151         return 0x00;
152   }
28153
154   return 0;
155}
29156
157WRITE8_MEMBER( bfm_sc5_state::sc5_10202F0_w )
158{
159   switch (offset)
160   {
161      case 0x0:
162      case 0x1:
163      case 0x2:
164      case 0x3:
165         printf("%s: sc5_10202F0_w %d - %02x\n", machine().describe_context(), offset, data);
166         break;
167   }
168}
169
170
171
30172WRITE_LINE_MEMBER(bfm_sc5_state::bfm_sc5_ym_irqhandler)
31173{
32174   logerror("YMZ280 is generating an interrupt. State=%08x\n",state);
r22645r22646
46188   /* sound hardware */
47189   MCFG_SPEAKER_STANDARD_MONO("mono")
48190
191   MCFG_BFMBDA_ADD("vfd0",0)
192
193   MCFG_DEFAULT_LAYOUT(layout_bfm_sc5)
194
49195   MCFG_SOUND_ADD("ymz", YMZ280B, 16000000) // ?? Mhz
50196   MCFG_SOUND_CONFIG(ymz280b_config)
51197   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
trunk/src/emu/machine/mcf5206e.c
r22645r22646
55#include "emu.h"
66#include "mcf5206e.h"
77
8//#define debuglog printf
9#define debuglog logerror
810
9
1011static ADDRESS_MAP_START( coldfire_regs_map, AS_0, 32, mcf5206e_peripheral_device )
1112   
1213   
r22645r22646
4849
4950   AM_RANGE(0x100, 0x103) AM_READWRITE16(TMR1_r, TMR1_w, 0xffffffff)
5051   AM_RANGE(0x104, 0x107) AM_READWRITE16(TRR1_r, TRR1_w, 0xffffffff)
52   AM_RANGE(0x10c, 0x10f) AM_READWRITE16(TCN1_r, TCN1_w, 0xffffffff)
5153   AM_RANGE(0x110, 0x113) AM_READWRITE8(TER1_r, TER1_w, 0xffffffff)
5254
5355
5456   AM_RANGE(0x1c4, 0x1c7) AM_READWRITE8(PPDDR_r, PPDDR_w, 0xffffffff)
5557   AM_RANGE(0x1c8, 0x1cb) AM_READWRITE8(PPDAT_r, PPDAT_w, 0xffffffff)
5658   
59   AM_RANGE(0x1e4, 0x1e7) AM_READWRITE8(MFDR_r, MFDR_w, 0xffffffff)
5760   AM_RANGE(0x1e8, 0x1eb) AM_READWRITE8(MBCR_r, MBCR_w, 0xffffffff)
5861   AM_RANGE(0x1ec, 0x1ef) AM_READWRITE8(MBSR_r, MBSR_w, 0xffffffff)
5962ADDRESS_MAP_END
r22645r22646
6568   switch (offset)
6669   {
6770   case 0: // 0x014
68      printf("(External IRQ1/IPL1 Interrupt Vector) ICR1_r\n");
71      debuglog("%s: (External IRQ1/IPL1 Interrupt Vector) ICR1_r\n", this->machine().describe_context());
6972      return m_ICR[ICR1];
7073   case 1: // 0x015
71      printf("(External IPL2 Interrupt Vector) ICR2_r\n");
74      debuglog("%s: (External IPL2 Interrupt Vector) ICR2_r\n", this->machine().describe_context());
7275      return m_ICR[ICR2];
7376   case 2: // 0x016
74      printf("(External IPL3 Interrupt Vector) ICR3_r\n");
77      debuglog("%s: (External IPL3 Interrupt Vector) ICR3_r\n", this->machine().describe_context());
7578      return m_ICR[ICR3];
7679   case 3: // 0x017
77      printf("(External IRQ4/IPL4 Interrupt Vector) ICR4_r\n");
80      debuglog("%s: (External IRQ4/IPL4 Interrupt Vector) ICR4_r\n", this->machine().describe_context());
7881      return m_ICR[ICR4];
7982   }
8083
r22645r22646
8790   {
8891   case 0: // 0x014
8992      m_ICR[ICR1] = data;
90      printf("(External IRQ1/IPL1 Interrupt Vector) ICR1_w %02x\n",data);
93      debuglog("%s: (External IRQ1/IPL1 Interrupt Vector) ICR1_w %02x\n", this->machine().describe_context(), data);
9194      ICR_info(m_ICR[ICR1]);
9295      break;
9396   case 1: // 0x015
9497      m_ICR[ICR2] = data;
95      printf("(External IPL2 Interrupt Vector) ICR2_w %02x\n",data);
98      debuglog("%s: (External IPL2 Interrupt Vector) ICR2_w %02x\n", this->machine().describe_context(), data);
9699      ICR_info(m_ICR[ICR2]);
97100      break;
98101   case 2: // 0x016
99102      m_ICR[ICR3] = data;
100      printf("(External IPL3 Interrupt Vector) ICR3_w %02x\n",data);
103      debuglog("%s: (External IPL3 Interrupt Vector) ICR3_w %02x\n", this->machine().describe_context(), data);
101104      ICR_info(m_ICR[ICR3]);
102105      break;
103106   case 3: // 0x017
104107      m_ICR[ICR4] = data;
105      printf("(External IRQ4/IPL4 Interrupt Vector) ICR4_w %02x\n",data);
108      debuglog("%s: (External IRQ4/IPL4 Interrupt Vector) ICR4_w %02x\n", this->machine().describe_context(), data);
106109      ICR_info(m_ICR[ICR4]);
107110      break;
108111   }
r22645r22646
113116   switch (offset)
114117   {
115118   case 0: // 0x01c
116      printf("(Timer 1 Interrupt Vector) ICR9_r\n");
119      debuglog("%s: (Timer 1 Interrupt Vector) ICR9_r\n", this->machine().describe_context());
117120      return m_ICR[ICR9];
118121   case 1: // 0x01d
119      printf("(Timer 2 Interrupt Vector) ICR10_r\n");
122      debuglog("%s: (Timer 2 Interrupt Vector) ICR10_r\n", this->machine().describe_context());
120123      return m_ICR[ICR10];
121124   case 2: // 0x01e
122      printf("(MBUS Interrupt Vector) ICR11_r\n");
125      debuglog("%s: (MBUS Interrupt Vector) ICR11_r\n", this->machine().describe_context());
123126      return m_ICR[ICR11];
124127   case 3: // 0x01f
125      printf("(UART1 Interrupt Vector) ICR12_r\n");
128      debuglog("%s: (UART1 Interrupt Vector) ICR12_r\n", this->machine().describe_context());
126129      return m_ICR[ICR12];
127130   }
128131
r22645r22646
135138   {
136139   case 0: // 0x01c
137140      m_ICR[ICR9] = data;
138      printf("(Timer 1 Interrupt Vector) ICR9_w %02x\n",data);
141      debuglog("%s: (Timer 1 Interrupt Vector) ICR9_w %02x\n", this->machine().describe_context(), data);
139142      ICR_info(m_ICR[ICR9]);
140143      break;
141144   case 1: // 0x01d
142145      m_ICR[ICR10] = data;
143      printf("(Timer 2 Interrupt Vector) ICR10_w %02x\n",data);
146      debuglog("%s: (Timer 2 Interrupt Vector) ICR10_w %02x\n", this->machine().describe_context(), data);
144147      ICR_info(m_ICR[ICR10]);
145148      break;
146149   case 2: // 0x01e
147150      m_ICR[ICR11] = data;
148      printf("(MBUS Interrupt Vector) ICR11_w %02x\n",data);
151      debuglog("%s: (MBUS Interrupt Vector) ICR11_w %02x\n", this->machine().describe_context(), data);
149152      ICR_info(m_ICR[ICR11]);
150153      break;
151154   case 3: // 0x01f
152155      m_ICR[ICR12] = data;
153      printf("(UART1 Interrupt Vector) ICR12_w %02x\n",data);
156      debuglog("%s: (UART1 Interrupt Vector) ICR12_w %02x\n", this->machine().describe_context(), data);
154157      ICR_info(m_ICR[ICR12]);
155158      break;
156159   }
r22645r22646
161164   switch (offset)
162165   {
163166   case 0: // 0x020
164      printf("(UART2 Interrupt Vector) ICR13_r\n");
167      debuglog("%s: (UART2 Interrupt Vector) ICR13_r\n", this->machine().describe_context());
165168      return m_ICR[ICR13];
166169   case 1:
167170   case 2:
168171   case 3:
169      printf("invalid ICR13_r %d\n", offset);
172      debuglog("%s: invalid ICR13_r %d\n", this->machine().describe_context(), offset);
170173      return 0;
171174   }
172175
r22645r22646
179182   {
180183   case 0: // 0x020
181184      m_ICR[ICR13] = data;
182      printf("(UART2 Interrupt Vector) ICR13_w %02x\n",data);
185      debuglog("%s: (UART2 Interrupt Vector) ICR13_w %02x\n", this->machine().describe_context(), data);
183186      ICR_info(m_ICR[ICR13]);
184187      break;
185188   case 1:
186189   case 2:
187190   case 3:
188      printf("invalid ICR13_w %d, %02x\n", offset, data);
191      debuglog("%s: invalid ICR13_w %d, %02x\n", this->machine().describe_context(), offset, data);
189192      break;
190193   }
191194}
r22645r22646
195198{
196199   if (offset==0)
197200   {
198      printf("CSAR%d_r\n", which);
201      debuglog("%s: CSAR%d_r\n", this->machine().describe_context(), which);
199202      return m_CSAR[which];
200203   }
201204   else
202205   {
203      logerror("invalid CSAR%d_r with offset %d\n", which, offset);
206      debuglog("%s: invalid CSAR%d_r with offset %d\n", this->machine().describe_context(), which, offset);
204207      return 0;
205208   }
206209}
r22645r22646
210213   if (offset==0)
211214   {
212215      COMBINE_DATA( &m_CSAR[which] );
213      printf("CSAR%d_w %04x\n", which, data);
216      debuglog("%s: CSAR%d_w %04x\n", this->machine().describe_context(), which, data);
214217   }
215218   else
216219   {
217      logerror("invalid CSAR%d_w with offset %d %04x\n", which, offset, data);
220      debuglog("%s: invalid CSAR%d_w with offset %d %04x\n", this->machine().describe_context(), which, offset, data);
218221   }
219222}
220223
221224inline UINT32 mcf5206e_peripheral_device::CSMR_r(int which, UINT32 mem_mask)
222225{
223   printf("CSMR%d_r\n", which);
226   debuglog("%s: CSMR%d_r\n", this->machine().describe_context(), which);
224227   return m_CSMR[0];
225228}
226229
227230inline void mcf5206e_peripheral_device::CSMR_w(int which, UINT32 data, UINT32 mem_mask)
228231{
229232   COMBINE_DATA( &m_CSMR[0] );
230   printf("CSMR%d_w %08x\n", which, data);
233   debuglog("%s: CSMR%d_w %08x\n", this->machine().describe_context(), which, data);
231234}
232235
233236inline UINT16 mcf5206e_peripheral_device::CSCR_r(int which, int offset, UINT16 mem_mask)
234237{
235238   if (offset==1)
236239   {
237      printf("CSCR%d_r\n", which);
240      debuglog("%s: CSCR%d_r\n", this->machine().describe_context(), which);
238241      return m_CSCR[which];
239242   }
240243   else
241244   {
242      logerror("invalid CSCR%d_r with offset %d\n", which, offset);
245      debuglog("%s: invalid CSCR%d_r with offset %d\n", this->machine().describe_context(), which, offset);
243246      return 0;
244247   }
245248}
r22645r22646
249252   if (offset==1)
250253   {
251254      COMBINE_DATA( &m_CSCR[which] );
252      printf("CSCR%d_w %04x\n", which, data);
255      debuglog("%s: CSCR%d_w %04x\n", this->machine().describe_context(), which, data);
253256   }
254257   else
255258   {
256      logerror("invalid CSCR%d_r with offset %d %04x\n", which, offset, data);
259      debuglog("%s: invalid CSCR%d_r with offset %d %04x\n", this->machine().describe_context(), which, offset, data);
257260   }
258261}
259262
r22645r22646
324327   switch (offset)
325328   {
326329   case 1:
327      printf("DMCR_r %04x\n", mem_mask);
330      debuglog("%s: DMCR_r %04x\n", this->machine().describe_context(), mem_mask);
328331      return m_DMCR;
329332   case 0:
330      printf("invalid DMCR_r %d %04x\n", offset, mem_mask);
333      debuglog("%s: invalid DMCR_r %d %04x\n", this->machine().describe_context(), offset, mem_mask);
331334      return 0;
332335   }
333336
r22645r22646
340343   {
341344   case 1:
342345      COMBINE_DATA(&m_DMCR);
343      printf("DMCR_w %04x %04x\n",data, mem_mask);
346      debuglog("%s: DMCR_w %04x %04x\n", this->machine().describe_context(), data, mem_mask);
344347      break;
345348   case 0:
346      printf("invalid DMCR_w %d, %04x %04x\n", offset, data, mem_mask);
349      debuglog("%s: invalid DMCR_w %d, %04x %04x\n", this->machine().describe_context(), offset, data, mem_mask);
347350      break;
348351
349352   }
r22645r22646
355358   switch (offset)
356359   {
357360   case 1:
358      printf("PAR_r %04x\n", mem_mask);
361      debuglog("%s: PAR_r %04x\n", this->machine().describe_context(), mem_mask);
359362      return m_PAR;
360363   case 0:
361      printf("invalid PAR_r %d %04x\n", offset, mem_mask);
364      debuglog("%s: invalid PAR_r %d %04x\n", this->machine().describe_context(), offset, mem_mask);
362365      return 0;
363366   }
364367
r22645r22646
371374   {
372375   case 1:
373376      COMBINE_DATA(&m_PAR);
374      printf("PAR_w %04x %04x\n",data, mem_mask);
377      debuglog("%s: PAR_w %04x %04x\n", this->machine().describe_context(), data, mem_mask);
375378      break;
376379   case 0:
377      printf("invalid PAR_w %d, %04x %04x\n", offset, data, mem_mask);
380      debuglog("%s: invalid PAR_w %d, %04x %04x\n", this->machine().describe_context(), offset, data, mem_mask);
378381      break;
379382
380383   }
r22645r22646
389392   case 0:
390393   case 2:
391394   case 3:
392      printf("invalid PPDDR_r %d\n", offset);
395      debuglog("%s: invalid PPDDR_r %d\n", this->machine().describe_context(), offset);
393396      return 0;
394397   case 1: // '$1C5'
395      printf("PPDDR_r\n");
398      debuglog("%s: PPDDR_r\n", this->machine().describe_context());
396399      return m_PPDDR;
397400   }
398401
r22645r22646
406409   case 0:
407410   case 2:
408411   case 3:
409      printf("invalid PPDDR_w %d %02x\n", offset, data);
412      debuglog("%s: invalid PPDDR_w %d %02x\n", this->machine().describe_context(), offset, data);
410413      break;
411414   case 1: // '$1C5'
412415      m_PPDDR = data;
413      printf("PPDDR_w %02x\n", data);
416      debuglog("%s: PPDDR_w %02x\n", this->machine().describe_context(), data);
414417      break;
415418   }
416419}
r22645r22646
422425   case 0:
423426   case 2:
424427   case 3:
425      printf("invalid PPDAT_r %d\n", offset);
428      debuglog("%s: invalid PPDAT_r %d\n", this->machine().describe_context(), offset);
426429      return 0;
427430   case 1: // '$1C9'
428      printf("PPDAT_r\n");
431      debuglog("%s: PPDAT_r\n", this->machine().describe_context());
429432      return m_PPDAT; // should use a callback.
430433   }
431434
r22645r22646
439442   case 0:
440443   case 2:
441444   case 3:
442      printf("invalid PPDAT_w %d, %02x\n", offset, data);
445      debuglog("%s: invalid PPDAT_w %d, %02x\n", this->machine().describe_context(), offset, data);
443446      break;
444447   case 1: // '$1C9'
445448      m_PPDAT = data; // should use a callback.
446      printf("PPDAT_w %02x\n", data);
449      debuglog("%s: PPDAT_w %02x\n", this->machine().describe_context(), data);
447450      break;
448451   }
449452
r22645r22646
455458   switch (offset)
456459   {
457460   case 0:
458      printf("MBCR_r\n");
461      debuglog("%s: MBCR_r\n", this->machine().describe_context());
459462      return m_MBCR;
460463   case 1:
461464   case 2:
462465   case 3:
463      printf("invalid MBCR_r %d\n", offset);
466      debuglog("%s: invalid MBCR_r %d\n", this->machine().describe_context(), offset);
464467      return 0;
465468   }
466469
r22645r22646
473476   {
474477   case 0:
475478      m_MBCR = data;
476      printf("MBCR_w %02x\n",data);
479      debuglog("%s: MBCR_w %02x\n", this->machine().describe_context(), data);
477480      break;
478481   case 1:
479482   case 2:
480483   case 3:
481      printf("invalid MBCR_w %d, %02x\n", offset, data);
484      debuglog("%s: invalid MBCR_w %d, %02x\n", this->machine().describe_context(), offset, data);
482485      break;
483486
484487   }
485488}
486489
490READ8_MEMBER( mcf5206e_peripheral_device::MFDR_r)
491{
492   switch (offset)
493   {
494   case 0:
495      debuglog("%s: MFDR_r\n", this->machine().describe_context());
496      return m_MFDR;
497   case 1:
498   case 2:
499   case 3:
500      debuglog("%s: invalid MFDR_r %d\n", this->machine().describe_context(), offset);
501      return 0;
502   }
487503
504   return 0;
505}
506
507WRITE8_MEMBER( mcf5206e_peripheral_device::MFDR_w)
508{
509   switch (offset)
510   {
511   case 0:
512      m_MFDR = data;
513      debuglog("%s: MFDR_w %02x\n", this->machine().describe_context(), data);
514      break;
515   case 1:
516   case 2:
517   case 3:
518      debuglog("%s: invalid MFDR_w %d, %02x\n", this->machine().describe_context(), offset, data);
519      break;
520
521   }
522}
523
524
525
526
527
528
488529READ8_MEMBER( mcf5206e_peripheral_device::MBSR_r)
489530{
531   static int hack = 0x00;
532
490533   switch (offset)
491534   {
492535   case 0:
493      printf("MBSR_r\n");
494      return m_MBSR;
536   {
537      hack ^= (machine().rand()&0xff);
538      debuglog("%s: MBSR_r\n", this->machine().describe_context());
539      return m_MBSR | hack; // will loop on this after a while
540   }
495541   case 1:
496542   case 2:
497543   case 3:
498      printf("invalid MBSR_r %d\n", offset);
544      debuglog("%s: invalid MBSR_r %d\n", this->machine().describe_context(), offset);
499545      return 0;
500546   }
501547
r22645r22646
508554   {
509555   case 0:
510556      m_MBSR = data;
511      printf("MBSR_w %02x\n",data);
557      debuglog("%s: MBSR_w %02x\n", this->machine().describe_context(), data);
512558      break;
513559   case 1:
514560   case 2:
515561   case 3:
516      printf("invalid MBSR_w %d, %02x\n", offset, data);
562      debuglog("%s: invalid MBSR_w %d, %02x\n", this->machine().describe_context(), offset, data);
517563      break;
518564
519565   }
r22645r22646
526572   switch (offset)
527573   {
528574   case 1:
529      printf("IMR_r %04x\n", mem_mask);
575      debuglog("%s: IMR_r %04x\n", this->machine().describe_context(), mem_mask);
530576      return m_IMR;
531577   case 0:
532      printf("invalid IMR_r %d %04x\n", offset, mem_mask);
578      debuglog("%s: invalid IMR_r %d %04x\n", this->machine().describe_context(), offset, mem_mask);
533579      return 0;
534580   }
535581
r22645r22646
542588   {
543589   case 1:
544590      COMBINE_DATA(&m_IMR);
545      printf("IMR_w %04x %04x\n",data, mem_mask);
591      debuglog("%s: IMR_w %04x %04x\n", this->machine().describe_context(), data, mem_mask);
546592      break;
547593   case 0:
548      printf("invalid IMR_w %d, %04x %04x\n", offset, data, mem_mask);
594      debuglog("%s: invalid IMR_w %d, %04x %04x\n", this->machine().describe_context(), offset, data, mem_mask);
549595      break;
550596
551597   }
r22645r22646
553599
554600void mcf5206e_peripheral_device::ICR_info(UINT8 ICR)
555601{
556   printf("   (AutoVector) AVEC : %01x | ", (ICR&0x80)>>7);
557   printf("(Interrupt Level) IL : %01x | ", (ICR&0x1c)>>2); // if autovector (AVEC) is used then the vectors referenced are at +24 (+0x18) + IL, ie the standard 68k autovectors, otherwise vector must be provided by device
558   printf("(Interrupt Priority) IP : %01x |", (ICR&0x03)>>0);
559   printf("(Unused bits) : %01x\n", (ICR&0x60)>>5);
602   debuglog("   (AutoVector) AVEC : %01x | ", (ICR&0x80)>>7);
603   debuglog("(Interrupt Level) IL : %01x | ", (ICR&0x1c)>>2); // if autovector (AVEC) is used then the vectors referenced are at +24 (+0x18) + IL, ie the standard 68k autovectors, otherwise vector must be provided by device
604   debuglog("(Interrupt Priority) IP : %01x |", (ICR&0x03)>>0);
605   debuglog("(Unused bits) : %01x\n", (ICR&0x60)>>5);
560606}
561607
562608/* The timer module seems practically the same as the 68307 one, possibly make into a common device once the code isn't a hardcoded piece of junk ;-) */
r22645r22646
571617      m_cpu->set_input_line((ICR&0x1c)>>2, HOLD_LINE);
572618   }
573619
574   printf("timer1_callback\n");
620   debuglog("timer1_callback\n");
575621   
576   timer1->adjust(attotime::from_seconds(1)); // completely made up value just to fire our timers for now
622   timer1->adjust(attotime::from_msec(100)); // completely made up value just to fire our timers for now
577623}
578624
579625
r22645r22646
582628   switch (offset)
583629   {
584630   case 0:
585      printf("TMR1_r %04x\n", mem_mask);
631      debuglog("%s: TMR1_r %04x\n", this->machine().describe_context(), mem_mask);
586632      return m_TMR1;
587633   case 1:
588      printf("invalid TMR1_r %d %04x\n", offset, mem_mask);
634      debuglog("%s: invalid TMR1_r %d %04x\n", this->machine().describe_context(), offset, mem_mask);
589635      return 0;
590636   }
591637
r22645r22646
598644   {
599645   case 0:
600646      COMBINE_DATA(&m_TMR1);
601      printf("TMR1_w %04x %04x\n",data, mem_mask);
647      debuglog("%s: TMR1_w %04x %04x\n", this->machine().describe_context(), data, mem_mask);
602648
603      printf("   (Prescale) PS : %02x  (Capture Edge/Interrupt) CE : %01x (Output Mode) OM : %01x  (Output Reference Interrupt En) ORI : %01x   Free Run (FRR) : %01x  Input Clock Source (ICLK) : %01x  (Reset Timer) RST : %01x  \n",
649      debuglog("   (Prescale) PS : %02x  (Capture Edge/Interrupt) CE : %01x (Output Mode) OM : %01x  (Output Reference Interrupt En) ORI : %01x   Free Run (FRR) : %01x  Input Clock Source (ICLK) : %01x  (Reset Timer) RST : %01x  \n",
604650         (m_TMR1 & 0xff00)>>8, (m_TMR1 & 0x00c0)>>6,  (m_TMR1 & 0x0020)>>5, (m_TMR1 & 0x0010)>>4, (m_TMR1 & 0x0008)>>3, (m_TMR1 & 0x0006)>>1, (m_TMR1 & 0x0001)>>0);   
605651     
606652      if (m_TMR1 & 0x0001)
r22645r22646
615661     
616662      break;
617663   case 1:
618      printf("invalid TMR1_w %d, %04x %04x\n", offset, data, mem_mask);
664      debuglog("%s: invalid TMR1_w %d, %04x %04x\n", this->machine().describe_context(), offset, data, mem_mask);
619665      break;
620666
621667   }
r22645r22646
626672   switch (offset)
627673   {
628674   case 0:
629      printf("TRR1_r %04x\n", mem_mask);
675      debuglog("%s: TRR1_r %04x\n", this->machine().describe_context(), mem_mask);
630676      return m_TRR1;
631677   case 1:
632      printf("invalid TRR1_r %d %04x\n", offset, mem_mask);
678      debuglog("%s: invalid TRR1_r %d %04x\n", this->machine().describe_context(), offset, mem_mask);
633679      return 0;
634680   }
635681
r22645r22646
642688   {
643689   case 0:
644690      COMBINE_DATA(&m_TRR1);
645      printf("TRR1_w %04x %04x\n",data, mem_mask);
691      debuglog("%s: TRR1_w %04x %04x\n", this->machine().describe_context(), data, mem_mask);
646692      break;
647693   case 1:
648      printf("invalid TRR1_w %d, %04x %04x\n", offset, data, mem_mask);
694      debuglog("%s: invalid TRR1_w %d, %04x %04x\n", this->machine().describe_context(), offset, data, mem_mask);
649695      break;
650696
651697   }
r22645r22646
658704   switch (offset)
659705   {
660706   case 1:
661      printf("TER1_r\n");
707      debuglog("%s: TER1_r\n", this->machine().describe_context());
662708      return 2; // hack, timer events should set bits, this just stops the code going crazy for now
663709   case 0:
664710   case 2:
665711   case 3:
666      printf("invalid TER1_r %d\n", offset);
712      debuglog("%s: invalid TER1_r %d\n", this->machine().describe_context(), offset);
667713      return 0;
668714   }
669715
r22645r22646
676722   {
677723   case 1:
678724      m_TER1 = data; // writes should clear the bits..
679      printf("TER1_w %02x\n",data);
725      debuglog("%s: TER1_w %02x\n", this->machine().describe_context(), data);
680726      break;
681727   case 0:
682728   case 2:
683729   case 3:
684      printf("invalid TER1_w %d, %02x\n", offset, data);
730      debuglog("%s: invalid TER1_w %d, %02x\n", this->machine().describe_context(), offset, data);
685731      break;
686732
687733   }
688734}
689735
736READ16_MEMBER( mcf5206e_peripheral_device::TCN1_r)
737{
738   switch (offset)
739   {
740   case 0:
741      debuglog("%s: TCN1_r %04x\n", this->machine().describe_context(), mem_mask);
742      return 0x8ca0 -1;// m_TCN1; // this should be the counter, code has a hardcoded >= check against 8ca0.
743   case 1:
744      debuglog("%s: invalid TCN1_r %d %04x\n", this->machine().describe_context(), offset, mem_mask);
745      return 0;
746   }
690747
748   return 0;
749}
750
751WRITE16_MEMBER( mcf5206e_peripheral_device::TCN1_w)
752{
753   switch (offset)
754   {
755   case 0:
756      COMBINE_DATA(&m_TCN1);
757      debuglog("%s: TCN1_w %04x %04x\n", this->machine().describe_context(), data, mem_mask);
758      break;
759   case 1:
760      debuglog("%s: invalid TCN1_w %d, %04x %04x\n", this->machine().describe_context(), offset, data, mem_mask);
761      break;
762
763   }
764}
765
766
691767//**************************************************************************
692768//  LIVE DEVICE
693769//**************************************************************************
r22645r22646
819895
820896   m_TMR1 = 0x0000;
821897   m_TRR1 = 0xffff;
898   m_TER1 = 0x00;
899   m_TCN1 = 0x0000;
822900
823901   m_PPDDR = 0x00;
824902   m_PPDAT = 0x00;
r22645r22646
898976$100*-                  TMR1        16      Timer 1 Mode Register                               0000                                                R/W
899977$104*-                  TRR1        16      Timer 1 Reference Register                          FFFF                                                R/W
900978$108                    TCR1        16      Timer 1 Capture Register                            0000                                                R
901$10C                    TCN1        16      Timer 1 Counter                                     0000                                                R/W
902$111                    TER1        8       Timer 1 Event Register                              00                                                  R/W
979$10C*-                  TCN1        16      Timer 1 Counter                                     0000                                                R/W
980$111*-                  TER1        8       Timer 1 Event Register                              00                                                  R/W
903981$120                    TMR2        16      Timer 2 Mode Register                               0000                                                R/W
904982$124                    TRR2        16      Timer 2 Reference Register                          FFFF                                                R/W
905983$128                    TCR2        16      Timer 2 Capture Register                            0000                                                R
r22645r22646
9441022$1C9*-                  PPDAT       8       Port A Data Register                                00                                                  R/W
9451023------------ MBUS  -----------
9461024$1E0                    MADR        8       M-Bus Address Register                              00                                                  R/W
947$1E4                    MFDR        8       M-Bus Frequency Divider Register                    00                                                  R/W
1025$1E4*-                  MFDR        8       M-Bus Frequency Divider Register                    00                                                  R/W
9481026$1E8*-                  MBCR        8       M-Bus Control Register                              00                                                  R/W
9491027$1EC*-                  MBSR        8       M-Bus Status Register                               00                                                  R/W
9501028$1F0                    MBDR        8       M-Bus Data I/O Register                             00                                                  R/W
trunk/src/emu/machine/mcf5206e.h
r22645r22646
133133   DECLARE_WRITE16_MEMBER( TRR1_w );
134134   DECLARE_READ8_MEMBER( TER1_r );
135135   DECLARE_WRITE8_MEMBER(TER1_w );
136   DECLARE_READ16_MEMBER( TCN1_r );
137   DECLARE_WRITE16_MEMBER( TCN1_w );
136138
137139   DECLARE_READ8_MEMBER( PPDDR_r );
138140   DECLARE_WRITE8_MEMBER( PPDDR_w );
r22645r22646
147149   DECLARE_WRITE8_MEMBER( MBCR_w );
148150   DECLARE_READ8_MEMBER( MBSR_r );
149151   DECLARE_WRITE8_MEMBER( MBSR_w );
152   DECLARE_READ8_MEMBER( MFDR_r );
153   DECLARE_WRITE8_MEMBER( MFDR_w );
150154   
155
156   
157
151158   cpu_device* m_cpu;
152159
153160protected:
r22645r22646
178185   UINT16 m_TMR1;
179186   UINT16 m_TRR1;
180187   UINT8 m_TER1;
188   UINT16 m_TCN1;
181189   TIMER_CALLBACK_MEMBER(timer1_callback);
182190
183191
r22645r22646
188196
189197   UINT8 m_MBCR;
190198   UINT8 m_MBSR;
199   UINT8 m_MFDR;
191200
192
193201   UINT32 m_coldfire_regs[0x400/4];
194202
195203private:

Previous 199869 Revisions Next


© 1997-2024 The MAME Team