Skip to content

Commit

Permalink
fidel*: make some of the 7seg panels in artwork smaller
Browse files Browse the repository at this point in the history
  • Loading branch information
happppp committed Sep 8, 2023
1 parent 8a333d1 commit 4893ab1
Show file tree
Hide file tree
Showing 4 changed files with 170 additions and 77 deletions.
76 changes: 55 additions & 21 deletions src/mame/layout/fidel_eag.lay
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,57 @@ license:CC0-1.0
</group>


<!-- 7seg panels -->

<group name="digits1">
<bounds x="0" y="0" width="25.5" height="8.5" />

<element name="digit6" ref="digit">
<bounds x="0" y="0" width="5.66" height="8.5" />
</element>
<element name="digit5" ref="digit">
<bounds x="5.66" y="0" width="5.66" height="8.5" />
</element>
<element name="digit7" ref="digit">
<bounds x="14.16" y="0" width="5.66" height="8.5" />
</element>
<element name="digit8" ref="digit">
<bounds x="19.82" y="0" width="5.66" height="8.5" />
</element>

<element name="5.7" ref="led">
<bounds x="12.58" y="1.5" width="0.85" height="0.85" />
</element>
<element name="6.7" ref="led">
<bounds x="12.13" y="6.15" width="0.85" height="0.85" />
</element>
</group>

<group name="digits2">
<bounds x="0" y="0" width="25.5" height="8.5" />

<element name="digit1" ref="digit">
<bounds x="0" y="0" width="5.66" height="8.5" />
</element>
<element name="digit0" ref="digit">
<bounds x="5.66" y="0" width="5.66" height="8.5" />
</element>
<element name="digit2" ref="digit">
<bounds x="14.16" y="0" width="5.66" height="8.5" />
</element>
<element name="digit3" ref="digit">
<bounds x="19.82" y="0" width="5.66" height="8.5" />
</element>

<element name="0.7" ref="led">
<bounds x="12.58" y="1.5" width="0.85" height="0.85" />
</element>
<element name="1.7" ref="led">
<bounds x="12.13" y="6.15" width="0.85" height="0.85" />
</element>
</group>


<!-- build screen -->

<view name="Internal Layout">
Expand All @@ -426,8 +477,7 @@ license:CC0-1.0

<group ref="sb_ui"><bounds x="-12" y="3" width="10" height="80" /></group>

<!-- chessboard coords -->

<!-- chessboard coords -->
<element ref="text_8"><bounds x="0.2" y="7" width="2" height="2" /></element>
<element ref="text_7"><bounds x="0.2" y="17" width="2" height="2" /></element>
<element ref="text_6"><bounds x="0.2" y="27" width="2" height="2" /></element>
Expand All @@ -446,25 +496,9 @@ license:CC0-1.0
<element ref="text_g"><bounds x="67.5" y="84.5" width="2" height="2" /></element>
<element ref="text_h"><bounds x="77.5" y="84.5" width="2" height="2" /></element>

<!-- panel 7seg leds -->

<element name="digit6" ref="digit"><bounds x="90" y="3" width="8.5" height="5.66" /><orientation rotate="90" /></element>
<element name="digit5" ref="digit"><bounds x="90" y="8.66" width="8.5" height="5.66" /><orientation rotate="90" /></element>
<element name="digit7" ref="digit"><bounds x="90" y="17.16" width="8.5" height="5.66" /><orientation rotate="90" /></element>
<element name="digit8" ref="digit"><bounds x="90" y="22.82" width="8.5" height="5.66" /><orientation rotate="90" /></element>

<element name="5.7" ref="led"><bounds x="96.15" y="15.58" width="0.85" height="0.85" /></element>
<element name="6.7" ref="led"><bounds x="91.5" y="15.13" width="0.85" height="0.85" /></element>

