summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/layout/aim65.lay
blob: 6041a786bbdd9d5e65025c4800319f8d50bab319 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<?xml version="1.0"?>
<mamelayout version="2">

	<!-- 2007-07-30: Initial version.  [Dirk Best] -->
	<!-- 2015-08-14: Eric Roberts version. [Best of the Best 2] -->


	<!-- define elements -->

	<element name="digit" defstate="0">
		<led16seg>
			<!-- Note: Peak wavelength of the DL1416 chips = 660 nm -->
			<color red="1.0" green="0.15" blue="0.2" />
		</led16seg>
	</element>

	<element name="static_black"><rect><color red="0.0" green="0.0" blue="0.0" /></rect></element>
	<element name="static_white"><rect><color red="0.85" green="0.84" blue="0.84" /></rect></element>


	<!-- build screen -->

	<group name="displays">
		<bounds left="50" top="20" right="770" bottom="141" />
		<bezel element="static_black">
			<bounds left="50" top="20" right="770" bottom="141" />
		</bezel>

		<!-- bezel -->

		<bezel element="static_white"><bounds left="50" top="20" right="770" bottom="141" /></bezel>
		<bezel element="static_black"><bounds left="53" top="23" right="767" bottom="138" /></bezel>

		<repeat count="4">
			<param name="xl" start="63" increment="173" />
			<param name="xsbase" start="97.6" increment="173" />
			<bezel element="static_white"><bounds x="~xl~" y="129" width="2" height="10" /></bezel>
			<repeat count="4">
				<param name="xs" start="~xsbase~" increment="34.6" />
				<bezel element="static_white"><bounds x="~xs~" y="135" width="2" height="4" /></bezel>
			</repeat>
		</repeat>

		<bezel element="static_white"><bounds x="755" y="129" width="2" height="10" /></bezel>


		<!-- digits -->

		<!-- DL1416A DS1/DS2/DS3/DS4/DS5 -->
		<repeat count="5">
			<param name="modulex" start="65" increment="139" />
			<param name="moduleno" start="0" increment="4" />
			<repeat count="4">
				<param name="digitno" start="~moduleno~" increment="1" />
				<param name="digitx" start="~modulex~" increment="34" />
				<bezel name="digit~digitno~" element="digit"><bounds x="~digitx~" y="40" width="25" height="70" /></bezel>
			</repeat>
		</repeat>
	</group>

	<view name="Internal Layout">
		<group ref="displays">
			<bounds x="0" y="0" width="241" height="22" />
		</group>
	</view>

	<view name="Printer Below">
		<group ref="displays">
			<bounds x="0" y="0" width="241" height="16" />
		</group>
		<screen index="0">
			<bounds x="0" y="16" width="241" height="180.75" />
		</screen>
	</view>

	<view name="Terminal Below">
		<group ref="displays">
			<bounds x="0" y="0" width="241" height="16" />
		</group>
		<screen index="1">
			<bounds x="0" y="16" width="241" height="180.75" />
		</screen>
	</view>

	<view name="Printer and Terminal">
		<group ref="displays">
			<bounds x="0" y="0" width="241" height="16" />
		</group>
		<screen index="0">
			<bounds x="0" y="16" width="241" height="180.75" />
		</screen>
		<screen index="1">
			<bounds x="250" y="0" width="241" height="196.75" />
		</screen>
	</view>

</mamelayout>