diff options
author | Vas Crabb <vas@vastheman.com> | 2017-07-29 15:17:14 +1000 |
---|---|---|
committer | Vas Crabb <vas@vastheman.com> | 2017-07-29 15:17:14 +1000 |
commit | 3a5c5d15c717e13c5bea47614096defd50db1146 (patch) | |
tree | 486c1e4e28d523a9baf5054520df8d9068ede5ec /src/mame/layout | |
parent | 9cea5e1518bcd59181cd3428d67b3d4cfa06fa98 (diff) |
Add support for layout item groups, replace simple_list with more
appropriate containers, remove misleading const qualifiers, reduce
repeated XML walking.
(nw) Groups aren't parameterised, so they aren't as useful as they could
be (yes, it's on my TODO list). However, it's already useful for
putting a common set of elements in multiple views, potentially at
different locations/scales. See intlc44.lay and intlc440.lay for
examples of the level of copypasta this can eliminate. Be aware that
groups with explicit bounds don't clip thair content, it's only used for
calucating the transform matrix.
Diffstat (limited to 'src/mame/layout')
-rw-r--r-- | src/mame/layout/intlc44.lay | 386 | ||||
-rw-r--r-- | src/mame/layout/intlc440.lay | 385 |
2 files changed, 20 insertions, 751 deletions
diff --git a/src/mame/layout/intlc44.lay b/src/mame/layout/intlc44.lay index ffbf6e5f005..19ea53437cf 100644 --- a/src/mame/layout/intlc44.lay +++ b/src/mame/layout/intlc44.lay @@ -160,7 +160,7 @@ Intel INTELLEC® 4/MOD 40 layout <text string="RESET CONTROL" align="1"><color red="1.0" green="1.0" blue="1.0" /></text> </element> - <view name="Terminal Below"> + <group name="panel"> <cpanel element="background"><bounds left="0" top="0" right="1000" bottom="400" /></cpanel> <cpanel element="label_address"><bounds left="72" top="55" right="506" bottom="63" /></cpanel> @@ -536,385 +536,19 @@ Intel INTELLEC® 4/MOD 40 layout <cpanel element="switch" inputtag="MODE" inputmask="0x0008"> <bounds left="697" top="322" right="722" bottom="368" /> </cpanel> + </group> + <view name="Terminal Below"> + <group ref="panel"><bounds left="0" top="0" right="1000" bottom="400" /></group> <screen index="0"><bounds left="0" top="400" right="1000" bottom="1150" /></screen> </view> - <view name="Front Panel"> - <cpanel element="background"><bounds left="0" top="0" right="1000" bottom="400" /></cpanel> - - <cpanel element="label_address"><bounds left="72" top="55" right="506" bottom="63" /></cpanel> - <cpanel element="label_a3"><bounds left="81" top="63" right="185" bottom="70" /></cpanel> - <cpanel element="label_a2"><bounds left="237" top="63" right="341" bottom="70" /></cpanel> - <cpanel element="label_a1"><bounds left="393" top="63" right="497" bottom="70" /></cpanel> - <cpanel element="label_11"><bounds left="81" top="71" right="92" bottom="78" /></cpanel> - <cpanel element="label_10"><bounds left="112" top="71" right="123" bottom="78" /></cpanel> - <cpanel element="label_9"><bounds left="143" top="71" right="154" bottom="78" /></cpanel> - <cpanel element="label_8"><bounds left="174" top="71" right="185" bottom="78" /></cpanel> - <cpanel element="label_7"><bounds left="237" top="71" right="248" bottom="78" /></cpanel> - <cpanel element="label_6"><bounds left="268" top="71" right="279" bottom="78" /></cpanel> - <cpanel element="label_5"><bounds left="299" top="71" right="310" bottom="78" /></cpanel> - <cpanel element="label_4"><bounds left="330" top="71" right="341" bottom="78" /></cpanel> - <cpanel element="label_3"><bounds left="393" top="71" right="404" bottom="78" /></cpanel> - <cpanel element="label_2"><bounds left="424" top="71" right="435" bottom="78" /></cpanel> - <cpanel element="label_1"><bounds left="455" top="71" right="466" bottom="78" /></cpanel> - <cpanel element="label_0"><bounds left="486" top="71" right="497" bottom="78" /></cpanel> - - <cpanel element="label_status"><bounds left="540" top="55" right="662" bottom="63" /></cpanel> - <cpanel element="label_search"><bounds left="561" top="63" right="610" bottom="70" /></cpanel> - <cpanel element="label_complete"><bounds left="561" top="71" right="610" bottom="78" /></cpanel> - <cpanel element="label_pointer"><bounds left="623" top="63" right="672" bottom="70" /></cpanel> - <cpanel element="label_valid"><bounds left="623" top="71" right="672" bottom="78" /></cpanel> - <cpanel element="label_cpu"><bounds left="611" top="71" right="626" bottom="78" /></cpanel> - - <cpanel element="label_instruction"><bounds left="72" top="104" right="350" bottom="112" /></cpanel> - <cpanel element="label_m1"><bounds left="81" top="112" right="185" bottom="119" /></cpanel> - <cpanel element="label_m2"><bounds left="237" top="112" right="341" bottom="119" /></cpanel> - <cpanel element="label_7"><bounds left="81" top="120" right="92" bottom="127" /></cpanel> - <cpanel element="label_6"><bounds left="112" top="120" right="123" bottom="127" /></cpanel> - <cpanel element="label_5"><bounds left="143" top="120" right="154" bottom="127" /></cpanel> - <cpanel element="label_4"><bounds left="174" top="120" right="185" bottom="127" /></cpanel> - <cpanel element="label_3"><bounds left="237" top="120" right="248" bottom="127" /></cpanel> - <cpanel element="label_2"><bounds left="268" top="120" right="279" bottom="127" /></cpanel> - <cpanel element="label_1"><bounds left="299" top="120" right="310" bottom="127" /></cpanel> - <cpanel element="label_0"><bounds left="330" top="120" right="341" bottom="127" /></cpanel> - - <cpanel element="label_active_bank"><bounds left="384" top="104" right="506" bottom="112" /></cpanel> - <cpanel element="label_cm_ram"><bounds left="393" top="112" right="497" bottom="119" /></cpanel> - <cpanel element="label_3"><bounds left="393" top="120" right="404" bottom="127" /></cpanel> - <cpanel element="label_2"><bounds left="424" top="120" right="435" bottom="127" /></cpanel> - <cpanel element="label_1"><bounds left="455" top="120" right="466" bottom="127" /></cpanel> - <cpanel element="label_0"><bounds left="486" top="120" right="497" bottom="127" /></cpanel> - - <cpanel element="label_mode"><bounds left="540" top="104" right="662" bottom="112" /></cpanel> - <cpanel element="label_mon"><bounds left="577" top="120" right="594" bottom="127" /></cpanel> - <cpanel element="label_ram"><bounds left="608" top="120" right="625" bottom="127" /></cpanel> - <cpanel element="label_prom"><bounds left="639" top="120" right="656" bottom="127" /></cpanel> - - <cpanel element="label_execution"><bounds left="72" top="153" right="350" bottom="161" /></cpanel> - <cpanel element="label_x2"><bounds left="81" top="161" right="185" bottom="168" /></cpanel> - <cpanel element="label_x3"><bounds left="237" top="161" right="341" bottom="168" /></cpanel> - <cpanel element="label_3"><bounds left="81" top="169" right="92" bottom="176" /></cpanel> - <cpanel element="label_2"><bounds left="112" top="169" right="123" bottom="176" /></cpanel> - <cpanel element="label_1"><bounds left="143" top="169" right="154" bottom="176" /></cpanel> - <cpanel element="label_0"><bounds left="174" top="169" right="185" bottom="176" /></cpanel> - <cpanel element="label_3"><bounds left="237" top="169" right="248" bottom="176" /></cpanel> - <cpanel element="label_2"><bounds left="268" top="169" right="279" bottom="176" /></cpanel> - <cpanel element="label_1"><bounds left="299" top="169" right="310" bottom="176" /></cpanel> - <cpanel element="label_0"><bounds left="330" top="169" right="341" bottom="176" /></cpanel> - - <cpanel element="label_last_ptr"><bounds left="384" top="153" right="662" bottom="161" /></cpanel> - <cpanel element="label_x2"><bounds left="393" top="161" right="497" bottom="168" /></cpanel> - <cpanel element="label_x3"><bounds left="549" top="161" right="653" bottom="168" /></cpanel> - <cpanel element="label_3"><bounds left="393" top="169" right="404" bottom="176" /></cpanel> - <cpanel element="label_2"><bounds left="424" top="169" right="435" bottom="176" /></cpanel> - <cpanel element="label_1"><bounds left="455" top="169" right="466" bottom="176" /></cpanel> - <cpanel element="label_0"><bounds left="486" top="169" right="497" bottom="176" /></cpanel> - <cpanel element="label_3"><bounds left="549" top="169" right="560" bottom="176" /></cpanel> - <cpanel element="label_2"><bounds left="580" top="169" right="591" bottom="176" /></cpanel> - <cpanel element="label_1"><bounds left="611" top="169" right="622" bottom="176" /></cpanel> - <cpanel element="label_0"><bounds left="642" top="169" right="653" bottom="176" /></cpanel> - - <cpanel element="label_addr_data"><bounds left="72" top="214" right="506" bottom="222" /></cpanel> - <cpanel element="label_11"><bounds left="74" top="230" right="99" bottom="237" /></cpanel> - <cpanel element="label_10"><bounds left="105" top="230" right="130" bottom="237" /></cpanel> - <cpanel element="label_9"><bounds left="136" top="230" right="161" bottom="237" /></cpanel> - <cpanel element="label_8"><bounds left="167" top="230" right="192" bottom="237" /></cpanel> - <cpanel element="label_7"><bounds left="230" top="230" right="255" bottom="237" /></cpanel> - <cpanel element="label_6"><bounds left="261" top="230" right="286" bottom="237" /></cpanel> - <cpanel element="label_5"><bounds left="292" top="230" right="317" bottom="237" /></cpanel> - <cpanel element="label_4"><bounds left="323" top="230" right="348" bottom="237" /></cpanel> - <cpanel element="label_3"><bounds left="386" top="230" right="411" bottom="237" /></cpanel> - <cpanel element="label_2"><bounds left="417" top="230" right="442" bottom="237" /></cpanel> - <cpanel element="label_1"><bounds left="448" top="230" right="473" bottom="237" /></cpanel> - <cpanel element="label_0"><bounds left="479" top="230" right="504" bottom="237" /></cpanel> - - <cpanel element="label_mode_ctrl"><bounds left="571" top="214" right="662" bottom="222" /></cpanel> - <cpanel element="label_mon"><bounds left="573" top="230" right="598" bottom="237" /></cpanel> - <cpanel element="label_ram"><bounds left="604" top="230" right="629" bottom="237" /></cpanel> - <cpanel element="label_prom"><bounds left="635" top="230" right="660" bottom="237" /></cpanel> - - <cpanel element="label_prgm"><bounds left="728" top="214" right="753" bottom="221" /></cpanel> - <cpanel element="label_prom"><bounds left="728" top="222" right="753" bottom="229" /></cpanel> - <cpanel element="label_pwr"><bounds left="728" top="230" right="753" bottom="237" /></cpanel> - <cpanel element="label_on"><bounds left="758" top="239" right="814" bottom="246" /></cpanel> - <cpanel element="label_off"><bounds left="758" top="279" right="814" bottom="287" /></cpanel> - - <cpanel element="label_pass_counter"><bounds left="72" top="296" right="194" bottom="304" /></cpanel> - <cpanel element="label_passes"><bounds left="74" top="304" right="192" bottom="311" /></cpanel> - <cpanel element="label_3"><bounds left="74" top="312" right="99" bottom="319" /></cpanel> - <cpanel element="label_2"><bounds left="105" top="312" right="130" bottom="319" /></cpanel> - <cpanel element="label_1"><bounds left="136" top="312" right="161" bottom="319" /></cpanel> - <cpanel element="label_0"><bounds left="167" top="312" right="192" bottom="319" /></cpanel> - - <cpanel element="label_search_ctrl"><bounds left="228" top="296" right="381" bottom="304" /></cpanel> - <cpanel element="label_run"><bounds left="230" top="312" right="255" bottom="319" /></cpanel> - <cpanel element="label_next"><bounds left="261" top="304" right="286" bottom="311" /></cpanel> - <cpanel element="label_inst"><bounds left="261" top="312" right="286" bottom="319" /></cpanel> - <cpanel element="label_decr"><bounds left="292" top="312" right="317" bottom="319" /></cpanel> - <cpanel element="label_incr"><bounds left="323" top="312" right="348" bottom="319" /></cpanel> - <cpanel element="label_load"><bounds left="354" top="312" right="379" bottom="319" /></cpanel> - - <cpanel element="label_test"><bounds left="446" top="296" right="506" bottom="304" /></cpanel> - <cpanel element="label_hold"><bounds left="448" top="312" right="473" bottom="319" /></cpanel> - <cpanel element="label_one"><bounds left="479" top="304" right="504" bottom="311" /></cpanel> - <cpanel element="label_shot"><bounds left="479" top="312" right="504" bottom="319" /></cpanel> - - <cpanel element="label_cma"><bounds left="571" top="296" right="631" bottom="304" /></cpanel> - <cpanel element="label_write"><bounds left="604" top="312" right="629" bottom="319" /></cpanel> - <cpanel element="label_enable"><bounds left="514" top="321" right="570" bottom="328" /></cpanel> - <cpanel element="label_disable"><bounds left="514" top="361" right="570" bottom="368" /></cpanel> - - <cpanel element="label_reset_ctrl"><bounds left="664" top="296" right="724" bottom="304" /></cpanel> - <cpanel element="label_reset"><bounds left="666" top="312" right="691" bottom="319" /></cpanel> - <cpanel element="label_reset_mode"><bounds left="697" top="312" right="722" bottom="319" /></cpanel> - <cpanel element="label_system"><bounds left="727" top="321" right="783" bottom="328" /></cpanel> - <cpanel element="label_reset_cpu"><bounds left="727" top="361" right="783" bottom="368" /></cpanel> - - <cpanel name="led_address_a3_3" element="led"> - <bounds left="81" top="79" right="92" bottom="86" /> - </cpanel> - <cpanel name="led_address_a3_2" element="led"> - <bounds left="112" top="79" right="123" bottom="86" /> - </cpanel> - <cpanel name="led_address_a3_1" element="led"> - <bounds left="143" top="79" right="154" bottom="86" /> - </cpanel> - <cpanel name="led_address_a3_0" element="led"> - <bounds left="174" top="79" right="185" bottom="86" /> - </cpanel> - <cpanel name="led_address_a2_3" element="led"> - <bounds left="237" top="79" right="248" bottom="86" /> - </cpanel> - <cpanel name="led_address_a2_2" element="led"> - <bounds left="268" top="79" right="279" bottom="86" /> - </cpanel> - <cpanel name="led_address_a2_1" element="led"> - <bounds left="299" top="79" right="310" bottom="86" /> - </cpanel> - <cpanel name="led_address_a2_0" element="led"> - <bounds left="330" top="79" right="341" bottom="86" /> - </cpanel> - <cpanel name="led_address_a1_3" element="led"> - <bounds left="393" top="79" right="404" bottom="86" /> - </cpanel> - <cpanel name="led_address_a1_2" element="led"> - <bounds left="424" top="79" right="435" bottom="86" /> - </cpanel> - <cpanel name="led_address_a1_1" element="led"> - <bounds left="455" top="79" right="466" bottom="86" /> - </cpanel> - <cpanel name="led_address_a1_0" element="led"> - <bounds left="486" top="79" right="497" bottom="86" /> - </cpanel> - - <cpanel name="led_status_search" element="led"> - <bounds left="580" top="79" right="591" bottom="86" /> - </cpanel> - <cpanel name="led_status_cpu" element="led"> - <bounds left="611" top="79" right="622" bottom="86" /> - </cpanel> - <cpanel name="led_status_ptr_valid" element="led"> - <bounds left="642" top="79" right="653" bottom="86" /> - </cpanel> - - <cpanel name="led_instruction_m1_3" element="led"> - <bounds left="81" top="128" right="92" bottom="135" /> - </cpanel> - <cpanel name="led_instruction_m1_2" element="led"> - <bounds left="112" top="128" right="123" bottom="135" /> - </cpanel> - <cpanel name="led_instruction_m1_1" element="led"> - <bounds left="143" top="128" right="154" bottom="135" /> - </cpanel> - <cpanel name="led_instruction_m1_0" element="led"> - <bounds left="174" top="128" right="185" bottom="135" /> - </cpanel> - <cpanel name="led_instruction_m2_3" element="led"> - <bounds left="237" top="128" right="248" bottom="135" /> - </cpanel> - <cpanel name="led_instruction_m2_2" element="led"> - <bounds left="268" top="128" right="279" bottom="135" /> - </cpanel> - <cpanel name="led_instruction_m2_1" element="led"> - <bounds left="299" top="128" right="310" bottom="135" /> - </cpanel> - <cpanel name="led_instruction_m2_0" element="led"> - <bounds left="330" top="128" right="341" bottom="135" /> - </cpanel> - - <cpanel name="led_active_bank_3" element="led"> - <bounds left="393" top="128" right="404" bottom="135" /> - </cpanel> - <cpanel name="led_active_bank_2" element="led"> - <bounds left="424" top="128" right="435" bottom="135" /> - </cpanel> - <cpanel name="led_active_bank_1" element="led"> - <bounds left="455" top="128" right="466" bottom="135" /> - </cpanel> - <cpanel name="led_active_bank_0" element="led"> - <bounds left="486" top="128" right="497" bottom="135" /> - </cpanel> - - <cpanel name="led_mode_mon" element="led"> - <bounds left="580" top="128" right="591" bottom="135" /> - </cpanel> - <cpanel name="led_mode_ram" element="led"> - <bounds left="611" top="128" right="622" bottom="135" /> - </cpanel> - <cpanel name="led_mode_prom" element="led"> - <bounds left="642" top="128" right="653" bottom="135" /> - </cpanel> - - <cpanel name="led_execution_x2_3" element="led"> - <bounds left="81" top="177" right="92" bottom="184" /> - </cpanel> - <cpanel name="led_execution_x2_2" element="led"> - <bounds left="112" top="177" right="123" bottom="184" /> - </cpanel> - <cpanel name="led_execution_x2_1" element="led"> - <bounds left="143" top="177" right="154" bottom="184" /> - </cpanel> - <cpanel name="led_execution_x2_0" element="led"> - <bounds left="174" top="177" right="185" bottom="184" /> - </cpanel> - <cpanel name="led_execution_x3_3" element="led"> - <bounds left="237" top="177" right="248" bottom="184" /> - </cpanel> - <cpanel name="led_execution_x3_2" element="led"> - <bounds left="268" top="177" right="279" bottom="184" /> - </cpanel> - <cpanel name="led_execution_x3_1" element="led"> - <bounds left="299" top="177" right="310" bottom="184" /> - </cpanel> - <cpanel name="led_execution_x3_0" element="led"> - <bounds left="330" top="177" right="341" bottom="184" /> - </cpanel> - - <cpanel name="led_last_ptr_x2_3" element="led"> - <bounds left="393" top="177" right="404" bottom="184" /> - </cpanel> - <cpanel name="led_last_ptr_x2_2" element="led"> - <bounds left="424" top="177" right="435" bottom="184" /> - </cpanel> - <cpanel name="led_last_ptr_x2_1" element="led"> - <bounds left="455" top="177" right="466" bottom="184" /> - </cpanel> - <cpanel name="led_last_ptr_x2_0" element="led"> - <bounds left="486" top="177" right="497" bottom="184" /> - </cpanel> - <cpanel name="led_last_ptr_x3_3" element="led"> - <bounds left="549" top="177" right="560" bottom="184" /> - </cpanel> - <cpanel name="led_last_ptr_x3_2" element="led"> - <bounds left="580" top="177" right="591" bottom="184" /> - </cpanel> - <cpanel name="led_last_ptr_x3_1" element="led"> - <bounds left="611" top="177" right="622" bottom="184" /> - </cpanel> - <cpanel name="led_last_ptr_x3_0" element="led"> - <bounds left="642" top="177" right="653" bottom="184" /> - </cpanel> - - <cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0800"> - <bounds left="74" top="240" right="99" bottom="286" /> - </cpanel> - <cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0400"> - <bounds left="105" top="240" right="130" bottom="286" /> - </cpanel> - <cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0200"> - <bounds left="136" top="240" right="161" bottom="286" /> - </cpanel> - <cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0100"> - <bounds left="167" top="240" right="192" bottom="286" /> - </cpanel> - <cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0080"> - <bounds left="230" top="240" right="255" bottom="286" /> - </cpanel> - <cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0040"> - <bounds left="261" top="240" right="286" bottom="286" /> - </cpanel> - <cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0020"> - <bounds left="292" top="240" right="317" bottom="286" /> - </cpanel> - <cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0010"> - <bounds left="323" top="240" right="348" bottom="286" /> - </cpanel> - <cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0008"> - <bounds left="386" top="240" right="411" bottom="286" /> - </cpanel> - <cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0004"> - <bounds left="417" top="240" right="442" bottom="286" /> - </cpanel> - <cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0002"> - <bounds left="448" top="240" right="473" bottom="286" /> - </cpanel> - <cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0001"> - <bounds left="479" top="240" right="504" bottom="286" /> - </cpanel> - - <cpanel element="switch" inputtag="MODE" inputmask="0x0010"> - <bounds left="573" top="240" right="598" bottom="286" /> - </cpanel> - <cpanel element="switch" inputtag="MODE" inputmask="0x0020"> - <bounds left="604" top="240" right="629" bottom="286" /> - </cpanel> - <cpanel element="switch" inputtag="MODE" inputmask="0x0040"> - <bounds left="635" top="240" right="660" bottom="286" /> - </cpanel> - - <cpanel element="switch" inputtag="PROM" inputmask="0x0001"> - <bounds left="728" top="240" right="753" bottom="286" /> - </cpanel> - - <cpanel element="switch" inputtag="PASSES" inputmask="0x08"> - <bounds left="74" top="322" right="99" bottom="368" /> - </cpanel> - <cpanel element="switch" inputtag="PASSES" inputmask="0x04"> - <bounds left="105" top="322" right="130" bottom="368" /> - </cpanel> - <cpanel element="switch" inputtag="PASSES" inputmask="0x02"> - <bounds left="136" top="322" right="161" bottom="368" /> - </cpanel> - <cpanel element="switch" inputtag="PASSES" inputmask="0x01"> - <bounds left="167" top="322" right="192" bottom="368" /> - </cpanel> - - <cpanel element="switch" inputtag="CONTROL" inputmask="0x0001"> - <bounds left="230" top="322" right="255" bottom="368" /> - </cpanel> - <cpanel element="switch" inputtag="CONTROL" inputmask="0x0002"> - <bounds left="261" top="322" right="286" bottom="368" /> - </cpanel> - <cpanel element="switch" inputtag="CONTROL" inputmask="0x0004"> - <bounds left="292" top="322" right="317" bottom="368" /> - </cpanel> - <cpanel element="switch" inputtag="CONTROL" inputmask="0x0008"> - <bounds left="323" top="322" right="348" bottom="368" /> - </cpanel> - <cpanel element="switch" inputtag="CONTROL" inputmask="0x0010"> - <bounds left="354" top="322" right="379" bottom="368" /> - </cpanel> - - <cpanel element="switch" inputtag="MODE" inputmask="0x0001"> - <bounds left="448" top="322" right="473" bottom="368" /> - </cpanel> - <cpanel element="switch" inputtag="MODE" inputmask="0x0002"> - <bounds left="479" top="322" right="504" bottom="368" /> - </cpanel> - - <cpanel element="switch" inputtag="CONTROL" inputmask="0x0020"> - <bounds left="573" top="322" right="598" bottom="368" /> - </cpanel> - <cpanel element="switch" inputtag="CONTROL" inputmask="0x0040"> - <bounds left="604" top="322" right="629" bottom="368" /> - </cpanel> + <view name="Terminal Above"> + <group ref="panel"><bounds left="0" top="750" right="1000" bottom="1150" /></group> + <screen index="0"><bounds left="0" top="0" right="1000" bottom="750" /></screen> + </view> - <cpanel element="switch" inputtag="MODE" inputmask="0x0004"> - <bounds left="666" top="322" right="691" bottom="368" /> - </cpanel> - <cpanel element="switch" inputtag="MODE" inputmask="0x0008"> - <bounds left="697" top="322" right="722" bottom="368" /> - </cpanel> + <view name="Front Panel"> + <group ref="panel"><bounds left="0" top="0" right="1000" bottom="400" /></group> </view> </mamelayout> diff --git a/src/mame/layout/intlc440.lay b/src/mame/layout/intlc440.lay index bf11a718128..1d2cb625ca2 100644 --- a/src/mame/layout/intlc440.lay +++ b/src/mame/layout/intlc440.lay @@ -156,7 +156,7 @@ Intel INTELLEC® 4/MOD 40 layout <text string="RESET CONTROL" align="1"><color red="1.0" green="1.0" blue="1.0" /></text> </element> - <view name="Terminal Below"> + <group name="panel"> <cpanel element="background"><bounds left="0" top="0" right="1000" bottom="400" /></cpanel> <cpanel element="label_address"><bounds left="72" top="55" right="506" bottom="63" /></cpanel> @@ -531,384 +531,19 @@ Intel INTELLEC® 4/MOD 40 layout <cpanel element="switch" inputtag="MODE" inputmask="0x0008"> <bounds left="697" top="322" right="722" bottom="368" /> </cpanel> + </group> + <view name="Terminal Below"> + <group ref="panel"><bounds left="0" top="0" right="1000" bottom="400" /></group> <screen index="0"><bounds left="0" top="400" right="1000" bottom="1150" /></screen> </view> - <view name="Front Panel"> - <cpanel element="background"><bounds left="0" top="0" right="1000" bottom="400" /></cpanel> - - <cpanel element="label_address"><bounds left="72" top="55" right="506" bottom="63" /></cpanel> - <cpanel element="label_a3"><bounds left="81" top="63" right="185" bottom="70" /></cpanel> - <cpanel element="label_a2"><bounds left="237" top="63" right="341" bottom="70" /></cpanel> - <cpanel element="label_a1"><bounds left="393" top="63" right="497" bottom="70" /></cpanel> - <cpanel element="label_11"><bounds left="81" top="71" right="92" bottom="78" /></cpanel> - <cpanel element="label_10"><bounds left="112" top="71" right="123" bottom="78" /></cpanel> - <cpanel element="label_9"><bounds left="143" top="71" right="154" bottom="78" /></cpanel> - <cpanel element="label_8"><bounds left="174" top="71" right="185" bottom="78" /></cpanel> - <cpanel element="label_7"><bounds left="237" top="71" right="248" bottom="78" /></cpanel> - <cpanel element="label_6"><bounds left="268" top="71" right="279" bottom="78" /></cpanel> - <cpanel element="label_5"><bounds left="299" top="71" right="310" bottom="78" /></cpanel> - <cpanel element="label_4"><bounds left="330" top="71" right="341" bottom="78" /></cpanel> - <cpanel element="label_3"><bounds left="393" top="71" right="404" bottom="78" /></cpanel> - <cpanel element="label_2"><bounds left="424" top="71" right="435" bottom="78" /></cpanel> - <cpanel element="label_1"><bounds left="455" top="71" right="466" bottom="78" /></cpanel> - <cpanel element="label_0"><bounds left="486" top="71" right="497" bottom="78" /></cpanel> - - <cpanel element="label_status"><bounds left="540" top="55" right="662" bottom="63" /></cpanel> - <cpanel element="label_search"><bounds left="561" top="63" right="610" bottom="70" /></cpanel> - <cpanel element="label_complete"><bounds left="561" top="71" right="610" bottom="78" /></cpanel> - <cpanel element="label_pointer"><bounds left="623" top="63" right="672" bottom="70" /></cpanel> - <cpanel element="label_valid"><bounds left="623" top="71" right="672" bottom="78" /></cpanel> - <cpanel element="label_run"><bounds left="611" top="71" right="626" bottom="78" /></cpanel> - - <cpanel element="label_instruction"><bounds left="72" top="104" right="350" bottom="112" /></cpanel> - <cpanel element="label_m1"><bounds left="81" top="112" right="185" bottom="119" /></cpanel> - <cpanel element="label_m2"><bounds left="237" top="112" right="341" bottom="119" /></cpanel> - <cpanel element="label_7"><bounds left="81" top="120" right="92" bottom="127" /></cpanel> - <cpanel element="label_6"><bounds left="112" top="120" right="123" bottom="127" /></cpanel> - <cpanel element="label_5"><bounds left="143" top="120" right="154" bottom="127" /></cpanel> - <cpanel element="label_4"><bounds left="174" top="120" right="185" bottom="127" /></cpanel> - <cpanel element="label_3"><bounds left="237" top="120" right="248" bottom="127" /></cpanel> - <cpanel element="label_2"><bounds left="268" top="120" right="279" bottom="127" /></cpanel> - <cpanel element="label_1"><bounds left="299" top="120" right="310" bottom="127" /></cpanel> - <cpanel element="label_0"><bounds left="330" top="120" right="341" bottom="127" /></cpanel> - - <cpanel element="label_active_bank"><bounds left="384" top="104" right="506" bottom="112" /></cpanel> - <cpanel element="label_cm_ram"><bounds left="393" top="112" right="497" bottom="119" /></cpanel> - <cpanel element="label_3"><bounds left="393" top="120" right="404" bottom="127" /></cpanel> - <cpanel element="label_2"><bounds left="424" top="120" right="435" bottom="127" /></cpanel> - <cpanel element="label_1"><bounds left="455" top="120" right="466" bottom="127" /></cpanel> - <cpanel element="label_0"><bounds left="486" top="120" right="497" bottom="127" /></cpanel> - - <cpanel element="label_mode"><bounds left="540" top="104" right="662" bottom="112" /></cpanel> - <cpanel element="label_mon"><bounds left="577" top="120" right="594" bottom="127" /></cpanel> - <cpanel element="label_ram"><bounds left="608" top="120" right="625" bottom="127" /></cpanel> - <cpanel element="label_prom"><bounds left="639" top="120" right="656" bottom="127" /></cpanel> - - <cpanel element="label_execution"><bounds left="72" top="153" right="350" bottom="161" /></cpanel> - <cpanel element="label_x2"><bounds left="81" top="161" right="185" bottom="168" /></cpanel> - <cpanel element="label_x3"><bounds left="237" top="161" right="341" bottom="168" /></cpanel> - <cpanel element="label_3"><bounds left="81" top="169" right="92" bottom="176" /></cpanel> - <cpanel element="label_2"><bounds left="112" top="169" right="123" bottom="176" /></cpanel> - <cpanel element="label_1"><bounds left="143" top="169" right="154" bottom="176" /></cpanel> - <cpanel element="label_0"><bounds left="174" top="169" right="185" bottom="176" /></cpanel> - <cpanel element="label_3"><bounds left="237" top="169" right="248" bottom="176" /></cpanel> - <cpanel element="label_2"><bounds left="268" top="169" right="279" bottom="176" /></cpanel> - <cpanel element="label_1"><bounds left="299" top="169" right="310" bottom="176" /></cpanel> - <cpanel element="label_0"><bounds left="330" top="169" right="341" bottom="176" /></cpanel> - - <cpanel element="label_last_ptr"><bounds left="384" top="153" right="662" bottom="161" /></cpanel> - <cpanel element="label_x2"><bounds left="393" top="161" right="497" bottom="168" /></cpanel> - <cpanel element="label_x3"><bounds left="549" top="161" right="653" bottom="168" /></cpanel> - <cpanel element="label_3"><bounds left="393" top="169" right="404" bottom="176" /></cpanel> - <cpanel element="label_2"><bounds left="424" top="169" right="435" bottom="176" /></cpanel> - <cpanel element="label_1"><bounds left="455" top="169" right="466" bottom="176" /></cpanel> - <cpanel element="label_0"><bounds left="486" top="169" right="497" bottom="176" /></cpanel> - <cpanel element="label_3"><bounds left="549" top="169" right="560" bottom="176" /></cpanel> - <cpanel element="label_2"><bounds left="580" top="169" right="591" bottom="176" /></cpanel> - <cpanel element="label_1"><bounds left="611" top="169" right="622" bottom="176" /></cpanel> - <cpanel element="label_0"><bounds left="642" top="169" right="653" bottom="176" /></cpanel> - - <cpanel element="label_addr_data"><bounds left="72" top="214" right="506" bottom="222" /></cpanel> - <cpanel element="label_11"><bounds left="74" top="230" right="99" bottom="237" /></cpanel> - <cpanel element="label_10"><bounds left="105" top="230" right="130" bottom="237" /></cpanel> - <cpanel element="label_9"><bounds left="136" top="230" right="161" bottom="237" /></cpanel> - <cpanel element="label_8"><bounds left="167" top="230" right="192" bottom="237" /></cpanel> - <cpanel element="label_7"><bounds left="230" top="230" right="255" bottom="237" /></cpanel> - <cpanel element="label_6"><bounds left="261" top="230" right="286" bottom="237" /></cpanel> - <cpanel element="label_5"><bounds left="292" top="230" right="317" bottom="237" /></cpanel> - <cpanel element="label_4"><bounds left="323" top="230" right="348" bottom="237" /></cpanel> - <cpanel element="label_3"><bounds left="386" top="230" right="411" bottom="237" /></cpanel> - <cpanel element="label_2"><bounds left="417" top="230" right="442" bottom="237" /></cpanel> - <cpanel element="label_1"><bounds left="448" top="230" right="473" bottom="237" /></cpanel> - <cpanel element="label_0"><bounds left="479" top="230" right="504" bottom="237" /></cpanel> - - <cpanel element="label_mode_ctrl"><bounds left="571" top="214" right="662" bottom="222" /></cpanel> - <cpanel element="label_mon"><bounds left="573" top="230" right="598" bottom="237" /></cpanel> - <cpanel element="label_ram"><bounds left="604" top="230" right="629" bottom="237" /></cpanel> - <cpanel element="label_prom"><bounds left="635" top="230" right="660" bottom="237" /></cpanel> - - <cpanel element="label_prgm"><bounds left="728" top="214" right="753" bottom="221" /></cpanel> - <cpanel element="label_prom"><bounds left="728" top="222" right="753" bottom="229" /></cpanel> - <cpanel element="label_pwr"><bounds left="728" top="230" right="753" bottom="237" /></cpanel> - <cpanel element="label_on"><bounds left="758" top="239" right="814" bottom="246" /></cpanel> - <cpanel element="label_off"><bounds left="758" top="279" right="814" bottom="287" /></cpanel> - - <cpanel element="label_pass_counter"><bounds left="72" top="296" right="194" bottom="304" /></cpanel> - <cpanel element="label_passes"><bounds left="74" top="304" right="192" bottom="311" /></cpanel> - <cpanel element="label_3"><bounds left="74" top="312" right="99" bottom="319" /></cpanel> - <cpanel element="label_2"><bounds left="105" top="312" right="130" bottom="319" /></cpanel> - <cpanel element="label_1"><bounds left="136" top="312" right="161" bottom="319" /></cpanel> - <cpanel element="label_0"><bounds left="167" top="312" right="192" bottom="319" /></cpanel> - - <cpanel element="label_search_ctrl"><bounds left="228" top="296" right="381" bottom="304" /></cpanel> - <cpanel element="label_run"><bounds left="230" top="312" right="255" bottom="319" /></cpanel> - <cpanel element="label_next"><bounds left="261" top="304" right="286" bottom="311" /></cpanel> - <cpanel element="label_inst"><bounds left="261" top="312" right="286" bottom="319" /></cpanel> - <cpanel element="label_decr"><bounds left="292" top="312" right="317" bottom="319" /></cpanel> - <cpanel element="label_incr"><bounds left="323" top="312" right="348" bottom="319" /></cpanel> - <cpanel element="label_load"><bounds left="354" top="312" right="379" bottom="319" /></cpanel> - - <cpanel element="label_stop"><bounds left="448" top="312" right="473" bottom="319" /></cpanel> - <cpanel element="label_single"><bounds left="479" top="304" right="504" bottom="311" /></cpanel> - <cpanel element="label_step"><bounds left="479" top="312" right="504" bottom="319" /></cpanel> - - <cpanel element="label_cma"><bounds left="571" top="296" right="631" bottom="304" /></cpanel> - <cpanel element="label_write"><bounds left="604" top="312" right="629" bottom="319" /></cpanel> - <cpanel element="label_enable"><bounds left="514" top="321" right="570" bottom="328" /></cpanel> - <cpanel element="label_disable"><bounds left="514" top="361" right="570" bottom="368" /></cpanel> - - <cpanel element="label_reset_ctrl"><bounds left="664" top="296" right="724" bottom="304" /></cpanel> - <cpanel element="label_reset"><bounds left="666" top="312" right="691" bottom="319" /></cpanel> - <cpanel element="label_reset_mode"><bounds left="697" top="312" right="722" bottom="319" /></cpanel> - <cpanel element="label_system"><bounds left="727" top="321" right="783" bottom="328" /></cpanel> - <cpanel element="label_reset_cpu"><bounds left="727" top="361" right="783" bottom="368" /></cpanel> - - <cpanel name="led_address_a3_3" element="led"> - <bounds left="81" top="79" right="92" bottom="86" /> - </cpanel> - <cpanel name="led_address_a3_2" element="led"> - <bounds left="112" top="79" right="123" bottom="86" /> - </cpanel> - <cpanel name="led_address_a3_1" element="led"> - <bounds left="143" top="79" right="154" bottom="86" /> - </cpanel> - <cpanel name="led_address_a3_0" element="led"> - <bounds left="174" top="79" right="185" bottom="86" /> - </cpanel> - <cpanel name="led_address_a2_3" element="led"> - <bounds left="237" top="79" right="248" bottom="86" /> - </cpanel> - <cpanel name="led_address_a2_2" element="led"> - <bounds left="268" top="79" right="279" bottom="86" /> - </cpanel> - <cpanel name="led_address_a2_1" element="led"> - <bounds left="299" top="79" right="310" bottom="86" /> - </cpanel> - <cpanel name="led_address_a2_0" element="led"> - <bounds left="330" top="79" right="341" bottom="86" /> - </cpanel> - <cpanel name="led_address_a1_3" element="led"> - <bounds left="393" top="79" right="404" bottom="86" /> - </cpanel> - <cpanel name="led_address_a1_2" element="led"> - <bounds left="424" top="79" right="435" bottom="86" /> - </cpanel> - <cpanel name="led_address_a1_1" element="led"> - <bounds left="455" top="79" right="466" bottom="86" /> - </cpanel> - <cpanel name="led_address_a1_0" element="led"> - <bounds left="486" top="79" right="497" bottom="86" /> - </cpanel> - - <cpanel name="led_status_search" element="led"> - <bounds left="580" top="79" right="591" bottom="86" /> - </cpanel> - <cpanel name="led_status_run" element="led"> - <bounds left="611" top="79" right="622" bottom="86" /> - </cpanel> - <cpanel name="led_status_ptr_valid" element="led"> - <bounds left="642" top="79" right="653" bottom="86" /> - </cpanel> - - <cpanel name="led_instruction_m1_3" element="led"> - <bounds left="81" top="128" right="92" bottom="135" /> - </cpanel> - <cpanel name="led_instruction_m1_2" element="led"> - <bounds left="112" top="128" right="123" bottom="135" /> - </cpanel> - <cpanel name="led_instruction_m1_1" element="led"> - <bounds left="143" top="128" right="154" bottom="135" /> - </cpanel> - <cpanel name="led_instruction_m1_0" element="led"> - <bounds left="174" top="128" right="185" bottom="135" /> - </cpanel> - <cpanel name="led_instruction_m2_3" element="led"> - <bounds left="237" top="128" right="248" bottom="135" /> - </cpanel> - <cpanel name="led_instruction_m2_2" element="led"> - <bounds left="268" top="128" right="279" bottom="135" /> - </cpanel> - <cpanel name="led_instruction_m2_1" element="led"> - <bounds left="299" top="128" right="310" bottom="135" /> - </cpanel> - <cpanel name="led_instruction_m2_0" element="led"> - <bounds left="330" top="128" right="341" bottom="135" /> - </cpanel> - - <cpanel name="led_active_bank_3" element="led"> - <bounds left="393" top="128" right="404" bottom="135" /> - </cpanel> - <cpanel name="led_active_bank_2" element="led"> - <bounds left="424" top="128" right="435" bottom="135" /> - </cpanel> - <cpanel name="led_active_bank_1" element="led"> - <bounds left="455" top="128" right="466" bottom="135" /> - </cpanel> - <cpanel name="led_active_bank_0" element="led"> - <bounds left="486" top="128" right="497" bottom="135" /> - </cpanel> - - <cpanel name="led_mode_mon" element="led"> - <bounds left="580" top="128" right="591" bottom="135" /> - </cpanel> - <cpanel name="led_mode_ram" element="led"> - <bounds left="611" top="128" right="622" bottom="135" /> - </cpanel> - <cpanel name="led_mode_prom" element="led"> - <bounds left="642" top="128" right="653" bottom="135" /> - </cpanel> - - <cpanel name="led_execution_x2_3" element="led"> - <bounds left="81" top="177" right="92" bottom="184" /> - </cpanel> - <cpanel name="led_execution_x2_2" element="led"> - <bounds left="112" top="177" right="123" bottom="184" /> - </cpanel> - <cpanel name="led_execution_x2_1" element="led"> - <bounds left="143" top="177" right="154" bottom="184" /> - </cpanel> - <cpanel name="led_execution_x2_0" element="led"> - <bounds left="174" top="177" right="185" bottom="184" /> - </cpanel> - <cpanel name="led_execution_x3_3" element="led"> - <bounds left="237" top="177" right="248" bottom="184" /> - </cpanel> - <cpanel name="led_execution_x3_2" element="led"> - <bounds left="268" top="177" right="279" bottom="184" /> - </cpanel> - <cpanel name="led_execution_x3_1" element="led"> - <bounds left="299" top="177" right="310" bottom="184" /> - </cpanel> - <cpanel name="led_execution_x3_0" element="led"> - <bounds left="330" top="177" right="341" bottom="184" /> - </cpanel> - - <cpanel name="led_last_ptr_x2_3" element="led"> - <bounds left="393" top="177" right="404" bottom="184" /> - </cpanel> - <cpanel name="led_last_ptr_x2_2" element="led"> - <bounds left="424" top="177" right="435" bottom="184" /> - </cpanel> - <cpanel name="led_last_ptr_x2_1" element="led"> - <bounds left="455" top="177" right="466" bottom="184" /> - </cpanel> - <cpanel name="led_last_ptr_x2_0" element="led"> - <bounds left="486" top="177" right="497" bottom="184" /> - </cpanel> - <cpanel name="led_last_ptr_x3_3" element="led"> - <bounds left="549" top="177" right="560" bottom="184" /> - </cpanel> - <cpanel name="led_last_ptr_x3_2" element="led"> - <bounds left="580" top="177" right="591" bottom="184" /> - </cpanel> - <cpanel name="led_last_ptr_x3_1" element="led"> - <bounds left="611" top="177" right="622" bottom="184" /> - </cpanel> - <cpanel name="led_last_ptr_x3_0" element="led"> - <bounds left="642" top="177" right="653" bottom="184" /> - </cpanel> - - <cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0800"> - <bounds left="74" top="240" right="99" bottom="286" /> - </cpanel> - <cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0400"> - <bounds left="105" top="240" right="130" bottom="286" /> - </cpanel> - <cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0200"> - <bounds left="136" top="240" right="161" bottom="286" /> - </cpanel> - <cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0100"> - <bounds left="167" top="240" right="192" bottom="286" /> - </cpanel> - <cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0080"> - <bounds left="230" top="240" right="255" bottom="286" /> - </cpanel> - <cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0040"> - <bounds left="261" top="240" right="286" bottom="286" /> - </cpanel> - <cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0020"> - <bounds left="292" top="240" right="317" bottom="286" /> - </cpanel> - <cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0010"> - <bounds left="323" top="240" right="348" bottom="286" /> - </cpanel> - <cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0008"> - <bounds left="386" top="240" right="411" bottom="286" /> - </cpanel> - <cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0004"> - <bounds left="417" top="240" right="442" bottom="286" /> - </cpanel> - <cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0002"> - <bounds left="448" top="240" right="473" bottom="286" /> - </cpanel> - <cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0001"> - <bounds left="479" top="240" right="504" bottom="286" /> - </cpanel> - - <cpanel element="switch" inputtag="MODE" inputmask="0x0010"> - <bounds left="573" top="240" right="598" bottom="286" /> - </cpanel> - <cpanel element="switch" inputtag="MODE" inputmask="0x0020"> - <bounds left="604" top="240" right="629" bottom="286" /> - </cpanel> - <cpanel element="switch" inputtag="MODE" inputmask="0x0040"> - <bounds left="635" top="240" right="660" bottom="286" /> - </cpanel> - - <cpanel element="switch" inputtag="PROM" inputmask="0x0001"> - <bounds left="728" top="240" right="753" bottom="286" /> - </cpanel> - - <cpanel element="switch" inputtag="PASSES" inputmask="0x08"> - <bounds left="74" top="322" right="99" bottom="368" /> - </cpanel> - <cpanel element="switch" inputtag="PASSES" inputmask="0x04"> - <bounds left="105" top="322" right="130" bottom="368" /> - </cpanel> - <cpanel element="switch" inputtag="PASSES" inputmask="0x02"> - <bounds left="136" top="322" right="161" bottom="368" /> - </cpanel> - <cpanel element="switch" inputtag="PASSES" inputmask="0x01"> - <bounds left="167" top="322" right="192" bottom="368" /> - </cpanel> - - <cpanel element="switch" inputtag="CONTROL" inputmask="0x0001"> - <bounds left="230" top="322" right="255" bottom="368" /> - </cpanel> - <cpanel element="switch" inputtag="CONTROL" inputmask="0x0002"> - <bounds left="261" top="322" right="286" bottom="368" /> - </cpanel> - <cpanel element="switch" inputtag="CONTROL" inputmask="0x0004"> - <bounds left="292" top="322" right="317" bottom="368" /> - </cpanel> - <cpanel element="switch" inputtag="CONTROL" inputmask="0x0008"> - <bounds left="323" top="322" right="348" bottom="368" /> - </cpanel> - <cpanel element="switch" inputtag="CONTROL" inputmask="0x0010"> - <bounds left="354" top="322" right="379" bottom="368" /> - </cpanel> - - <cpanel element="switch" inputtag="MODE" inputmask="0x0001"> - <bounds left="448" top="322" right="473" bottom="368" /> - </cpanel> - <cpanel element="switch" inputtag="MODE" inputmask="0x0002"> - <bounds left="479" top="322" right="504" bottom="368" /> - </cpanel> - - <cpanel element="switch" inputtag="CONTROL" inputmask="0x0020"> - <bounds left="573" top="322" right="598" bottom="368" /> - </cpanel> - <cpanel element="switch" inputtag="CONTROL" inputmask="0x0040"> - <bounds left="604" top="322" right="629" bottom="368" /> - </cpanel> + <view name="Terminal Above"> + <group ref="panel"><bounds left="0" top="750" right="1000" bottom="1150" /></group> + <screen index="0"><bounds left="0" top="0" right="1000" bottom="750" /></screen> + </view> - <cpanel element="switch" inputtag="MODE" inputmask="0x0004"> - <bounds left="666" top="322" right="691" bottom="368" /> - </cpanel> - <cpanel element="switch" inputtag="MODE" inputmask="0x0008"> - <bounds left="697" top="322" right="722" bottom="368" /> - </cpanel> + <view name="Front Panel"> + <group ref="panel"><bounds left="0" top="0" right="1000" bottom="400" /></group> </view> </mamelayout> |