TI incollo un esempio dal mio mame.xml del mame 0.153:
Codice: Seleziona tutto
<game name="zekepeak" sourcefile="icecold.c" ismechanical="yes" cloneof="icecold" romof="icecold">
<description>Zeke's Peak</description>
<year>1983</year>
<manufacturer>Taito</manufacturer>
<rom name="zp23.bin" size="8192" crc="ef959586" sha1="7f8a4787b340bfa34180164806b181b5fb4e5cfa" region="maincpu" offset="e000"/>
<rom name="zp24.bin" size="8192" crc="ee90c8f5" sha1="27a513000e90536e485ccdf43786b415b3c95bd7" region="maincpu" offset="c000"/>
<device_ref name="m6809"/>
<device_ref name="pia6821"/>
<device_ref name="pia6821"/>
<device_ref name="pia6821"/>
<device_ref name="i8279"/>
<device_ref name="timer"/>
<device_ref name="timer"/>
<device_ref name="speaker"/>
<device_ref name="ay8910"/>
<device_ref name="ay8910"/>
<chip type="cpu" tag="maincpu" name="M6809" clock="1500000"/>
<chip type="audio" tag="mono" name="Speaker"/>
<chip type="audio" tag="ay0" name="AY-3-8910A" clock="1500000"/>
<chip type="audio" tag="ay1" name="AY-3-8910A" clock="1500000"/>
<sound channels="1"/>
<input players="1" coins="1" service="yes">
<control type="doublejoy" ways="vertical2" ways2="vertical2"/>
</input>
<dipswitch name="Automatic Attract Mode" tag="DSW3" mask="1">
<dipvalue name="Off" value="0"/>
<dipvalue name="On" value="1" default="yes"/>
</dipswitch>
<dipswitch name="Rounds to Complete to Light Star" tag="DSW3" mask="2">
<dipvalue name="1 Frame" value="0" default="yes"/>
<dipvalue name="2 Frames" value="2"/>
</dipswitch>
<dipswitch name="Automatic Attract Mode Delay" tag="DSW3" mask="12">
<dipvalue name="1 Min" value="0" default="yes"/>
<dipvalue name="5 Min" value="4"/>
<dipvalue name="10 Min" value="8"/>
<dipvalue name="15 Min" value="12"/>
</dipswitch>
<dipswitch name="Manual Attract Mode Delay" tag="DSW3" mask="48">
<dipvalue name="0 Min" value="0" default="yes"/>
<dipvalue name="2 Min" value="16"/>
<dipvalue name="5 Min" value="32"/>
<dipvalue name="10 Min" value="48"/>
</dipswitch>
<dipswitch name="Difficulty (Prompt Time)" tag="DSW3" mask="192">
<dipvalue name="Easy (5, 4, 2, 1)" value="0" default="yes"/>
<dipvalue name="Factory (4, 2, 1, 1)" value="64"/>
<dipvalue name="Hard (2, 2, 1, 1)" value="128"/>
<dipvalue name="X-Hard (1, 1, 1, 1)" value="192"/>
</dipswitch>
<dipswitch name="Dispense Option" tag="DSW4" mask="7">
<dipvalue name="Disabled" value="0" default="yes"/>
<dipvalue name="2 Tickets after Hole 6, 3 Tickets after Hole 10" value="1"/>
<dipvalue name="1 Ticket after Holes 5 - 10" value="2"/>
<dipvalue name="No Tickets Dispensed" value="3"/>
<dipvalue name="5 Tickets after Hole 5" value="4"/>
<dipvalue name="No Tickets Dispensed" value="5"/>
<dipvalue name="5 Tickets after Hole 10" value="6"/>
<dipvalue name="No Tickets Dispensed" value="7"/>
</dipswitch>
<dipswitch name="Coin A" tag="DSW4" mask="8">
<dipvalue name="2 Coins/1 Credit" value="0"/>
<dipvalue name="1 Coin/1 Credit" value="8" default="yes"/>
</dipswitch>
<dipswitch name="Score for Extra Ball" tag="DSW4" mask="48">
<dipvalue name="No Extra Ball" value="0" default="yes"/>
<dipvalue name="2000" value="16"/>
<dipvalue name="4000" value="32"/>
<dipvalue name="8000" value="48"/>
</dipswitch>
<dipswitch name="Bonus Countdown Speed" tag="DSW4" mask="192">
<dipvalue name="Slow" value="0" default="yes"/>
<dipvalue name="Factory" value="64"/>
<dipvalue name="Fast" value="128"/>
<dipvalue name="X-Fast" value="192"/>
</dipswitch>
<port tag=":DSW3">
</port>
<port tag=":DSW4">
</port>
<port tag=":TEST">
</port>
<port tag=":JOY">
</port>
<port tag=":X0">
</port>
<port tag=":X1">
</port>
<port tag=":X2">
</port>
<driver status="preliminary" emulation="preliminary" color="good" sound="good" graphic="good" savestate="unsupported"/>
</game>