summaryrefslogblamecommitdiffstatshomepage
path: root/src/mame/layout/novag_mk2.lay
blob: a8a361816b89f0ba4de3be17d376708b4842c216 (plain) (tree)
1
2
3
4
5
6
7
8
9
                     
    
               
           
   
                        
 
                                             
 








                                                                                                   
                                           
                                                                              


                                         












                                                                                    
















                                                                                                            


















                                                                                                                          





























































































                                                                                                                                                      
 

               
<?xml version="1.0"?>
<!--
license:CC0-1.0
authors:hap
-->
<mamelayout version="2">

<!-- NOTE: no chesspieces simulation here -->

<!-- define elements -->

	<element name="blackb"><rect><color red="0" green="0" blue="0" /></rect></element>
	<element name="black"><rect><color red="0.12" green="0.12" blue="0.12" /></rect></element>
	<element name="white"><rect><color red="0.8" green="0.8" blue="0.8" /></rect></element>
	<element name="white2"><rect><color red="0.65" green="0.65" blue="0.65" /></rect></element>
	<element name="orange"><rect><color red="0.8" green="0.4" blue="0.1" /></rect></element>
	<element name="brown"><rect><color red="0.4" green="0.2" blue="0.1" /></rect></element>

	<element name="digit" defstate="0">
		<led7seg><color red="1.0" green="0.1" blue="0.15" /></led7seg>
	</element>

	<element name="led" defstate="0">
		<disk state="1"><color red="1.0" green="0.1" blue="0.15" /></disk>
		<disk state="0"><color red="0.15" green="0.02" blue="0.03" /></disk>
	</element>
	<element name="ledi" defstate="1">
		<disk state="1"><color red="0.15" green="0.02" blue="0.03" /></disk>
		<disk state="0"><color red="1.0" green="0.1" blue="0.15" /></disk>
	</element>

	<element name="hl" defstate="0">
		<text string=" "/>
		<rect state="1"><color red="0" green="0" blue="0" /></rect>
	</element>

	<element name="text_ba"><text string="A"><color red="0.8" green="0.8" blue="0.8" /></text></element>
	<element name="text_bb"><text string="B"><color red="0.8" green="0.8" blue="0.8" /></text></element>
	<element name="text_bc"><text string="C"><color red="0.8" green="0.8" blue="0.8" /></text></element>
	<element name="text_bd"><text string="D"><color red="0.8" green="0.8" blue="0.8" /></text></element>
	<element name="text_be"><text string="E"><color red="0.8" green="0.8" blue="0.8" /></text></element>
	<element name="text_bf"><text string="F"><color red="0.8" green="0.8" blue="0.8" /></text></element>
	<element name="text_bg"><text string="G"><color red="0.8" green="0.8" blue="0.8" /></text></element>
	<element name="text_bh"><text string="H"><color red="0.8" green="0.8" blue="0.8" /></text></element>

	<element name="text_b1"><text string="1"><color red="0.1" green="0.1" blue="0.1" /></text></element>
	<element name="text_b2"><text string="2"><color red="0.1" green="0.1" blue="0.1" /></text></element>
	<element name="text_b3"><text string="3"><color red="0.1" green="0.1" blue="0.1" /></text></element>
	<element name="text_b4"><text string="4"><color red="0.1" green="0.1" blue="0.1" /></text></element>
	<element name="text_b5"><text string="5"><color red="0.1" green="0.1" blue="0.1" /></text></element>
	<element name="text_b6"><text string="6"><color red="0.1" green="0.1" blue="0.1" /></text></element>
	<element name="text_b7"><text string="7"><color red="0.1" green="0.1" blue="0.1" /></text></element>
	<element name="text_b8"><text string="8"><color red="0.1" green="0.1" blue="0.1" /></text></element>

	<element name="text_u01"><text string="+"><color red="0.65" green="0.65" blue="0.65" /></text></element>
	<element name="text_u02"><text string="LOSE"><color red="0.65" green="0.65" blue="0.65" /></text></element>
	<element name="text_l01"><text string="NEW GAME"><color red="0.65" green="0.65" blue="0.65" /></text></element>
	<element name="text_l02"><text string="CLEAR"><color red="0.65" green="0.65" blue="0.65" /></text></element>
	<element name="text_l03"><text string="ENTER"><color red="0.65" green="0.65" blue="0.65" /></text></element>
	<element name="text_lb"><text string="BOARD VERIFY"><color red="0.65" green="0.65" blue="0.65" /></text></element>
	<element name="text_lc"><text string="CHESS CLOCK"><color red="0.65" green="0.65" blue="0.65" /></text></element>
	<element name="text_ld"><text string="DISPLAY TIME"><color red="0.65" green="0.65" blue="0.65" /></text></element>
	<element name="text_le"><text string="STOP CLOCK"><color red="0.65" green="0.65" blue="0.65" /></text></element>
	<element name="text_lf"><text string="LEVEL"><color red="0.65" green="0.65" blue="0.65" /></text></element>
	<element name="text_lg"><text string="GAME MOVES"><color red="0.65" green="0.65" blue="0.65" /></text></element>