<element name="digit1" ref="digit"><bounds x="90" y="53" width="8.5" height="5.66" /><orientation rotate="90" /></element>
<element name="digit0" ref="digit"><bounds x="90" y="58.66" width="8.5" height="5.66" /><orientation rotate="90" /></element>
<element name="digit2" ref="digit"><bounds x="90" y="67.16" width="8.5" height="5.66" /><orientation rotate="90" /></element>
<element name="digit3" ref="digit"><bounds x="90" y="72.82" width="8.5" height="5.66" /><orientation rotate="90" /></element>

<element name="0.7" ref="led"><bounds x="96.15" y="65.58" width="0.85" height="0.85" /></element>
<element name="1.7" ref="led"><bounds x="91.5" y="65.13" width="0.85" height="0.85" /></element>

<!-- right side -->
<!-- right side -->
<group ref="digits1"><bounds x="90" y="5.5" width="6.66" height="20" /><orientation rotate="90" /></group>
<group ref="digits2"><bounds x="90" y="55.5" width="6.66" height="20" /><orientation rotate="90" /></group>

<element ref="text_r11"><bounds x="91.8" y="29.45" width="2" height="2" /></element>
<element ref="text_r21"><bounds x="91.8" y="31.95" width="2" height="2" /></element>
Expand Down
76 changes: 55 additions & 21 deletions src/mame/layout/fidel_eag_68k.lay
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,57 @@ license:CC0-1.0
</group>


<!-- 7seg panels -->

<group name="digits1">
<bounds x="0" y="0" width="25.5" height="8.5" />

<element name="digit6" ref="digit">
<bounds x="0" y="0" width="5.66" height="8.5" />
</element>
<element name="digit5" ref="digit">
<bounds x="5.66" y="0" width="5.66" height="8.5" />
</element>
<element name="digit7" ref="digit">
<bounds x="14.16" y="0" width="5.66" height="8.5" />
</element>
<element name="digit8" ref="digit">
<bounds x="19.82" y="0" width="5.66" height="8.5" />
</element>

<element name="5.7" ref="led">
<bounds x="12.58" y="1.5" width="0.85" height="0.85" />
</element>
<element name="6.7" ref="led">
<bounds x="12.13" y="6.15" width="0.85" height="0.85" />
</element>
</group>

<group name="digits2">
<bounds x="0" y="0" width="25.5" height="8.5" />

<element name="digit1" ref="digit">
<bounds x="0" y="0" width="5.66" height="8.5" />
</element>
<element name="digit0" ref="digit">
<bounds x="5.66" y="0" width="5.66" height="8.5" />
</element>
<element name="digit2" ref="digit">
<bounds x="14.16" y="0" width="5.66" height="8.5" />
</element>
<element name="digit3" ref="digit">
<bounds x="19.82" y="0" width="5.66" height="8.5" />
</element>

<element name="0.7" ref="led">
<bounds x="12.58" y="1.5" width="0.85" height="0.85" />
</element>
<element name="1.7" ref="led">
<bounds x="12.13" y="6.15" width="0.85" height="0.85" />
</element>
</group>


<!-- build screen -->

<view name="Internal Layout">
Expand All @@ -426,8 +477,7 @@ license:CC0-1.0

<group ref="sb_ui"><bounds x="-12" y="3" width="10" height="80" /></group>

<!-- chessboard coords -->

<!-- chessboard coords -->
<element ref="text_8"><bounds x="0.2" y="7" width="2" height="2" /></element>
<element ref="text_7"><bounds x="0.2" y="17" width="2" height="2" /></element>
<element ref="text_6"><bounds x="0.2" y="27" width="2" height="2" /></element>
Expand All @@ -446,25 +496,9 @@ license:CC0-1.0
<element ref="text_g"><bounds x="67.5" y="84.5" width="2" height="2" /></element>
<element ref="text_h"><bounds x="77.5" y="84.5" width="2" height="2" /></element>

<!-- panel 7seg leds -->

<element name="digit6" ref="digit"><bounds x="90" y="3" width="8.5" height="5.66" /><orientation rotate="90" /></element>
<element name="digit5" ref="digit"><bounds x="90" y="8.66" width="8.5" height="5.66" /><orientation rotate="90" /></element>
<element name="digit7" ref="digit"><bounds x="90" y="17.16" width="8.5" height="5.66" /><orientation rotate="90" /></element>
<element name="digit8" ref="digit"><bounds x="90" y="22.82" width="8.5" height="5.66" /><orientation rotate="90" /></element>

