mirror of
https://github.com/holub/mame
synced 2025-04-20 15:32:45 +03:00
turbo,buckrog: improve internal artwork score panel
This commit is contained in:
parent
f815e5e188
commit
471438ac10
@ -3,113 +3,127 @@
|
||||
license:CC0-1.0
|
||||
-->
|
||||
<mamelayout version="2">
|
||||
|
||||
<!-- define elements -->
|
||||
|
||||
<element name="black"><rect><color red="0" green="0" blue="0" /></rect></element>
|
||||
<element name="yellow"><rect><color red="0.9" green="0.9" blue="0.15" /></rect></element>
|
||||
<element name="blue"><rect><color red="0.1" green="0.5" blue="0.9" /></rect></element>
|
||||
<element name="red"><rect><color red="0.9" green="0.2" blue="0.15" /></rect></element>
|
||||
|
||||
<element name="text_b1"><text string="1ST." align="1"><color red="0.9" green="0.9" blue="0.9" /></text></element>
|
||||
<element name="text_b2"><text string="2ND." align="1"><color red="0.9" green="0.9" blue="0.9" /></text></element>
|
||||
<element name="text_b3"><text string="3RD." align="1"><color red="0.9" green="0.9" blue="0.9" /></text></element>
|
||||
<element name="text_b4"><text string="4TH." align="1"><color red="0.9" green="0.9" blue="0.9" /></text></element>
|
||||
<element name="text_b5"><text string="5TH." align="1"><color red="0.9" green="0.9" blue="0.9" /></text></element>
|
||||
|
||||
<element name="text_best">
|
||||
<rect><color red="0.9" green="0.2" blue="0.15" /></rect>
|
||||
<text string="BEST 5"><color red="0.9" green="0.9" blue="0.9" /></text>
|
||||
</element>
|
||||
<element name="text_score">
|
||||
<rect><color red="0.9" green="0.2" blue="0.15" /></rect>
|
||||
<text string="YOUR SCORE"><color red="0.9" green="0.9" blue="0.9" /></text>
|
||||
</element>
|
||||
|
||||
<element name="digit" defstate="0">
|
||||
<led7seg>
|
||||
<color red="1.0" green="0.1" blue="0.15" />
|
||||
</led7seg>
|
||||
</element>
|
||||
|
||||
|
||||
<!-- best 5 score digits -->
|
||||
|
||||
<group name="best">
|
||||
<element ref="yellow"><bounds x="0" y="0" width="96" height="23" /></element>
|
||||
<element ref="black"><bounds x="1" y="1" width="94" height="21" /></element>
|
||||
<element ref="text_b1"><bounds x="3" y="4" width="50" height="15" /></element>
|
||||
<element name="digit9" ref="digit"><bounds x="32" y="4" width="10" height="15" /></element>
|
||||
<element name="digit8" ref="digit"><bounds x="44" y="4" width="10" height="15" /></element>
|
||||
<element name="digit7" ref="digit"><bounds x="56" y="4" width="10" height="15" /></element>
|
||||
<element name="digit6" ref="digit"><bounds x="68" y="4" width="10" height="15" /></element>
|
||||
<element name="digit5" ref="digit"><bounds x="80" y="4" width="10" height="15" /></element>
|
||||
|
||||
<element ref="yellow"><bounds x="0" y="27" width="96" height="23" /></element>
|
||||
<element ref="black"><bounds x="1" y="28" width="94" height="21" /></element>
|
||||
<element ref="text_b2"><bounds x="3" y="31" width="50" height="15" /></element>
|
||||
<element name="digit14" ref="digit"><bounds x="32" y="31" width="10" height="15" /></element>
|
||||
<element name="digit13" ref="digit"><bounds x="44" y="31" width="10" height="15" /></element>
|
||||
<element name="digit12" ref="digit"><bounds x="56" y="31" width="10" height="15" /></element>
|
||||
<element name="digit11" ref="digit"><bounds x="68" y="31" width="10" height="15" /></element>
|
||||
<element name="digit10" ref="digit"><bounds x="80" y="31" width="10" height="15" /></element>
|
||||
|
||||
<element ref="yellow"><bounds x="0" y="54" width="96" height="23" /></element>
|
||||
<element ref="black"><bounds x="1" y="55" width="94" height="21" /></element>
|
||||
<element ref="text_b3"><bounds x="3" y="58" width="50" height="15" /></element>
|
||||
<element name="digit19" ref="digit"><bounds x="32" y="58" width="10" height="15" /></element>
|
||||
<element name="digit18" ref="digit"><bounds x="44" y="58" width="10" height="15" /></element>
|
||||
<element name="digit17" ref="digit"><bounds x="56" y="58" width="10" height="15" /></element>
|
||||
<element name="digit16" ref="digit"><bounds x="68" y="58" width="10" height="15" /></element>
|
||||
<element name="digit15" ref="digit"><bounds x="80" y="58" width="10" height="15" /></element>
|
||||
|
||||
<element ref="yellow"><bounds x="0" y="81" width="96" height="23" /></element>
|
||||
<element ref="black"><bounds x="1" y="82" width="94" height="21" /></element>
|
||||
<element ref="text_b4"><bounds x="3" y="85" width="50" height="15" /></element>
|
||||
<element name="digit24" ref="digit"><bounds x="32" y="85" width="10" height="15" /></element>
|
||||
<element name="digit23" ref="digit"><bounds x="44" y="85" width="10" height="15" /></element>
|
||||
<element name="digit22" ref="digit"><bounds x="56" y="85" width="10" height="15" /></element>
|
||||
<element name="digit21" ref="digit"><bounds x="68" y="85" width="10" height="15" /></element>
|
||||
<element name="digit20" ref="digit"><bounds x="80" y="85" width="10" height="15" /></element>
|
||||
|
||||
<element ref="yellow"><bounds x="0" y="108" width="96" height="23" /></element>
|
||||
<element ref="black"><bounds x="1" y="109" width="94" height="21" /></element>
|
||||
<element ref="text_b5"><bounds x="3" y="112" width="50" height="15" /></element>
|
||||
<element name="digit29" ref="digit"><bounds x="32" y="112" width="10" height="15" /></element>
|
||||
<element name="digit28" ref="digit"><bounds x="44" y="112" width="10" height="15" /></element>
|
||||
<element name="digit27" ref="digit"><bounds x="56" y="112" width="10" height="15" /></element>
|
||||
<element name="digit26" ref="digit"><bounds x="68" y="112" width="10" height="15" /></element>
|
||||
<element name="digit25" ref="digit"><bounds x="80" y="112" width="10" height="15" /></element>
|
||||
</group>
|
||||
|
||||
<group name="panel1">
|
||||
<element ref="blue"><bounds x="0" y="0" width="152" height="238" /></element>
|
||||
<element ref="black"><bounds x="8" y="8" width="136" height="222" /></element>
|
||||
<element ref="red"><bounds x="10" y="10" width="132" height="31.5" /></element>
|
||||
<element ref="text_best"><bounds x="10" y="14.25" width="132" height="23" /></element>
|
||||
<group ref="best"><bounds x="10" y="48" width="132" height="180" /></group>
|
||||
</group>
|
||||
|
||||
|
||||
<!-- player score digits -->
|
||||
|
||||
<group name="score">
|
||||
<element ref="yellow"><bounds x="0" y="0" width="96" height="28" /></element>
|
||||
<element ref="black"><bounds x="1" y="1" width="94" height="26" /></element>
|
||||
|
||||
<element name="digit4" ref="digit"><bounds x="7" y="4" width="13.33" height="20" /></element>
|
||||
<element name="digit3" ref="digit"><bounds x="24" y="4" width="13.33" height="20" /></element>
|
||||
<element name="digit2" ref="digit"><bounds x="41" y="4" width="13.33" height="20" /></element>
|
||||
<element name="digit1" ref="digit"><bounds x="58" y="4" width="13.33" height="20" /></element>
|
||||
<element name="digit0" ref="digit"><bounds x="75" y="4" width="13.33" height="20" /></element>
|
||||
</group>
|
||||
|
||||
<group name="panel2">
|
||||
<element ref="blue"><bounds x="0" y="0" width="152" height="96.5" /></element>
|
||||
<element ref="black"><bounds x="8" y="8" width="136" height="80.5" /></element>
|
||||
<element ref="red"><bounds x="10" y="10" width="132" height="31.5" /></element>
|
||||
<element ref="text_score"><bounds x="10" y="14.25" width="132" height="23" /></element>
|
||||
<group ref="score"><bounds x="10" y="48" width="132" height="38.5" /></group>
|
||||
</group>
|
||||
|
||||
|
||||
<!-- build screen -->
|
||||
|
||||
<view name="Score Panel">
|
||||
<bounds left="-59" top="0" right="330" bottom="248" />
|
||||
<bounds left="-168" top="0" right="640" bottom="480" />
|
||||
|
||||
<group ref="panel1"><bounds x="-160" y="45" width="152" height="238" /></group>
|
||||
<group ref="panel2"><bounds x="-160" y="330" width="152" height="96.5" /></group>
|
||||
|
||||
<screen index="0">
|
||||
<bounds left="0" top="0" right="330" bottom="248" />
|
||||
<bounds left="0" top="0" right="640" bottom="480" />
|
||||
</screen>
|
||||
|
||||
<element name="digit0" ref="digit">
|
||||
<bounds left="-15" top="18" right="-8" bottom="31" />
|
||||
</element>
|
||||
<element name="digit1" ref="digit">
|
||||
<bounds left="-24" top="18" right="-17" bottom="31" />
|
||||
</element>
|
||||
<element name="digit2" ref="digit">
|
||||
<bounds left="-33" top="18" right="-26" bottom="31" />
|
||||
</element>
|
||||
<element name="digit3" ref="digit">
|
||||
<bounds left="-42" top="18" right="-35" bottom="31" />
|
||||
</element>
|
||||
<element name="digit4" ref="digit">
|
||||
<bounds left="-51" top="18" right="-44" bottom="31" />
|
||||
</element>
|
||||
|
||||
<element name="digit25" ref="digit">
|
||||
<bounds left="-20" top="110" right="-15" bottom="120" />
|
||||
</element>
|
||||
<element name="digit26" ref="digit">
|
||||
<bounds left="-26" top="110" right="-21" bottom="120" />
|
||||
</element>
|
||||
<element name="digit27" ref="digit">
|
||||
<bounds left="-32" top="110" right="-27" bottom="120" />
|
||||
</element>
|
||||
<element name="digit28" ref="digit">
|
||||
<bounds left="-38" top="110" right="-33" bottom="120" />
|
||||
</element>
|
||||
<element name="digit29" ref="digit">
|
||||
<bounds left="-44" top="110" right="-39" bottom="120" />
|
||||
</element>
|
||||
|
||||
<element name="digit20" ref="digit">
|
||||
<bounds left="-20" top="95" right="-15" bottom="105" />
|
||||
</element>
|
||||
<element name="digit21" ref="digit">
|
||||
<bounds left="-26" top="95" right="-21" bottom="105" />
|
||||
</element>
|
||||
<element name="digit22" ref="digit">
|
||||
<bounds left="-32" top="95" right="-27" bottom="105" />
|
||||
</element>
|
||||
<element name="digit23" ref="digit">
|
||||
<bounds left="-38" top="95" right="-33" bottom="105" />
|
||||
</element>
|
||||
<element name="digit24" ref="digit">
|
||||
<bounds left="-44" top="95" right="-39" bottom="105" />
|
||||
</element>
|
||||
|
||||
<element name="digit15" ref="digit">
|
||||
<bounds left="-20" top="80" right="-15" bottom="90" />
|
||||
</element>
|
||||
<element name="digit16" ref="digit">
|
||||
<bounds left="-26" top="80" right="-21" bottom="90" />
|
||||
</element>
|
||||
<element name="digit17" ref="digit">
|
||||
<bounds left="-32" top="80" right="-27" bottom="90" />
|
||||
</element>
|
||||
<element name="digit18" ref="digit">
|
||||
<bounds left="-38" top="80" right="-33" bottom="90" />
|
||||
</element>
|
||||
<element name="digit19" ref="digit">
|
||||
<bounds left="-44" top="80" right="-39" bottom="90" />
|
||||
</element>
|
||||
|
||||
<element name="digit10" ref="digit">
|
||||
<bounds left="-20" top="65" right="-15" bottom="75" />
|
||||
</element>
|
||||
<element name="digit11" ref="digit">
|
||||
<bounds left="-26" top="65" right="-21" bottom="75" />
|
||||
</element>
|
||||
<element name="digit12" ref="digit">
|
||||
<bounds left="-32" top="65" right="-27" bottom="75" />
|
||||
</element>
|
||||
<element name="digit13" ref="digit">
|
||||
<bounds left="-38" top="65" right="-33" bottom="75" />
|
||||
</element>
|
||||
<element name="digit14" ref="digit">
|
||||
<bounds left="-44" top="65" right="-39" bottom="75" />
|
||||
</element>
|
||||
|
||||
<element name="digit5" ref="digit">
|
||||
<bounds left="-20" top="50" right="-15" bottom="60" />
|
||||
</element>
|
||||
<element name="digit6" ref="digit">
|
||||
<bounds left="-26" top="50" right="-21" bottom="60" />
|
||||
</element>
|
||||
<element name="digit7" ref="digit">
|
||||
<bounds left="-32" top="50" right="-27" bottom="60" />
|
||||
</element>
|
||||
<element name="digit8" ref="digit">
|
||||
<bounds left="-38" top="50" right="-33" bottom="60" />
|
||||
</element>
|
||||
<element name="digit9" ref="digit">
|
||||
<bounds left="-44" top="50" right="-39" bottom="60" />
|
||||
</element>
|
||||
</view>
|
||||
|
||||
</mamelayout>
|
||||
|
@ -6,6 +6,29 @@ license:CC0-1.0
|
||||
|
||||
<!-- define elements -->
|
||||
|
||||
<element name="black"><rect><color red="0" green="0" blue="0" /></rect></element>
|
||||
<element name="yellow"><rect><color red="0.9" green="0.9" blue="0.15" /></rect></element>
|
||||
<element name="blue"><rect><color red="0.1" green="0.5" blue="0.9" /></rect></element>
|
||||
<element name="red"><rect><color red="0.9" green="0.2" blue="0.15" /></rect></element>
|
||||
|
||||
<element name="text_b1"><text string="1ST." align="1"><color red="0.9" green="0.9" blue="0.9" /></text></element>
|
||||
<element name="text_b2"><text string="2ND." align="1"><color red="0.9" green="0.9" blue="0.9" /></text></element>
|
||||
<element name="text_b3"><text string="3RD." align="1"><color red="0.9" green="0.9" blue="0.9" /></text></element>
|
||||
<element name="text_b4"><text string="4TH." align="1"><color red="0.9" green="0.9" blue="0.9" /></text></element>
|
||||
<element name="text_b5"><text string="5TH." align="1"><color red="0.9" green="0.9" blue="0.9" /></text></element>
|
||||
|
||||
<element name="text_best">
|
||||
<rect><color red="0.9" green="0.2" blue="0.15" /></rect>
|
||||
<text string="BEST 5"><color red="0.9" green="0.9" blue="0.9" /></text>
|
||||
</element>
|
||||
<element name="text_score">
|
||||
<rect><color red="0.9" green="0.2" blue="0.15" /></rect>
|
||||
<text string="YOUR SCORE"><color red="0.9" green="0.9" blue="0.9" /></text>
|
||||
</element>
|
||||
|
||||
<element name="text_rpm"><text string="RPM" align="1"><color red="0.9" green="0.9" blue="0.9" /></text></element>
|
||||
<element name="text_speed"><text string="SPEED" align="1"><color red="0.9" green="0.9" blue="0.9" /></text></element>
|
||||
|
||||
<element name="nothing"><rect><color alpha="0" /></rect></element>
|
||||
|
||||
<element name="digit" defstate="0">
|
||||
@ -244,118 +267,100 @@ license:CC0-1.0
|
||||
</element>
|
||||
|
||||
|
||||
<!-- best 5 score digits -->
|
||||
|
||||
<group name="best">
|
||||
<element ref="yellow"><bounds x="0" y="0" width="96" height="23" /></element>
|
||||
<element ref="black"><bounds x="1" y="1" width="94" height="21" /></element>
|
||||
<element ref="text_b1"><bounds x="3" y="4" width="50" height="15" /></element>
|
||||
<element name="digit26" ref="digit"><bounds x="32" y="4" width="10" height="15" /></element>
|
||||
<element name="digit25" ref="digit"><bounds x="44" y="4" width="10" height="15" /></element>
|
||||
<element name="digit24" ref="digit"><bounds x="56" y="4" width="10" height="15" /></element>
|
||||
<element name="digit23" ref="digit"><bounds x="68" y="4" width="10" height="15" /></element>
|
||||
<element name="digit22" ref="digit"><bounds x="80" y="4" width="10" height="15" /></element>
|
||||
|
||||
<element ref="yellow"><bounds x="0" y="27" width="96" height="23" /></element>
|
||||
<element ref="black"><bounds x="1" y="28" width="94" height="21" /></element>
|
||||
<element ref="text_b2"><bounds x="3" y="31" width="50" height="15" /></element>
|
||||
<element name="digit21" ref="digit"><bounds x="32" y="31" width="10" height="15" /></element>
|
||||
<element name="digit20" ref="digit"><bounds x="44" y="31" width="10" height="15" /></element>
|
||||
<element name="digit19" ref="digit"><bounds x="56" y="31" width="10" height="15" /></element>
|
||||
<element name="digit18" ref="digit"><bounds x="68" y="31" width="10" height="15" /></element>
|
||||
<element name="digit17" ref="digit"><bounds x="80" y="31" width="10" height="15" /></element>
|
||||
|
||||
<element ref="yellow"><bounds x="0" y="54" width="96" height="23" /></element>
|
||||
<element ref="black"><bounds x="1" y="55" width="94" height="21" /></element>
|
||||
<element ref="text_b3"><bounds x="3" y="58" width="50" height="15" /></element>
|
||||
<element name="digit16" ref="digit"><bounds x="32" y="58" width="10" height="15" /></element>
|
||||
<element name="digit15" ref="digit"><bounds x="44" y="58" width="10" height="15" /></element>
|
||||
<element name="digit14" ref="digit"><bounds x="56" y="58" width="10" height="15" /></element>
|
||||
<element name="digit13" ref="digit"><bounds x="68" y="58" width="10" height="15" /></element>
|
||||
<element name="digit12" ref="digit"><bounds x="80" y="58" width="10" height="15" /></element>
|
||||
|
||||
<element ref="yellow"><bounds x="0" y="81" width="96" height="23" /></element>
|
||||
<element ref="black"><bounds x="1" y="82" width="94" height="21" /></element>
|
||||
<element ref="text_b4"><bounds x="3" y="85" width="50" height="15" /></element>
|
||||
<element name="digit11" ref="digit"><bounds x="32" y="85" width="10" height="15" /></element>
|
||||
<element name="digit10" ref="digit"><bounds x="44" y="85" width="10" height="15" /></element>
|
||||
<element name="digit9" ref="digit"><bounds x="56" y="85" width="10" height="15" /></element>
|
||||
<element name="digit8" ref="digit"><bounds x="68" y="85" width="10" height="15" /></element>
|
||||
<element name="digit7" ref="digit"><bounds x="80" y="85" width="10" height="15" /></element>
|
||||
|
||||
<element ref="yellow"><bounds x="0" y="108" width="96" height="23" /></element>
|
||||
<element ref="black"><bounds x="1" y="109" width="94" height="21" /></element>
|
||||
<element ref="text_b5"><bounds x="3" y="112" width="50" height="15" /></element>
|
||||
<element name="digit6" ref="digit"><bounds x="32" y="112" width="10" height="15" /></element>
|
||||
<element name="digit5" ref="digit"><bounds x="44" y="112" width="10" height="15" /></element>
|
||||
<element name="digit4" ref="digit"><bounds x="56" y="112" width="10" height="15" /></element>
|
||||
<element name="digit3" ref="digit"><bounds x="68" y="112" width="10" height="15" /></element>
|
||||
<element name="digit2" ref="digit"><bounds x="80" y="112" width="10" height="15" /></element>
|
||||
</group>
|
||||
|
||||
<group name="panel1">
|
||||
<element ref="blue"><bounds x="0" y="0" width="152" height="238" /></element>
|
||||
<element ref="black"><bounds x="8" y="8" width="136" height="222" /></element>
|
||||
<element ref="red"><bounds x="10" y="10" width="132" height="31.5" /></element>
|
||||
<element ref="text_best"><bounds x="10" y="14.25" width="132" height="23" /></element>
|
||||
<group ref="best"><bounds x="10" y="48" width="132" height="180" /></group>
|
||||
</group>
|
||||
|
||||
|
||||
<!-- player score digits -->
|
||||
|
||||
<group name="score">
|
||||
<element ref="yellow"><bounds x="0" y="0" width="96" height="28" /></element>
|
||||
<element ref="black"><bounds x="1" y="1" width="94" height="26" /></element>
|
||||
|
||||
<element name="digit31" ref="digit"><bounds x="7" y="4" width="13.33" height="20" /></element>
|
||||
<element name="digit30" ref="digit"><bounds x="24" y="4" width="13.33" height="20" /></element>
|
||||
<element name="digit29" ref="digit"><bounds x="41" y="4" width="13.33" height="20" /></element>
|
||||
<element name="digit28" ref="digit"><bounds x="58" y="4" width="13.33" height="20" /></element>
|
||||
<element name="digit27" ref="digit"><bounds x="75" y="4" width="13.33" height="20" /></element>
|
||||
</group>
|
||||
|
||||
<group name="panel2">
|
||||
<element ref="blue"><bounds x="0" y="0" width="152" height="96.5" /></element>
|
||||
<element ref="black"><bounds x="8" y="8" width="136" height="80.5" /></element>
|
||||
<element ref="red"><bounds x="10" y="10" width="132" height="31.5" /></element>
|
||||
<element ref="text_score"><bounds x="10" y="14.25" width="132" height="23" /></element>
|
||||
<group ref="score"><bounds x="10" y="48" width="132" height="38.5" /></group>
|
||||
</group>
|
||||
|
||||
|
||||
<!-- side panel -->
|
||||
|
||||
<group name="panel">
|
||||
<bounds left="-59" right="0" top="0" bottom="248" />
|
||||
<element ref="nothing"><bounds x="-59" y="0" width="1" height="1" /></element>
|
||||
<element ref="nothing"><bounds x="0" y="0" width="168" height="640" /></element>
|
||||
|
||||
<element name="tachometer" ref="tacho">
|
||||
<bounds x="-51" y="200" width="43" height="1.3" />
|
||||
</element>
|
||||
<element ref="tachom" blend="multiply">
|
||||
<bounds x="-51" y="200" width="43" height="1.3" />
|
||||
</element>
|
||||
<group ref="panel1"><bounds x="8" y="35" width="152" height="238" /></group>
|
||||
<group ref="panel2"><bounds x="8" y="310" width="152" height="96.5" /></group>
|
||||
|
||||
<element name="speed" ref="speed">
|
||||
<bounds x="-51" y="210" width="43" height="1.3" />
|
||||
</element>
|
||||
<element ref="text_rpm"><bounds x="8" y="445" width="80" height="12" /></element>
|
||||
<element name="tachometer" ref="tacho"><bounds x="0" y="460" width="168" height="4" /></element>
|
||||
<element ref="tachom" blend="multiply"><bounds x="0" y="460" width="168" height="4" /></element>
|
||||
|
||||
<element name="digit27" ref="digit">
|
||||
<bounds left="-15" top="18" right="-8" bottom="31" />
|
||||
</element>
|
||||
<element name="digit28" ref="digit">
|
||||
<bounds left="-24" top="18" right="-17" bottom="31" />
|
||||
</element>
|
||||
<element name="digit29" ref="digit">
|
||||
<bounds left="-33" top="18" right="-26" bottom="31" />
|
||||
</element>
|
||||
<element name="digit30" ref="digit">
|
||||
<bounds left="-42" top="18" right="-35" bottom="31" />
|
||||
</element>
|
||||
<element name="digit31" ref="digit">
|
||||
<bounds left="-51" top="18" right="-44" bottom="31" />
|
||||
</element>
|
||||
|
||||
<element name="digit2" ref="digit">
|
||||
<bounds left="-20" top="110" right="-15" bottom="120" />
|
||||
</element>
|
||||
<element name="digit3" ref="digit">
|
||||
<bounds left="-26" top="110" right="-21" bottom="120" />
|
||||
</element>
|
||||
<element name="digit4" ref="digit">
|
||||
<bounds left="-32" top="110" right="-27" bottom="120" />
|
||||
</element>
|
||||
<element name="digit5" ref="digit">
|
||||
<bounds left="-38" top="110" right="-33" bottom="120" />
|
||||
</element>
|
||||
<element name="digit6" ref="digit">
|
||||
<bounds left="-44" top="110" right="-39" bottom="120" />
|
||||
</element>
|
||||
|
||||
<element name="digit7" ref="digit">
|
||||
<bounds left="-20" top="95" right="-15" bottom="105" />
|
||||
</element>
|
||||
<element name="digit8" ref="digit">
|
||||
<bounds left="-26" top="95" right="-21" bottom="105" />
|
||||
</element>
|
||||
<element name="digit9" ref="digit">
|
||||
<bounds left="-32" top="95" right="-27" bottom="105" />
|
||||
</element>
|
||||
<element name="digit10" ref="digit">
|
||||
<bounds left="-38" top="95" right="-33" bottom="105" />
|
||||
</element>
|
||||
<element name="digit11" ref="digit">
|
||||
<bounds left="-44" top="95" right="-39" bottom="105" />
|
||||
</element>
|
||||
|
||||
<element name="digit12" ref="digit">
|
||||
<bounds left="-20" top="80" right="-15" bottom="90" />
|
||||
</element>
|
||||
<element name="digit13" ref="digit">
|
||||
<bounds left="-26" top="80" right="-21" bottom="90" />
|
||||
</element>
|
||||
<element name="digit14" ref="digit">
|
||||
<bounds left="-32" top="80" right="-27" bottom="90" />
|
||||
</element>
|
||||
<element name="digit15" ref="digit">
|
||||
<bounds left="-38" top="80" right="-33" bottom="90" />
|
||||
</element>
|
||||
<element name="digit16" ref="digit">
|
||||
<bounds left="-44" top="80" right="-39" bottom="90" />
|
||||
</element>
|
||||
|
||||
<element name="digit17" ref="digit">
|
||||
<bounds left="-20" top="65" right="-15" bottom="75" />
|
||||
</element>
|
||||
<element name="digit18" ref="digit">
|
||||
<bounds left="-26" top="65" right="-21" bottom="75" />
|
||||
</element>
|
||||
<element name="digit19" ref="digit">
|
||||
<bounds left="-32" top="65" right="-27" bottom="75" />
|
||||
</element>
|
||||
<element name="digit20" ref="digit">
|
||||
<bounds left="-38" top="65" right="-33" bottom="75" />
|
||||
</element>
|
||||
<element name="digit21" ref="digit">
|
||||
<bounds left="-44" top="65" right="-39" bottom="75" />
|
||||
</element>
|
||||
|
||||
<element name="digit22" ref="digit">
|
||||
<bounds left="-20" top="50" right="-15" bottom="60" />
|
||||
</element>
|
||||
<element name="digit23" ref="digit">
|
||||
<bounds left="-26" top="50" right="-21" bottom="60" />
|
||||
</element>
|
||||
<element name="digit24" ref="digit">
|
||||
<bounds left="-32" top="50" right="-27" bottom="60" />
|
||||
</element>
|
||||
<element name="digit25" ref="digit">
|
||||
<bounds left="-38" top="50" right="-33" bottom="60" />
|
||||
</element>
|
||||
<element name="digit26" ref="digit">
|
||||
<bounds left="-44" top="50" right="-39" bottom="60" />
|
||||
</element>
|
||||
<element ref="text_speed"><bounds x="8" y="480" width="80" height="12" /></element>
|
||||
<element name="speed" ref="speed"><bounds x="0" y="495" width="168" height="4" /></element>
|
||||
</group>
|
||||
|
||||
|
||||
@ -363,7 +368,7 @@ license:CC0-1.0
|
||||
|
||||
<view name="Shifter-R">
|
||||
<collection name="Side Panel">
|
||||
<group ref="panel"><bounds x="-152.25" y="0" width="152.25" height="640" /></group>
|
||||
<group ref="panel"><bounds x="-168" y="0" width="168" height="640" /></group>
|
||||
</collection>
|
||||
|
||||
<screen index="0">
|
||||
@ -377,7 +382,7 @@ license:CC0-1.0
|
||||
|
||||
<view name="Shifter-L">
|
||||
<collection name="Side Panel">
|
||||
<group ref="panel"><bounds x="-152.25" y="0" width="152.25" height="640" /></group>
|
||||
<group ref="panel"><bounds x="-168" y="0" width="168" height="640" /></group>
|
||||
</collection>
|
||||
|
||||
<screen index="0">
|
||||
@ -391,7 +396,7 @@ license:CC0-1.0
|
||||
|
||||
<view name="Widescreen Shifter-R">
|
||||
<collection name="Side Panel">
|
||||
<group ref="panel"><bounds x="-152.25" y="0" width="152.25" height="640" /></group>
|
||||
<group ref="panel"><bounds x="-168" y="0" width="168" height="640" /></group>
|
||||
</collection>
|
||||
|
||||
<screen index="0">
|
||||
@ -404,7 +409,7 @@ license:CC0-1.0
|
||||
|
||||
<view name="Widescreen Shifter-L">
|
||||
<collection name="Side Panel">
|
||||
<group ref="panel"><bounds x="-152.25" y="0" width="152.25" height="640" /></group>
|
||||
<group ref="panel"><bounds x="-168" y="0" width="168" height="640" /></group>
|
||||
</collection>
|
||||
|
||||
<screen index="0">
|
||||
@ -417,7 +422,7 @@ license:CC0-1.0
|
||||
|
||||
<view name="Vertical Widescreen Shifter-R">
|
||||
<collection name="Side Panel">
|
||||
<group ref="panel"><bounds x="-152.25" y="0" width="152.25" height="640" /></group>
|
||||
<group ref="panel"><bounds x="-168" y="0" width="168" height="640" /></group>
|
||||
</collection>
|
||||
|
||||
<screen index="0">
|
||||
@ -430,7 +435,7 @@ license:CC0-1.0
|
||||
|
||||
<view name="Vertical Widescreen Shifter-L">
|
||||
<collection name="Side Panel">
|
||||
<group ref="panel"><bounds x="-152.25" y="0" width="152.25" height="640" /></group>
|
||||
<group ref="panel"><bounds x="-168" y="0" width="168" height="640" /></group>
|
||||
</collection>
|
||||
|
||||
<screen index="0">
|
||||
|
@ -365,6 +365,7 @@ void subroc3d_state::ppi0b_w(uint8_t data)
|
||||
m_shutter = BIT(data, 4);
|
||||
}
|
||||
|
||||
|
||||
/*************************************
|
||||
*
|
||||
* Buck Rogers PPI handling
|
||||
@ -456,7 +457,7 @@ CUSTOM_INPUT_MEMBER(turbo_base_state::pedal_r)
|
||||
uint8_t turbo_state::collision_r()
|
||||
{
|
||||
m_screen->update_partial(m_screen->vpos());
|
||||
return m_dsw3->read() | (m_collision & 15);
|
||||
return (m_dsw[2]->read() & 0xf0) | (m_collision & 0xf);
|
||||
}
|
||||
|
||||
|
||||
@ -507,7 +508,9 @@ WRITE_LINE_MEMBER(turbo_state::start_lamp_w)
|
||||
uint8_t buckrog_state::subcpu_command_r()
|
||||
{
|
||||
// assert ACK
|
||||
m_i8255[0]->pc6_w(CLEAR_LINE);
|
||||
if (!machine().side_effects_disabled())
|
||||
m_i8255[0]->pc6_w(CLEAR_LINE);
|
||||
|
||||
return m_command;
|
||||
}
|
||||
|
||||
@ -543,13 +546,13 @@ void buckrog_state::i8255_0_w(offs_t offset, uint8_t data)
|
||||
uint8_t turbo_state::spriteram_r(offs_t offset)
|
||||
{
|
||||
offset = (offset & 0x07) | ((offset & 0xf0) >> 1);
|
||||
return m_alt_spriteram[offset];
|
||||
return m_spriteram[offset];
|
||||
}
|
||||
|
||||
void turbo_state::spriteram_w(offs_t offset, uint8_t data)
|
||||
{
|
||||
offset = (offset & 0x07) | ((offset & 0xf0) >> 1);
|
||||
m_alt_spriteram[offset] = data;
|
||||
m_spriteram[offset] = data;
|
||||
}
|
||||
|
||||
|
||||
@ -677,9 +680,9 @@ static INPUT_PORTS_START( turbo )
|
||||
PORT_DIPNAME( 0x08, 0x08, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW1:4")
|
||||
PORT_DIPSETTING( 0x08, DEF_STR( Easy ))
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Hard ))
|
||||
PORT_DIPNAME( 0x10, 0x10, "Game Mode" ) PORT_DIPLOCATION("SW1:5")
|
||||
PORT_DIPSETTING( 0x00, "No Collisions (cheat)" )
|
||||
PORT_DIPSETTING( 0x10, DEF_STR( Normal ) )
|
||||
PORT_DIPNAME( 0x10, 0x10, "Collisions" ) PORT_DIPLOCATION("SW1:5")
|
||||
PORT_DIPSETTING( 0x00, "Off (Cheat)" )
|
||||
PORT_DIPSETTING( 0x10, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x20, 0x20, "Initial Entry" ) PORT_DIPLOCATION("SW1:6")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ))
|
||||
PORT_DIPSETTING( 0x20, DEF_STR( On ))
|
||||
@ -761,6 +764,9 @@ static INPUT_PORTS_START( subroc3d )
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
|
||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )
|
||||
|
||||
PORT_START("DSW1") // DSW1 // Unused
|
||||
PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
|
||||
PORT_START("DSW2") // DSW2
|
||||
PORT_DIPNAME( 0x07, 0x00, DEF_STR( Coin_A )) PORT_DIPLOCATION("SW2:1,2,3")
|
||||
PORT_DIPSETTING( 0x07, DEF_STR( 5C_1C ) )
|
||||
@ -810,8 +816,6 @@ static INPUT_PORTS_START( subroc3d )
|
||||
PORT_DIPNAME( 0x80, 0x80, "Game" ) PORT_DIPLOCATION("SW3:8")
|
||||
PORT_DIPSETTING( 0x00, "Endless" )
|
||||
PORT_DIPSETTING( 0x80, DEF_STR( Normal ) )
|
||||
|
||||
PORT_START("DSW1") // DSW1 // Unused
|
||||
INPUT_PORTS_END
|
||||
|
||||
|
||||
@ -820,8 +824,8 @@ static INPUT_PORTS_START( buckrog )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_CONDITION("DSW2", 0x80, EQUALS, 0x00) // cockpit
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START2 ) PORT_CONDITION("DSW2", 0x80, EQUALS, 0x80) // upright
|
||||
PORT_BIT( 0x30, IP_ACTIVE_HIGH, IPT_CUSTOM ) PORT_CONDITION("DSW2", 0x02, EQUALS, 0x00) PORT_CUSTOM_MEMBER(turbo_base_state, pedal_r)
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CONDITION("DSW2", 0x02, EQUALS, 0x02) // speed up
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CONDITION("DSW2", 0x02, EQUALS, 0x02) // speed down
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CONDITION("DSW2", 0x02, EQUALS, 0x02) // fast
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CONDITION("DSW2", 0x02, EQUALS, 0x02) // slow
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN )
|
||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_UP )
|
||||
|
||||
@ -862,8 +866,8 @@ static INPUT_PORTS_START( buckrog )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
|
||||
PORT_START("DSW2") // DSW2
|
||||
PORT_DIPNAME( 0x01, 0x00, "Collisions" ) PORT_DIPLOCATION("SW2:1")
|
||||
PORT_DIPSETTING( 0x01, DEF_STR( Off ) )
|
||||
PORT_DIPNAME( 0x01, 0x00, "Collisions" ) PORT_DIPLOCATION("SW2:1") // manual calls it collisions, but actually it's infinite lives
|
||||
PORT_DIPSETTING( 0x01, "Off (Cheat)" )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x02, 0x02, "Accel by" ) PORT_DIPLOCATION("SW2:2")
|
||||
PORT_DIPSETTING( 0x00, "Pedal" )
|
||||
@ -938,9 +942,9 @@ void turbo_state::turbo(machine_config &config)
|
||||
m_i8255[3]->out_pc_callback().set(FUNC(turbo_state::ppi3c_w));
|
||||
|
||||
i8279_device &kbdc(I8279(config, "i8279", MASTER_CLOCK/16)); // clock = H1
|
||||
kbdc.out_sl_callback().set(FUNC(turbo_state::scanlines_w)); // scan SL lines
|
||||
kbdc.out_disp_callback().set(FUNC(turbo_state::digit_w)); // display A&B
|
||||
kbdc.in_rl_callback().set_ioport("DSW1"); // kbd RL lines
|
||||
kbdc.out_sl_callback().set(FUNC(turbo_state::scanlines_w)); // scan SL lines
|
||||
kbdc.out_disp_callback().set(FUNC(turbo_state::digit_w)); // display A&B
|
||||
kbdc.in_rl_callback().set_ioport("DSW1"); // kbd RL lines
|
||||
|
||||
ls259_device &outlatch(LS259(config, "outlatch")); // IC125 - outputs passed through CN5
|
||||
outlatch.q_out_cb<0>().set(FUNC(turbo_state::coin_meter_1_w));
|
||||
@ -979,10 +983,10 @@ void subroc3d_state::subroc3d(machine_config &config)
|
||||
m_i8255[1]->out_pb_callback().set(FUNC(subroc3d_state::sound_b_w));
|
||||
m_i8255[1]->out_pc_callback().set(FUNC(subroc3d_state::sound_c_w));
|
||||
|
||||
i8279_device &kbdc(I8279(config, "i8279", MASTER_CLOCK/16)); // unknown clock
|
||||
i8279_device &kbdc(I8279(config, "i8279", MASTER_CLOCK/16)); // unknown clock
|
||||
kbdc.out_sl_callback().set(FUNC(subroc3d_state::scanlines_w)); // scan SL lines
|
||||
kbdc.out_disp_callback().set(FUNC(subroc3d_state::digit_w)); // display A&B
|
||||
kbdc.in_rl_callback().set_ioport("DSW1"); // kbd RL lines
|
||||
kbdc.in_rl_callback().set_ioport("DSW1"); // kbd RL lines
|
||||
|
||||
// video hardware
|
||||
GFXDECODE(config, m_gfxdecode, "palette", gfx_turbo);
|
||||
@ -1023,10 +1027,10 @@ void buckrog_state::buckrog(machine_config &config)
|
||||
m_i8255[1]->out_pb_callback().set(FUNC(buckrog_state::sound_b_w));
|
||||
m_i8255[1]->out_pc_callback().set(FUNC(buckrog_state::ppi1c_w));
|
||||
|
||||
i8279_device &kbdc(I8279(config, "i8279", MASTER_CLOCK/16)); // unknown clock
|
||||
i8279_device &kbdc(I8279(config, "i8279", MASTER_CLOCK/16)); // unknown clock
|
||||
kbdc.out_sl_callback().set(FUNC(buckrog_state::scanlines_w)); // scan SL lines
|
||||
kbdc.out_disp_callback().set(FUNC(buckrog_state::digit_w)); // display A&B
|
||||
kbdc.in_rl_callback().set_ioport("DSW1"); // kbd RL lines
|
||||
kbdc.in_rl_callback().set_ioport("DSW1"); // kbd RL lines
|
||||
|
||||
// video hardware
|
||||
GFXDECODE(config, m_gfxdecode, "palette", gfx_turbo);
|
||||
@ -1063,6 +1067,7 @@ void buckrog_state::buckroge(machine_config &config)
|
||||
maincpu.set_decrypted_tag(":decrypted_opcodes");
|
||||
}
|
||||
|
||||
|
||||
/*************************************
|
||||
*
|
||||
* ROM definitions
|
||||
@ -1906,23 +1911,25 @@ void turbo_state::init_turbo_enc()
|
||||
rom_decode();
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*************************************
|
||||
*
|
||||
* Game drivers
|
||||
*
|
||||
*************************************/
|
||||
|
||||
GAMEL( 1981, turbo, 0, turbo, turbo, turbo_state, empty_init, ROT270, "Sega", "Turbo (program 1513-1515)", MACHINE_IMPERFECT_SOUND , layout_turbo )
|
||||
GAMEL( 1981, turboa, turbo, turbo, turbo, turbo_state, init_turbo_enc, ROT270, "Sega", "Turbo (encrypted, program 1262-1264)", MACHINE_IMPERFECT_SOUND , layout_turbo )
|
||||
GAMEL( 1981, turbob, turbo, turbo, turbo, turbo_state, init_turbo_enc, ROT270, "Sega", "Turbo (encrypted, program 1363-1365 rev C)", MACHINE_IMPERFECT_SOUND , layout_turbo )
|
||||
GAMEL( 1981, turboc, turbo, turbo, turbo, turbo_state, init_turbo_enc, ROT270, "Sega", "Turbo (encrypted, program 1363-1365 rev B)", MACHINE_IMPERFECT_SOUND , layout_turbo )
|
||||
GAMEL( 1981, turbod, turbo, turbo, turbo, turbo_state, init_turbo_enc, ROT270, "Sega", "Turbo (encrypted, program 1363-1365 rev A)", MACHINE_IMPERFECT_SOUND , layout_turbo )
|
||||
GAMEL( 1981, turboe, turbo, turbo, turbo, turbo_state, init_turbo_enc, ROT270, "Sega", "Turbo (encrypted, program 1363-1365)", MACHINE_IMPERFECT_SOUND , layout_turbo ) // but still reports 1262-1264 in the test mode?
|
||||
GAMEL( 1981, turbobl, turbo, turbo, turbo, turbo_state, empty_init, ROT270, "bootleg", "Indianapolis (bootleg of Turbo)", MACHINE_IMPERFECT_SOUND , layout_turbo ) // decrypted bootleg of a 1262-1264 set
|
||||
GAMEL( 1981, turbo, 0, turbo, turbo, turbo_state, empty_init, ROT270, "Sega", "Turbo (program 1513-1515)", MACHINE_IMPERFECT_SOUND, layout_turbo )
|
||||
GAMEL( 1981, turboa, turbo, turbo, turbo, turbo_state, init_turbo_enc, ROT270, "Sega", "Turbo (encrypted, program 1262-1264)", MACHINE_IMPERFECT_SOUND, layout_turbo )
|
||||
GAMEL( 1981, turbob, turbo, turbo, turbo, turbo_state, init_turbo_enc, ROT270, "Sega", "Turbo (encrypted, program 1363-1365 rev C)", MACHINE_IMPERFECT_SOUND, layout_turbo )
|
||||
GAMEL( 1981, turboc, turbo, turbo, turbo, turbo_state, init_turbo_enc, ROT270, "Sega", "Turbo (encrypted, program 1363-1365 rev B)", MACHINE_IMPERFECT_SOUND, layout_turbo )
|
||||
GAMEL( 1981, turbod, turbo, turbo, turbo, turbo_state, init_turbo_enc, ROT270, "Sega", "Turbo (encrypted, program 1363-1365 rev A)", MACHINE_IMPERFECT_SOUND, layout_turbo )
|
||||
GAMEL( 1981, turboe, turbo, turbo, turbo, turbo_state, init_turbo_enc, ROT270, "Sega", "Turbo (encrypted, program 1363-1365)", MACHINE_IMPERFECT_SOUND, layout_turbo ) // but still reports 1262-1264 in the test mode?
|
||||
GAMEL( 1981, turbobl, turbo, turbo, turbo, turbo_state, empty_init, ROT270, "bootleg", "Indianapolis (bootleg of Turbo)", MACHINE_IMPERFECT_SOUND, layout_turbo ) // decrypted bootleg of a 1262-1264 set
|
||||
|
||||
GAMEL( 1982, subroc3d, 0, subroc3d, subroc3d, subroc3d_state, empty_init, ORIENTATION_FLIP_X, "Sega", "Subroc-3D", MACHINE_IMPERFECT_SOUND , layout_subroc3d )
|
||||
GAMEL( 1982, subroc3d, 0, subroc3d, subroc3d, subroc3d_state, empty_init, ORIENTATION_FLIP_X, "Sega", "Subroc-3D", MACHINE_IMPERFECT_SOUND, layout_subroc3d )
|
||||
|
||||
GAMEL( 1982, buckrog, 0, buckroge, buckrog, buckrog_state, empty_init, ROT0, "Sega", "Buck Rogers: Planet of Zoom", MACHINE_IMPERFECT_SOUND , layout_buckrog )
|
||||
GAMEL( 1982, buckrogn, buckrog, buckrogu, buckrog, buckrog_state, empty_init, ROT0, "Sega", "Buck Rogers: Planet of Zoom (not encrypted, set 1)", MACHINE_IMPERFECT_SOUND , layout_buckrog )
|
||||
GAMEL( 1982, buckrogn2, buckrog, buckrogu, buckrog, buckrog_state, empty_init, ROT0, "Sega", "Buck Rogers: Planet of Zoom (not encrypted, set 2)", MACHINE_IMPERFECT_SOUND , layout_buckrog )
|
||||
GAMEL( 1982, buckrog, 0, buckroge, buckrog, buckrog_state, empty_init, ROT0, "Sega", "Buck Rogers: Planet of Zoom", MACHINE_IMPERFECT_SOUND, layout_buckrog )
|
||||
GAMEL( 1982, buckrogn, buckrog, buckrogu, buckrog, buckrog_state, empty_init, ROT0, "Sega", "Buck Rogers: Planet of Zoom (not encrypted, set 1)", MACHINE_IMPERFECT_SOUND, layout_buckrog )
|
||||
GAMEL( 1982, buckrogn2, buckrog, buckrogu, buckrog, buckrog_state, empty_init, ROT0, "Sega", "Buck Rogers: Planet of Zoom (not encrypted, set 2)", MACHINE_IMPERFECT_SOUND, layout_buckrog )
|
||||
GAMEL( 1982, zoom909, buckrog, buckroge, buckrog, buckrog_state, empty_init, ROT0, "Sega", "Zoom 909", MACHINE_IMPERFECT_SOUND, layout_buckrog )
|
||||
|
@ -39,6 +39,7 @@ public:
|
||||
, m_gfxdecode(*this, "gfxdecode")
|
||||
, m_screen(*this, "screen")
|
||||
, m_pedal(*this, "PEDAL")
|
||||
, m_dsw(*this, "DSW%u", 1U)
|
||||
, m_digits(*this, "digit%u", 0U)
|
||||
, m_lamp(*this, "lamp")
|
||||
{ }
|
||||
@ -55,7 +56,6 @@ protected:
|
||||
|
||||
required_region_ptr<uint8_t> m_spriteroms;
|
||||
required_region_ptr<uint8_t> m_proms;
|
||||
|
||||
required_shared_ptr<uint8_t> m_videoram;
|
||||
required_shared_ptr<uint8_t> m_sprite_position;
|
||||
|
||||
@ -66,6 +66,7 @@ protected:
|
||||
required_device<screen_device> m_screen;
|
||||
|
||||
optional_ioport m_pedal;
|
||||
optional_ioport_array<3> m_dsw;
|
||||
output_finder<32> m_digits;
|
||||
output_finder<> m_lamp;
|
||||
|
||||
@ -108,7 +109,6 @@ public:
|
||||
, m_spriteram(*this, "spriteram")
|
||||
, m_bitmap_ram(*this, "bitmap_ram", 0xe000, ENDIANNESS_LITTLE)
|
||||
, m_bgcolorrom(*this, "bgcolor")
|
||||
, m_dsw(*this, "DSW%u", 1U)
|
||||
{ }
|
||||
|
||||
void buckrog(machine_config &config);
|
||||
@ -126,7 +126,6 @@ private:
|
||||
required_shared_ptr<uint8_t> m_spriteram;
|
||||
memory_share_creator<uint8_t> m_bitmap_ram;
|
||||
required_region_ptr<uint8_t> m_bgcolorrom;
|
||||
required_ioport_array<2> m_dsw;
|
||||
|
||||
uint8_t m_fchg;
|
||||
uint8_t m_mov;
|
||||
@ -211,9 +210,8 @@ public:
|
||||
turbo_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||
: turbo_base_state(mconfig, type, tag)
|
||||
, m_roadroms(*this, "road")
|
||||
, m_alt_spriteram(*this, "alt_spriteram", 0x80, ENDIANNESS_LITTLE)
|
||||
, m_spriteram(*this, "spriteram", 0x80, ENDIANNESS_LITTLE)
|
||||
, m_vr(*this, "VR%u", 1U)
|
||||
, m_dsw3(*this, "DSW3")
|
||||
, m_dial(*this, "DIAL")
|
||||
, m_tachometer(*this, "tachometer")
|
||||
, m_speed(*this, "speed")
|
||||
@ -229,9 +227,8 @@ protected:
|
||||
|
||||
private:
|
||||
required_region_ptr<uint8_t> m_roadroms;
|
||||
memory_share_creator<uint8_t> m_alt_spriteram;
|
||||
memory_share_creator<uint8_t> m_spriteram;
|
||||
required_ioport_array<2> m_vr;
|
||||
required_ioport m_dsw3;
|
||||
required_ioport m_dial;
|
||||
output_finder<> m_tachometer;
|
||||
output_finder<> m_speed;
|
||||
|
@ -235,7 +235,7 @@ void turbo_state::prepare_sprites(uint8_t y)
|
||||
// compute the sprite information, which was done on the previous scanline during HBLANK
|
||||
for (int sprnum = 0; sprnum < 16; sprnum++)
|
||||
{
|
||||
uint8_t *rambase = &m_alt_spriteram[sprnum * 8];
|
||||
uint8_t *rambase = &m_spriteram[sprnum * 8];
|
||||
int level = sprnum & 7;
|
||||
uint8_t clo, chi;
|
||||
uint32_t sum;
|
||||
|
Loading…
Reference in New Issue
Block a user