summaryrefslogtreecommitdiffstats
path: root/src/mame/layout
diff options
context:
space:
mode:
authorGravatarGravatar hap <happppp@users.noreply.github.com>2017-12-04 03:55:28 +0100
committerGravatarGravatar hap <happppp@users.noreply.github.com>2017-12-04 03:55:28 +0100
commit13dc842471b5c044cc043d818f0cfc332ed8e9fb (patch)
tree082e339d6dc71bc12f24048e72f47fbd63c764ae /src/mame/layout
parent0425c93e010dfeca9a79de9ad986cda79692f8b3 (diff)
downloadmame-13dc842471b5c044cc043d818f0cfc332ed8e9fb.tar.xz
mame-13dc842471b5c044cc043d818f0cfc332ed8e9fb.zip
New working machines
----------- Fonas 3 in 1 [hap, Sean Riddle] Vulcan XL 25 [hap, Sean Riddle]
Diffstat (limited to 'src/mame/layout')
-rw-r--r--src/mame/layout/f3in1.lay72
-rw-r--r--src/mame/layout/xl25.lay167
2 files changed, 239 insertions, 0 deletions
diff --git a/src/mame/layout/f3in1.lay b/src/mame/layout/f3in1.lay
new file mode 100644
index 00000000000..dea14a21528
--- /dev/null
+++ b/src/mame/layout/f3in1.lay
@@ -0,0 +1,72 @@
+<?xml version="1.0"?>
+<mamelayout version="2">
+
+<!-- define elements -->
+
+ <element name="digit" defstate="0">
+ <led7seg><color red="1.0" green="0.25" blue="0.28" /></led7seg>
+ </element>
+
+ <element name="led" defstate="0">
+ <disk state="0"><color red="0.1" green="0.025" blue="0.028" /></disk>
+ <disk state="1"><color red="1.0" green="0.25" blue="0.28" /></disk>
+ </element>
+
+
+<!-- build screen -->
+
+ <view name="Internal Layout">
+ <bounds left="-1" right="30" top="3" bottom="24" />
+
+ <bezel name="digit6" element="digit"><bounds x="8" y="4" width="2" height="3" /></bezel>
+ <bezel name="digit7" element="digit"><bounds x="10" y="4" width="2" height="3" /></bezel>
+ <bezel name="digit8" element="digit"><bounds x="17" y="4" width="2" height="3" /></bezel>
+ <bezel name="digit9" element="digit"><bounds x="19" y="4" width="2" height="3" /></bezel>
+
+ <bezel name="0.0" element="led"><bounds x="0" y="10" width="1" height="1" /></bezel>
+ <bezel name="0.1" element="led"><bounds x="4" y="10" width="1" height="1" /></bezel>
+ <bezel name="0.2" element="led"><bounds x="8" y="10" width="1" height="1" /></bezel>
+ <bezel name="0.3" element="led"><bounds x="12" y="10" width="1" height="1" /></bezel>
+ <bezel name="0.4" element="led"><bounds x="16" y="10" width="1" height="1" /></bezel>
+ <bezel name="0.5" element="led"><bounds x="20" y="10" width="1" height="1" /></bezel>
+ <bezel name="0.6" element="led"><bounds x="24" y="10" width="1" height="1" /></bezel>
+ <bezel name="0.7" element="led"><bounds x="28" y="10" width="1" height="1" /></bezel>
+
+ <bezel name="1.0" element="led"><bounds x="0" y="13" width="1" height="1" /></bezel>
+ <bezel name="1.1" element="led"><bounds x="4" y="13" width="1" height="1" /></bezel>
+ <bezel name="1.2" element="led"><bounds x="8" y="13" width="1" height="1" /></bezel>
+ <bezel name="1.3" element="led"><bounds x="12" y="13" width="1" height="1" /></bezel>
+ <bezel name="1.4" element="led"><bounds x="16" y="13" width="1" height="1" /></bezel>
+ <bezel name="1.5" element="led"><bounds x="20" y="13" width="1" height="1" /></bezel>
+ <bezel name="1.6" element="led"><bounds x="24" y="13" width="1" height="1" /></bezel>
+ <bezel name="1.7" element="led"><bounds x="28" y="13" width="1" height="1" /></bezel>
+
+ <bezel name="2.0" element="led"><bounds x="0" y="16" width="1" height="1" /></bezel>
+ <bezel name="2.1" element="led"><bounds x="4" y="16" width="1" height="1" /></bezel>
+ <bezel name="2.2" element="led"><bounds x="8" y="16" width="1" height="1" /></bezel>
+ <bezel name="2.3" element="led"><bounds x="12" y="16" width="1" height="1" /></bezel>
+ <bezel name="2.4" element="led"><bounds x="16" y="16" width="1" height="1" /></bezel>
+ <bezel name="2.5" element="led"><bounds x="20" y="16" width="1" height="1" /></bezel>
+ <bezel name="2.6" element="led"><bounds x="24" y="16" width="1" height="1" /></bezel>
+ <bezel name="2.7" element="led"><bounds x="28" y="16" width="1" height="1" /></bezel>
+
+ <bezel name="3.0" element="led"><bounds x="0" y="19" width="1" height="1" /></bezel>
+ <bezel name="3.1" element="led"><bounds x="4" y="19" width="1" height="1" /></bezel>
+ <bezel name="3.2" element="led"><bounds x="8" y="19" width="1" height="1" /></bezel>
+ <bezel name="3.3" element="led"><bounds x="12" y="19" width="1" height="1" /></bezel>
+ <bezel name="3.4" element="led"><bounds x="16" y="19" width="1" height="1" /></bezel>
+ <bezel name="3.5" element="led"><bounds x="20" y="19" width="1" height="1" /></bezel>
+ <bezel name="3.6" element="led"><bounds x="24" y="19" width="1" height="1" /></bezel>
+ <bezel name="3.7" element="led"><bounds x="28" y="19" width="1" height="1" /></bezel>
+
+ <bezel name="4.0" element="led"><bounds x="0" y="22" width="1" height="1" /></bezel>
+ <bezel name="4.1" element="led"><bounds x="4" y="22" width="1" height="1" /></bezel>
+ <bezel name="4.2" element="led"><bounds x="8" y="22" width="1" height="1" /></bezel>
+ <bezel name="4.3" element="led"><bounds x="12" y="22" width="1" height="1" /></bezel>
+ <bezel name="4.4" element="led"><bounds x="16" y="22" width="1" height="1" /></bezel>
+ <bezel name="4.5" element="led"><bounds x="20" y="22" width="1" height="1" /></bezel>
+ <bezel name="4.6" element="led"><bounds x="24" y="22" width="1" height="1" /></bezel>
+ <bezel name="4.7" element="led"><bounds x="28" y="22" width="1" height="1" /></bezel>
+
+ </view>
+</mamelayout>
diff --git a/src/mame/layout/xl25.lay b/src/mame/layout/xl25.lay
new file mode 100644
index 00000000000..4355e1e189f
--- /dev/null
+++ b/src/mame/layout/xl25.lay
@@ -0,0 +1,167 @@
+<?xml version="1.0"?>
+<mamelayout version="2">
+
+<!-- define elements -->
+
+ <element name="static_btn"><rect><color red="0.15" green="0.02" blue="0.025" /></rect></element>
+
+ <element name="led" defstate="0">
+ <disk state="0"><color red="0.2" green="0.04" blue="0.05" /></disk>
+ <disk state="1"><color red="1.0" green="0.2" blue="0.23" /></disk>
+ </element>
+
+ <element name="hl" defstate="0">
+ <text string=" ">
+ <bounds x="0.0" y="0.0" width="1.0" height="1.0" />
+ <color red="0.0" green="0.0" blue="0.0" />
+ </text>
+ <disk state="1">
+ <bounds x="0.07" y="0.07" width="0.86" height="0.86" />
+ <color red="1.0" green="1.0" blue="1.0" />
+ </disk>
+ </element>
+
+ <element name="text_l1a"><text align="1" string="store"><color red="0.8" green="0.8" blue="0.8" /></text></element>
+ <element name="text_l1b"><text string="/"><color red="0.8" green="0.8" blue="0.8" /></text></element>
+ <element name="text_l1c"><text align="1" string="recall"><color red="0.8" green="0.8" blue="0.8" /></text></element>
+ <element name="text_l2a"><text align="1" string="cross"><color red="0.8" green="0.8" blue="0.8" /></text></element>
+ <element name="text_l2b"><text align="1" string="knight"><color red="0.8" green="0.8" blue="0.8" /></text></element>
+ <element name="text_l2c"><text align="1" string="score"><color red="0.8" green="0.8" blue="0.8" /></text></element>
+ <element name="text_l3"><text string="clear"><color red="0.8" green="0.8" blue="0.8" /></text></element>
+ <element name="text_l4"><text string="random"><color red="0.8" green="0.8" blue="0.8" /></text></element>
+ <element name="text_l5"><text string="sound"><color red="0.8" green="0.8" blue="0.8" /></text></element>
+
+
+<!-- build screen -->
+
+ <view name="Internal Layout">
+ <bounds left="-1" right="25" top="-1" bottom="35" />
+
+ <!-- button panel -->
+
+ <bezel element="static_btn"><bounds x="0" y="0" width="4" height="4" /></bezel>
+ <bezel element="static_btn"><bounds x="5" y="0" width="4" height="4" /></bezel>
+ <bezel element="static_btn"><bounds x="10" y="0" width="4" height="4" /></bezel>
+ <bezel element="static_btn"><bounds x="15" y="0" width="4" height="4" /></bezel>
+ <bezel element="static_btn"><bounds x="20" y="0" width="4" height="4" /></bezel>
+
+ <bezel element="static_btn"><bounds x="0" y="5" width="4" height="4" /></bezel>
+ <bezel element="static_btn"><bounds x="5" y="5" width="4" height="4" /></bezel>
+ <bezel element="static_btn"><bounds x="10" y="5" width="4" height="4" /></bezel>
+ <bezel element="static_btn"><bounds x="15" y="5" width="4" height="4" /></bezel>
+ <bezel element="static_btn"><bounds x="20" y="5" width="4" height="4" /></bezel>
+
+ <bezel element="static_btn"><bounds x="0" y="10" width="4" height="4" /></bezel>
+ <bezel element="static_btn"><bounds x="5" y="10" width="4" height="4" /></bezel>
+ <bezel element="static_btn"><bounds x="10" y="10" width="4" height="4" /></bezel>
+ <bezel element="static_btn"><bounds x="15" y="10" width="4" height="4" /></bezel>
+ <bezel element="static_btn"><bounds x="20" y="10" width="4" height="4" /></bezel>
+
+ <bezel element="static_btn"><bounds x="0" y="15" width="4" height="4" /></bezel>
+ <bezel element="static_btn"><bounds x="5" y="15" width="4" height="4" /></bezel>
+ <bezel element="static_btn"><bounds x="10" y="15" width="4" height="4" /></bezel>
+ <bezel element="static_btn"><bounds x="15" y="15" width="4" height="4" /></bezel>
+ <bezel element="static_btn"><bounds x="20" y="15" width="4" height="4" /></bezel>
+
+ <bezel element="static_btn"><bounds x="0" y="20" width="4" height="4" /></bezel>
+ <bezel element="static_btn"><bounds x="5" y="20" width="4" height="4" /></bezel>
+ <bezel element="static_btn"><bounds x="10" y="20" width="4" height="4" /></bezel>
+ <bezel element="static_btn"><bounds x="15" y="20" width="4" height="4" /></bezel>
+ <bezel element="static_btn"><bounds x="20" y="20" width="4" height="4" /></bezel>
+
+ <bezel element="static_btn"><bounds x="0" y="27" width="4" height="4" /></bezel>
+ <bezel element="static_btn"><bounds x="5" y="27" width="4" height="4" /></bezel>
+ <bezel element="static_btn"><bounds x="10" y="27" width="4" height="4" /></bezel>
+ <bezel element="static_btn"><bounds x="15" y="27" width="4" height="4" /></bezel>
+ <bezel element="static_btn"><bounds x="20" y="27" width="4" height="4" /></bezel>
+
+ <!-- labels -->
+
+ <bezel element="text_l1a"><bounds x="1" y="31.5" width="6" height="1" /></bezel>
+ <bezel element="text_l1b"><bounds x="-1" y="32.5" width="6" height="1" /></bezel>
+ <bezel element="text_l1c"><bounds x="1" y="33.5" width="6" height="1" /></bezel>
+
+ <bezel element="text_l2a"><bounds x="6" y="31.5" width="6" height="1" /></bezel>
+ <bezel element="text_l2b"><bounds x="6" y="32.5" width="6" height="1" /></bezel>
+ <bezel element="text_l2c"><bounds x="6" y="33.5" width="6" height="1" /></bezel>
+
+ <bezel element="text_l3"><bounds x="9" y="31.5" width="6" height="1" /></bezel>
+ <bezel element="text_l4"><bounds x="14" y="31.5" width="6" height="1" /></bezel>
+ <bezel element="text_l5"><bounds x="19" y="31.5" width="6" height="1" /></bezel>
+
+ <!-- leds -->
+
+ <bezel name="0.0" element="led"><bounds x="1.25" y="1.25" width="1.5" height="1.5" /></bezel>
+ <bezel name="1.0" element="led"><bounds x="6.25" y="1.25" width="1.5" height="1.5" /></bezel>
+ <bezel name="2.0" element="led"><bounds x="11.25" y="1.25" width="1.5" height="1.5" /></bezel>
+ <bezel name="3.0" element="led"><bounds x="16.25" y="1.25" width="1.5" height="1.5" /></bezel>
+ <bezel name="4.0" element="led"><bounds x="21.25" y="1.25" width="1.5" height="1.5" /></bezel>
+
+ <bezel name="0.1" element="led"><bounds x="1.25" y="6.25" width="1.5" height="1.5" /></bezel>
+ <bezel name="1.1" element="led"><bounds x="6.25" y="6.25" width="1.5" height="1.5" /></bezel>
+ <bezel name="2.1" element="led"><bounds x="11.25" y="6.25" width="1.5" height="1.5" /></bezel>
+ <bezel name="3.1" element="led"><bounds x="16.25" y="6.25" width="1.5" height="1.5" /></bezel>
+ <bezel name="4.1" element="led"><bounds x="21.25" y="6.25" width="1.5" height="1.5" /></bezel>
+
+ <bezel name="0.2" element="led"><bounds x="1.25" y="11.25" width="1.5" height="1.5" /></bezel>
+ <bezel name="1.2" element="led"><bounds x="6.25" y="11.25" width="1.5" height="1.5" /></bezel>
+ <bezel name="2.2" element="led"><bounds x="11.25" y="11.25" width="1.5" height="1.5" /></bezel>
+ <bezel name="3.2" element="led"><bounds x="16.25" y="11.25" width="1.5" height="1.5" /></bezel>
+ <bezel name="4.2" element="led"><bounds x="21.25" y="11.25" width="1.5" height="1.5" /></bezel>
+
+ <bezel name="5.0" element="led"><bounds x="1.25" y="16.25" width="1.5" height="1.5" /></bezel>
+ <bezel name="6.0" element="led"><bounds x="6.25" y="16.25" width="1.5" height="1.5" /></bezel>
+ <bezel name="7.0" element="led"><bounds x="11.25" y="16.25" width="1.5" height="1.5" /></bezel>
+ <bezel name="8.0" element="led"><bounds x="16.25" y="16.25" width="1.5" height="1.5" /></bezel>
+ <bezel name="9.0" element="led"><bounds x="21.25" y="16.25" width="1.5" height="1.5" /></bezel>
+
+ <bezel name="5.1" element="led"><bounds x="1.25" y="21.25" width="1.5" height="1.5" /></bezel>
+ <bezel name="6.1" element="led"><bounds x="6.25" y="21.25" width="1.5" height="1.5" /></bezel>
+ <bezel name="7.1" element="led"><bounds x="11.25" y="21.25" width="1.5" height="1.5" /></bezel>
+ <bezel name="8.1" element="led"><bounds x="16.25" y="21.25" width="1.5" height="1.5" /></bezel>
+ <bezel name="9.1" element="led"><bounds x="21.25" y="21.25" width="1.5" height="1.5" /></bezel>
+
+ <bezel name="6.2" element="led"><bounds x="6.25" y="28.25" width="1.5" height="1.5" /></bezel>
+ <bezel name="8.2" element="led"><bounds x="16.25" y="28.25" width="1.5" height="1.5" /></bezel>
+ <bezel name="9.2" element="led"><bounds x="21.25" y="28.25" width="1.5" height="1.5" /></bezel>
+
+ <!-- input overlay -->
+
+ <bezel element="hl" inputtag="IN.0" inputmask="0x01"><bounds x="0" y="0" width="4" height="4" /><color alpha="0.08" /></bezel>
+ <bezel element="hl" inputtag="IN.1" inputmask="0x01"><bounds x="5" y="0" width="4" height="4" /><color alpha="0.08" /></bezel>
+ <bezel element="hl" inputtag="IN.2" inputmask="0x01"><bounds x="10" y="0" width="4" height="4" /><color alpha="0.08" /></bezel>
+ <bezel element="hl" inputtag="IN.3" inputmask="0x01"><bounds x="15" y="0" width="4" height="4" /><color alpha="0.08" /></bezel>
+ <bezel element="hl" inputtag="IN.4" inputmask="0x01"><bounds x="20" y="0" width="4" height="4" /><color alpha="0.08" /></bezel>
+
+ <bezel element="hl" inputtag="IN.0" inputmask="0x02"><bounds x="0" y="5" width="4" height="4" /><color alpha="0.08" /></bezel>
+ <bezel element="hl" inputtag="IN.1" inputmask="0x02"><bounds x="5" y="5" width="4" height="4" /><color alpha="0.08" /></bezel>
+ <bezel element="hl" inputtag="IN.2" inputmask="0x02"><bounds x="10" y="5" width="4" height="4" /><color alpha="0.08" /></bezel>
+ <bezel element="hl" inputtag="IN.3" inputmask="0x02"><bounds x="15" y="5" width="4" height="4" /><color alpha="0.08" /></bezel>
+ <bezel element="hl" inputtag="IN.4" inputmask="0x02"><bounds x="20" y="5" width="4" height="4" /><color alpha="0.08" /></bezel>
+
+ <bezel element="hl" inputtag="IN.0" inputmask="0x04"><bounds x="0" y="10" width="4" height="4" /><color alpha="0.08" /></bezel>
+ <bezel element="hl" inputtag="IN.1" inputmask="0x04"><bounds x="5" y="10" width="4" height="4" /><color alpha="0.08" /></bezel>
+ <bezel element="hl" inputtag="IN.2" inputmask="0x04"><bounds x="10" y="10" width="4" height="4" /><color alpha="0.08" /></bezel>
+ <bezel element="hl" inputtag="IN.3" inputmask="0x04"><bounds x="15" y="10" width="4" height="4" /><color alpha="0.08" /></bezel>
+ <bezel element="hl" inputtag="IN.4" inputmask="0x04"><bounds x="20" y="10" width="4" height="4" /><color alpha="0.08" /></bezel>
+
+ <bezel element="hl" inputtag="IN.5" inputmask="0x01"><bounds x="0" y="15" width="4" height="4" /><color alpha="0.08" /></bezel>
+ <bezel element="hl" inputtag="IN.6" inputmask="0x01"><bounds x="5" y="15" width="4" height="4" /><color alpha="0.08" /></bezel>
+ <bezel element="hl" inputtag="IN.7" inputmask="0x01"><bounds x="10" y="15" width="4" height="4" /><color alpha="0.08" /></bezel>
+ <bezel element="hl" inputtag="IN.8" inputmask="0x01"><bounds x="15" y="15" width="4" height="4" /><color alpha="0.08" /></bezel>
+ <bezel element="hl" inputtag="IN.9" inputmask="0x01"><bounds x="20" y="15" width="4" height="4" /><color alpha="0.08" /></bezel>
+
+ <bezel element="hl" inputtag="IN.5" inputmask="0x02"><bounds x="0" y="20" width="4" height="4" /><color alpha="0.08" /></bezel>
+ <bezel element="hl" inputtag="IN.6" inputmask="0x02"><bounds x="5" y="20" width="4" height="4" /><color alpha="0.08" /></bezel>
+ <bezel element="hl" inputtag="IN.7" inputmask="0x02"><bounds x="10" y="20" width="4" height="4" /><color alpha="0.08" /></bezel>
+ <bezel element="hl" inputtag="IN.8" inputmask="0x02"><bounds x="15" y="20" width="4" height="4" /><color alpha="0.08" /></bezel>
+ <bezel element="hl" inputtag="IN.9" inputmask="0x02"><bounds x="20" y="20" width="4" height="4" /><color alpha="0.08" /></bezel>
+
+ <bezel element="hl" inputtag="IN.5" inputmask="0x04"><bounds x="0" y="27" width="4" height="4" /><color alpha="0.08" /></bezel>
+ <bezel element="hl" inputtag="IN.6" inputmask="0x04"><bounds x="5" y="27" width="4" height="4" /><color alpha="0.08" /></bezel>
+ <bezel element="hl" inputtag="IN.7" inputmask="0x04"><bounds x="10" y="27" width="4" height="4" /><color alpha="0.08" /></bezel>
+ <bezel element="hl" inputtag="IN.8" inputmask="0x04"><bounds x="15" y="27" width="4" height="4" /><color alpha="0.08" /></bezel>
+ <bezel element="hl" inputtag="IN.9" inputmask="0x04"><bounds x="20" y="27" width="4" height="4" /><color alpha="0.08" /></bezel>
+
+ </view>
+</mamelayout>