<element name="5.7" ref="led"><bounds x="96.15" y="15.58" width="0.85" height="0.85" /></element>
<element name="6.7" ref="led"><bounds x="91.5" y="15.13" width="0.85" height="0.85" /></element>

<element name="digit1" ref="digit"><bounds x="90" y="53" width="8.5" height="5.66" /><orientation rotate="90" /></element>
<element name="digit0" ref="digit"><bounds x="90" y="58.66" width="8.5" height="5.66" /><orientation rotate="90" /></element>
<element name="digit2" ref="digit"><bounds x="90" y="67.16" width="8.5" height="5.66" /><orientation rotate="90" /></element>
<element name="digit3" ref="digit"><bounds x="90" y="72.82" width="8.5" height="5.66" /><orientation rotate="90" /></element>

<element name="0.7" ref="led"><bounds x="96.15" y="65.58" width="0.85" height="0.85" /></element>
<element name="1.7" ref="led"><bounds x="91.5" y="65.13" width="0.85" height="0.85" /></element>

<!-- right side -->
<!-- right side -->
<group ref="digits1"><bounds x="90" y="5.5" width="6.66" height="20" /><orientation rotate="90" /></group>
<group ref="digits2"><bounds x="90" y="55.5" width="6.66" height="20" /><orientation rotate="90" /></group>

<element ref="text_r11"><bounds x="91.8" y="29.45" width="2" height="2" /></element>
<element ref="text_r21"><bounds x="91.8" y="31.95" width="2" height="2" /></element>
Expand Down
57 changes: 31 additions & 26 deletions src/mame/layout/fidel_eas.lay
Original file line number Diff line number Diff line change
Expand Up @@ -415,19 +415,45 @@ license:CC0-1.0
</group>


<!-- 7seg panel -->

<group name="digits">
<bounds x="0" y="0" width="25.5" height="8.5" />

<element name="digit1" ref="digit">
<bounds x="0" y="0" width="5.66" height="8.5" />
</element>
<element name="digit0" ref="digit">
<bounds x="5.66" y="0" width="5.66" height="8.5" />
</element>
<element name="digit2" ref="digit">
<bounds x="14.16" y="0" width="5.66" height="8.5" />
</element>
<element name="digit3" ref="digit">
<bounds x="19.82" y="0" width="5.66" height="8.5" />
</element>

<element name="0.7" ref="led">
<bounds x="12.58" y="1.5" width="0.85" height="0.85" />
</element>
<element name="1.7" ref="led">
<bounds x="12.13" y="6.15" width="0.85" height="0.85" />
</element>
</group>


<!-- build screen -->

<view name="Internal Layout">
<bounds left="-13.5" right="87.5" top="-1" bottom="100.5" />
<bounds left="-13.5" right="87.5" top="-1" bottom="100" />

<element ref="cblack"><bounds x="-1.5" y="-1" width="89" height="89" /></element>
<element ref="cwhite"><bounds x="2.5" y="3" width="81" height="81" /></element>
<group ref="sb_board"><bounds x="3" y="3.5" width="80" height="80" /></group>

<group ref="sb_ui"><bounds x="-12.5" y="3" width="10" height="80" /></group>

<!-- chessboard coords -->

<!-- chessboard coords -->
<element ref="text_8"><bounds x="-0.3" y="7.5" width="2" height="2" /></element>
<element ref="text_7"><bounds x="-0.3" y="17.5" width="2" height="2" /></element>
<element ref="text_6"><bounds x="-0.3" y="27.5" width="2" height="2" /></element>
Expand All @@ -446,7 +472,8 @@ license:CC0-1.0
<element ref="text_g"><bounds x="67" y="85" width="2" height="2" /></element>
<element ref="text_h"><bounds x="77" y="85" width="2" height="2" /></element>