<!-- build screen -->

	<view name="Internal Layout">
		<bounds left="-1.75" right="24" top="-3.5" bottom="39.75" />

		<element name="digit0" ref="digit"><bounds x="3.125"  y="-2" width="4" height="6" /></element>
		<element name="digit1" ref="digit"><bounds x="7.125"  y="-2" width="4" height="6" /></element>
		<element name="digit2" ref="digit"><bounds x="11.125"  y="-2" width="4" height="6" /></element>
		<element name="digit3" ref="digit"><bounds x="15.125" y="-2" width="4" height="6" /></element>

		<element ref="black"><bounds x="-1.75" y="5.5" width="25.75" height="0.5" /></element>

		<element name="4.0" ref="led"><bounds x="-1.375" y="7.1" width="1" height="1" /></element>
		<element name="4.2" ref="led"><bounds x="4.625" y="7.1" width="1" height="1" /></element>
		<element name="4.1" ref="led"><bounds x="10.625" y="7.1" width="1" height="1" /></element>
		<element name="4.1" ref="ledi"><bounds x="16.625" y="7.1" width="1" height="1" /></element>

		<element ref="text_u01"><bounds x="-2.375" y="8.35" width="3" height="1" /></element>
		<element ref="text_u02"><bounds x="2.625" y="8.35" width="5" height="1" /></element>
		<element ref="white2"><bounds x="10.725" y="8.45" width="0.8" height="0.8" /></element>
		<element ref="blackb"><bounds x="10.85" y="8.575" width="0.55" height="0.55" /></element>
		<element ref="white2"><bounds x="16.725" y="8.45" width="0.8" height="0.8" /></element>

		<element ref="orange"><bounds x="0"  y="10" width="4.25" height="4.25" /></element>
		<element ref="orange"><bounds x="6"  y="10" width="4.25" height="4.25" /></element>
		<element ref="orange"><bounds x="12" y="10" width="4.25" height="4.25" /></element>

		<element ref="text_l01"><bounds x="-1" y="14.35" width="6.25" height="1" /></element>
		<element ref="text_l02"><bounds x="5"  y="14.35" width="6.25" height="1" /></element>
		<element ref="text_l03"><bounds x="11" y="14.35" width="6.25" height="1" /></element>

		<element ref="brown"><bounds x="0"  y="16" width="4.25" height="4.25" /></element>
		<element ref="brown"><bounds x="6"  y="16" width="4.25" height="4.25" /></element>
		<element ref="brown"><bounds x="12" y="16" width="4.25" height="4.25" /></element>
		<element ref="brown"><bounds x="18" y="16" width="4.25" height="4.25" /></element>
		<element ref="brown"><bounds x="0"  y="22" width="4.25" height="4.25" /></element>
		<element ref="brown"><bounds x="6"  y="22" width="4.25" height="4.25" /></element>
		<element ref="brown"><bounds x="12" y="22" width="4.25" height="4.25" /></element>
		<element ref="brown"><bounds x="18" y="22" width="4.25" height="4.25" /></element>

		<element ref="text_lb"><bounds x="5"  y="20.35" width="6.25" height="1" /></element>
		<element ref="text_lc"><bounds x="11" y="20.35" width="6.25" height="1" /></element>
		<element ref="text_ld"><bounds x="17" y="20.35" width="6.25" height="1" /></element>
		<element ref="text_le"><bounds x="-1" y="26.35" width="6.25" height="1" /></element>
		<element ref="text_lf"><bounds x="5"  y="26.35" width="6.25" height="1" /></element>
		<element ref="text_lg"><bounds x="11" y="26.35" width="6.25" height="1" /></element>

		<element ref="white2"><bounds x="1.725" y="20.5" width="0.8" height="0.8" /></element>
		<element ref="blackb"><bounds x="1.85" y="20.625" width="0.55" height="0.55" /></element>
		<element ref="white2"><bounds x="19.725" y="26.5" width="0.8" height="0.8" /></element>

		<element ref="white"><bounds x="0"  y="28" width="4.25" height="4.25" /></element>
		<element ref="white"><bounds x="6"  y="28" width="4.25" height="4.25" /></element>
		<element ref="white"><bounds x="12" y="28" width="4.25" height="4.25" /></element>
		<element ref="white"><bounds x="18" y="28" width="4.25" height="4.25" /></element>
		<element ref="white"><bounds x="0"  y="34" width="4.25" height="4.25" /></element>
		<element ref="white"><bounds x="6"  y="34" width="4.25" height="4.25" /></element>
		<element ref="white"><bounds x="12" y="34" width="4.25" height="4.25" /></element>
		<element ref="white"><bounds x="18" y="34" width="4.25" height="4.25" /></element>

		<element ref="text_ba"><bounds x="0.1"  y="16.8" width="4.05" height="2.6" /></element>
		<element ref="text_bb"><bounds x="6.1"  y="16.8" width="4.05" height="2.6" /></element>
		<element ref="text_bc"><bounds x="12.1" y="16.8" width="4.05" height="2.6" /></element>
		<element ref="text_bd"><bounds x="18.1" y="16.8" width="4.05" height="2.6" /></element>
		<element ref="text_be"><bounds x="0.1"  y="22.8" width="4.05" height="2.6" /></element>
		<element ref="text_bf"><bounds x="6.1"  y="22.8" width="4.05" height="2.6" /></element>
		<element ref="text_bg"><bounds x="12.1" y="22.8" width="4.05" height="2.6" /></element>
		<element ref="text_bh"><bounds x="18.1" y="22.8" width="4.05" height="2.6" /></element>

		<element ref="text_b1"><bounds x="0.1"  y="28.8" width="4.05" height="2.6" /></element>
		<element ref="text_b2"><bounds x="6.1"  y="28.8" width="4.05" height="2.6" /></element>
		<element ref="text_b3"><bounds x="12.1" y="28.8" width="4.05" height="2.6" /></element>
		<element ref="text_b4"><bounds x="18.1" y="28.8" width="4.05" height="2.6" /></element>
		<element ref="text_b5"><bounds x="0.1"  y="34.8" width="4.05" height="2.6" /></element>
		<element ref="text_b6"><bounds x="6.1"  y="34.8" width="4.05" height="2.6" /></element>
		<element ref="text_b7"><bounds x="12.1" y="34.8" width="4.05" height="2.6" /></element>
		<element ref="text_b8"><bounds x="18.1" y="34.8" width="4.05" height="2.6" /></element>

		<element ref="hl" inputtag="RESET" inputmask="0x01"><bounds x="0"  y="10" width="4.25" height="4.25" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.1" inputmask="0x10"><bounds x="6"  y="10" width="4.25" height="4.25" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.1" inputmask="0x08"><bounds x="12" y="10" width="4.25" height="4.25" /><color alpha="0.2" /></element>

		<element ref="hl" inputtag="IN.0" inputmask="0x20"><bounds x="0"  y="16" width="4.25" height="4.25" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.0" inputmask="0x10"><bounds x="6"  y="16" width="4.25" height="4.25" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.0" inputmask="0x08"><bounds x="12" y="16" width="4.25" height="4.25" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.0" inputmask="0x04"><bounds x="18" y="16" width="4.25" height="4.25" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.0" inputmask="0x02"><bounds x="0"  y="22" width="4.25" height="4.25" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.0" inputmask="0x01"><bounds x="6"  y="22" width="4.25" height="4.25" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.1" inputmask="0x40"><bounds x="12" y="22" width="4.25" height="4.25" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.1" inputmask="0x20"><bounds x="18" y="22" width="4.25" height="4.25" /><color alpha="0.2" /></element>

		<element ref="hl" inputtag="IN.2" inputmask="0x20"><bounds x="0"  y="28" width="4.25" height="4.25" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.2" inputmask="0x10"><bounds x="6"  y="28" width="4.25" height="4.25" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.2" inputmask="0x08"><bounds x="12" y="28" width="4.25" height="4.25" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.2" inputmask="0x04"><bounds x="18" y="28" width="4.25" height="4.25" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.2" inputmask="0x02"><bounds x="0"  y="34" width="4.25" height="4.25" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.2" inputmask="0x01"><bounds x="6"  y="34" width="4.25" height="4.25" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.3" inputmask="0x40"><bounds x="12" y="34" width="4.25" height="4.25" /><color alpha="0.2" /></element>
		<element ref="hl" inputtag="IN.3" inputmask="0x20"><bounds x="18" y="34" width="4.25" height="4.25" /><color alpha="0.2" /></element>

	</view>
</mamelayout>