summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/layout
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2021-07-13 11:12:00 +0200
committer hap <happppp@users.noreply.github.com>2021-07-13 11:12:14 +0200
commite4c8d9f53890f9c8180397a80026fcea90e046e8 (patch)
treeac02e06f2a4ae1c3b8434c2c69e16d1b7e4a94b1 /src/mame/layout
parentb3e47e87ecf63edbf4a4b8f9788b9f984e9b3b87 (diff)
New working machines
-------------------- TI-1680 [hap, Sean Riddle]
Diffstat (limited to 'src/mame/layout')
-rw-r--r--src/mame/layout/ti1680.lay73
1 files changed, 73 insertions, 0 deletions
diff --git a/src/mame/layout/ti1680.lay b/src/mame/layout/ti1680.lay
new file mode 100644
index 00000000000..3103f104359
--- /dev/null
+++ b/src/mame/layout/ti1680.lay
@@ -0,0 +1,73 @@
+<?xml version="1.0"?>
+<!--
+license:CC0
+-->
+<mamelayout version="2">
+
+<!-- define elements -->
+
+ <element name="digit" defstate="0">
+ <led7seg><color red="0.2" green="1.0" blue="0.85" /></led7seg>
+ </element>
+
+ <element name="seg_dot" defstate="0">
+ <disk state="1"><color red="0.2" green="1.0" blue="0.85" /></disk>
+ <disk state="0"><color red="0.0235" green="0.1255" blue="0.1059" /></disk>
+ </element>
+ <element name="seg_dash" defstate="0">
+ <rect state="1"><color red="0.2" green="1.0" blue="0.85" /></rect>
+ <rect state="0"><color red="0.0235" green="0.1255" blue="0.1059" /></rect>
+ </element>
+ <element name="seg_slash" defstate="0">
+ <text string="/" state="1"><color red="0.2" green="1.0" blue="0.85" /></text>
+ <text string="/" state="0"><color red="0.0235" green="0.1255" blue="0.1059" /></text>
+ </element>
+ <element name="seg_backslash" defstate="0">
+ <text string="&#x5c;" state="1"><color red="0.2" green="1.0" blue="0.85" /></text>
+ <text string="&#x5c;" state="0"><color red="0.0235" green="0.1255" blue="0.1059" /></text>
+ </element>
+ <element name="seg_m" defstate="0">
+ <text state="1" string="M"><color red="0.2" green="1.0" blue="0.85" /></text>
+ <text state="0" string="M"><color red="0.0235" green="0.1255" blue="0.1059" /></text>
+ </element>
+ <element name="seg_r" defstate="0">
+ <text state="1" string="R"><color red="0.2" green="1.0" blue="0.85" /></text>
+ <text state="0" string="R"><color red="0.0235" green="0.1255" blue="0.1059" /></text>
+ </element>
+
+
+<!-- build screen -->
+
+ <view name="Internal Layout">
+ <bounds left="1" right="98.5" top="0.6" bottom="15.6" />
+
+ <element name="digit1" ref="digit"><bounds x="18.5" y="0.6" width="10" height="15" /></element>
+ <element name="digit2" ref="digit"><bounds x="28.5" y="0.6" width="10" height="15" /></element>
+ <element name="digit3" ref="digit"><bounds x="38.5" y="0.6" width="10" height="15" /></element>
+ <element name="digit4" ref="digit"><bounds x="48.5" y="0.6" width="10" height="15" /></element>
+ <element name="digit5" ref="digit"><bounds x="58.5" y="0.6" width="10" height="15" /></element>
+ <element name="digit6" ref="digit"><bounds x="68.5" y="0.6" width="10" height="15" /></element>
+ <element name="digit7" ref="digit"><bounds x="78.5" y="0.6" width="10" height="15" /></element>
+ <element name="digit8" ref="digit"><bounds x="88.5" y="0.6" width="10" height="15" /></element>
+
+ <!-- custom digit -->
+ <element name="0.2" ref="seg_dash"><bounds x="1.5" y="7.35" width="7" height="0.5" /></element>
+ <element name="0.8" ref="seg_dash"><bounds x="1.5" y="14.7" width="7" height="0.5" /></element>
+
+ <element name="0.4" ref="seg_dash"><bounds x="4.75" y="3.7" width="0.5" height="3.0" /></element>
+ <element name="0.4" ref="seg_dash"><bounds x="4.75" y="8.5" width="0.5" height="3.0" /></element>
+
+ <element name="0.0" ref="seg_dot"><bounds x="4.25" y="1.8" width="1.5" height="1.5" /></element>
+ <element name="0.0" ref="seg_dot"><bounds x="4.25" y="11.9" width="1.5" height="1.5" /></element>
+
+ <element name="0.1" ref="seg_slash"><bounds x="4.3" y="-0.5" width="5" height="7.5" /></element>
+ <element name="0.1" ref="seg_slash"><bounds x="0.7" y="7" width="5" height="7.5" /></element>
+ <element name="0.6" ref="seg_backslash"><bounds x="0.7" y="-0.5" width="5" height="7.5" /></element>
+ <element name="0.6" ref="seg_backslash"><bounds x="4.3" y="7" width="5" height="7.5" /></element>
+
+ <element name="0.5" ref="seg_m"><bounds x="7.7" y="0" width="10" height="7.5" /></element>
+ <element name="0.3" ref="seg_r"><bounds x="7.7" y="8.2" width="10" height="7.5" /></element>
+ <element name="0.7" ref="seg_dash"><bounds x="10.0" y="7.4" width="5" height="1.3" /></element>
+
+ </view>
+</mamelayout>