diff options
Diffstat (limited to 'src/mame/layout/z80net.lay')
-rw-r--r-- | src/mame/layout/z80net.lay | 669 |
1 files changed, 669 insertions, 0 deletions
diff --git a/src/mame/layout/z80net.lay b/src/mame/layout/z80net.lay new file mode 100644 index 00000000000..3229af18adf --- /dev/null +++ b/src/mame/layout/z80net.lay @@ -0,0 +1,669 @@ +<?xml version="1.0"?> +<!-- z80ne.lay --> +<!-- 2009-01-16: Initial version. [Roberto Lavarone] --> + +<mamelayout version="2"> + + <element name="gray"> + <rect> + <bounds left="0" top="0" right="1" bottom="1" /> + <color red="0.15" green="0.15" blue="0.15" /> + </rect> + </element> + + <element name="digit_back"> + <rect> + <bounds left="0" top="0" right="1" bottom="1" /> + <color red="0.584" green="0.631" blue="0.690" /> + </rect> + </element> + + <element name="digit" defstate="0"> + <led7seg> + <color red="0.75" green="0.0" blue="0.0"/> + </led7seg> + </element> + + <element name="back"> + <rect> + <bounds left="0" top="0" right="1" bottom="1" /> + <color red="0.0" green="0.0" blue="0.0" /> + </rect> + </element> + + <element name="pushbutton" defstate="1"> + <rect> + <bounds x="2" y="2" width="48" height="48"/> + <color red="0.1" green="0.1" blue="0.1" /> + </rect> + <rect state="0"> + <bounds x="0" y="0" width="48" height="48"/> + <color red="0.75" green="0.75" blue="0.0" /> + </rect> + <rect state="1"> + <bounds x="2" y="2" width="48" height="48"/> + <color red="0.75" green="0.75" blue="0.0" /> + </rect> + </element> + + <element name="pushbuttonCTRL" defstate="1"> + <rect> + <bounds x="2" y="2" width="48" height="48"/> + <color red="0.1" green="0.1" blue="0.1" /> + </rect> + <rect state="0"> + <bounds x="0" y="0" width="48" height="48"/> + <color red="0.25" green="0.25" blue="0.25" /> + </rect> + <text string="CTRL" state="0"> + <bounds x="8" y="24" width="40" height="20"/> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + <rect state="1"> + <bounds x="2" y="2" width="48" height="48"/> + <color red="0.25" green="0.25" blue="0.25" /> + </rect> + <text string="CTRL" state="1"> + <bounds x="10" y="26" width="40" height="20"/> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + </element> + + <element name="pushbuttonRST" defstate="1"> + <rect> + <bounds x="2" y="2" width="48" height="48"/> + <color red="0.1" green="0.1" blue="0.1" /> + </rect> + <rect state="0"> + <bounds x="0" y="0" width="48" height="48"/> + <color red="0.75" green="0" blue="0" /> + </rect> + <text string="RST " state="0"> + <bounds x="8" y="24" width="40" height="20"/> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + <rect state="1"> + <bounds x="2" y="2" width="48" height="48"/> + <color red="0.75" green="0" blue="0" /> + </rect> + <text string="RST " state="1"> + <bounds x="10" y="26" width="40" height="20"/> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + </element> + + <element name="pushbutton0" defstate="1"> + <rect> + <bounds x="2" y="2" width="48" height="48"/> + <color red="0.1" green="0.1" blue="0.1" /> + </rect> + <rect state="0"> + <bounds x="0" y="0" width="48" height="48"/> + <color red="0.0" green="0.0" blue="0.75" /> + </rect> + <text string=" 0 " state="0"> + <bounds x="8" y="24" width="40" height="20"/> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + <rect state="1"> + <bounds x="2" y="2" width="48" height="48"/> + <color red="0.0" green="0.0" blue="0.75" /> + </rect> + <text string=" 0 " state="1"> + <bounds x="10" y="26" width="40" height="20"/> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + </element> + + <element name="pushbutton1" defstate="1"> + <rect> + <bounds x="2" y="2" width="48" height="48"/> + <color red="0.1" green="0.1" blue="0.1" /> + </rect> + <rect state="0"> + <bounds x="0" y="0" width="48" height="48"/> + <color red="0.0" green="0.0" blue="0.75" /> + </rect> + <text string=" 1 " state="0"> + <bounds x="8" y="24" width="40" height="20"/> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + <rect state="1"> + <bounds x="2" y="2" width="48" height="48"/> + <color red="0.0" green="0.0" blue="0.75" /> + </rect> + <text string=" 1 " state="1"> + <bounds x="10" y="26" width="40" height="20"/> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + </element> + + <element name="pushbutton2" defstate="1"> + <rect> + <bounds x="2" y="2" width="48" height="48"/> + <color red="0.1" green="0.1" blue="0.1" /> + </rect> + <rect state="0"> + <bounds x="0" y="0" width="48" height="48"/> + <color red="0.0" green="0.0" blue="0.75" /> + </rect> + <text string=" 2 " state="0"> + <bounds x="8" y="24" width="40" height="20"/> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + <rect state="1"> + <bounds x="2" y="2" width="48" height="48"/> + <color red="0.0" green="0.0" blue="0.75" /> + </rect> + <text string=" 2 " state="1"> + <bounds x="10" y="26" width="40" height="20"/> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + </element> + + <element name="pushbutton3" defstate="1"> + <rect> + <bounds x="2" y="2" width="48" height="48"/> + <color red="0.1" green="0.1" blue="0.1" /> + </rect> + <rect state="0"> + <bounds x="0" y="0" width="48" height="48"/> + <color red="0.0" green="0.0" blue="0.75" /> + </rect> + <text string=" 3 " state="0"> + <bounds x="8" y="24" width="40" height="20"/> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + <rect state="1"> + <bounds x="2" y="2" width="48" height="48"/> + <color red="0.0" green="0.0" blue="0.75" /> + </rect> + <text string=" 3 " state="1"> + <bounds x="10" y="26" width="40" height="20"/> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + </element> + + <element name="pushbutton4" defstate="1"> + <rect> + <bounds x="2" y="2" width="48" height="48"/> + <color red="0.1" green="0.1" blue="0.1" /> + </rect> + <rect state="0"> + <bounds x="0" y="0" width="48" height="48"/> + <color red="0.0" green="0.0" blue="0.75" /> + </rect> + <text string=" 4 " state="0"> + <bounds x="8" y="24" width="40" height="20"/> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + <rect state="1"> + <bounds x="2" y="2" width="48" height="48"/> + <color red="0.0" green="0.0" blue="0.75" /> + </rect> + <text string=" 4 " state="1"> + <bounds x="10" y="26" width="40" height="20"/> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + </element> + + <element name="pushbutton5" defstate="1"> + <rect> + <bounds x="2" y="2" width="48" height="48"/> + <color red="0.1" green="0.1" blue="0.1" /> + </rect> + <rect state="0"> + <bounds x="0" y="0" width="48" height="48"/> + <color red="0.0" green="0.0" blue="0.75" /> + </rect> + <text string=" 5 " state="0"> + <bounds x="8" y="24" width="40" height="20"/> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + <rect state="1"> + <bounds x="2" y="2" width="48" height="48"/> + <color red="0.0" green="0.0" blue="0.75" /> + </rect> + <text string=" 5 " state="1"> + <bounds x="10" y="26" width="40" height="20"/> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + </element> + + <element name="pushbutton6" defstate="1"> + <rect> + <bounds x="2" y="2" width="48" height="48"/> + <color red="0.1" green="0.1" blue="0.1" /> + </rect> + <rect state="0"> + <bounds x="0" y="0" width="48" height="48"/> + <color red="0.0" green="0.0" blue="0.75" /> + </rect> + <text string=" 6 " state="0"> + <bounds x="8" y="24" width="40" height="20"/> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + <rect state="1"> + <bounds x="2" y="2" width="48" height="48"/> + <color red="0.0" green="0.0" blue="0.75" /> + </rect> + <text string=" 6 " state="1"> + <bounds x="10" y="26" width="40" height="20"/> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + </element> + + <element name="pushbutton7" defstate="1"> + <rect> + <bounds x="2" y="2" width="48" height="48"/> + <color red="0.1" green="0.1" blue="0.1" /> + </rect> + <rect state="0"> + <bounds x="0" y="0" width="48" height="48"/> + <color red="0.0" green="0.0" blue="0.75" /> + </rect> + <text string=" 7 " state="0"> + <bounds x="8" y="24" width="40" height="20"/> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + <rect state="1"> + <bounds x="2" y="2" width="48" height="48"/> + <color red="0.0" green="0.0" blue="0.75" /> + </rect> + <text string=" 7 " state="1"> + <bounds x="10" y="26" width="40" height="20"/> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + </element> + + <element name="pushbutton8" defstate="1"> + <rect> + <bounds x="2" y="2" width="48" height="48"/> + <color red="0.1" green="0.1" blue="0.1" /> + </rect> + <rect state="0"> + <bounds x="0" y="0" width="48" height="48"/> + <color red="0.0" green="0.0" blue="0.75" /> + </rect> + <text string=" 8 " state="0"> + <bounds x="8" y="24" width="40" height="20"/> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + <rect state="1"> + <bounds x="2" y="2" width="48" height="48"/> + <color red="0.0" green="0.0" blue="0.75" /> + </rect> + <text string=" 8 " state="1"> + <bounds x="10" y="26" width="40" height="20"/> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + </element> + + <element name="pushbutton9" defstate="1"> + <rect> + <bounds x="2" y="2" width="48" height="48"/> + <color red="0.1" green="0.1" blue="0.1" /> + </rect> + <rect state="0"> + <bounds x="0" y="0" width="48" height="48"/> + <color red="0.0" green="0.0" blue="0.75" /> + </rect> + <text string=" 9 " state="0"> + <bounds x="8" y="24" width="40" height="20"/> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + <rect state="1"> + <bounds x="2" y="2" width="48" height="48"/> + <color red="0.0" green="0.0" blue="0.75" /> + </rect> + <text string=" 9 " state="1"> + <bounds x="10" y="26" width="40" height="20"/> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + </element> + + <element name="pushbuttonA" defstate="1"> + <rect> + <bounds x="2" y="2" width="48" height="48"/> + <color red="0.1" green="0.1" blue="0.1" /> + </rect> + <rect state="0"> + <bounds x="0" y="0" width="48" height="48"/> + <color red="0.0" green="0.0" blue="0.75" /> + </rect> + <text string=" A " state="0"> + <bounds x="8" y="24" width="40" height="20"/> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + <rect state="1"> + <bounds x="2" y="2" width="48" height="48"/> + <color red="0.0" green="0.0" blue="0.75" /> + </rect> + <text string=" A " state="1"> + <bounds x="10" y="26" width="40" height="20"/> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + </element> + + <element name="pushbuttonB" defstate="1"> + <rect> + <bounds x="2" y="2" width="48" height="48"/> + <color red="0.1" green="0.1" blue="0.1" /> + </rect> + <rect state="0"> + <bounds x="0" y="0" width="48" height="48"/> + <color red="0.0" green="0.0" blue="0.75" /> + </rect> + <text string=" B " state="0"> + <bounds x="8" y="24" width="40" height="20"/> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + <rect state="1"> + <bounds x="2" y="2" width="48" height="48"/> + <color red="0.0" green="0.0" blue="0.75" /> + </rect> + <text string=" B " state="1"> + <bounds x="10" y="26" width="40" height="20"/> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + </element> + + <element name="pushbuttonC" defstate="1"> + <rect> + <bounds x="2" y="2" width="48" height="48"/> + <color red="0.1" green="0.1" blue="0.1" /> + </rect> + <rect state="0"> + <bounds x="0" y="0" width="48" height="48"/> + <color red="0.0" green="0.0" blue="0.75" /> + </rect> + <text string=" C " state="0"> + <bounds x="8" y="24" width="40" height="20"/> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + <rect state="1"> + <bounds x="2" y="2" width="48" height="48"/> + <color red="0.0" green="0.0" blue="0.75" /> + </rect> + <text string=" C " state="1"> + <bounds x="10" y="26" width="40" height="20"/> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + </element> + + <element name="pushbuttonD" defstate="1"> + <rect> + <bounds x="2" y="2" width="48" height="48"/> + <color red="0.1" green="0.1" blue="0.1" /> + </rect> + <rect state="0"> + <bounds x="0" y="0" width="48" height="48"/> + <color red="0.0" green="0.0" blue="0.75" /> + </rect> + <text string=" D " state="0"> + <bounds x="8" y="24" width="40" height="20"/> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + <rect state="1"> + <bounds x="2" y="2" width="48" height="48"/> + <color red="0.0" green="0.0" blue="0.75" /> + </rect> + <text string=" D " state="1"> + <bounds x="10" y="26" width="40" height="20"/> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + </element> + + <element name="pushbuttonE" defstate="1"> + <rect> + <bounds x="2" y="2" width="48" height="48"/> + <color red="0.1" green="0.1" blue="0.1" /> + </rect> + <rect state="0"> + <bounds x="0" y="0" width="48" height="48"/> + <color red="0.0" green="0.0" blue="0.75" /> + </rect> + <text string=" E " state="0"> + <bounds x="8" y="24" width="40" height="20"/> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + <rect state="1"> + <bounds x="2" y="2" width="48" height="48"/> + <color red="0.0" green="0.0" blue="0.75" /> + </rect> + <text string=" E " state="1"> + <bounds x="10" y="26" width="40" height="20"/> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + </element> + + <element name="pushbuttonF" defstate="1"> + <rect> + <bounds x="2" y="2" width="48" height="48"/> + <color red="0.1" green="0.1" blue="0.1" /> + </rect> + <rect state="0"> + <bounds x="0" y="0" width="48" height="48"/> + <color red="0.0" green="0.0" blue="0.75" /> + </rect> + <text string=" F " state="0"> + <bounds x="8" y="24" width="40" height="20"/> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + <rect state="1"> + <bounds x="2" y="2" width="48" height="48"/> + <color red="0.0" green="0.0" blue="0.75" /> + </rect> + <text string=" F " state="1"> + <bounds x="10" y="26" width="40" height="20"/> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + </element> + + <element name="flatbackground"> + <rect> + <bounds left="-10" top="-10" right="587" bottom="813" /> + <color red="0.1" green="0.1" blue="0.1" /> + </rect> + <rect> + <bounds left="5" top="5" right="577" bottom="803" /> + <color red="0.1" green="0.2" blue="0.1" /> + </rect> + <rect> + <bounds left="0" top="0" right="572" bottom="798" /> + <color red="0.1" green="0.3" blue="0.1" /> + </rect> + </element> + + <element name="LX.384"> + <text string="LX.384"> + <bounds x="0" y="0" width="120" height="40"/> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + </element> + + <element name="LX.388"> + <text string="LX.388"> + <bounds x="0" y="0" width="120" height="40"/> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + </element> + + <view name="Default Layout"> + <backdrop element="flatbackground"> + <bounds x="0" y="20" width="1175" height="590" /> + </backdrop> + + <backdrop element="gray"> + <bounds x="65" y="74" width="640" height="480" /> + </backdrop> + + <bezel element="LX.388"> + <bounds x="67" y="80" width="90" height="30" /> + </bezel> + + <screen index="0"> + <bounds x="65" y="74" width="640" height="480" /> + </screen> + + <backdrop element="gray"> + <bounds x="724" y="74" width="375" height="480" /> + </backdrop> + + <bezel element="LX.384"> + <bounds x="726" y="80" width="90" height="30" /> + </bezel> + + <!-- LEDs --> + <!-- LEDs --> <!-- x step = 40 --> + <bezel element="digit_back"> + <bounds x="740" y="119" width="36" height="52" /> + </bezel> + <bezel element="digit_back"> + <bounds x="784" y="119" width="36" height="52" /> + </bezel> + <bezel element="digit_back"> + <bounds x="828" y="119" width="36" height="52" /> + </bezel> + <bezel element="digit_back"> + <bounds x="872" y="119" width="36" height="52" /> + </bezel> + <bezel element="digit_back"> + <bounds x="916" y="119" width="36" height="52" /> + </bezel> + <bezel element="digit_back"> + <bounds x="960" y="119" width="36" height="52" /> + </bezel> + <bezel element="digit_back"> + <bounds x="1004" y="119" width="36" height="52" /> + </bezel> + <bezel element="digit_back"> + <bounds x="1048" y="119" width="36" height="52" /> + </bezel> + <bezel name="digit7" element="digit"> + <bounds x="743" y="126" width="30" height="40" /> + </bezel> + <bezel name="digit6" element="digit"> + <bounds x="787" y="126" width="30" height="40" /> + </bezel> + <bezel name="digit5" element="digit"> + <bounds x="831" y="126" width="30" height="40" /> + </bezel> + <bezel name="digit4" element="digit"> + <bounds x="875" y="126" width="30" height="40" /> + </bezel> + <bezel name="digit3" element="digit"> + <bounds x="919" y="126" width="30" height="40" /> + </bezel> + <bezel name="digit2" element="digit"> + <bounds x="963" y="126" width="30" height="40" /> + </bezel> + <bezel name="digit1" element="digit"> + <bounds x="1007" y="126" width="30" height="40" /> + </bezel> + <bezel name="digit0" element="digit"> + <bounds x="1051" y="126" width="30" height="40" /> + </bezel> + + + <!-- Buttons --> + + <!-- "Control" --> + <bezel element="pushbuttonCTRL" inputtag="CTRL" inputmask="0x10"> + <bounds x="765" y="338" width="40" height="40"/> + </bezel> + + <!-- "Reset" --> + <bezel element="pushbuttonRST" inputtag="RST" inputmask="0x01"> + <bounds x="765" y="210" width="40" height="40"/> + </bezel> + + + <!-- Row 0 : 0 1 2 3 4 5 6 7 --> <!-- xstep=45, ystep=43 --> + <!-- "0" --> + <bezel element="pushbutton0" inputtag="ROW0" inputmask="0x01"> + <bounds x="886" y="339" width="40" height="40"/> + </bezel> + + <!-- "1" --> + <bezel element="pushbutton1" inputtag="ROW0" inputmask="0x02"> + <bounds x="886" y="296" width="40" height="40"/> + </bezel> + + <!-- "2" --> + <bezel element="pushbutton2" inputtag="ROW0" inputmask="0x04"> + <bounds x="931" y="296" width="40" height="40"/> + </bezel> + + <!-- "3" --> + <bezel element="pushbutton3" inputtag="ROW0" inputmask="0x08"> + <bounds x="976" y="296" width="40" height="40"/> + </bezel> + + <!-- "4" --> + <bezel element="pushbutton4" inputtag="ROW0" inputmask="0x10"> + <bounds x="886" y="253" width="40" height="40"/> + </bezel> + + <!-- "5" --> + <bezel element="pushbutton5" inputtag="ROW0" inputmask="0x20"> + <bounds x="931" y="253" width="40" height="40"/> + </bezel> + + <!-- "6" --> + <bezel element="pushbutton6" inputtag="ROW0" inputmask="0x40"> + <bounds x="976" y="253" width="40" height="40"/> + </bezel> + + <!-- "7" --> + <bezel element="pushbutton7" inputtag="ROW0" inputmask="0x80"> + <bounds x="886" y="210" width="40" height="40"/> + </bezel> + + + + <!-- Buttons --> + <!-- Row 1 : 8 9 A B C D E F --> + <!-- "8" --> + <bezel element="pushbutton8" inputtag="ROW1" inputmask="0x01"> + <bounds x="931" y="210" width="40" height="40"/> + </bezel> + + <!-- "9" --> + <bezel element="pushbutton9" inputtag="ROW1" inputmask="0x02"> + <bounds x="976" y="210" width="40" height="40"/> + </bezel> + + <!-- "A" --> + <bezel element="pushbuttonA" inputtag="ROW1" inputmask="0x04"> + <bounds x="1021" y="210" width="40" height="40"/> + </bezel> + + <!-- "B" --> + <bezel element="pushbuttonB" inputtag="ROW1" inputmask="0x08"> + <bounds x="1021" y="253" width="40" height="40"/> + </bezel> + + <!-- "C" --> + <bezel element="pushbuttonC" inputtag="ROW1" inputmask="0x10"> + <bounds x="1021" y="296" width="40" height="40"/> + </bezel> + + <!-- "D" --> + <bezel element="pushbuttonD" inputtag="ROW1" inputmask="0x20"> + <bounds x="1021" y="339" width="40" height="40"/> + </bezel> + + <!-- "E" --> + <bezel element="pushbuttonE" inputtag="ROW1" inputmask="0x40"> + <bounds x="976" y="339" width="40" height="40"/> + </bezel> + + <!-- "F" --> + <bezel element="pushbuttonF" inputtag="ROW1" inputmask="0x80"> + <bounds x="931" y="339" width="40" height="40"/> + </bezel> + + </view> + +</mamelayout> |