<!-- bottom side -->
<!-- bottom side -->
<group ref="digits"><bounds x="7.5" y="90" width="20" height="6.66" /></group>

<element name="8.8" ref="led2"><bounds x="42" y="90" width="1.5" height="1.5" /></element>
<element name="8.9" ref="led2"><bounds x="45" y="90" width="1.5" height="1.5" /></element>
Expand Down Expand Up @@ -497,27 +524,5 @@ license:CC0-1.0
<element ref="text_r2"><bounds x="70" y="90.75" width="6" height="1.5" /></element>
<element ref="text_r3"><bounds x="70" y="94" width="6" height="1.5" /></element>

<!-- panel 7seg leds -->

<element name="digit1" ref="digit">
<bounds x="3" y="90" width="5.66" height="8.5" />
</element>
<element name="digit0" ref="digit">
<bounds x="8.66" y="90" width="5.66" height="8.5" />
</element>
<element name="digit2" ref="digit">
<bounds x="17.16" y="90" width="5.66" height="8.5" />
</element>
<element name="digit3" ref="digit">
<bounds x="22.82" y="90" width="5.66" height="8.5" />
</element>

<element name="0.7" ref="led">
<bounds x="15.58" y="91.5" width="0.85" height="0.85" />
</element>
<element name="1.7" ref="led">
<bounds x="15.13" y="96.15" width="0.85" height="0.85" />
</element>

</view>
</mamelayout>
38 changes: 29 additions & 9 deletions src/mame/layout/fidel_pc.lay
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,33 @@ license:CC0-1.0
</group>


<!-- 7seg panel -->

<group name="digits">
<bounds x="0" y="0" width="25.5" height="8.5" />

<element name="digit1" ref="digit">
<bounds x="0" y="0" width="5.66" height="8.5" />
</element>
<element name="digit0" ref="digit">
<bounds x="5.66" y="0" width="5.66" height="8.5" />
</element>
<element name="digit2" ref="digit">
<bounds x="14.16" y="0" width="5.66" height="8.5" />
</element>
<element name="digit3" ref="digit">
<bounds x="19.82" y="0" width="5.66" height="8.5" />
</element>

<element name="0.7" ref="led">
<bounds x="12.58" y="1.5" width="0.85" height="0.85" />
</element>
<element name="1.7" ref="led">
<bounds x="12.13" y="6.15" width="0.85" height="0.85" />
</element>
</group>


<!-- build screen -->

<view name="Internal Layout">
Expand Down Expand Up @@ -450,16 +477,9 @@ license:CC0-1.0
<element ref="text_g"><bounds x="67.5" y="84.5" width="2" height="2" /></element>
<element ref="text_h"><bounds x="77.5" y="84.5" width="2" height="2" /></element>

<!-- panel 7seg leds -->
<element name="digit1" ref="digit"><bounds x="90" y="55" width="8.5" height="5.66" /><orientation rotate="90" /></element>
<element name="digit0" ref="digit"><bounds x="90" y="60.66" width="8.5" height="5.66" /><orientation rotate="90" /></element>
<element name="digit2" ref="digit"><bounds x="90" y="69.16" width="8.5" height="5.66" /><orientation rotate="90" /></element>
<element name="digit3" ref="digit"><bounds x="90" y="74.82" width="8.5" height="5.66" /><orientation rotate="90" /></element>

<element name="0.7" ref="led"><bounds x="96.15" y="67.58" width="0.85" height="0.85" /></element>
<element name="1.7" ref="led"><bounds x="91.5" y="67.13" width="0.85" height="0.85" /></element>

<!-- right side -->
<group ref="digits"><bounds x="90" y="57.5" width="6.66" height="20" /><orientation rotate="90" /></group>

<element ref="text_p1"><bounds x="91.7" y="15.9" width="2.1" height="2.1" /></element>
<element ref="text_p2"><bounds x="91.7" y="18.9" width="2.1" height="2.1" /></element>
<element ref="text_p3"><bounds x="91.7" y="21.9" width="2.1" height="2.1" /></element>
Expand Down

0 comments on commit 4893ab1

Please sign in to comment.