<?xml version="1.0"?>
<!DOCTYPE mame [
<!ELEMENT mame (machine+)>
	<!ATTLIST mame build CDATA #IMPLIED>
	<!ATTLIST mame debug (yes|no) "no">
	<!ATTLIST mame mameconfig CDATA #REQUIRED>
	<!ELEMENT machine (description, year?, manufacturer?, biosset*, rom*, disk*, device_ref*, sample*, chip*, display*, sound?, input?, dipswitch*, configuration*, port*, adjuster*, driver?, feature*, device*, slot*, softwarelist*, ramoption*)>
		<!ATTLIST machine name CDATA #REQUIRED>
		<!ATTLIST machine sourcefile CDATA #IMPLIED>
		<!ATTLIST machine isbios (yes|no) "no">
		<!ATTLIST machine isdevice (yes|no) "no">
		<!ATTLIST machine ismechanical (yes|no) "no">
		<!ATTLIST machine runnable (yes|no) "yes">
		<!ATTLIST machine cloneof CDATA #IMPLIED>
		<!ATTLIST machine romof CDATA #IMPLIED>
		<!ATTLIST machine sampleof CDATA #IMPLIED>
		<!ELEMENT description (#PCDATA)>
		<!ELEMENT year (#PCDATA)>
		<!ELEMENT manufacturer (#PCDATA)>
		<!ELEMENT biosset EMPTY>
			<!ATTLIST biosset name CDATA #REQUIRED>
			<!ATTLIST biosset description CDATA #REQUIRED>
			<!ATTLIST biosset default (yes|no) "no">
		<!ELEMENT rom EMPTY>
			<!ATTLIST rom name CDATA #REQUIRED>
			<!ATTLIST rom bios CDATA #IMPLIED>
			<!ATTLIST rom size CDATA #REQUIRED>
			<!ATTLIST rom crc CDATA #IMPLIED>
			<!ATTLIST rom sha1 CDATA #IMPLIED>
			<!ATTLIST rom merge CDATA #IMPLIED>
			<!ATTLIST rom region CDATA #IMPLIED>
			<!ATTLIST rom offset CDATA #IMPLIED>
			<!ATTLIST rom status (baddump|nodump|good) "good">
			<!ATTLIST rom optional (yes|no) "no">
		<!ELEMENT disk EMPTY>
			<!ATTLIST disk name CDATA #REQUIRED>
			<!ATTLIST disk sha1 CDATA #IMPLIED>
			<!ATTLIST disk merge CDATA #IMPLIED>
			<!ATTLIST disk region CDATA #IMPLIED>
			<!ATTLIST disk index CDATA #IMPLIED>
			<!ATTLIST disk writable (yes|no) "no">
			<!ATTLIST disk status (baddump|nodump|good) "good">
			<!ATTLIST disk optional (yes|no) "no">
		<!ELEMENT device_ref EMPTY>
			<!ATTLIST device_ref tag CDATA #REQUIRED>
			<!ATTLIST device_ref name CDATA #REQUIRED>
		<!ELEMENT sample EMPTY>
			<!ATTLIST sample name CDATA #REQUIRED>
		<!ELEMENT chip EMPTY>
			<!ATTLIST chip name CDATA #REQUIRED>
			<!ATTLIST chip tag CDATA #IMPLIED>
			<!ATTLIST chip type (cpu|audio) #REQUIRED>
			<!ATTLIST chip clock CDATA #IMPLIED>
		<!ELEMENT display EMPTY>
			<!ATTLIST display tag CDATA #IMPLIED>
			<!ATTLIST display type (raster|vector|lcd|svg|unknown) #REQUIRED>
			<!ATTLIST display rotate (0|90|180|270) #IMPLIED>
			<!ATTLIST display flipx (yes|no) "no">
			<!ATTLIST display width CDATA #IMPLIED>
			<!ATTLIST display height CDATA #IMPLIED>
			<!ATTLIST display refresh CDATA #REQUIRED>
			<!ATTLIST display pixclock CDATA #IMPLIED>
			<!ATTLIST display htotal CDATA #IMPLIED>
			<!ATTLIST display hbend CDATA #IMPLIED>
			<!ATTLIST display hbstart CDATA #IMPLIED>
			<!ATTLIST display vtotal CDATA #IMPLIED>
			<!ATTLIST display vbend CDATA #IMPLIED>
			<!ATTLIST display vbstart CDATA #IMPLIED>
		<!ELEMENT sound EMPTY>
			<!ATTLIST sound channels CDATA #REQUIRED>
		<!ELEMENT condition EMPTY>
			<!ATTLIST condition tag CDATA #REQUIRED>
			<!ATTLIST condition mask CDATA #REQUIRED>
			<!ATTLIST condition relation (eq|ne|gt|le|lt|ge) #REQUIRED>
			<!ATTLIST condition value CDATA #REQUIRED>
		<!ELEMENT input (control*)>
			<!ATTLIST input service (yes|no) "no">
			<!ATTLIST input tilt (yes|no) "no">
			<!ATTLIST input players CDATA #REQUIRED>
			<!ATTLIST input coins CDATA #IMPLIED>
			<!ELEMENT control EMPTY>
				<!ATTLIST control type CDATA #REQUIRED>
				<!ATTLIST control player CDATA #IMPLIED>
				<!ATTLIST control buttons CDATA #IMPLIED>
				<!ATTLIST control minimum CDATA #IMPLIED>
				<!ATTLIST control maximum CDATA #IMPLIED>
				<!ATTLIST control sensitivity CDATA #IMPLIED>
				<!ATTLIST control keydelta CDATA #IMPLIED>
				<!ATTLIST control reverse (yes|no) "no">
				<!ATTLIST control ways CDATA #IMPLIED>
				<!ATTLIST control ways2 CDATA #IMPLIED>
				<!ATTLIST control ways3 CDATA #IMPLIED>
		<!ELEMENT dipswitch (condition?, diplocation*, dipvalue*)>
			<!ATTLIST dipswitch name CDATA #REQUIRED>
			<!ATTLIST dipswitch tag CDATA #REQUIRED>
			<!ATTLIST dipswitch mask CDATA #REQUIRED>
			<!ELEMENT diplocation EMPTY>
				<!ATTLIST diplocation name CDATA #REQUIRED>
				<!ATTLIST diplocation number CDATA #REQUIRED>
				<!ATTLIST diplocation inverted (yes|no) "no">
			<!ELEMENT dipvalue (condition?)>
				<!ATTLIST dipvalue name CDATA #REQUIRED>
				<!ATTLIST dipvalue value CDATA #REQUIRED>
				<!ATTLIST dipvalue default (yes|no) "no">
		<!ELEMENT configuration (condition?, conflocation*, confsetting*)>
			<!ATTLIST configuration name CDATA #REQUIRED>
			<!ATTLIST configuration tag CDATA #REQUIRED>
			<!ATTLIST configuration mask CDATA #REQUIRED>
			<!ELEMENT conflocation EMPTY>
				<!ATTLIST conflocation name CDATA #REQUIRED>
				<!ATTLIST conflocation number CDATA #REQUIRED>
				<!ATTLIST conflocation inverted (yes|no) "no">
			<!ELEMENT confsetting (condition?)>
				<!ATTLIST confsetting name CDATA #REQUIRED>
				<!ATTLIST confsetting value CDATA #REQUIRED>
				<!ATTLIST confsetting default (yes|no) "no">
		<!ELEMENT port (analog*)>
			<!ATTLIST port tag CDATA #REQUIRED>
			<!ELEMENT analog EMPTY>
				<!ATTLIST analog mask CDATA #REQUIRED>
		<!ELEMENT adjuster (condition?)>
			<!ATTLIST adjuster name CDATA #REQUIRED>
			<!ATTLIST adjuster default CDATA #REQUIRED>
		<!ELEMENT driver EMPTY>
			<!ATTLIST driver status (good|imperfect|preliminary) #REQUIRED>
			<!ATTLIST driver emulation (good|imperfect|preliminary) #REQUIRED>
			<!ATTLIST driver cocktail (good|imperfect|preliminary) #IMPLIED>
			<!ATTLIST driver savestate (supported|unsupported) #REQUIRED>
			<!ATTLIST driver requiresartwork (yes|no) "no">
			<!ATTLIST driver unofficial (yes|no) "no">
			<!ATTLIST driver nosoundhardware (yes|no) "no">
			<!ATTLIST driver incomplete (yes|no) "no">
		<!ELEMENT feature EMPTY>
			<!ATTLIST feature type (protection|timing|graphics|palette|sound|capture|camera|microphone|controls|keyboard|mouse|media|disk|printer|tape|punch|drum|rom|comms|lan|wan) #REQUIRED>
			<!ATTLIST feature status (unemulated|imperfect) #IMPLIED>
			<!ATTLIST feature overall (unemulated|imperfect) #IMPLIED>
		<!ELEMENT device (instance?, extension*)>
			<!ATTLIST device type CDATA #REQUIRED>
			<!ATTLIST device tag CDATA #IMPLIED>
			<!ATTLIST device fixed_image CDATA #IMPLIED>
			<!ATTLIST device mandatory CDATA #IMPLIED>
			<!ATTLIST device interface CDATA #IMPLIED>
			<!ELEMENT instance EMPTY>
				<!ATTLIST instance name CDATA #REQUIRED>
				<!ATTLIST instance briefname CDATA #REQUIRED>
			<!ELEMENT extension EMPTY>
				<!ATTLIST extension name CDATA #REQUIRED>
		<!ELEMENT slot (slotoption*)>
			<!ATTLIST slot name CDATA #REQUIRED>
			<!ELEMENT slotoption EMPTY>
				<!ATTLIST slotoption name CDATA #REQUIRED>
				<!ATTLIST slotoption devname CDATA #REQUIRED>
				<!ATTLIST slotoption default (yes|no) "no">
		<!ELEMENT softwarelist EMPTY>
			<!ATTLIST softwarelist tag CDATA #REQUIRED>
			<!ATTLIST softwarelist name CDATA #REQUIRED>
			<!ATTLIST softwarelist status (original|compatible) #REQUIRED>
			<!ATTLIST softwarelist filter CDATA #IMPLIED>
		<!ELEMENT ramoption (#PCDATA)>
			<!ATTLIST ramoption name CDATA #REQUIRED>
			<!ATTLIST ramoption default CDATA #IMPLIED>
]>

<mame build="0.285 (unknown)" debug="no" mameconfig="10">
	<machine name="aliens" sourcefile="konami/aliens.cpp">
		<description>Aliens (World set 1)</description>
		<year>1990</year>
		<manufacturer>Konami</manufacturer>
		<rom name="875_j01.c24" size="131072" crc="6a529cd6" sha1="bff6dee33141d8ed2b2c28813cf49f52dceac364" region="maincpu" offset="0"/>
		<rom name="875_j02.e24" size="65536" crc="56c20971" sha1="af272e146705e97342466a208c64d823ebc83d83" region="maincpu" offset="20000"/>
		<rom name="875_b03.g04" size="32768" crc="1ac4d283" sha1="2253f1f39c7edb6cef438b3d97f3af67a1f491ff" region="audiocpu" offset="0"/>
		<rom name="875b11.k13" size="524288" crc="89c5c885" sha1="02a1581579b6ef816e04bec312a7b3ae7c7e84f8" region="k052109" offset="0"/>
		<rom name="875b12.k19" size="524288" crc="ea6bdc17" sha1="a7c22370f8adc5b479283f1ff831f493df78282f" region="k052109" offset="2"/>
		<rom name="875b07.j13" size="262144" crc="e9c56d66" sha1="1f58949d5391aef002a6e1ee7034e57bf99cee61" region="k052109" offset="100000"/>
		<rom name="875b08.j19" size="262144" crc="f9387966" sha1="470ecc4a5a3edd08d5e0ab10b0c590db1968fb0a" region="k052109" offset="100002"/>
		<rom name="875b10.k08" size="524288" crc="0b1035b1" sha1="db04020761386e79249762cd1540208375c38c7f" region="k051960" offset="0"/>
		<rom name="875b09.k02" size="524288" crc="e76b3c19" sha1="6838e07460b3eaaeb129208ad0696c8019bd63d9" region="k051960" offset="2"/>
		<rom name="875b06.j08" size="262144" crc="081a0566" sha1="3a4aa14178fe76a030224743c9e9cd974e08bd79" region="k051960" offset="100000"/>
		<rom name="875b05.j02" size="262144" crc="19a261f2" sha1="b0518fad833b3e613e0201d5d9cab73dc5e78e1d" region="k051960" offset="100002"/>
		<rom name="821a08.h14" size="256" crc="7da55800" sha1="3826f73569c8ae0431510a355bdfa082152b74a5" region="proms" offset="0"/>
		<rom name="875b04.e05" size="262144" crc="4e209ac8" sha1="09d9eaae61bfd04bf318555ccd44d7371571d86d" region="k007232" offset="0"/>
		<device_ref tag=":maincpu" name="konami_cpu"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k051960" name="k051960"/>
		<device_ref tag=":mono" name="speaker"/>
		<device_ref tag=":soundlatch" name="generic_latch_8"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k007232" name="k007232"/>
		<chip type="cpu" tag="maincpu" name="KONAMI CPU" clock="12000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="mono" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k007232" name="Konami 007232 PCM Controller" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="16" hbstart="304" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
		</input>
		<dipswitch name="Coin A" tag="DSW1" mask="15">
			<diplocation name="SW1" number="1"/>
			<diplocation name="SW1" number="2"/>
			<diplocation name="SW1" number="3"/>
			<diplocation name="SW1" number="4"/>
			<dipvalue name="4 Coins/1 Credit" value="2"/>
			<dipvalue name="3 Coins/1 Credit" value="5"/>
			<dipvalue name="2 Coins/1 Credit" value="8"/>
			<dipvalue name="3 Coins/2 Credits" value="4"/>
			<dipvalue name="4 Coins/3 Credits" value="1"/>
			<dipvalue name="1 Coin/1 Credit" value="15" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="3"/>
			<dipvalue name="2 Coins/3 Credits" value="7"/>
			<dipvalue name="1 Coin/2 Credits" value="14"/>
			<dipvalue name="2 Coins/5 Credits" value="6"/>
			<dipvalue name="1 Coin/3 Credits" value="13"/>
			<dipvalue name="1 Coin/4 Credits" value="12"/>
			<dipvalue name="1 Coin/5 Credits" value="11"/>
			<dipvalue name="1 Coin/6 Credits" value="10"/>
			<dipvalue name="1 Coin/7 Credits" value="9"/>
			<dipvalue name="Free Play" value="0"/>
		</dipswitch>
		<dipswitch name="Coin B" tag="DSW1" mask="240">
			<diplocation name="SW1" number="5"/>
			<diplocation name="SW1" number="6"/>
			<diplocation name="SW1" number="7"/>
			<diplocation name="SW1" number="8"/>
			<dipvalue name="4 Coins/1 Credit" value="32"/>
			<dipvalue name="3 Coins/1 Credit" value="80"/>
			<dipvalue name="2 Coins/1 Credit" value="128"/>
			<dipvalue name="3 Coins/2 Credits" value="64"/>
			<dipvalue name="4 Coins/3 Credits" value="16"/>
			<dipvalue name="1 Coin/1 Credit" value="240" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="48"/>
			<dipvalue name="2 Coins/3 Credits" value="112"/>
			<dipvalue name="1 Coin/2 Credits" value="224"/>
			<dipvalue name="2 Coins/5 Credits" value="96"/>
			<dipvalue name="1 Coin/3 Credits" value="208"/>
			<dipvalue name="1 Coin/4 Credits" value="192"/>
			<dipvalue name="1 Coin/5 Credits" value="176"/>
			<dipvalue name="1 Coin/6 Credits" value="160"/>
			<dipvalue name="1 Coin/7 Credits" value="144"/>
			<dipvalue name="No Credits" value="0"/>
		</dipswitch>
		<dipswitch name="Lives" tag="DSW2" mask="3">
			<diplocation name="SW2" number="1"/>
			<diplocation name="SW2" number="2"/>
			<dipvalue name="1" value="3"/>
			<dipvalue name="2" value="2" default="yes"/>
			<dipvalue name="3" value="1"/>
			<dipvalue name="5" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="4">
			<diplocation name="SW2" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="8">
			<diplocation name="SW2" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="16">
			<diplocation name="SW2" number="5"/>
			<dipvalue name="Off" value="16" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Difficulty" tag="DSW2" mask="96">
			<diplocation name="SW2" number="6"/>
			<diplocation name="SW2" number="7"/>
			<dipvalue name="Easy" value="96"/>
			<dipvalue name="Normal" value="64" default="yes"/>
			<dipvalue name="Hard" value="32"/>
			<dipvalue name="Very Hard" value="0"/>
		</dipswitch>
		<dipswitch name="Demo Sounds" tag="DSW2" mask="128">
			<diplocation name="SW2" number="8"/>
			<dipvalue name="Off" value="128"/>
			<dipvalue name="On" value="0" default="yes"/>
		</dipswitch>
		<dipswitch name="Flip Screen" tag="DSW3" mask="1">
			<diplocation name="SW3" number="1"/>
			<dipvalue name="Off" value="1" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="2">
			<diplocation name="SW3" number="2"/>
			<dipvalue name="Off" value="2" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Service Mode" tag="DSW3" mask="4">
			<diplocation name="SW3" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="8">
			<diplocation name="SW3" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<port tag=":DSW1">
		</port>
		<port tag=":DSW2">
		</port>
		<port tag=":DSW3">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="aliens2" sourcefile="konami/aliens.cpp" cloneof="aliens" romof="aliens">
		<description>Aliens (World set 2)</description>
		<year>1990</year>
		<manufacturer>Konami</manufacturer>
		<rom name="875_n01.c24" size="131072" crc="106cf59c" sha1="78622adc02055d31cd587c83b23a6cde30c9bc22" region="maincpu" offset="0"/>
		<rom name="875_p02.e24" size="65536" crc="4edd707d" sha1="02b39068e5fd99ecb5b35a586335b65a20fde490" region="maincpu" offset="20000"/>
		<rom name="875_b03.g04" merge="875_b03.g04" size="32768" crc="1ac4d283" sha1="2253f1f39c7edb6cef438b3d97f3af67a1f491ff" region="audiocpu" offset="0"/>
		<rom name="875b11.k13" merge="875b11.k13" size="524288" crc="89c5c885" sha1="02a1581579b6ef816e04bec312a7b3ae7c7e84f8" region="k052109" offset="0"/>
		<rom name="875b12.k19" merge="875b12.k19" size="524288" crc="ea6bdc17" sha1="a7c22370f8adc5b479283f1ff831f493df78282f" region="k052109" offset="2"/>
		<rom name="875b07.j13" merge="875b07.j13" size="262144" crc="e9c56d66" sha1="1f58949d5391aef002a6e1ee7034e57bf99cee61" region="k052109" offset="100000"/>
		<rom name="875b08.j19" merge="875b08.j19" size="262144" crc="f9387966" sha1="470ecc4a5a3edd08d5e0ab10b0c590db1968fb0a" region="k052109" offset="100002"/>
		<rom name="875b10.k08" merge="875b10.k08" size="524288" crc="0b1035b1" sha1="db04020761386e79249762cd1540208375c38c7f" region="k051960" offset="0"/>
		<rom name="875b09.k02" merge="875b09.k02" size="524288" crc="e76b3c19" sha1="6838e07460b3eaaeb129208ad0696c8019bd63d9" region="k051960" offset="2"/>
		<rom name="875b06.j08" merge="875b06.j08" size="262144" crc="081a0566" sha1="3a4aa14178fe76a030224743c9e9cd974e08bd79" region="k051960" offset="100000"/>
		<rom name="875b05.j02" merge="875b05.j02" size="262144" crc="19a261f2" sha1="b0518fad833b3e613e0201d5d9cab73dc5e78e1d" region="k051960" offset="100002"/>
		<rom name="821a08.h14" merge="821a08.h14" size="256" crc="7da55800" sha1="3826f73569c8ae0431510a355bdfa082152b74a5" region="proms" offset="0"/>
		<rom name="875b04.e05" merge="875b04.e05" size="262144" crc="4e209ac8" sha1="09d9eaae61bfd04bf318555ccd44d7371571d86d" region="k007232" offset="0"/>
		<device_ref tag=":maincpu" name="konami_cpu"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k051960" name="k051960"/>
		<device_ref tag=":mono" name="speaker"/>
		<device_ref tag=":soundlatch" name="generic_latch_8"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k007232" name="k007232"/>
		<chip type="cpu" tag="maincpu" name="KONAMI CPU" clock="12000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="mono" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k007232" name="Konami 007232 PCM Controller" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="16" hbstart="304" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
		</input>
		<dipswitch name="Coin A" tag="DSW1" mask="15">
			<diplocation name="SW1" number="1"/>
			<diplocation name="SW1" number="2"/>
			<diplocation name="SW1" number="3"/>
			<diplocation name="SW1" number="4"/>
			<dipvalue name="4 Coins/1 Credit" value="2"/>
			<dipvalue name="3 Coins/1 Credit" value="5"/>
			<dipvalue name="2 Coins/1 Credit" value="8"/>
			<dipvalue name="3 Coins/2 Credits" value="4"/>
			<dipvalue name="4 Coins/3 Credits" value="1"/>
			<dipvalue name="1 Coin/1 Credit" value="15" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="3"/>
			<dipvalue name="2 Coins/3 Credits" value="7"/>
			<dipvalue name="1 Coin/2 Credits" value="14"/>
			<dipvalue name="2 Coins/5 Credits" value="6"/>
			<dipvalue name="1 Coin/3 Credits" value="13"/>
			<dipvalue name="1 Coin/4 Credits" value="12"/>
			<dipvalue name="1 Coin/5 Credits" value="11"/>
			<dipvalue name="1 Coin/6 Credits" value="10"/>
			<dipvalue name="1 Coin/7 Credits" value="9"/>
			<dipvalue name="Free Play" value="0"/>
		</dipswitch>
		<dipswitch name="Coin B" tag="DSW1" mask="240">
			<diplocation name="SW1" number="5"/>
			<diplocation name="SW1" number="6"/>
			<diplocation name="SW1" number="7"/>
			<diplocation name="SW1" number="8"/>
			<dipvalue name="4 Coins/1 Credit" value="32"/>
			<dipvalue name="3 Coins/1 Credit" value="80"/>
			<dipvalue name="2 Coins/1 Credit" value="128"/>
			<dipvalue name="3 Coins/2 Credits" value="64"/>
			<dipvalue name="4 Coins/3 Credits" value="16"/>
			<dipvalue name="1 Coin/1 Credit" value="240" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="48"/>
			<dipvalue name="2 Coins/3 Credits" value="112"/>
			<dipvalue name="1 Coin/2 Credits" value="224"/>
			<dipvalue name="2 Coins/5 Credits" value="96"/>
			<dipvalue name="1 Coin/3 Credits" value="208"/>
			<dipvalue name="1 Coin/4 Credits" value="192"/>
			<dipvalue name="1 Coin/5 Credits" value="176"/>
			<dipvalue name="1 Coin/6 Credits" value="160"/>
			<dipvalue name="1 Coin/7 Credits" value="144"/>
			<dipvalue name="No Credits" value="0"/>
		</dipswitch>
		<dipswitch name="Lives" tag="DSW2" mask="3">
			<diplocation name="SW2" number="1"/>
			<diplocation name="SW2" number="2"/>
			<dipvalue name="1" value="3"/>
			<dipvalue name="2" value="2" default="yes"/>
			<dipvalue name="3" value="1"/>
			<dipvalue name="5" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="4">
			<diplocation name="SW2" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="8">
			<diplocation name="SW2" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="16">
			<diplocation name="SW2" number="5"/>
			<dipvalue name="Off" value="16" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Difficulty" tag="DSW2" mask="96">
			<diplocation name="SW2" number="6"/>
			<diplocation name="SW2" number="7"/>
			<dipvalue name="Easy" value="96"/>
			<dipvalue name="Normal" value="64" default="yes"/>
			<dipvalue name="Hard" value="32"/>
			<dipvalue name="Very Hard" value="0"/>
		</dipswitch>
		<dipswitch name="Demo Sounds" tag="DSW2" mask="128">
			<diplocation name="SW2" number="8"/>
			<dipvalue name="Off" value="128"/>
			<dipvalue name="On" value="0" default="yes"/>
		</dipswitch>
		<dipswitch name="Flip Screen" tag="DSW3" mask="1">
			<diplocation name="SW3" number="1"/>
			<dipvalue name="Off" value="1" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="2">
			<diplocation name="SW3" number="2"/>
			<dipvalue name="Off" value="2" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Service Mode" tag="DSW3" mask="4">
			<diplocation name="SW3" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="8">
			<diplocation name="SW3" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<port tag=":DSW1">
		</port>
		<port tag=":DSW2">
		</port>
		<port tag=":DSW3">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="aliens3" sourcefile="konami/aliens.cpp" cloneof="aliens" romof="aliens">
		<description>Aliens (World set 3)</description>
		<year>1990</year>
		<manufacturer>Konami</manufacturer>
		<rom name="875_c01.c24" size="131072" crc="3c0006fb" sha1="e8730d50c358e7321dd676c74368fe44b9bbe5b2" region="maincpu" offset="0"/>
		<rom name="875_w3_2.e24" size="65536" crc="f917f7b5" sha1="ab95ad40c82f11572bbaa03d76dae35f76bacf0c" region="maincpu" offset="20000"/>
		<rom name="875_b03.g04" merge="875_b03.g04" size="32768" crc="1ac4d283" sha1="2253f1f39c7edb6cef438b3d97f3af67a1f491ff" region="audiocpu" offset="0"/>
		<rom name="875b11.k13" merge="875b11.k13" size="524288" crc="89c5c885" sha1="02a1581579b6ef816e04bec312a7b3ae7c7e84f8" region="k052109" offset="0"/>
		<rom name="875b12.k19" merge="875b12.k19" size="524288" crc="ea6bdc17" sha1="a7c22370f8adc5b479283f1ff831f493df78282f" region="k052109" offset="2"/>
		<rom name="875b07.j13" merge="875b07.j13" size="262144" crc="e9c56d66" sha1="1f58949d5391aef002a6e1ee7034e57bf99cee61" region="k052109" offset="100000"/>
		<rom name="875b08.j19" merge="875b08.j19" size="262144" crc="f9387966" sha1="470ecc4a5a3edd08d5e0ab10b0c590db1968fb0a" region="k052109" offset="100002"/>
		<rom name="875b10.k08" merge="875b10.k08" size="524288" crc="0b1035b1" sha1="db04020761386e79249762cd1540208375c38c7f" region="k051960" offset="0"/>
		<rom name="875b09.k02" merge="875b09.k02" size="524288" crc="e76b3c19" sha1="6838e07460b3eaaeb129208ad0696c8019bd63d9" region="k051960" offset="2"/>
		<rom name="875b06.j08" merge="875b06.j08" size="262144" crc="081a0566" sha1="3a4aa14178fe76a030224743c9e9cd974e08bd79" region="k051960" offset="100000"/>
		<rom name="875b05.j02" merge="875b05.j02" size="262144" crc="19a261f2" sha1="b0518fad833b3e613e0201d5d9cab73dc5e78e1d" region="k051960" offset="100002"/>
		<rom name="821a08.h14" merge="821a08.h14" size="256" crc="7da55800" sha1="3826f73569c8ae0431510a355bdfa082152b74a5" region="proms" offset="0"/>
		<rom name="875b04.e05" merge="875b04.e05" size="262144" crc="4e209ac8" sha1="09d9eaae61bfd04bf318555ccd44d7371571d86d" region="k007232" offset="0"/>
		<device_ref tag=":maincpu" name="konami_cpu"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k051960" name="k051960"/>
		<device_ref tag=":mono" name="speaker"/>
		<device_ref tag=":soundlatch" name="generic_latch_8"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k007232" name="k007232"/>
		<chip type="cpu" tag="maincpu" name="KONAMI CPU" clock="12000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="mono" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k007232" name="Konami 007232 PCM Controller" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="16" hbstart="304" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
		</input>
		<dipswitch name="Coin A" tag="DSW1" mask="15">
			<diplocation name="SW1" number="1"/>
			<diplocation name="SW1" number="2"/>
			<diplocation name="SW1" number="3"/>
			<diplocation name="SW1" number="4"/>
			<dipvalue name="4 Coins/1 Credit" value="2"/>
			<dipvalue name="3 Coins/1 Credit" value="5"/>
			<dipvalue name="2 Coins/1 Credit" value="8"/>
			<dipvalue name="3 Coins/2 Credits" value="4"/>
			<dipvalue name="4 Coins/3 Credits" value="1"/>
			<dipvalue name="1 Coin/1 Credit" value="15" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="3"/>
			<dipvalue name="2 Coins/3 Credits" value="7"/>
			<dipvalue name="1 Coin/2 Credits" value="14"/>
			<dipvalue name="2 Coins/5 Credits" value="6"/>
			<dipvalue name="1 Coin/3 Credits" value="13"/>
			<dipvalue name="1 Coin/4 Credits" value="12"/>
			<dipvalue name="1 Coin/5 Credits" value="11"/>
			<dipvalue name="1 Coin/6 Credits" value="10"/>
			<dipvalue name="1 Coin/7 Credits" value="9"/>
			<dipvalue name="Free Play" value="0"/>
		</dipswitch>
		<dipswitch name="Coin B" tag="DSW1" mask="240">
			<diplocation name="SW1" number="5"/>
			<diplocation name="SW1" number="6"/>
			<diplocation name="SW1" number="7"/>
			<diplocation name="SW1" number="8"/>
			<dipvalue name="4 Coins/1 Credit" value="32"/>
			<dipvalue name="3 Coins/1 Credit" value="80"/>
			<dipvalue name="2 Coins/1 Credit" value="128"/>
			<dipvalue name="3 Coins/2 Credits" value="64"/>
			<dipvalue name="4 Coins/3 Credits" value="16"/>
			<dipvalue name="1 Coin/1 Credit" value="240" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="48"/>
			<dipvalue name="2 Coins/3 Credits" value="112"/>
			<dipvalue name="1 Coin/2 Credits" value="224"/>
			<dipvalue name="2 Coins/5 Credits" value="96"/>
			<dipvalue name="1 Coin/3 Credits" value="208"/>
			<dipvalue name="1 Coin/4 Credits" value="192"/>
			<dipvalue name="1 Coin/5 Credits" value="176"/>
			<dipvalue name="1 Coin/6 Credits" value="160"/>
			<dipvalue name="1 Coin/7 Credits" value="144"/>
			<dipvalue name="No Credits" value="0"/>
		</dipswitch>
		<dipswitch name="Lives" tag="DSW2" mask="3">
			<diplocation name="SW2" number="1"/>
			<diplocation name="SW2" number="2"/>
			<dipvalue name="1" value="3"/>
			<dipvalue name="2" value="2" default="yes"/>
			<dipvalue name="3" value="1"/>
			<dipvalue name="5" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="4">
			<diplocation name="SW2" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="8">
			<diplocation name="SW2" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="16">
			<diplocation name="SW2" number="5"/>
			<dipvalue name="Off" value="16" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Difficulty" tag="DSW2" mask="96">
			<diplocation name="SW2" number="6"/>
			<diplocation name="SW2" number="7"/>
			<dipvalue name="Easy" value="96"/>
			<dipvalue name="Normal" value="64" default="yes"/>
			<dipvalue name="Hard" value="32"/>
			<dipvalue name="Very Hard" value="0"/>
		</dipswitch>
		<dipswitch name="Demo Sounds" tag="DSW2" mask="128">
			<diplocation name="SW2" number="8"/>
			<dipvalue name="Off" value="128"/>
			<dipvalue name="On" value="0" default="yes"/>
		</dipswitch>
		<dipswitch name="Flip Screen" tag="DSW3" mask="1">
			<diplocation name="SW3" number="1"/>
			<dipvalue name="Off" value="1" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="2">
			<diplocation name="SW3" number="2"/>
			<dipvalue name="Off" value="2" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Service Mode" tag="DSW3" mask="4">
			<diplocation name="SW3" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="8">
			<diplocation name="SW3" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<port tag=":DSW1">
		</port>
		<port tag=":DSW2">
		</port>
		<port tag=":DSW3">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="aliens4" sourcefile="konami/aliens.cpp" cloneof="aliens" romof="aliens">
		<description>Aliens (World set 4)</description>
		<year>1990</year>
		<manufacturer>Konami</manufacturer>
		<rom name="875_c01.c24" size="131072" crc="3c0006fb" sha1="e8730d50c358e7321dd676c74368fe44b9bbe5b2" region="maincpu" offset="0"/>
		<rom name="875_d02.e24" size="65536" crc="1dc46780" sha1="85dbd7c0fe5bfbf22274d9b4238588a2c48c535e" region="maincpu" offset="20000"/>
		<rom name="875_b03.g04" merge="875_b03.g04" size="32768" crc="1ac4d283" sha1="2253f1f39c7edb6cef438b3d97f3af67a1f491ff" region="audiocpu" offset="0"/>
		<rom name="875b11.k13" merge="875b11.k13" size="524288" crc="89c5c885" sha1="02a1581579b6ef816e04bec312a7b3ae7c7e84f8" region="k052109" offset="0"/>
		<rom name="875b12.k19" merge="875b12.k19" size="524288" crc="ea6bdc17" sha1="a7c22370f8adc5b479283f1ff831f493df78282f" region="k052109" offset="2"/>
		<rom name="875b07.j13" merge="875b07.j13" size="262144" crc="e9c56d66" sha1="1f58949d5391aef002a6e1ee7034e57bf99cee61" region="k052109" offset="100000"/>
		<rom name="875b08.j19" merge="875b08.j19" size="262144" crc="f9387966" sha1="470ecc4a5a3edd08d5e0ab10b0c590db1968fb0a" region="k052109" offset="100002"/>
		<rom name="875b10.k08" merge="875b10.k08" size="524288" crc="0b1035b1" sha1="db04020761386e79249762cd1540208375c38c7f" region="k051960" offset="0"/>
		<rom name="875b09.k02" merge="875b09.k02" size="524288" crc="e76b3c19" sha1="6838e07460b3eaaeb129208ad0696c8019bd63d9" region="k051960" offset="2"/>
		<rom name="875b06.j08" merge="875b06.j08" size="262144" crc="081a0566" sha1="3a4aa14178fe76a030224743c9e9cd974e08bd79" region="k051960" offset="100000"/>
		<rom name="875b05.j02" merge="875b05.j02" size="262144" crc="19a261f2" sha1="b0518fad833b3e613e0201d5d9cab73dc5e78e1d" region="k051960" offset="100002"/>
		<rom name="821a08.h14" merge="821a08.h14" size="256" crc="7da55800" sha1="3826f73569c8ae0431510a355bdfa082152b74a5" region="proms" offset="0"/>
		<rom name="875b04.e05" merge="875b04.e05" size="262144" crc="4e209ac8" sha1="09d9eaae61bfd04bf318555ccd44d7371571d86d" region="k007232" offset="0"/>
		<device_ref tag=":maincpu" name="konami_cpu"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k051960" name="k051960"/>
		<device_ref tag=":mono" name="speaker"/>
		<device_ref tag=":soundlatch" name="generic_latch_8"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k007232" name="k007232"/>
		<chip type="cpu" tag="maincpu" name="KONAMI CPU" clock="12000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="mono" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k007232" name="Konami 007232 PCM Controller" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="16" hbstart="304" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
		</input>
		<dipswitch name="Coin A" tag="DSW1" mask="15">
			<diplocation name="SW1" number="1"/>
			<diplocation name="SW1" number="2"/>
			<diplocation name="SW1" number="3"/>
			<diplocation name="SW1" number="4"/>
			<dipvalue name="4 Coins/1 Credit" value="2"/>
			<dipvalue name="3 Coins/1 Credit" value="5"/>
			<dipvalue name="2 Coins/1 Credit" value="8"/>
			<dipvalue name="3 Coins/2 Credits" value="4"/>
			<dipvalue name="4 Coins/3 Credits" value="1"/>
			<dipvalue name="1 Coin/1 Credit" value="15" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="3"/>
			<dipvalue name="2 Coins/3 Credits" value="7"/>
			<dipvalue name="1 Coin/2 Credits" value="14"/>
			<dipvalue name="2 Coins/5 Credits" value="6"/>
			<dipvalue name="1 Coin/3 Credits" value="13"/>
			<dipvalue name="1 Coin/4 Credits" value="12"/>
			<dipvalue name="1 Coin/5 Credits" value="11"/>
			<dipvalue name="1 Coin/6 Credits" value="10"/>
			<dipvalue name="1 Coin/7 Credits" value="9"/>
			<dipvalue name="Free Play" value="0"/>
		</dipswitch>
		<dipswitch name="Coin B" tag="DSW1" mask="240">
			<diplocation name="SW1" number="5"/>
			<diplocation name="SW1" number="6"/>
			<diplocation name="SW1" number="7"/>
			<diplocation name="SW1" number="8"/>
			<dipvalue name="4 Coins/1 Credit" value="32"/>
			<dipvalue name="3 Coins/1 Credit" value="80"/>
			<dipvalue name="2 Coins/1 Credit" value="128"/>
			<dipvalue name="3 Coins/2 Credits" value="64"/>
			<dipvalue name="4 Coins/3 Credits" value="16"/>
			<dipvalue name="1 Coin/1 Credit" value="240" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="48"/>
			<dipvalue name="2 Coins/3 Credits" value="112"/>
			<dipvalue name="1 Coin/2 Credits" value="224"/>
			<dipvalue name="2 Coins/5 Credits" value="96"/>
			<dipvalue name="1 Coin/3 Credits" value="208"/>
			<dipvalue name="1 Coin/4 Credits" value="192"/>
			<dipvalue name="1 Coin/5 Credits" value="176"/>
			<dipvalue name="1 Coin/6 Credits" value="160"/>
			<dipvalue name="1 Coin/7 Credits" value="144"/>
			<dipvalue name="No Credits" value="0"/>
		</dipswitch>
		<dipswitch name="Lives" tag="DSW2" mask="3">
			<diplocation name="SW2" number="1"/>
			<diplocation name="SW2" number="2"/>
			<dipvalue name="1" value="3"/>
			<dipvalue name="2" value="2" default="yes"/>
			<dipvalue name="3" value="1"/>
			<dipvalue name="5" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="4">
			<diplocation name="SW2" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="8">
			<diplocation name="SW2" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="16">
			<diplocation name="SW2" number="5"/>
			<dipvalue name="Off" value="16" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Difficulty" tag="DSW2" mask="96">
			<diplocation name="SW2" number="6"/>
			<diplocation name="SW2" number="7"/>
			<dipvalue name="Easy" value="96"/>
			<dipvalue name="Normal" value="64" default="yes"/>
			<dipvalue name="Hard" value="32"/>
			<dipvalue name="Very Hard" value="0"/>
		</dipswitch>
		<dipswitch name="Demo Sounds" tag="DSW2" mask="128">
			<diplocation name="SW2" number="8"/>
			<dipvalue name="Off" value="128"/>
			<dipvalue name="On" value="0" default="yes"/>
		</dipswitch>
		<dipswitch name="Flip Screen" tag="DSW3" mask="1">
			<diplocation name="SW3" number="1"/>
			<dipvalue name="Off" value="1" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="2">
			<diplocation name="SW3" number="2"/>
			<dipvalue name="Off" value="2" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Service Mode" tag="DSW3" mask="4">
			<diplocation name="SW3" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="8">
			<diplocation name="SW3" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<port tag=":DSW1">
		</port>
		<port tag=":DSW2">
		</port>
		<port tag=":DSW3">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="aliensa" sourcefile="konami/aliens.cpp" cloneof="aliens" romof="aliens">
		<description>Aliens (Asia)</description>
		<year>1990</year>
		<manufacturer>Konami</manufacturer>
		<rom name="875_m01.c24" size="131072" crc="1663d3dc" sha1="706bdf3daa3bda372d94263f3405d67a7ef8dc69" region="maincpu" offset="0"/>
		<rom name="875_r02.e24" size="65536" crc="973e4f11" sha1="a4f65ef4c84b1dcac591dc348ebbb96d35ef5f93" region="maincpu" offset="20000"/>
		<rom name="875_k03.g04" size="32768" crc="bd86264d" sha1="345fd666daf8a29ef314b14306c1a976cb159bed" region="audiocpu" offset="0"/>
		<rom name="875b11.k13" merge="875b11.k13" size="524288" crc="89c5c885" sha1="02a1581579b6ef816e04bec312a7b3ae7c7e84f8" region="k052109" offset="0"/>
		<rom name="875b12.k19" merge="875b12.k19" size="524288" crc="ea6bdc17" sha1="a7c22370f8adc5b479283f1ff831f493df78282f" region="k052109" offset="2"/>
		<rom name="875b07.j13" merge="875b07.j13" size="262144" crc="e9c56d66" sha1="1f58949d5391aef002a6e1ee7034e57bf99cee61" region="k052109" offset="100000"/>
		<rom name="875b08.j19" merge="875b08.j19" size="262144" crc="f9387966" sha1="470ecc4a5a3edd08d5e0ab10b0c590db1968fb0a" region="k052109" offset="100002"/>
		<rom name="875b10.k08" merge="875b10.k08" size="524288" crc="0b1035b1" sha1="db04020761386e79249762cd1540208375c38c7f" region="k051960" offset="0"/>
		<rom name="875b09.k02" merge="875b09.k02" size="524288" crc="e76b3c19" sha1="6838e07460b3eaaeb129208ad0696c8019bd63d9" region="k051960" offset="2"/>
		<rom name="875b06.j08" merge="875b06.j08" size="262144" crc="081a0566" sha1="3a4aa14178fe76a030224743c9e9cd974e08bd79" region="k051960" offset="100000"/>
		<rom name="875b05.j02" merge="875b05.j02" size="262144" crc="19a261f2" sha1="b0518fad833b3e613e0201d5d9cab73dc5e78e1d" region="k051960" offset="100002"/>
		<rom name="821a08.h14" merge="821a08.h14" size="256" crc="7da55800" sha1="3826f73569c8ae0431510a355bdfa082152b74a5" region="proms" offset="0"/>
		<rom name="875b04.e05" merge="875b04.e05" size="262144" crc="4e209ac8" sha1="09d9eaae61bfd04bf318555ccd44d7371571d86d" region="k007232" offset="0"/>
		<device_ref tag=":maincpu" name="konami_cpu"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k051960" name="k051960"/>
		<device_ref tag=":mono" name="speaker"/>
		<device_ref tag=":soundlatch" name="generic_latch_8"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k007232" name="k007232"/>
		<chip type="cpu" tag="maincpu" name="KONAMI CPU" clock="12000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="mono" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k007232" name="Konami 007232 PCM Controller" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="16" hbstart="304" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
		</input>
		<dipswitch name="Coin A" tag="DSW1" mask="15">
			<diplocation name="SW1" number="1"/>
			<diplocation name="SW1" number="2"/>
			<diplocation name="SW1" number="3"/>
			<diplocation name="SW1" number="4"/>
			<dipvalue name="4 Coins/1 Credit" value="2"/>
			<dipvalue name="3 Coins/1 Credit" value="5"/>
			<dipvalue name="2 Coins/1 Credit" value="8"/>
			<dipvalue name="3 Coins/2 Credits" value="4"/>
			<dipvalue name="4 Coins/3 Credits" value="1"/>
			<dipvalue name="1 Coin/1 Credit" value="15" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="3"/>
			<dipvalue name="2 Coins/3 Credits" value="7"/>
			<dipvalue name="1 Coin/2 Credits" value="14"/>
			<dipvalue name="2 Coins/5 Credits" value="6"/>
			<dipvalue name="1 Coin/3 Credits" value="13"/>
			<dipvalue name="1 Coin/4 Credits" value="12"/>
			<dipvalue name="1 Coin/5 Credits" value="11"/>
			<dipvalue name="1 Coin/6 Credits" value="10"/>
			<dipvalue name="1 Coin/7 Credits" value="9"/>
			<dipvalue name="Free Play" value="0"/>
		</dipswitch>
		<dipswitch name="Coin B" tag="DSW1" mask="240">
			<diplocation name="SW1" number="5"/>
			<diplocation name="SW1" number="6"/>
			<diplocation name="SW1" number="7"/>
			<diplocation name="SW1" number="8"/>
			<dipvalue name="4 Coins/1 Credit" value="32"/>
			<dipvalue name="3 Coins/1 Credit" value="80"/>
			<dipvalue name="2 Coins/1 Credit" value="128"/>
			<dipvalue name="3 Coins/2 Credits" value="64"/>
			<dipvalue name="4 Coins/3 Credits" value="16"/>
			<dipvalue name="1 Coin/1 Credit" value="240" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="48"/>
			<dipvalue name="2 Coins/3 Credits" value="112"/>
			<dipvalue name="1 Coin/2 Credits" value="224"/>
			<dipvalue name="2 Coins/5 Credits" value="96"/>
			<dipvalue name="1 Coin/3 Credits" value="208"/>
			<dipvalue name="1 Coin/4 Credits" value="192"/>
			<dipvalue name="1 Coin/5 Credits" value="176"/>
			<dipvalue name="1 Coin/6 Credits" value="160"/>
			<dipvalue name="1 Coin/7 Credits" value="144"/>
			<dipvalue name="No Credits" value="0"/>
		</dipswitch>
		<dipswitch name="Lives" tag="DSW2" mask="3">
			<diplocation name="SW2" number="1"/>
			<diplocation name="SW2" number="2"/>
			<dipvalue name="1" value="3"/>
			<dipvalue name="2" value="2" default="yes"/>
			<dipvalue name="3" value="1"/>
			<dipvalue name="5" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="4">
			<diplocation name="SW2" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="8">
			<diplocation name="SW2" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="16">
			<diplocation name="SW2" number="5"/>
			<dipvalue name="Off" value="16" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Difficulty" tag="DSW2" mask="96">
			<diplocation name="SW2" number="6"/>
			<diplocation name="SW2" number="7"/>
			<dipvalue name="Easy" value="96"/>
			<dipvalue name="Normal" value="64" default="yes"/>
			<dipvalue name="Hard" value="32"/>
			<dipvalue name="Very Hard" value="0"/>
		</dipswitch>
		<dipswitch name="Demo Sounds" tag="DSW2" mask="128">
			<diplocation name="SW2" number="8"/>
			<dipvalue name="Off" value="128"/>
			<dipvalue name="On" value="0" default="yes"/>
		</dipswitch>
		<dipswitch name="Flip Screen" tag="DSW3" mask="1">
			<diplocation name="SW3" number="1"/>
			<dipvalue name="Off" value="1" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="2">
			<diplocation name="SW3" number="2"/>
			<dipvalue name="Off" value="2" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Service Mode" tag="DSW3" mask="4">
			<diplocation name="SW3" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="8">
			<diplocation name="SW3" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<port tag=":DSW1">
		</port>
		<port tag=":DSW2">
		</port>
		<port tag=":DSW3">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="aliensj" sourcefile="konami/aliens.cpp" cloneof="aliens" romof="aliens">
		<description>Aliens (Japan set 1)</description>
		<year>1990</year>
		<manufacturer>Konami</manufacturer>
		<rom name="875_m01.c24" size="131072" crc="1663d3dc" sha1="706bdf3daa3bda372d94263f3405d67a7ef8dc69" region="maincpu" offset="0"/>
		<rom name="875_m02.e24" size="65536" crc="54a774e5" sha1="b6413b2199f863cae1c6fcef766989162cd4b95e" region="maincpu" offset="20000"/>
		<rom name="875_k03.g04" size="32768" crc="bd86264d" sha1="345fd666daf8a29ef314b14306c1a976cb159bed" region="audiocpu" offset="0"/>
		<rom name="875b11.k13" merge="875b11.k13" size="524288" crc="89c5c885" sha1="02a1581579b6ef816e04bec312a7b3ae7c7e84f8" region="k052109" offset="0"/>
		<rom name="875b12.k19" merge="875b12.k19" size="524288" crc="ea6bdc17" sha1="a7c22370f8adc5b479283f1ff831f493df78282f" region="k052109" offset="2"/>
		<rom name="875b07.j13" merge="875b07.j13" size="262144" crc="e9c56d66" sha1="1f58949d5391aef002a6e1ee7034e57bf99cee61" region="k052109" offset="100000"/>
		<rom name="875b08.j19" merge="875b08.j19" size="262144" crc="f9387966" sha1="470ecc4a5a3edd08d5e0ab10b0c590db1968fb0a" region="k052109" offset="100002"/>
		<rom name="875b10.k08" merge="875b10.k08" size="524288" crc="0b1035b1" sha1="db04020761386e79249762cd1540208375c38c7f" region="k051960" offset="0"/>
		<rom name="875b09.k02" merge="875b09.k02" size="524288" crc="e76b3c19" sha1="6838e07460b3eaaeb129208ad0696c8019bd63d9" region="k051960" offset="2"/>
		<rom name="875b06.j08" merge="875b06.j08" size="262144" crc="081a0566" sha1="3a4aa14178fe76a030224743c9e9cd974e08bd79" region="k051960" offset="100000"/>
		<rom name="875b05.j02" merge="875b05.j02" size="262144" crc="19a261f2" sha1="b0518fad833b3e613e0201d5d9cab73dc5e78e1d" region="k051960" offset="100002"/>
		<rom name="821a08.h14" merge="821a08.h14" size="256" crc="7da55800" sha1="3826f73569c8ae0431510a355bdfa082152b74a5" region="proms" offset="0"/>
		<rom name="875b04.e05" merge="875b04.e05" size="262144" crc="4e209ac8" sha1="09d9eaae61bfd04bf318555ccd44d7371571d86d" region="k007232" offset="0"/>
		<device_ref tag=":maincpu" name="konami_cpu"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k051960" name="k051960"/>
		<device_ref tag=":mono" name="speaker"/>
		<device_ref tag=":soundlatch" name="generic_latch_8"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k007232" name="k007232"/>
		<chip type="cpu" tag="maincpu" name="KONAMI CPU" clock="12000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="mono" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k007232" name="Konami 007232 PCM Controller" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="16" hbstart="304" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
		</input>
		<dipswitch name="Coin A" tag="DSW1" mask="15">
			<diplocation name="SW1" number="1"/>
			<diplocation name="SW1" number="2"/>
			<diplocation name="SW1" number="3"/>
			<diplocation name="SW1" number="4"/>
			<dipvalue name="4 Coins/1 Credit" value="2"/>
			<dipvalue name="3 Coins/1 Credit" value="5"/>
			<dipvalue name="2 Coins/1 Credit" value="8"/>
			<dipvalue name="3 Coins/2 Credits" value="4"/>
			<dipvalue name="4 Coins/3 Credits" value="1"/>
			<dipvalue name="1 Coin/1 Credit" value="15" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="3"/>
			<dipvalue name="2 Coins/3 Credits" value="7"/>
			<dipvalue name="1 Coin/2 Credits" value="14"/>
			<dipvalue name="2 Coins/5 Credits" value="6"/>
			<dipvalue name="1 Coin/3 Credits" value="13"/>
			<dipvalue name="1 Coin/4 Credits" value="12"/>
			<dipvalue name="1 Coin/5 Credits" value="11"/>
			<dipvalue name="1 Coin/6 Credits" value="10"/>
			<dipvalue name="1 Coin/7 Credits" value="9"/>
			<dipvalue name="Free Play" value="0"/>
		</dipswitch>
		<dipswitch name="Coin B" tag="DSW1" mask="240">
			<diplocation name="SW1" number="5"/>
			<diplocation name="SW1" number="6"/>
			<diplocation name="SW1" number="7"/>
			<diplocation name="SW1" number="8"/>
			<dipvalue name="4 Coins/1 Credit" value="32"/>
			<dipvalue name="3 Coins/1 Credit" value="80"/>
			<dipvalue name="2 Coins/1 Credit" value="128"/>
			<dipvalue name="3 Coins/2 Credits" value="64"/>
			<dipvalue name="4 Coins/3 Credits" value="16"/>
			<dipvalue name="1 Coin/1 Credit" value="240" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="48"/>
			<dipvalue name="2 Coins/3 Credits" value="112"/>
			<dipvalue name="1 Coin/2 Credits" value="224"/>
			<dipvalue name="2 Coins/5 Credits" value="96"/>
			<dipvalue name="1 Coin/3 Credits" value="208"/>
			<dipvalue name="1 Coin/4 Credits" value="192"/>
			<dipvalue name="1 Coin/5 Credits" value="176"/>
			<dipvalue name="1 Coin/6 Credits" value="160"/>
			<dipvalue name="1 Coin/7 Credits" value="144"/>
			<dipvalue name="No Credits" value="0"/>
		</dipswitch>
		<dipswitch name="Lives" tag="DSW2" mask="3">
			<diplocation name="SW2" number="1"/>
			<diplocation name="SW2" number="2"/>
			<dipvalue name="1" value="3"/>
			<dipvalue name="2" value="2" default="yes"/>
			<dipvalue name="3" value="1"/>
			<dipvalue name="5" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="4">
			<diplocation name="SW2" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="8">
			<diplocation name="SW2" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="16">
			<diplocation name="SW2" number="5"/>
			<dipvalue name="Off" value="16" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Difficulty" tag="DSW2" mask="96">
			<diplocation name="SW2" number="6"/>
			<diplocation name="SW2" number="7"/>
			<dipvalue name="Easy" value="96"/>
			<dipvalue name="Normal" value="64" default="yes"/>
			<dipvalue name="Hard" value="32"/>
			<dipvalue name="Very Hard" value="0"/>
		</dipswitch>
		<dipswitch name="Demo Sounds" tag="DSW2" mask="128">
			<diplocation name="SW2" number="8"/>
			<dipvalue name="Off" value="128"/>
			<dipvalue name="On" value="0" default="yes"/>
		</dipswitch>
		<dipswitch name="Flip Screen" tag="DSW3" mask="1">
			<diplocation name="SW3" number="1"/>
			<dipvalue name="Off" value="1" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="2">
			<diplocation name="SW3" number="2"/>
			<dipvalue name="Off" value="2" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Service Mode" tag="DSW3" mask="4">
			<diplocation name="SW3" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="8">
			<diplocation name="SW3" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<port tag=":DSW1">
		</port>
		<port tag=":DSW2">
		</port>
		<port tag=":DSW3">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="aliensj2" sourcefile="konami/aliens.cpp" cloneof="aliens" romof="aliens">
		<description>Aliens (Japan set 2)</description>
		<year>1990</year>
		<manufacturer>Konami</manufacturer>
		<rom name="875_m01.c24" size="131072" crc="1663d3dc" sha1="706bdf3daa3bda372d94263f3405d67a7ef8dc69" region="maincpu" offset="0"/>
		<rom name="875_j2_2.e24" size="65536" crc="4bb84952" sha1="ca40a7181f11d6c34c26b65f8d4a1d1df2c7fb48" region="maincpu" offset="20000"/>
		<rom name="875_k03.g04" size="32768" crc="bd86264d" sha1="345fd666daf8a29ef314b14306c1a976cb159bed" region="audiocpu" offset="0"/>
		<rom name="875b11.k13" merge="875b11.k13" size="524288" crc="89c5c885" sha1="02a1581579b6ef816e04bec312a7b3ae7c7e84f8" region="k052109" offset="0"/>
		<rom name="875b12.k19" merge="875b12.k19" size="524288" crc="ea6bdc17" sha1="a7c22370f8adc5b479283f1ff831f493df78282f" region="k052109" offset="2"/>
		<rom name="875b07.j13" merge="875b07.j13" size="262144" crc="e9c56d66" sha1="1f58949d5391aef002a6e1ee7034e57bf99cee61" region="k052109" offset="100000"/>
		<rom name="875b08.j19" merge="875b08.j19" size="262144" crc="f9387966" sha1="470ecc4a5a3edd08d5e0ab10b0c590db1968fb0a" region="k052109" offset="100002"/>
		<rom name="875b10.k08" merge="875b10.k08" size="524288" crc="0b1035b1" sha1="db04020761386e79249762cd1540208375c38c7f" region="k051960" offset="0"/>
		<rom name="875b09.k02" merge="875b09.k02" size="524288" crc="e76b3c19" sha1="6838e07460b3eaaeb129208ad0696c8019bd63d9" region="k051960" offset="2"/>
		<rom name="875b06.j08" merge="875b06.j08" size="262144" crc="081a0566" sha1="3a4aa14178fe76a030224743c9e9cd974e08bd79" region="k051960" offset="100000"/>
		<rom name="875b05.j02" merge="875b05.j02" size="262144" crc="19a261f2" sha1="b0518fad833b3e613e0201d5d9cab73dc5e78e1d" region="k051960" offset="100002"/>
		<rom name="821a08.h14" merge="821a08.h14" size="256" crc="7da55800" sha1="3826f73569c8ae0431510a355bdfa082152b74a5" region="proms" offset="0"/>
		<rom name="875b04.e05" merge="875b04.e05" size="262144" crc="4e209ac8" sha1="09d9eaae61bfd04bf318555ccd44d7371571d86d" region="k007232" offset="0"/>
		<device_ref tag=":maincpu" name="konami_cpu"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k051960" name="k051960"/>
		<device_ref tag=":mono" name="speaker"/>
		<device_ref tag=":soundlatch" name="generic_latch_8"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k007232" name="k007232"/>
		<chip type="cpu" tag="maincpu" name="KONAMI CPU" clock="12000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="mono" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k007232" name="Konami 007232 PCM Controller" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="16" hbstart="304" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
		</input>
		<dipswitch name="Coin A" tag="DSW1" mask="15">
			<diplocation name="SW1" number="1"/>
			<diplocation name="SW1" number="2"/>
			<diplocation name="SW1" number="3"/>
			<diplocation name="SW1" number="4"/>
			<dipvalue name="4 Coins/1 Credit" value="2"/>
			<dipvalue name="3 Coins/1 Credit" value="5"/>
			<dipvalue name="2 Coins/1 Credit" value="8"/>
			<dipvalue name="3 Coins/2 Credits" value="4"/>
			<dipvalue name="4 Coins/3 Credits" value="1"/>
			<dipvalue name="1 Coin/1 Credit" value="15" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="3"/>
			<dipvalue name="2 Coins/3 Credits" value="7"/>
			<dipvalue name="1 Coin/2 Credits" value="14"/>
			<dipvalue name="2 Coins/5 Credits" value="6"/>
			<dipvalue name="1 Coin/3 Credits" value="13"/>
			<dipvalue name="1 Coin/4 Credits" value="12"/>
			<dipvalue name="1 Coin/5 Credits" value="11"/>
			<dipvalue name="1 Coin/6 Credits" value="10"/>
			<dipvalue name="1 Coin/7 Credits" value="9"/>
			<dipvalue name="Free Play" value="0"/>
		</dipswitch>
		<dipswitch name="Coin B" tag="DSW1" mask="240">
			<diplocation name="SW1" number="5"/>
			<diplocation name="SW1" number="6"/>
			<diplocation name="SW1" number="7"/>
			<diplocation name="SW1" number="8"/>
			<dipvalue name="4 Coins/1 Credit" value="32"/>
			<dipvalue name="3 Coins/1 Credit" value="80"/>
			<dipvalue name="2 Coins/1 Credit" value="128"/>
			<dipvalue name="3 Coins/2 Credits" value="64"/>
			<dipvalue name="4 Coins/3 Credits" value="16"/>
			<dipvalue name="1 Coin/1 Credit" value="240" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="48"/>
			<dipvalue name="2 Coins/3 Credits" value="112"/>
			<dipvalue name="1 Coin/2 Credits" value="224"/>
			<dipvalue name="2 Coins/5 Credits" value="96"/>
			<dipvalue name="1 Coin/3 Credits" value="208"/>
			<dipvalue name="1 Coin/4 Credits" value="192"/>
			<dipvalue name="1 Coin/5 Credits" value="176"/>
			<dipvalue name="1 Coin/6 Credits" value="160"/>
			<dipvalue name="1 Coin/7 Credits" value="144"/>
			<dipvalue name="No Credits" value="0"/>
		</dipswitch>
		<dipswitch name="Lives" tag="DSW2" mask="3">
			<diplocation name="SW2" number="1"/>
			<diplocation name="SW2" number="2"/>
			<dipvalue name="1" value="3"/>
			<dipvalue name="2" value="2" default="yes"/>
			<dipvalue name="3" value="1"/>
			<dipvalue name="5" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="4">
			<diplocation name="SW2" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="8">
			<diplocation name="SW2" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="16">
			<diplocation name="SW2" number="5"/>
			<dipvalue name="Off" value="16" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Difficulty" tag="DSW2" mask="96">
			<diplocation name="SW2" number="6"/>
			<diplocation name="SW2" number="7"/>
			<dipvalue name="Easy" value="96"/>
			<dipvalue name="Normal" value="64" default="yes"/>
			<dipvalue name="Hard" value="32"/>
			<dipvalue name="Very Hard" value="0"/>
		</dipswitch>
		<dipswitch name="Demo Sounds" tag="DSW2" mask="128">
			<diplocation name="SW2" number="8"/>
			<dipvalue name="Off" value="128"/>
			<dipvalue name="On" value="0" default="yes"/>
		</dipswitch>
		<dipswitch name="Flip Screen" tag="DSW3" mask="1">
			<diplocation name="SW3" number="1"/>
			<dipvalue name="Off" value="1" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="2">
			<diplocation name="SW3" number="2"/>
			<dipvalue name="Off" value="2" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Service Mode" tag="DSW3" mask="4">
			<diplocation name="SW3" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="8">
			<diplocation name="SW3" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<port tag=":DSW1">
		</port>
		<port tag=":DSW2">
		</port>
		<port tag=":DSW3">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="aliensu" sourcefile="konami/aliens.cpp" cloneof="aliens" romof="aliens">
		<description>Aliens (US)</description>
		<year>1990</year>
		<manufacturer>Konami</manufacturer>
		<rom name="875_n01.c24" size="131072" crc="106cf59c" sha1="78622adc02055d31cd587c83b23a6cde30c9bc22" region="maincpu" offset="0"/>
		<rom name="875_n02.e24" size="65536" crc="24dd612e" sha1="35bceb3045cd0bd9d107312b371fb60dcf3f1272" region="maincpu" offset="20000"/>
		<rom name="875_b03.g04" merge="875_b03.g04" size="32768" crc="1ac4d283" sha1="2253f1f39c7edb6cef438b3d97f3af67a1f491ff" region="audiocpu" offset="0"/>
		<rom name="875b11.k13" merge="875b11.k13" size="524288" crc="89c5c885" sha1="02a1581579b6ef816e04bec312a7b3ae7c7e84f8" region="k052109" offset="0"/>
		<rom name="875b12.k19" merge="875b12.k19" size="524288" crc="ea6bdc17" sha1="a7c22370f8adc5b479283f1ff831f493df78282f" region="k052109" offset="2"/>
		<rom name="875b07.j13" merge="875b07.j13" size="262144" crc="e9c56d66" sha1="1f58949d5391aef002a6e1ee7034e57bf99cee61" region="k052109" offset="100000"/>
		<rom name="875b08.j19" merge="875b08.j19" size="262144" crc="f9387966" sha1="470ecc4a5a3edd08d5e0ab10b0c590db1968fb0a" region="k052109" offset="100002"/>
		<rom name="875b10.k08" merge="875b10.k08" size="524288" crc="0b1035b1" sha1="db04020761386e79249762cd1540208375c38c7f" region="k051960" offset="0"/>
		<rom name="875b09.k02" merge="875b09.k02" size="524288" crc="e76b3c19" sha1="6838e07460b3eaaeb129208ad0696c8019bd63d9" region="k051960" offset="2"/>
		<rom name="875b06.j08" merge="875b06.j08" size="262144" crc="081a0566" sha1="3a4aa14178fe76a030224743c9e9cd974e08bd79" region="k051960" offset="100000"/>
		<rom name="875b05.j02" merge="875b05.j02" size="262144" crc="19a261f2" sha1="b0518fad833b3e613e0201d5d9cab73dc5e78e1d" region="k051960" offset="100002"/>
		<rom name="821a08.h14" merge="821a08.h14" size="256" crc="7da55800" sha1="3826f73569c8ae0431510a355bdfa082152b74a5" region="proms" offset="0"/>
		<rom name="875b04.e05" merge="875b04.e05" size="262144" crc="4e209ac8" sha1="09d9eaae61bfd04bf318555ccd44d7371571d86d" region="k007232" offset="0"/>
		<device_ref tag=":maincpu" name="konami_cpu"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k051960" name="k051960"/>
		<device_ref tag=":mono" name="speaker"/>
		<device_ref tag=":soundlatch" name="generic_latch_8"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k007232" name="k007232"/>
		<chip type="cpu" tag="maincpu" name="KONAMI CPU" clock="12000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="mono" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k007232" name="Konami 007232 PCM Controller" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="16" hbstart="304" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
		</input>
		<dipswitch name="Coin A" tag="DSW1" mask="15">
			<diplocation name="SW1" number="1"/>
			<diplocation name="SW1" number="2"/>
			<diplocation name="SW1" number="3"/>
			<diplocation name="SW1" number="4"/>
			<dipvalue name="4 Coins/1 Credit" value="2"/>
			<dipvalue name="3 Coins/1 Credit" value="5"/>
			<dipvalue name="2 Coins/1 Credit" value="8"/>
			<dipvalue name="3 Coins/2 Credits" value="4"/>
			<dipvalue name="4 Coins/3 Credits" value="1"/>
			<dipvalue name="1 Coin/1 Credit" value="15" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="3"/>
			<dipvalue name="2 Coins/3 Credits" value="7"/>
			<dipvalue name="1 Coin/2 Credits" value="14"/>
			<dipvalue name="2 Coins/5 Credits" value="6"/>
			<dipvalue name="1 Coin/3 Credits" value="13"/>
			<dipvalue name="1 Coin/4 Credits" value="12"/>
			<dipvalue name="1 Coin/5 Credits" value="11"/>
			<dipvalue name="1 Coin/6 Credits" value="10"/>
			<dipvalue name="1 Coin/7 Credits" value="9"/>
			<dipvalue name="Free Play" value="0"/>
		</dipswitch>
		<dipswitch name="Coin B" tag="DSW1" mask="240">
			<diplocation name="SW1" number="5"/>
			<diplocation name="SW1" number="6"/>
			<diplocation name="SW1" number="7"/>
			<diplocation name="SW1" number="8"/>
			<dipvalue name="4 Coins/1 Credit" value="32"/>
			<dipvalue name="3 Coins/1 Credit" value="80"/>
			<dipvalue name="2 Coins/1 Credit" value="128"/>
			<dipvalue name="3 Coins/2 Credits" value="64"/>
			<dipvalue name="4 Coins/3 Credits" value="16"/>
			<dipvalue name="1 Coin/1 Credit" value="240" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="48"/>
			<dipvalue name="2 Coins/3 Credits" value="112"/>
			<dipvalue name="1 Coin/2 Credits" value="224"/>
			<dipvalue name="2 Coins/5 Credits" value="96"/>
			<dipvalue name="1 Coin/3 Credits" value="208"/>
			<dipvalue name="1 Coin/4 Credits" value="192"/>
			<dipvalue name="1 Coin/5 Credits" value="176"/>
			<dipvalue name="1 Coin/6 Credits" value="160"/>
			<dipvalue name="1 Coin/7 Credits" value="144"/>
			<dipvalue name="No Credits" value="0"/>
		</dipswitch>
		<dipswitch name="Lives" tag="DSW2" mask="3">
			<diplocation name="SW2" number="1"/>
			<diplocation name="SW2" number="2"/>
			<dipvalue name="1" value="3"/>
			<dipvalue name="2" value="2" default="yes"/>
			<dipvalue name="3" value="1"/>
			<dipvalue name="5" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="4">
			<diplocation name="SW2" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="8">
			<diplocation name="SW2" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="16">
			<diplocation name="SW2" number="5"/>
			<dipvalue name="Off" value="16" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Difficulty" tag="DSW2" mask="96">
			<diplocation name="SW2" number="6"/>
			<diplocation name="SW2" number="7"/>
			<dipvalue name="Easy" value="96"/>
			<dipvalue name="Normal" value="64" default="yes"/>
			<dipvalue name="Hard" value="32"/>
			<dipvalue name="Very Hard" value="0"/>
		</dipswitch>
		<dipswitch name="Demo Sounds" tag="DSW2" mask="128">
			<diplocation name="SW2" number="8"/>
			<dipvalue name="Off" value="128"/>
			<dipvalue name="On" value="0" default="yes"/>
		</dipswitch>
		<dipswitch name="Flip Screen" tag="DSW3" mask="1">
			<diplocation name="SW3" number="1"/>
			<dipvalue name="Off" value="1" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="2">
			<diplocation name="SW3" number="2"/>
			<dipvalue name="Off" value="2" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Service Mode" tag="DSW3" mask="4">
			<diplocation name="SW3" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="8">
			<diplocation name="SW3" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<port tag=":DSW1">
		</port>
		<port tag=":DSW2">
		</port>
		<port tag=":DSW3">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="blswhstl" sourcefile="konami/tmnt2.cpp">
		<description>Bells &amp; Whistles (World, version L)</description>
		<year>1991</year>
		<manufacturer>Konami</manufacturer>
		<rom name="060_l02.e09" size="131072" crc="e8b7b234" sha1="65ae9faf34ed8ab71013acdc84e9429e5f5fb7a2" region="maincpu" offset="0"/>
		<rom name="060_l03.g09" size="131072" crc="3c26d281" sha1="d348305ecd4457e023bcdbc39842096d23c455fb" region="maincpu" offset="1"/>
		<rom name="060_l09.e11" size="131072" crc="14628736" sha1="87f7a65cffb87085b3e21043bd46fbb7db9266dd" region="maincpu" offset="40000"/>
		<rom name="060_l10.g11" size="131072" crc="f738ad4a" sha1="5aea4afa4bf935d3e92856eff745f61ed4d98165" region="maincpu" offset="40001"/>
		<rom name="060j01.f3" size="65536" crc="f9d9a673" sha1="8e5631c20dc37913cc7fa84f7ef786ff1ef85f09" region="audiocpu" offset="0"/>
		<rom name="060e07.k16" size="524288" crc="c400edf3" sha1="3f507df8804c1774e2e213f5eb8be0aa7e818d65" region="k052109" offset="0"/>
		<rom name="060e08.k12" size="524288" crc="70dddba1" sha1="2acb94f249cf89b3d53798a6ee1c960f84a04d2e" region="k052109" offset="2"/>
		<rom name="060e06.k7" size="524288" crc="09381492" sha1="5a3008dec99a8e0043405e9c4f5145794b8606e0" region="k053245" offset="0"/>
		<rom name="060e05.k3" size="524288" crc="32454241" sha1="7a246b255ff30118c4f8e07e6ba03a22fd5ddc8a" region="k053245" offset="2"/>
		<rom name="060e04.d1" size="1048576" crc="c680395d" sha1="acde593a5ec501e89c8aaca6c4fbacf707a727e1" region="k053260" offset="0"/>
		<rom name="blswhstl.nv" size="128" crc="87434e3f" sha1="458d21cfc0ef3415c0b09d8d748263b9218bdb24" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053245" name="k053244"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":k054000" name="k054000"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="90" width="320" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="0" hbstart="320" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2" service="yes">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
		</input>
		<port tag=":COINS">
		</port>
		<port tag=":EEPROM">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="blswhstla" sourcefile="konami/tmnt2.cpp" cloneof="blswhstl" romof="blswhstl">
		<description>Bells &amp; Whistles (Asia, version M)</description>
		<year>1991</year>
		<manufacturer>Konami</manufacturer>
		<rom name="060_m02.e09" size="131072" crc="bc9dd08f" sha1="463634e1d8f3419b840beef0cedfc9c060166d0c" region="maincpu" offset="0"/>
		<rom name="060_m03.g09" size="131072" crc="7b6ee4a4" sha1="d6c9d60058accd6f9ac6c2b9306057efc3fee461" region="maincpu" offset="1"/>
		<rom name="060_m09.e11" merge="060_l09.e11" size="131072" crc="14628736" sha1="87f7a65cffb87085b3e21043bd46fbb7db9266dd" region="maincpu" offset="40000"/>
		<rom name="060_m10.g11" merge="060_l10.g11" size="131072" crc="f738ad4a" sha1="5aea4afa4bf935d3e92856eff745f61ed4d98165" region="maincpu" offset="40001"/>
		<rom name="060j01.f3" merge="060j01.f3" size="65536" crc="f9d9a673" sha1="8e5631c20dc37913cc7fa84f7ef786ff1ef85f09" region="audiocpu" offset="0"/>
		<rom name="060e07.k16" merge="060e07.k16" size="524288" crc="c400edf3" sha1="3f507df8804c1774e2e213f5eb8be0aa7e818d65" region="k052109" offset="0"/>
		<rom name="060e08.k12" merge="060e08.k12" size="524288" crc="70dddba1" sha1="2acb94f249cf89b3d53798a6ee1c960f84a04d2e" region="k052109" offset="2"/>
		<rom name="060e06.k7" merge="060e06.k7" size="524288" crc="09381492" sha1="5a3008dec99a8e0043405e9c4f5145794b8606e0" region="k053245" offset="0"/>
		<rom name="060e05.k3" merge="060e05.k3" size="524288" crc="32454241" sha1="7a246b255ff30118c4f8e07e6ba03a22fd5ddc8a" region="k053245" offset="2"/>
		<rom name="060e04.d1" merge="060e04.d1" size="1048576" crc="c680395d" sha1="acde593a5ec501e89c8aaca6c4fbacf707a727e1" region="k053260" offset="0"/>
		<rom name="blswhstl.nv" merge="blswhstl.nv" size="128" crc="87434e3f" sha1="458d21cfc0ef3415c0b09d8d748263b9218bdb24" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053245" name="k053244"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":k054000" name="k054000"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="90" width="320" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="0" hbstart="320" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2" service="yes">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
		</input>
		<port tag=":COINS">
		</port>
		<port tag=":EEPROM">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="cuebrick" sourcefile="konami/tmnt.cpp">
		<description>Cue Brick (World, version D)</description>
		<year>1989</year>
		<manufacturer>Konami</manufacturer>
		<rom name="903d25.g12" size="65536" crc="8d575663" sha1="0e308e04936efa80351bf808ac304d3fcc82f19a" region="maincpu" offset="0"/>
		<rom name="903d24.f12" size="65536" crc="2973625d" sha1="e2496704390930761204624d4bf6b0b68d3133ab" region="maincpu" offset="1"/>
		<rom name="903c29.k21" size="65536" crc="fada986d" sha1="79d13dcee5433457c25a8cca0093bddd55165a72" region="k052109" offset="0"/>
		<rom name="903c28.k19" size="65536" crc="80d2bfaf" sha1="3b38558d4f17309154457e9e7780a25577d1858d" region="k052109" offset="1"/>
		<rom name="903c27.k17" size="65536" crc="5bd4b8e1" sha1="0bc5e508af20e479c7913fab1ef158165fe67079" region="k052109" offset="2"/>
		<rom name="903c26.k15" size="65536" crc="f808fa3d" sha1="2b0fa1581acc5c4f7055e6faad97664ef16cc082" region="k052109" offset="3"/>
		<rom name="903d23.k12" size="65536" crc="c39fc9fd" sha1="fe5a63e5d898f985f9ab9be5b701af4a8e2a9049" region="k051960" offset="0"/>
		<rom name="903d22.k10" size="65536" crc="95ad8591" sha1="4e3c8c794be1cd78044eb0eebfa3c755e2aaf54f" region="k051960" offset="1"/>
		<rom name="903d21.k8" size="65536" crc="3c7bf8cd" sha1="c487e0109f56b3b0e2aa2c4db2dfb30ad74fb0ab" region="k051960" offset="2"/>
		<rom name="903d20.k6" size="65536" crc="2872a1bb" sha1="da7c7a41860283eac49facaa3beb712d3be7db56" region="k051960" offset="3"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":nvram" name="nvram"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k051960" name="k051960"/>
		<device_ref tag=":mono" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8000000"/>
		<chip type="audio" tag="mono" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="304" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="8" hbstart="312" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2">
			<control type="joy" player="1" buttons="3" ways="4"/>
			<control type="joy" player="2" buttons="3" ways="4"/>
		</input>
		<dipswitch name="Coin A" tag="DSW1" mask="15">
			<diplocation name="SW1" number="1"/>
			<diplocation name="SW1" number="2"/>
			<diplocation name="SW1" number="3"/>
			<diplocation name="SW1" number="4"/>
			<dipvalue name="4 Coins/1 Credit" value="2"/>
			<dipvalue name="3 Coins/1 Credit" value="5"/>
			<dipvalue name="2 Coins/1 Credit" value="8"/>
			<dipvalue name="3 Coins/2 Credits" value="4"/>
			<dipvalue name="4 Coins/3 Credits" value="1"/>
			<dipvalue name="1 Coin/1 Credit" value="15" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="3"/>
			<dipvalue name="2 Coins/3 Credits" value="7"/>
			<dipvalue name="1 Coin/2 Credits" value="14"/>
			<dipvalue name="2 Coins/5 Credits" value="6"/>
			<dipvalue name="1 Coin/3 Credits" value="13"/>
			<dipvalue name="1 Coin/4 Credits" value="12"/>
			<dipvalue name="1 Coin/5 Credits" value="11"/>
			<dipvalue name="1 Coin/6 Credits" value="10"/>
			<dipvalue name="1 Coin/7 Credits" value="9"/>
			<dipvalue name="Free Play" value="0"/>
		</dipswitch>
		<dipswitch name="Coin B" tag="DSW1" mask="240">
			<diplocation name="SW1" number="5"/>
			<diplocation name="SW1" number="6"/>
			<diplocation name="SW1" number="7"/>
			<diplocation name="SW1" number="8"/>
			<dipvalue name="4 Coins/1 Credit" value="32"/>
			<dipvalue name="3 Coins/1 Credit" value="80"/>
			<dipvalue name="2 Coins/1 Credit" value="128"/>
			<dipvalue name="3 Coins/2 Credits" value="64"/>
			<dipvalue name="4 Coins/3 Credits" value="16"/>
			<dipvalue name="1 Coin/1 Credit" value="240" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="48"/>
			<dipvalue name="2 Coins/3 Credits" value="112"/>
			<dipvalue name="1 Coin/2 Credits" value="224"/>
			<dipvalue name="2 Coins/5 Credits" value="96"/>
			<dipvalue name="1 Coin/3 Credits" value="208"/>
			<dipvalue name="1 Coin/4 Credits" value="192"/>
			<dipvalue name="1 Coin/5 Credits" value="176"/>
			<dipvalue name="1 Coin/6 Credits" value="160"/>
			<dipvalue name="1 Coin/7 Credits" value="144"/>
			<dipvalue name="Invalid" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="1">
			<diplocation name="SW2" number="1"/>
			<dipvalue name="Off" value="1" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="2">
			<diplocation name="SW2" number="2"/>
			<dipvalue name="Off" value="2" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Cabinet" tag="DSW2" mask="4">
			<diplocation name="SW2" number="3"/>
			<dipvalue name="Upright" value="0" default="yes"/>
			<dipvalue name="Cocktail" value="4"/>
		</dipswitch>
		<dipswitch name="Machine Name" tag="DSW2" mask="24">
			<diplocation name="SW2" number="4"/>
			<diplocation name="SW2" number="5"/>
			<dipvalue name="None" value="24"/>
			<dipvalue name="Lewis" value="16"/>
			<dipvalue name="Johnson" value="8" default="yes"/>
			<dipvalue name="George" value="0"/>
		</dipswitch>
		<dipswitch name="Difficulty" tag="DSW2" mask="96">
			<diplocation name="SW2" number="6"/>
			<diplocation name="SW2" number="7"/>
			<dipvalue name="Easy" value="96"/>
			<dipvalue name="Normal" value="64" default="yes"/>
			<dipvalue name="Difficult" value="32"/>
			<dipvalue name="Very Difficult" value="0"/>
		</dipswitch>
		<dipswitch name="Demo Sounds" tag="DSW2" mask="128">
			<diplocation name="SW2" number="8"/>
			<dipvalue name="Off" value="128"/>
			<dipvalue name="On" value="0" default="yes"/>
		</dipswitch>
		<dipswitch name="Flip Screen" tag="DSW3" mask="1">
			<diplocation name="SW3" number="1"/>
			<dipvalue name="Off" value="1" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Upright Controls" tag="DSW3" mask="2">
			<diplocation name="SW3" number="2"/>
			<dipvalue name="Single" value="2" default="yes"/>
			<dipvalue name="Dual" value="0"/>
		</dipswitch>
		<dipswitch name="Service Mode" tag="DSW3" mask="4">
			<diplocation name="SW3" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="8">
			<diplocation name="SW3" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<port tag=":COINS">
		</port>
		<port tag=":DSW1">
		</port>
		<port tag=":DSW2">
		</port>
		<port tag=":DSW3">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="detatwin" sourcefile="konami/tmnt2.cpp" cloneof="blswhstl" romof="blswhstl">
		<description>Detana!! Twin Bee (Japan, version J)</description>
		<year>1991</year>
		<manufacturer>Konami</manufacturer>
		<rom name="060_j02.e09" size="131072" crc="11b761ac" sha1="1a143b0a43da48bdcfe085a2a9d1a2de0329fafd" region="maincpu" offset="0"/>
		<rom name="060_j03.g09" size="131072" crc="8d0b588c" sha1="a444493557cc19c7828b40a54dac9165c1f5b541" region="maincpu" offset="1"/>
		<rom name="060_j09.e11" size="131072" crc="f2a5f15f" sha1="4b8786e5ce0b895e6358e16e2a0a926325d0afcc" region="maincpu" offset="40000"/>
		<rom name="060_j10.g11" size="131072" crc="36eefdbc" sha1="a3ec5078779b4ab33edf32e04db3e221e52b36c7" region="maincpu" offset="40001"/>
		<rom name="060j01.f3" merge="060j01.f3" size="65536" crc="f9d9a673" sha1="8e5631c20dc37913cc7fa84f7ef786ff1ef85f09" region="audiocpu" offset="0"/>
		<rom name="060e07.k16" merge="060e07.k16" size="524288" crc="c400edf3" sha1="3f507df8804c1774e2e213f5eb8be0aa7e818d65" region="k052109" offset="0"/>
		<rom name="060e08.k12" merge="060e08.k12" size="524288" crc="70dddba1" sha1="2acb94f249cf89b3d53798a6ee1c960f84a04d2e" region="k052109" offset="2"/>
		<rom name="060e06.k7" merge="060e06.k7" size="524288" crc="09381492" sha1="5a3008dec99a8e0043405e9c4f5145794b8606e0" region="k053245" offset="0"/>
		<rom name="060e05.k3" merge="060e05.k3" size="524288" crc="32454241" sha1="7a246b255ff30118c4f8e07e6ba03a22fd5ddc8a" region="k053245" offset="2"/>
		<rom name="060e04.d1" merge="060e04.d1" size="1048576" crc="c680395d" sha1="acde593a5ec501e89c8aaca6c4fbacf707a727e1" region="k053260" offset="0"/>
		<rom name="blswhstl.nv" merge="blswhstl.nv" size="128" crc="87434e3f" sha1="458d21cfc0ef3415c0b09d8d748263b9218bdb24" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053245" name="k053244"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":k054000" name="k054000"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="90" width="320" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="0" hbstart="320" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2" service="yes">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
		</input>
		<port tag=":COINS">
		</port>
		<port tag=":EEPROM">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="glfgreat" sourcefile="konami/tmnt2.cpp">
		<description>Golfing Greats (World, version L)</description>
		<year>1991</year>
		<manufacturer>Konami</manufacturer>
		<rom name="061l02.1h" size="131072" crc="ac7399f4" sha1="27f95bd41cb550ea0395a93138066896b834551e" region="maincpu" offset="0"/>
		<rom name="061l03.4h" size="131072" crc="77b0ff5c" sha1="e47701402a9a6f69cfbc72de0fee4cbdd79fbc6e" region="maincpu" offset="1"/>
		<rom name="061f01.4e" size="32768" crc="ab9a2a57" sha1="c92738b4d3754c2378cd1e6ae786faa0c5a65808" region="audiocpu" offset="0"/>
		<rom name="061d14.12l" size="524288" crc="b9440924" sha1="d12763f1c999cfa4f2d6f685a73c8c20204f9cbb" region="k052109" offset="0"/>
		<rom name="061d13.12k" size="524288" crc="9f999f0b" sha1="f83e3e9e44d7d5ba4c72f72db1ab9f98a0e80fe2" region="k052109" offset="1"/>
		<rom name="061d11.3k" size="1048576" crc="c45b66a3" sha1="bfb7f9a39d195857893d3f04c28d5c89442c3ac7" region="k053245" offset="0"/>
		<rom name="061d12.8k" size="1048576" crc="d305ecd1" sha1="28cba6b5eb56b6f5c01e9da341a5c0e2ed3cb407" region="k053245" offset="1"/>
		<rom name="061b08.14g" size="524288" crc="6ab739c3" sha1="37ed6c9b224189c183895517d6a72738fe92ecc4" region="zoom" offset="0"/>
		<rom name="061b09.15g" size="524288" crc="42c7a603" sha1="e98e484ca817ed65c7fb80a87d732e70d120676f" region="zoom" offset="80000"/>
		<rom name="061b10.17g" size="524288" crc="10f89ce7" sha1="cf6a16ed0174db640780da4d11076efeb48a6119" region="zoom" offset="100000"/>
		<rom name="061b07.18d" size="524288" crc="517887e2" sha1="ff7aa0df2cda3c745a195879c71727352696ef3a" region="zoomtmap" offset="0"/>
		<rom name="061b06.16d" size="524288" crc="41ada2ad" sha1="7b200e44e040e3d79f2603a02c9991b4655407d4" region="zoomtmap" offset="80000"/>
		<rom name="061b05.15d" size="131072" crc="2456fb11" sha1="e1bdb9f5983751d28addad6977a44df3d9899a14" region="zoomtmap" offset="100000"/>
		<rom name="061e04.1d" size="1048576" crc="7921d8df" sha1="19ca4850ec489cca245e90a41bfc22493cd52263" region="k053260" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":adc" name="adc0804"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":gfxdecode" name="gfxdecode"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053245" name="k053244"/>
		<device_ref tag=":k053936" name="k053936"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="16" hbstart="304" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4">
			<control type="joy" player="1" buttons="3" ways="8"/>
			<control type="pedal" player="1" minimum="0" maximum="255" sensitivity="35" keydelta="35"/>
			<control type="joy" player="2" buttons="3" ways="8"/>
			<control type="pedal" player="2" minimum="0" maximum="255" sensitivity="35" keydelta="35"/>
			<control type="joy" player="3" buttons="3" ways="8"/>
			<control type="pedal" player="3" minimum="0" maximum="255" sensitivity="35" keydelta="35"/>
			<control type="joy" player="4" buttons="3" ways="8"/>
			<control type="pedal" player="4" minimum="0" maximum="255" sensitivity="35" keydelta="35"/>
		</input>
		<dipswitch name="Freeze" tag="COINS_DSW3" mask="2048">
			<dipvalue name="Off" value="0" default="yes"/>
			<dipvalue name="On" value="2048"/>
		</dipswitch>
		<dipswitch name="Flip Screen" tag="COINS_DSW3" mask="4096">
			<diplocation name="SW3" number="1"/>
			<dipvalue name="Off" value="4096" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="COINS_DSW3" mask="8192">
			<diplocation name="SW3" number="2"/>
			<dipvalue name="Off" value="8192" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Service Mode" tag="COINS_DSW3" mask="16384">
			<diplocation name="SW3" number="3"/>
			<dipvalue name="Off" value="16384" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="COINS_DSW3" mask="32768">
			<diplocation name="SW3" number="4"/>
			<dipvalue name="Off" value="32768" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Coin A" tag="DSW1_DSW2" mask="15">
			<diplocation name="SW1" number="1"/>
			<diplocation name="SW1" number="2"/>
			<diplocation name="SW1" number="3"/>
			<diplocation name="SW1" number="4"/>
			<dipvalue name="4 Coins/1 Credit" value="2"/>
			<dipvalue name="3 Coins/1 Credit" value="5"/>
			<dipvalue name="2 Coins/1 Credit" value="8"/>
			<dipvalue name="3 Coins/2 Credits" value="4"/>
			<dipvalue name="4 Coins/3 Credits" value="1"/>
			<dipvalue name="1 Coin/1 Credit" value="15" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="3"/>
			<dipvalue name="2 Coins/3 Credits" value="7"/>
			<dipvalue name="1 Coin/2 Credits" value="14"/>
			<dipvalue name="2 Coins/5 Credits" value="6"/>
			<dipvalue name="1 Coin/3 Credits" value="13"/>
			<dipvalue name="1 Coin/4 Credits" value="12"/>
			<dipvalue name="1 Coin/5 Credits" value="11"/>
			<dipvalue name="1 Coin/6 Credits" value="10"/>
			<dipvalue name="1 Coin/7 Credits" value="9"/>
			<dipvalue name="Free Play" value="0"/>
		</dipswitch>
		<dipswitch name="Coin B" tag="DSW1_DSW2" mask="240">
			<diplocation name="SW1" number="5"/>
			<diplocation name="SW1" number="6"/>
			<diplocation name="SW1" number="7"/>
			<diplocation name="SW1" number="8"/>
			<dipvalue name="4 Coins/1 Credit" value="32"/>
			<dipvalue name="3 Coins/1 Credit" value="80"/>
			<dipvalue name="2 Coins/1 Credit" value="128"/>
			<dipvalue name="3 Coins/2 Credits" value="64"/>
			<dipvalue name="4 Coins/3 Credits" value="16"/>
			<dipvalue name="1 Coin/1 Credit" value="240" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="48"/>
			<dipvalue name="2 Coins/3 Credits" value="112"/>
			<dipvalue name="1 Coin/2 Credits" value="224"/>
			<dipvalue name="2 Coins/5 Credits" value="96"/>
			<dipvalue name="1 Coin/3 Credits" value="208"/>
			<dipvalue name="1 Coin/4 Credits" value="192"/>
			<dipvalue name="1 Coin/5 Credits" value="176"/>
			<dipvalue name="1 Coin/6 Credits" value="160"/>
			<dipvalue name="1 Coin/7 Credits" value="144"/>
			<dipvalue name="No Coin B" value="0"/>
		</dipswitch>
		<dipswitch name="Players/Controllers" tag="DSW1_DSW2" mask="768">
			<diplocation name="SW2" number="1"/>
			<diplocation name="SW2" number="2"/>
			<dipvalue name="4/1" value="768"/>
			<dipvalue name="4/2" value="512"/>
			<dipvalue name="4/4" value="256" default="yes"/>
			<dipvalue name="3/3" value="0"/>
		</dipswitch>
		<dipswitch name="Sound" tag="DSW1_DSW2" mask="1024">
			<diplocation name="SW2" number="3"/>
			<dipvalue name="Mono" value="1024"/>
			<dipvalue name="Stereo" value="0" default="yes"/>
		</dipswitch>
		<dipswitch name="Initial/Maximum Credit" tag="DSW1_DSW2" mask="6144">
			<diplocation name="SW2" number="4"/>
			<diplocation name="SW2" number="5"/>
			<dipvalue name="2/3" value="6144" default="yes"/>
			<dipvalue name="2/4" value="4096"/>
			<dipvalue name="2/5" value="2048"/>
			<dipvalue name="3/5" value="0"/>
		</dipswitch>
		<dipswitch name="Difficulty" tag="DSW1_DSW2" mask="24576">
			<diplocation name="SW2" number="6"/>
			<diplocation name="SW2" number="7"/>
			<dipvalue name="Easy" value="24576"/>
			<dipvalue name="Normal" value="16384" default="yes"/>
			<dipvalue name="Difficult" value="8192"/>
			<dipvalue name="Very Difficult" value="0"/>
		</dipswitch>
		<dipswitch name="Demo Sounds" tag="DSW1_DSW2" mask="32768">
			<diplocation name="SW2" number="8"/>
			<dipvalue name="Off" value="32768"/>
			<dipvalue name="On" value="0" default="yes"/>
		</dipswitch>
		<port tag=":COINS_DSW3">
		</port>
		<port tag=":CONTROLA">
			<analog mask="255"/>
		</port>
		<port tag=":CONTROLB">
			<analog mask="255"/>
		</port>
		<port tag=":CONTROLC">
			<analog mask="255"/>
		</port>
		<port tag=":CONTROLD">
			<analog mask="255"/>
		</port>
		<port tag=":DSW1_DSW2">
		</port>
		<port tag=":P1_P2">
		</port>
		<port tag=":P3_P4">
		</port>
		<driver status="preliminary" emulation="preliminary" savestate="supported"/>
		<feature type="graphics" status="imperfect"/>
	</machine>
	<machine name="glfgreatj" sourcefile="konami/tmnt2.cpp" cloneof="glfgreat" romof="glfgreat">
		<description>Golfing Greats (Japan, version J)</description>
		<year>1991</year>
		<manufacturer>Konami</manufacturer>
		<rom name="061j02.1h" size="131072" crc="7f0d95f4" sha1="20b66cb07ca350dcc11d781511d04988bcff9019" region="maincpu" offset="0"/>
		<rom name="061j03.4h" size="131072" crc="06caa38b" sha1="95a08133f6b025db5f50f528aad480af579ebe3d" region="maincpu" offset="1"/>
		<rom name="061f01.4e" merge="061f01.4e" size="32768" crc="ab9a2a57" sha1="c92738b4d3754c2378cd1e6ae786faa0c5a65808" region="audiocpu" offset="0"/>
		<rom name="061d14.12l" merge="061d14.12l" size="524288" crc="b9440924" sha1="d12763f1c999cfa4f2d6f685a73c8c20204f9cbb" region="k052109" offset="0"/>
		<rom name="061d13.12k" merge="061d13.12k" size="524288" crc="9f999f0b" sha1="f83e3e9e44d7d5ba4c72f72db1ab9f98a0e80fe2" region="k052109" offset="1"/>
		<rom name="061d11.3k" merge="061d11.3k" size="1048576" crc="c45b66a3" sha1="bfb7f9a39d195857893d3f04c28d5c89442c3ac7" region="k053245" offset="0"/>
		<rom name="061d12.8k" merge="061d12.8k" size="1048576" crc="d305ecd1" sha1="28cba6b5eb56b6f5c01e9da341a5c0e2ed3cb407" region="k053245" offset="1"/>
		<rom name="061b08.14g" merge="061b08.14g" size="524288" crc="6ab739c3" sha1="37ed6c9b224189c183895517d6a72738fe92ecc4" region="zoom" offset="0"/>
		<rom name="061b09.15g" merge="061b09.15g" size="524288" crc="42c7a603" sha1="e98e484ca817ed65c7fb80a87d732e70d120676f" region="zoom" offset="80000"/>
		<rom name="061b10.17g" merge="061b10.17g" size="524288" crc="10f89ce7" sha1="cf6a16ed0174db640780da4d11076efeb48a6119" region="zoom" offset="100000"/>
		<rom name="061b07.18d" merge="061b07.18d" size="524288" crc="517887e2" sha1="ff7aa0df2cda3c745a195879c71727352696ef3a" region="zoomtmap" offset="0"/>
		<rom name="061b06.16d" merge="061b06.16d" size="524288" crc="41ada2ad" sha1="7b200e44e040e3d79f2603a02c9991b4655407d4" region="zoomtmap" offset="80000"/>
		<rom name="061b05.15d" merge="061b05.15d" size="131072" crc="2456fb11" sha1="e1bdb9f5983751d28addad6977a44df3d9899a14" region="zoomtmap" offset="100000"/>
		<rom name="061e04.1d" merge="061e04.1d" size="1048576" crc="7921d8df" sha1="19ca4850ec489cca245e90a41bfc22493cd52263" region="k053260" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":adc" name="adc0804"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":gfxdecode" name="gfxdecode"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053245" name="k053244"/>
		<device_ref tag=":k053936" name="k053936"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="16" hbstart="304" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4">
			<control type="pedal" player="1" buttons="4" minimum="0" maximum="255" sensitivity="35" keydelta="35"/>
			<control type="pedal" player="2" buttons="4" minimum="0" maximum="255" sensitivity="35" keydelta="35"/>
			<control type="pedal" player="3" buttons="4" minimum="0" maximum="255" sensitivity="35" keydelta="35"/>
			<control type="pedal" player="4" buttons="4" minimum="0" maximum="255" sensitivity="35" keydelta="35"/>
		</input>
		<dipswitch name="Freeze" tag="COINS_DSW3" mask="2048">
			<dipvalue name="Off" value="0" default="yes"/>
			<dipvalue name="On" value="2048"/>
		</dipswitch>
		<dipswitch name="Flip Screen" tag="COINS_DSW3" mask="4096">
			<diplocation name="SW3" number="1"/>
			<dipvalue name="Off" value="4096" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="COINS_DSW3" mask="8192">
			<diplocation name="SW3" number="2"/>
			<dipvalue name="Off" value="8192" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Service Mode" tag="COINS_DSW3" mask="16384">
			<diplocation name="SW3" number="3"/>
			<dipvalue name="Off" value="16384" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="COINS_DSW3" mask="32768">
			<diplocation name="SW3" number="4"/>
			<dipvalue name="Off" value="32768" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Coin A" tag="DSW1_DSW2" mask="15">
			<diplocation name="SW1" number="1"/>
			<diplocation name="SW1" number="2"/>
			<diplocation name="SW1" number="3"/>
			<diplocation name="SW1" number="4"/>
			<dipvalue name="4 Coins/1 Credit" value="2"/>
			<dipvalue name="3 Coins/1 Credit" value="5"/>
			<dipvalue name="2 Coins/1 Credit" value="8"/>
			<dipvalue name="3 Coins/2 Credits" value="4"/>
			<dipvalue name="4 Coins/3 Credits" value="1"/>
			<dipvalue name="1 Coin/1 Credit" value="15" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="3"/>
			<dipvalue name="2 Coins/3 Credits" value="7"/>
			<dipvalue name="1 Coin/2 Credits" value="14"/>
			<dipvalue name="2 Coins/5 Credits" value="6"/>
			<dipvalue name="1 Coin/3 Credits" value="13"/>
			<dipvalue name="1 Coin/4 Credits" value="12"/>
			<dipvalue name="1 Coin/5 Credits" value="11"/>
			<dipvalue name="1 Coin/6 Credits" value="10"/>
			<dipvalue name="1 Coin/7 Credits" value="9"/>
			<dipvalue name="Free Play" value="0"/>
		</dipswitch>
		<dipswitch name="Coin B" tag="DSW1_DSW2" mask="240">
			<diplocation name="SW1" number="5"/>
			<diplocation name="SW1" number="6"/>
			<diplocation name="SW1" number="7"/>
			<diplocation name="SW1" number="8"/>
			<dipvalue name="4 Coins/1 Credit" value="32"/>
			<dipvalue name="3 Coins/1 Credit" value="80"/>
			<dipvalue name="2 Coins/1 Credit" value="128"/>
			<dipvalue name="3 Coins/2 Credits" value="64"/>
			<dipvalue name="4 Coins/3 Credits" value="16"/>
			<dipvalue name="1 Coin/1 Credit" value="240" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="48"/>
			<dipvalue name="2 Coins/3 Credits" value="112"/>
			<dipvalue name="1 Coin/2 Credits" value="224"/>
			<dipvalue name="2 Coins/5 Credits" value="96"/>
			<dipvalue name="1 Coin/3 Credits" value="208"/>
			<dipvalue name="1 Coin/4 Credits" value="192"/>
			<dipvalue name="1 Coin/5 Credits" value="176"/>
			<dipvalue name="1 Coin/6 Credits" value="160"/>
			<dipvalue name="1 Coin/7 Credits" value="144"/>
			<dipvalue name="No Coin B" value="0"/>
		</dipswitch>
		<dipswitch name="Players/Controllers" tag="DSW1_DSW2" mask="768">
			<diplocation name="SW2" number="1"/>
			<diplocation name="SW2" number="2"/>
			<dipvalue name="2/1" value="768"/>
			<dipvalue name="2/2" value="512"/>
			<dipvalue name="4/2" value="256" default="yes"/>
			<dipvalue name="4/4" value="0"/>
		</dipswitch>
		<dipswitch name="Sound" tag="DSW1_DSW2" mask="1024">
			<diplocation name="SW2" number="3"/>
			<dipvalue name="Mono" value="1024"/>
			<dipvalue name="Stereo" value="0" default="yes"/>
		</dipswitch>
		<dipswitch name="Initial/Maximum Credit" tag="DSW1_DSW2" mask="6144">
			<diplocation name="SW2" number="4"/>
			<diplocation name="SW2" number="5"/>
			<dipvalue name="2/2" value="6144"/>
			<dipvalue name="2/3" value="4096" default="yes"/>
			<dipvalue name="2/4" value="2048"/>
			<dipvalue name="2/5" value="0"/>
		</dipswitch>
		<dipswitch name="Difficulty" tag="DSW1_DSW2" mask="24576">
			<diplocation name="SW2" number="6"/>
			<diplocation name="SW2" number="7"/>
			<dipvalue name="Easy" value="24576"/>
			<dipvalue name="Normal" value="16384" default="yes"/>
			<dipvalue name="Difficult" value="8192"/>
			<dipvalue name="Very Difficult" value="0"/>
		</dipswitch>
		<dipswitch name="Demo Sounds" tag="DSW1_DSW2" mask="32768">
			<diplocation name="SW2" number="8"/>
			<dipvalue name="Off" value="32768"/>
			<dipvalue name="On" value="0" default="yes"/>
		</dipswitch>
		<port tag=":COINS_DSW3">
		</port>
		<port tag=":CONTROLA">
			<analog mask="255"/>
		</port>
		<port tag=":CONTROLB">
			<analog mask="255"/>
		</port>
		<port tag=":CONTROLC">
			<analog mask="255"/>
		</port>
		<port tag=":CONTROLD">
			<analog mask="255"/>
		</port>
		<port tag=":DSW1_DSW2">
		</port>
		<port tag=":P1_P2">
		</port>
		<port tag=":P3_P4">
		</port>
		<driver status="preliminary" emulation="preliminary" savestate="supported"/>
		<feature type="graphics" status="imperfect"/>
	</machine>
	<machine name="glfgreatu" sourcefile="konami/tmnt2.cpp" cloneof="glfgreat" romof="glfgreat">
		<description>Golfing Greats (US, version K)</description>
		<year>1991</year>
		<manufacturer>Konami</manufacturer>
		<rom name="061k02.1h" size="131072" crc="7d7a4d43" sha1="e942b256ccb155f86253888884f79db819e501da" region="maincpu" offset="0"/>
		<rom name="061k03.4h" size="131072" crc="3647999a" sha1="3edd0aaa017800b5cd436399f12dc2f23882a8ce" region="maincpu" offset="1"/>
		<rom name="061f01.4e" merge="061f01.4e" size="32768" crc="ab9a2a57" sha1="c92738b4d3754c2378cd1e6ae786faa0c5a65808" region="audiocpu" offset="0"/>
		<rom name="061d14.12l" merge="061d14.12l" size="524288" crc="b9440924" sha1="d12763f1c999cfa4f2d6f685a73c8c20204f9cbb" region="k052109" offset="0"/>
		<rom name="061d13.12k" merge="061d13.12k" size="524288" crc="9f999f0b" sha1="f83e3e9e44d7d5ba4c72f72db1ab9f98a0e80fe2" region="k052109" offset="1"/>
		<rom name="061d11.3k" merge="061d11.3k" size="1048576" crc="c45b66a3" sha1="bfb7f9a39d195857893d3f04c28d5c89442c3ac7" region="k053245" offset="0"/>
		<rom name="061d12.8k" merge="061d12.8k" size="1048576" crc="d305ecd1" sha1="28cba6b5eb56b6f5c01e9da341a5c0e2ed3cb407" region="k053245" offset="1"/>
		<rom name="061b08.14g" merge="061b08.14g" size="524288" crc="6ab739c3" sha1="37ed6c9b224189c183895517d6a72738fe92ecc4" region="zoom" offset="0"/>
		<rom name="061b09.15g" merge="061b09.15g" size="524288" crc="42c7a603" sha1="e98e484ca817ed65c7fb80a87d732e70d120676f" region="zoom" offset="80000"/>
		<rom name="061b10.17g" merge="061b10.17g" size="524288" crc="10f89ce7" sha1="cf6a16ed0174db640780da4d11076efeb48a6119" region="zoom" offset="100000"/>
		<rom name="061b07.18d" merge="061b07.18d" size="524288" crc="517887e2" sha1="ff7aa0df2cda3c745a195879c71727352696ef3a" region="zoomtmap" offset="0"/>
		<rom name="061b06.16d" merge="061b06.16d" size="524288" crc="41ada2ad" sha1="7b200e44e040e3d79f2603a02c9991b4655407d4" region="zoomtmap" offset="80000"/>
		<rom name="061b05.15d" merge="061b05.15d" size="131072" crc="2456fb11" sha1="e1bdb9f5983751d28addad6977a44df3d9899a14" region="zoomtmap" offset="100000"/>
		<rom name="061e04.1d" merge="061e04.1d" size="1048576" crc="7921d8df" sha1="19ca4850ec489cca245e90a41bfc22493cd52263" region="k053260" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":adc" name="adc0804"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":gfxdecode" name="gfxdecode"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053245" name="k053244"/>
		<device_ref tag=":k053936" name="k053936"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="16" hbstart="304" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4">
			<control type="joy" player="1" buttons="3" ways="8"/>
			<control type="pedal" player="1" minimum="0" maximum="255" sensitivity="35" keydelta="35"/>
			<control type="joy" player="2" buttons="3" ways="8"/>
			<control type="pedal" player="2" minimum="0" maximum="255" sensitivity="35" keydelta="35"/>
			<control type="joy" player="3" buttons="3" ways="8"/>
			<control type="pedal" player="3" minimum="0" maximum="255" sensitivity="35" keydelta="35"/>
			<control type="joy" player="4" buttons="3" ways="8"/>
			<control type="pedal" player="4" minimum="0" maximum="255" sensitivity="35" keydelta="35"/>
		</input>
		<dipswitch name="Freeze" tag="COINS_DSW3" mask="2048">
			<dipvalue name="Off" value="0" default="yes"/>
			<dipvalue name="On" value="2048"/>
		</dipswitch>
		<dipswitch name="Flip Screen" tag="COINS_DSW3" mask="4096">
			<diplocation name="SW3" number="1"/>
			<dipvalue name="Off" value="4096" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="COINS_DSW3" mask="8192">
			<diplocation name="SW3" number="2"/>
			<dipvalue name="Off" value="8192" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Service Mode" tag="COINS_DSW3" mask="16384">
			<diplocation name="SW3" number="3"/>
			<dipvalue name="Off" value="16384" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="COINS_DSW3" mask="32768">
			<diplocation name="SW3" number="4"/>
			<dipvalue name="Off" value="32768" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Coin A" tag="DSW1_DSW2" mask="15">
			<diplocation name="SW1" number="1"/>
			<diplocation name="SW1" number="2"/>
			<diplocation name="SW1" number="3"/>
			<diplocation name="SW1" number="4"/>
			<dipvalue name="4 Coins/1 Credit" value="2"/>
			<dipvalue name="3 Coins/1 Credit" value="5"/>
			<dipvalue name="2 Coins/1 Credit" value="8"/>
			<dipvalue name="3 Coins/2 Credits" value="4"/>
			<dipvalue name="4 Coins/3 Credits" value="1"/>
			<dipvalue name="1 Coin/1 Credit" value="15" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="3"/>
			<dipvalue name="2 Coins/3 Credits" value="7"/>
			<dipvalue name="1 Coin/2 Credits" value="14"/>
			<dipvalue name="2 Coins/5 Credits" value="6"/>
			<dipvalue name="1 Coin/3 Credits" value="13"/>
			<dipvalue name="1 Coin/4 Credits" value="12"/>
			<dipvalue name="1 Coin/5 Credits" value="11"/>
			<dipvalue name="1 Coin/6 Credits" value="10"/>
			<dipvalue name="1 Coin/7 Credits" value="9"/>
			<dipvalue name="Free Play" value="0"/>
		</dipswitch>
		<dipswitch name="Coin B" tag="DSW1_DSW2" mask="240">
			<diplocation name="SW1" number="5"/>
			<diplocation name="SW1" number="6"/>
			<diplocation name="SW1" number="7"/>
			<diplocation name="SW1" number="8"/>
			<dipvalue name="4 Coins/1 Credit" value="32"/>
			<dipvalue name="3 Coins/1 Credit" value="80"/>
			<dipvalue name="2 Coins/1 Credit" value="128"/>
			<dipvalue name="3 Coins/2 Credits" value="64"/>
			<dipvalue name="4 Coins/3 Credits" value="16"/>
			<dipvalue name="1 Coin/1 Credit" value="240" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="48"/>
			<dipvalue name="2 Coins/3 Credits" value="112"/>
			<dipvalue name="1 Coin/2 Credits" value="224"/>
			<dipvalue name="2 Coins/5 Credits" value="96"/>
			<dipvalue name="1 Coin/3 Credits" value="208"/>
			<dipvalue name="1 Coin/4 Credits" value="192"/>
			<dipvalue name="1 Coin/5 Credits" value="176"/>
			<dipvalue name="1 Coin/6 Credits" value="160"/>
			<dipvalue name="1 Coin/7 Credits" value="144"/>
			<dipvalue name="No Coin B" value="0"/>
		</dipswitch>
		<dipswitch name="Players/Controllers" tag="DSW1_DSW2" mask="768">
			<diplocation name="SW2" number="1"/>
			<diplocation name="SW2" number="2"/>
			<dipvalue name="4/1" value="768"/>
			<dipvalue name="4/2" value="512"/>
			<dipvalue name="4/4" value="256" default="yes"/>
			<dipvalue name="3/3" value="0"/>
		</dipswitch>
		<dipswitch name="Sound" tag="DSW1_DSW2" mask="1024">
			<diplocation name="SW2" number="3"/>
			<dipvalue name="Mono" value="1024"/>
			<dipvalue name="Stereo" value="0" default="yes"/>
		</dipswitch>
		<dipswitch name="Initial/Maximum Credit" tag="DSW1_DSW2" mask="6144">
			<diplocation name="SW2" number="4"/>
			<diplocation name="SW2" number="5"/>
			<dipvalue name="2/2" value="6144"/>
			<dipvalue name="2/3" value="4096" default="yes"/>
			<dipvalue name="2/4" value="2048"/>
			<dipvalue name="2/5" value="0"/>
		</dipswitch>
		<dipswitch name="Difficulty" tag="DSW1_DSW2" mask="24576">
			<diplocation name="SW2" number="6"/>
			<diplocation name="SW2" number="7"/>
			<dipvalue name="Easy" value="24576"/>
			<dipvalue name="Normal" value="16384" default="yes"/>
			<dipvalue name="Difficult" value="8192"/>
			<dipvalue name="Very Difficult" value="0"/>
		</dipswitch>
		<dipswitch name="Demo Sounds" tag="DSW1_DSW2" mask="32768">
			<diplocation name="SW2" number="8"/>
			<dipvalue name="Off" value="32768"/>
			<dipvalue name="On" value="0" default="yes"/>
		</dipswitch>
		<port tag=":COINS_DSW3">
		</port>
		<port tag=":CONTROLA">
			<analog mask="255"/>
		</port>
		<port tag=":CONTROLB">
			<analog mask="255"/>
		</port>
		<port tag=":CONTROLC">
			<analog mask="255"/>
		</port>
		<port tag=":CONTROLD">
			<analog mask="255"/>
		</port>
		<port tag=":DSW1_DSW2">
		</port>
		<port tag=":P1_P2">
		</port>
		<port tag=":P3_P4">
		</port>
		<driver status="preliminary" emulation="preliminary" savestate="supported"/>
		<feature type="graphics" status="imperfect"/>
	</machine>
	<machine name="lgtnfght" sourcefile="konami/tmnt2.cpp">
		<description>Lightning Fighters (World)</description>
		<year>1990</year>
		<manufacturer>Konami</manufacturer>
		<rom name="939k02.e11" size="131072" crc="2dfefa53" sha1="135f3d06b04f950d1afc5fc0f8237c7af0e426b5" region="maincpu" offset="0"/>
		<rom name="939k03.e15" size="131072" crc="14f0c454" sha1="bc1fd3a58b493b443b93077014fdf37cf563e879" region="maincpu" offset="1"/>
		<rom name="939e01.d7" size="32768" crc="4a5fc848" sha1="878825e07c2718b7c923ad7c77daddf18cb28beb" region="audiocpu" offset="0"/>
		<rom name="939a07.k14" size="524288" crc="7955dfcf" sha1="012644c1bfbe2e5d1c7ba25f29ebfde7dbfd1c0d" region="k052109" offset="0"/>
		<rom name="939a08.k19" size="524288" crc="ed95b385" sha1="5aa5291cf1a8935b0a65ae10aa20b9cf9a138b03" region="k052109" offset="2"/>
		<rom name="939a06.k8" size="524288" crc="e393c206" sha1="9b35fc6dba1f15c3d9d69ff5a4e1673c539aa533" region="k053245" offset="0"/>
		<rom name="939a05.k2" size="524288" crc="3662d47a" sha1="789c3f07ce812902050970f48be5115b8e95bea0" region="k053245" offset="2"/>
		<rom name="939a04.c5" size="524288" crc="c24e2b6e" sha1="affc142883c2383afd08dcf156e48709ceca49fd" region="k053260" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053245" name="k053244"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="90" width="320" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="0" hbstart="320" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2">
			<control type="joy" player="1" buttons="3" ways="8"/>
			<control type="joy" player="2" buttons="3" ways="8"/>
		</input>
		<dipswitch name="Lives" tag="DSW1" mask="3">
			<diplocation name="SW2" number="1"/>
			<diplocation name="SW2" number="2"/>
			<dipvalue name="2" value="3"/>
			<dipvalue name="3" value="2" default="yes"/>
			<dipvalue name="5" value="1"/>
			<dipvalue name="7" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="4">
			<diplocation name="SW2" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Bonus Life" tag="DSW1" mask="24">
			<diplocation name="SW2" number="4"/>
			<diplocation name="SW2" number="5"/>
			<dipvalue name="100K, 400K" value="24" default="yes"/>
			<dipvalue name="150K, 500K" value="16"/>
			<dipvalue name="200K Only" value="8"/>
			<dipvalue name="None" value="0"/>
		</dipswitch>
		<dipswitch name="Difficulty" tag="DSW1" mask="96">
			<diplocation name="SW2" number="6"/>
			<diplocation name="SW2" number="7"/>
			<dipvalue name="Easy" value="96"/>
			<dipvalue name="Normal" value="64" default="yes"/>
			<dipvalue name="Difficult" value="32"/>
			<dipvalue name="Very Difficult" value="0"/>
		</dipswitch>
		<dipswitch name="Demo Sounds" tag="DSW1" mask="128">
			<diplocation name="SW2" number="8"/>
			<dipvalue name="Off" value="128"/>
			<dipvalue name="On" value="0" default="yes"/>
		</dipswitch>
		<dipswitch name="Coin A" tag="DSW2" mask="15">
			<diplocation name="SW1" number="1"/>
			<diplocation name="SW1" number="2"/>
			<diplocation name="SW1" number="3"/>
			<diplocation name="SW1" number="4"/>
			<dipvalue name="4 Coins/1 Credit" value="2"/>
			<dipvalue name="3 Coins/1 Credit" value="5"/>
			<dipvalue name="2 Coins/1 Credit" value="8"/>
			<dipvalue name="3 Coins/2 Credits" value="4"/>
			<dipvalue name="4 Coins/3 Credits" value="1"/>
			<dipvalue name="1 Coin/1 Credit" value="15" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="3"/>
			<dipvalue name="2 Coins/3 Credits" value="7"/>
			<dipvalue name="1 Coin/2 Credits" value="14"/>
			<dipvalue name="2 Coins/5 Credits" value="6"/>
			<dipvalue name="1 Coin/3 Credits" value="13"/>
			<dipvalue name="1 Coin/4 Credits" value="12"/>
			<dipvalue name="1 Coin/5 Credits" value="11"/>
			<dipvalue name="1 Coin/6 Credits" value="10"/>
			<dipvalue name="1 Coin/7 Credits" value="9"/>
			<dipvalue name="Free Play" value="0"/>
		</dipswitch>
		<dipswitch name="Coin B" tag="DSW2" mask="240">
			<diplocation name="SW1" number="5"/>
			<diplocation name="SW1" number="6"/>
			<diplocation name="SW1" number="7"/>
			<diplocation name="SW1" number="8"/>
			<dipvalue name="4 Coins/1 Credit" value="32"/>
			<dipvalue name="3 Coins/1 Credit" value="80"/>
			<dipvalue name="2 Coins/1 Credit" value="128"/>
			<dipvalue name="3 Coins/2 Credits" value="64"/>
			<dipvalue name="4 Coins/3 Credits" value="16"/>
			<dipvalue name="1 Coin/1 Credit" value="240" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="48"/>
			<dipvalue name="2 Coins/3 Credits" value="112"/>
			<dipvalue name="1 Coin/2 Credits" value="224"/>
			<dipvalue name="2 Coins/5 Credits" value="96"/>
			<dipvalue name="1 Coin/3 Credits" value="208"/>
			<dipvalue name="1 Coin/4 Credits" value="192"/>
			<dipvalue name="1 Coin/5 Credits" value="176"/>
			<dipvalue name="1 Coin/6 Credits" value="160"/>
			<dipvalue name="1 Coin/7 Credits" value="144"/>
			<dipvalue name="No Coin B" value="0"/>
		</dipswitch>
		<dipswitch name="Flip Screen" tag="DSW3" mask="1">
			<diplocation name="SW3" number="1"/>
			<dipvalue name="Off" value="1" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Sound" tag="DSW3" mask="2">
			<diplocation name="SW3" number="2"/>
			<dipvalue name="Mono" value="2"/>
			<dipvalue name="Stereo" value="0" default="yes"/>
		</dipswitch>
		<dipswitch name="Service Mode" tag="DSW3" mask="4">
			<diplocation name="SW3" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="8">
			<diplocation name="SW3" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<port tag=":COINS">
		</port>
		<port tag=":DSW1">
		</port>
		<port tag=":DSW2">
		</port>
		<port tag=":DSW3">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="lgtnfghta" sourcefile="konami/tmnt2.cpp" cloneof="lgtnfght" romof="lgtnfght">
		<description>Lightning Fighters (Asia)</description>
		<year>1990</year>
		<manufacturer>Konami</manufacturer>
		<rom name="939j_02.e11" size="131072" crc="bbbb4a74" sha1="5ba5bb1a5b48a99aafc2b5b5bafe755566eda0e9" region="maincpu" offset="0"/>
		<rom name="939j_03.e15" size="131072" crc="8d4da7b7" sha1="0c5b0421ce6908eec458dcded3609d150a710b97" region="maincpu" offset="1"/>
		<rom name="939e01.d7" merge="939e01.d7" size="32768" crc="4a5fc848" sha1="878825e07c2718b7c923ad7c77daddf18cb28beb" region="audiocpu" offset="0"/>
		<rom name="939a07.k14" merge="939a07.k14" size="524288" crc="7955dfcf" sha1="012644c1bfbe2e5d1c7ba25f29ebfde7dbfd1c0d" region="k052109" offset="0"/>
		<rom name="939a08.k19" merge="939a08.k19" size="524288" crc="ed95b385" sha1="5aa5291cf1a8935b0a65ae10aa20b9cf9a138b03" region="k052109" offset="2"/>
		<rom name="939a06.k8" merge="939a06.k8" size="524288" crc="e393c206" sha1="9b35fc6dba1f15c3d9d69ff5a4e1673c539aa533" region="k053245" offset="0"/>
		<rom name="939a05.k2" merge="939a05.k2" size="524288" crc="3662d47a" sha1="789c3f07ce812902050970f48be5115b8e95bea0" region="k053245" offset="2"/>
		<rom name="939a04.c5" merge="939a04.c5" size="524288" crc="c24e2b6e" sha1="affc142883c2383afd08dcf156e48709ceca49fd" region="k053260" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053245" name="k053244"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="90" width="320" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="0" hbstart="320" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2">
			<control type="joy" player="1" buttons="3" ways="8"/>
			<control type="joy" player="2" buttons="3" ways="8"/>
		</input>
		<dipswitch name="Lives" tag="DSW1" mask="3">
			<diplocation name="SW2" number="1"/>
			<diplocation name="SW2" number="2"/>
			<dipvalue name="2" value="3"/>
			<dipvalue name="3" value="2" default="yes"/>
			<dipvalue name="5" value="1"/>
			<dipvalue name="7" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="4">
			<diplocation name="SW2" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Bonus Life" tag="DSW1" mask="24">
			<diplocation name="SW2" number="4"/>
			<diplocation name="SW2" number="5"/>
			<dipvalue name="100K, 400K" value="24" default="yes"/>
			<dipvalue name="150K, 500K" value="16"/>
			<dipvalue name="200K Only" value="8"/>
			<dipvalue name="None" value="0"/>
		</dipswitch>
		<dipswitch name="Difficulty" tag="DSW1" mask="96">
			<diplocation name="SW2" number="6"/>
			<diplocation name="SW2" number="7"/>
			<dipvalue name="Easy" value="96"/>
			<dipvalue name="Normal" value="64" default="yes"/>
			<dipvalue name="Difficult" value="32"/>
			<dipvalue name="Very Difficult" value="0"/>
		</dipswitch>
		<dipswitch name="Demo Sounds" tag="DSW1" mask="128">
			<diplocation name="SW2" number="8"/>
			<dipvalue name="Off" value="128"/>
			<dipvalue name="On" value="0" default="yes"/>
		</dipswitch>
		<dipswitch name="Coin A" tag="DSW2" mask="15">
			<diplocation name="SW1" number="1"/>
			<diplocation name="SW1" number="2"/>
			<diplocation name="SW1" number="3"/>
			<diplocation name="SW1" number="4"/>
			<dipvalue name="4 Coins/1 Credit" value="2"/>
			<dipvalue name="3 Coins/1 Credit" value="5"/>
			<dipvalue name="2 Coins/1 Credit" value="8"/>
			<dipvalue name="3 Coins/2 Credits" value="4"/>
			<dipvalue name="4 Coins/3 Credits" value="1"/>
			<dipvalue name="1 Coin/1 Credit" value="15" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="3"/>
			<dipvalue name="2 Coins/3 Credits" value="7"/>
			<dipvalue name="1 Coin/2 Credits" value="14"/>
			<dipvalue name="2 Coins/5 Credits" value="6"/>
			<dipvalue name="1 Coin/3 Credits" value="13"/>
			<dipvalue name="1 Coin/4 Credits" value="12"/>
			<dipvalue name="1 Coin/5 Credits" value="11"/>
			<dipvalue name="1 Coin/6 Credits" value="10"/>
			<dipvalue name="1 Coin/7 Credits" value="9"/>
			<dipvalue name="Free Play" value="0"/>
		</dipswitch>
		<dipswitch name="Coin B" tag="DSW2" mask="240">
			<diplocation name="SW1" number="5"/>
			<diplocation name="SW1" number="6"/>
			<diplocation name="SW1" number="7"/>
			<diplocation name="SW1" number="8"/>
			<dipvalue name="4 Coins/1 Credit" value="32"/>
			<dipvalue name="3 Coins/1 Credit" value="80"/>
			<dipvalue name="2 Coins/1 Credit" value="128"/>
			<dipvalue name="3 Coins/2 Credits" value="64"/>
			<dipvalue name="4 Coins/3 Credits" value="16"/>
			<dipvalue name="1 Coin/1 Credit" value="240" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="48"/>
			<dipvalue name="2 Coins/3 Credits" value="112"/>
			<dipvalue name="1 Coin/2 Credits" value="224"/>
			<dipvalue name="2 Coins/5 Credits" value="96"/>
			<dipvalue name="1 Coin/3 Credits" value="208"/>
			<dipvalue name="1 Coin/4 Credits" value="192"/>
			<dipvalue name="1 Coin/5 Credits" value="176"/>
			<dipvalue name="1 Coin/6 Credits" value="160"/>
			<dipvalue name="1 Coin/7 Credits" value="144"/>
			<dipvalue name="No Coin B" value="0"/>
		</dipswitch>
		<dipswitch name="Flip Screen" tag="DSW3" mask="1">
			<diplocation name="SW3" number="1"/>
			<dipvalue name="Off" value="1" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Sound" tag="DSW3" mask="2">
			<diplocation name="SW3" number="2"/>
			<dipvalue name="Mono" value="2"/>
			<dipvalue name="Stereo" value="0" default="yes"/>
		</dipswitch>
		<dipswitch name="Service Mode" tag="DSW3" mask="4">
			<diplocation name="SW3" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="8">
			<diplocation name="SW3" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<port tag=":COINS">
		</port>
		<port tag=":DSW1">
		</port>
		<port tag=":DSW2">
		</port>
		<port tag=":DSW3">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="lgtnfghtu" sourcefile="konami/tmnt2.cpp" cloneof="lgtnfght" romof="lgtnfght">
		<description>Lightning Fighters (US)</description>
		<year>1990</year>
		<manufacturer>Konami</manufacturer>
		<rom name="939m02.e11" size="131072" crc="61a12184" sha1="f6d82aa0a444f885fd1e5d3d1464798b639a1710" region="maincpu" offset="0"/>
		<rom name="939m03.e15" size="131072" crc="6db6659d" sha1="def943b906eab68a0b86f9a28fb0b9a1f3b65e4c" region="maincpu" offset="1"/>
		<rom name="939e01.d7" merge="939e01.d7" size="32768" crc="4a5fc848" sha1="878825e07c2718b7c923ad7c77daddf18cb28beb" region="audiocpu" offset="0"/>
		<rom name="939a07.k14" merge="939a07.k14" size="524288" crc="7955dfcf" sha1="012644c1bfbe2e5d1c7ba25f29ebfde7dbfd1c0d" region="k052109" offset="0"/>
		<rom name="939a08.k19" merge="939a08.k19" size="524288" crc="ed95b385" sha1="5aa5291cf1a8935b0a65ae10aa20b9cf9a138b03" region="k052109" offset="2"/>
		<rom name="939a06.k8" merge="939a06.k8" size="524288" crc="e393c206" sha1="9b35fc6dba1f15c3d9d69ff5a4e1673c539aa533" region="k053245" offset="0"/>
		<rom name="939a05.k2" merge="939a05.k2" size="524288" crc="3662d47a" sha1="789c3f07ce812902050970f48be5115b8e95bea0" region="k053245" offset="2"/>
		<rom name="939a04.c5" merge="939a04.c5" size="524288" crc="c24e2b6e" sha1="affc142883c2383afd08dcf156e48709ceca49fd" region="k053260" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053245" name="k053244"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="90" width="320" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="0" hbstart="320" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2">
			<control type="joy" player="1" buttons="3" ways="8"/>
			<control type="joy" player="2" buttons="3" ways="8"/>
		</input>
		<dipswitch name="Lives" tag="DSW1" mask="3">
			<diplocation name="SW2" number="1"/>
			<diplocation name="SW2" number="2"/>
			<dipvalue name="2" value="3"/>
			<dipvalue name="3" value="2" default="yes"/>
			<dipvalue name="5" value="1"/>
			<dipvalue name="7" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="4">
			<diplocation name="SW2" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Bonus Life" tag="DSW1" mask="24">
			<diplocation name="SW2" number="4"/>
			<diplocation name="SW2" number="5"/>
			<dipvalue name="100K, 400K" value="24" default="yes"/>
			<dipvalue name="150K, 500K" value="16"/>
			<dipvalue name="200K Only" value="8"/>
			<dipvalue name="None" value="0"/>
		</dipswitch>
		<dipswitch name="Difficulty" tag="DSW1" mask="96">
			<diplocation name="SW2" number="6"/>
			<diplocation name="SW2" number="7"/>
			<dipvalue name="Easy" value="96"/>
			<dipvalue name="Normal" value="64" default="yes"/>
			<dipvalue name="Difficult" value="32"/>
			<dipvalue name="Very Difficult" value="0"/>
		</dipswitch>
		<dipswitch name="Demo Sounds" tag="DSW1" mask="128">
			<diplocation name="SW2" number="8"/>
			<dipvalue name="Off" value="128"/>
			<dipvalue name="On" value="0" default="yes"/>
		</dipswitch>
		<dipswitch name="Coin A" tag="DSW2" mask="15">
			<diplocation name="SW1" number="1"/>
			<diplocation name="SW1" number="2"/>
			<diplocation name="SW1" number="3"/>
			<diplocation name="SW1" number="4"/>
			<dipvalue name="4 Coins/1 Credit" value="2"/>
			<dipvalue name="3 Coins/1 Credit" value="5"/>
			<dipvalue name="2 Coins/1 Credit" value="8"/>
			<dipvalue name="3 Coins/2 Credits" value="4"/>
			<dipvalue name="4 Coins/3 Credits" value="1"/>
			<dipvalue name="1 Coin/1 Credit" value="15" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="3"/>
			<dipvalue name="2 Coins/3 Credits" value="7"/>
			<dipvalue name="1 Coin/2 Credits" value="14"/>
			<dipvalue name="2 Coins/5 Credits" value="6"/>
			<dipvalue name="1 Coin/3 Credits" value="13"/>
			<dipvalue name="1 Coin/4 Credits" value="12"/>
			<dipvalue name="1 Coin/5 Credits" value="11"/>
			<dipvalue name="1 Coin/6 Credits" value="10"/>
			<dipvalue name="1 Coin/7 Credits" value="9"/>
			<dipvalue name="Free Play" value="0"/>
		</dipswitch>
		<dipswitch name="Coin B" tag="DSW2" mask="240">
			<diplocation name="SW1" number="5"/>
			<diplocation name="SW1" number="6"/>
			<diplocation name="SW1" number="7"/>
			<diplocation name="SW1" number="8"/>
			<dipvalue name="4 Coins/1 Credit" value="32"/>
			<dipvalue name="3 Coins/1 Credit" value="80"/>
			<dipvalue name="2 Coins/1 Credit" value="128"/>
			<dipvalue name="3 Coins/2 Credits" value="64"/>
			<dipvalue name="4 Coins/3 Credits" value="16"/>
			<dipvalue name="1 Coin/1 Credit" value="240" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="48"/>
			<dipvalue name="2 Coins/3 Credits" value="112"/>
			<dipvalue name="1 Coin/2 Credits" value="224"/>
			<dipvalue name="2 Coins/5 Credits" value="96"/>
			<dipvalue name="1 Coin/3 Credits" value="208"/>
			<dipvalue name="1 Coin/4 Credits" value="192"/>
			<dipvalue name="1 Coin/5 Credits" value="176"/>
			<dipvalue name="1 Coin/6 Credits" value="160"/>
			<dipvalue name="1 Coin/7 Credits" value="144"/>
			<dipvalue name="No Coin B" value="0"/>
		</dipswitch>
		<dipswitch name="Flip Screen" tag="DSW3" mask="1">
			<diplocation name="SW3" number="1"/>
			<dipvalue name="Off" value="1" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Sound" tag="DSW3" mask="2">
			<diplocation name="SW3" number="2"/>
			<dipvalue name="Mono" value="2"/>
			<dipvalue name="Stereo" value="0" default="yes"/>
		</dipswitch>
		<dipswitch name="Service Mode" tag="DSW3" mask="4">
			<diplocation name="SW3" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="8">
			<diplocation name="SW3" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<port tag=":COINS">
		</port>
		<port tag=":DSW1">
		</port>
		<port tag=":DSW2">
		</port>
		<port tag=":DSW3">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="mia" sourcefile="konami/tmnt.cpp">
		<description>M.I.A. - Missing in Action (version T)</description>
		<year>1989</year>
		<manufacturer>Konami</manufacturer>
		<rom name="808t20.h17" size="131072" crc="6f0acb1d" sha1="af3447fd4645cb03b1660df2ae076fa53ff81945" region="maincpu" offset="0"/>
		<rom name="808t21.j17" size="131072" crc="42a30416" sha1="8d9d27de96e79cae5230705beecadff0180cc479" region="maincpu" offset="1"/>
		<rom name="808e03.f4" size="32768" crc="3d93a7cd" sha1="dcdd327e78f32436b276d0666f62a5b733b296e8" region="audiocpu" offset="0"/>
		<rom name="808e12.f28" size="65536" crc="d62f1fde" sha1="1e55084f1294b6ac7c152fcd1800511fcab5d360" region="k052109" offset="0"/>
		<rom name="808e13.h28" size="65536" crc="1fa708f4" sha1="9511a19f50fb61571c2986c72d1a85e87b8d0495" region="k052109" offset="1"/>
		<rom name="808e22.i28" size="65536" crc="73d758f6" sha1="69e7079c3178f6f5acae533dae4854808c45bc29" region="k052109" offset="2"/>
		<rom name="808e23.k28" size="65536" crc="8ff08b21" sha1="9a8a03a960967f6f1d982b490f1724427538ecac" region="k052109" offset="3"/>
		<rom name="808d17.j4" size="524288" crc="d1299082" sha1="c3c07b0517e7428ccd1cdf9e15aaf16d98e7c4cd" region="k051960" offset="0"/>
		<rom name="808d15.h4" size="524288" crc="2b22a6b6" sha1="8e1af0627a4eac045128c4096e2cfb59c3d2f5ef" region="k051960" offset="2"/>
		<rom name="808a18.f16" size="256" crc="eb95aede" sha1="8153eb516ae9753910c6d6a2143e91e079586836" region="proms" offset="0"/>
		<rom name="808d01.d4" size="131072" crc="fd4d37c0" sha1="ef91c6e7bb57c27a9a51729fffd1bfe3e806fb61" region="k007232" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k051960" name="k051960"/>
		<device_ref tag=":mono" name="speaker"/>
		<device_ref tag=":soundlatch" name="generic_latch_8"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k007232" name="k007232"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="mono" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k007232" name="Konami 007232 PCM Controller" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="304" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="8" hbstart="312" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2">
			<control type="joy" player="1" buttons="3" ways="8"/>
			<control type="joy" player="2" buttons="3" ways="8"/>
		</input>
		<dipswitch name="Coin A" tag="DSW1" mask="15">
			<diplocation name="SW1" number="1"/>
			<diplocation name="SW1" number="2"/>
			<diplocation name="SW1" number="3"/>
			<diplocation name="SW1" number="4"/>
			<dipvalue name="4 Coins/1 Credit" value="2"/>
			<dipvalue name="3 Coins/1 Credit" value="5"/>
			<dipvalue name="2 Coins/1 Credit" value="8"/>
			<dipvalue name="3 Coins/2 Credits" value="4"/>
			<dipvalue name="4 Coins/3 Credits" value="1"/>
			<dipvalue name="1 Coin/1 Credit" value="15" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="3"/>
			<dipvalue name="2 Coins/3 Credits" value="7"/>
			<dipvalue name="1 Coin/2 Credits" value="14"/>
			<dipvalue name="2 Coins/5 Credits" value="6"/>
			<dipvalue name="1 Coin/3 Credits" value="13"/>
			<dipvalue name="1 Coin/4 Credits" value="12"/>
			<dipvalue name="1 Coin/5 Credits" value="11"/>
			<dipvalue name="1 Coin/6 Credits" value="10"/>
			<dipvalue name="1 Coin/7 Credits" value="9"/>
			<dipvalue name="Free Play" value="0"/>
		</dipswitch>
		<dipswitch name="Coin B" tag="DSW1" mask="240">
			<diplocation name="SW1" number="5"/>
			<diplocation name="SW1" number="6"/>
			<diplocation name="SW1" number="7"/>
			<diplocation name="SW1" number="8"/>
			<dipvalue name="4 Coins/1 Credit" value="32"/>
			<dipvalue name="3 Coins/1 Credit" value="80"/>
			<dipvalue name="2 Coins/1 Credit" value="128"/>
			<dipvalue name="3 Coins/2 Credits" value="64"/>
			<dipvalue name="4 Coins/3 Credits" value="16"/>
			<dipvalue name="1 Coin/1 Credit" value="240" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="48"/>
			<dipvalue name="2 Coins/3 Credits" value="112"/>
			<dipvalue name="1 Coin/2 Credits" value="224"/>
			<dipvalue name="2 Coins/5 Credits" value="96"/>
			<dipvalue name="1 Coin/3 Credits" value="208"/>
			<dipvalue name="1 Coin/4 Credits" value="192"/>
			<dipvalue name="1 Coin/5 Credits" value="176"/>
			<dipvalue name="1 Coin/6 Credits" value="160"/>
			<dipvalue name="1 Coin/7 Credits" value="144"/>
			<dipvalue name="Invalid" value="0"/>
		</dipswitch>
		<dipswitch name="Lives" tag="DSW2" mask="3">
			<diplocation name="SW2" number="1"/>
			<diplocation name="SW2" number="2"/>
			<dipvalue name="2" value="3"/>
			<dipvalue name="3" value="2" default="yes"/>
			<dipvalue name="5" value="1"/>
			<dipvalue name="7" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="4">
			<diplocation name="SW2" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Bonus Life" tag="DSW2" mask="24">
			<diplocation name="SW2" number="4"/>
			<diplocation name="SW2" number="5"/>
			<dipvalue name="30K, Every 80K" value="24"/>
			<dipvalue name="50K, Every 100K" value="16"/>
			<dipvalue name="50K Only" value="8" default="yes"/>
			<dipvalue name="100K Only" value="0"/>
		</dipswitch>
		<dipswitch name="Difficulty" tag="DSW2" mask="96">
			<diplocation name="SW2" number="6"/>
			<diplocation name="SW2" number="7"/>
			<dipvalue name="Easy" value="96"/>
			<dipvalue name="Normal" value="64"/>
			<dipvalue name="Difficult" value="32" default="yes"/>
			<dipvalue name="Very Difficult" value="0"/>
		</dipswitch>
		<dipswitch name="Demo Sounds" tag="DSW2" mask="128">
			<diplocation name="SW2" number="8"/>
			<dipvalue name="Off" value="128"/>
			<dipvalue name="On" value="0" default="yes"/>
		</dipswitch>
		<dipswitch name="Flip Screen" tag="DSW3" mask="1">
			<diplocation name="SW3" number="1"/>
			<dipvalue name="Off" value="1" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="VRAM Character Check" tag="DSW3" mask="2">
			<diplocation name="SW3" number="2"/>
			<dipvalue name="Off" value="2" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Service Mode" tag="DSW3" mask="4">
			<diplocation name="SW3" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="8">
			<diplocation name="SW3" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<port tag=":COINS">
		</port>
		<port tag=":DSW1">
		</port>
		<port tag=":DSW2">
		</port>
		<port tag=":DSW3">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="mia2" sourcefile="konami/tmnt.cpp" cloneof="mia" romof="mia">
		<description>M.I.A. - Missing in Action (version S)</description>
		<year>1989</year>
		<manufacturer>Konami</manufacturer>
		<rom name="808s20.h17" size="131072" crc="caa2897f" sha1="58f69586d1cd49acf64cf34a69a9ba88dba0923c" region="maincpu" offset="0"/>
		<rom name="808s21.j17" size="131072" crc="3d892ffb" sha1="f6c0f8aa83f5688c8b57c5a66a481f65a5d4f530" region="maincpu" offset="1"/>
		<rom name="808e03.f4" merge="808e03.f4" size="32768" crc="3d93a7cd" sha1="dcdd327e78f32436b276d0666f62a5b733b296e8" region="audiocpu" offset="0"/>
		<rom name="808e12.f28" merge="808e12.f28" size="65536" crc="d62f1fde" sha1="1e55084f1294b6ac7c152fcd1800511fcab5d360" region="k052109" offset="0"/>
		<rom name="808e13.h28" merge="808e13.h28" size="65536" crc="1fa708f4" sha1="9511a19f50fb61571c2986c72d1a85e87b8d0495" region="k052109" offset="1"/>
		<rom name="808e22.i28" merge="808e22.i28" size="65536" crc="73d758f6" sha1="69e7079c3178f6f5acae533dae4854808c45bc29" region="k052109" offset="2"/>
		<rom name="808e23.k28" merge="808e23.k28" size="65536" crc="8ff08b21" sha1="9a8a03a960967f6f1d982b490f1724427538ecac" region="k052109" offset="3"/>
		<rom name="808d17.j4" merge="808d17.j4" size="524288" crc="d1299082" sha1="c3c07b0517e7428ccd1cdf9e15aaf16d98e7c4cd" region="k051960" offset="0"/>
		<rom name="808d15.h4" merge="808d15.h4" size="524288" crc="2b22a6b6" sha1="8e1af0627a4eac045128c4096e2cfb59c3d2f5ef" region="k051960" offset="2"/>
		<rom name="808a18.f16" merge="808a18.f16" size="256" crc="eb95aede" sha1="8153eb516ae9753910c6d6a2143e91e079586836" region="proms" offset="0"/>
		<rom name="808d01.d4" merge="808d01.d4" size="131072" crc="fd4d37c0" sha1="ef91c6e7bb57c27a9a51729fffd1bfe3e806fb61" region="k007232" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k051960" name="k051960"/>
		<device_ref tag=":mono" name="speaker"/>
		<device_ref tag=":soundlatch" name="generic_latch_8"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k007232" name="k007232"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="mono" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k007232" name="Konami 007232 PCM Controller" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="304" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="8" hbstart="312" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2">
			<control type="joy" player="1" buttons="3" ways="8"/>
			<control type="joy" player="2" buttons="3" ways="8"/>
		</input>
		<dipswitch name="Coin A" tag="DSW1" mask="15">
			<diplocation name="SW1" number="1"/>
			<diplocation name="SW1" number="2"/>
			<diplocation name="SW1" number="3"/>
			<diplocation name="SW1" number="4"/>
			<dipvalue name="4 Coins/1 Credit" value="2"/>
			<dipvalue name="3 Coins/1 Credit" value="5"/>
			<dipvalue name="2 Coins/1 Credit" value="8"/>
			<dipvalue name="3 Coins/2 Credits" value="4"/>
			<dipvalue name="4 Coins/3 Credits" value="1"/>
			<dipvalue name="1 Coin/1 Credit" value="15" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="3"/>
			<dipvalue name="2 Coins/3 Credits" value="7"/>
			<dipvalue name="1 Coin/2 Credits" value="14"/>
			<dipvalue name="2 Coins/5 Credits" value="6"/>
			<dipvalue name="1 Coin/3 Credits" value="13"/>
			<dipvalue name="1 Coin/4 Credits" value="12"/>
			<dipvalue name="1 Coin/5 Credits" value="11"/>
			<dipvalue name="1 Coin/6 Credits" value="10"/>
			<dipvalue name="1 Coin/7 Credits" value="9"/>
			<dipvalue name="Free Play" value="0"/>
		</dipswitch>
		<dipswitch name="Coin B" tag="DSW1" mask="240">
			<diplocation name="SW1" number="5"/>
			<diplocation name="SW1" number="6"/>
			<diplocation name="SW1" number="7"/>
			<diplocation name="SW1" number="8"/>
			<dipvalue name="4 Coins/1 Credit" value="32"/>
			<dipvalue name="3 Coins/1 Credit" value="80"/>
			<dipvalue name="2 Coins/1 Credit" value="128"/>
			<dipvalue name="3 Coins/2 Credits" value="64"/>
			<dipvalue name="4 Coins/3 Credits" value="16"/>
			<dipvalue name="1 Coin/1 Credit" value="240" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="48"/>
			<dipvalue name="2 Coins/3 Credits" value="112"/>
			<dipvalue name="1 Coin/2 Credits" value="224"/>
			<dipvalue name="2 Coins/5 Credits" value="96"/>
			<dipvalue name="1 Coin/3 Credits" value="208"/>
			<dipvalue name="1 Coin/4 Credits" value="192"/>
			<dipvalue name="1 Coin/5 Credits" value="176"/>
			<dipvalue name="1 Coin/6 Credits" value="160"/>
			<dipvalue name="1 Coin/7 Credits" value="144"/>
			<dipvalue name="Invalid" value="0"/>
		</dipswitch>
		<dipswitch name="Lives" tag="DSW2" mask="3">
			<diplocation name="SW2" number="1"/>
			<diplocation name="SW2" number="2"/>
			<dipvalue name="2" value="3"/>
			<dipvalue name="3" value="2" default="yes"/>
			<dipvalue name="5" value="1"/>
			<dipvalue name="7" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="4">
			<diplocation name="SW2" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Bonus Life" tag="DSW2" mask="24">
			<diplocation name="SW2" number="4"/>
			<diplocation name="SW2" number="5"/>
			<dipvalue name="30K, Every 80K" value="24"/>
			<dipvalue name="50K, Every 100K" value="16"/>
			<dipvalue name="50K Only" value="8" default="yes"/>
			<dipvalue name="100K Only" value="0"/>
		</dipswitch>
		<dipswitch name="Difficulty" tag="DSW2" mask="96">
			<diplocation name="SW2" number="6"/>
			<diplocation name="SW2" number="7"/>
			<dipvalue name="Easy" value="96"/>
			<dipvalue name="Normal" value="64"/>
			<dipvalue name="Difficult" value="32" default="yes"/>
			<dipvalue name="Very Difficult" value="0"/>
		</dipswitch>
		<dipswitch name="Demo Sounds" tag="DSW2" mask="128">
			<diplocation name="SW2" number="8"/>
			<dipvalue name="Off" value="128"/>
			<dipvalue name="On" value="0" default="yes"/>
		</dipswitch>
		<dipswitch name="Flip Screen" tag="DSW3" mask="1">
			<diplocation name="SW3" number="1"/>
			<dipvalue name="Off" value="1" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="VRAM Character Check" tag="DSW3" mask="2">
			<diplocation name="SW3" number="2"/>
			<dipvalue name="Off" value="2" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Service Mode" tag="DSW3" mask="4">
			<diplocation name="SW3" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="8">
			<diplocation name="SW3" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<port tag=":COINS">
		</port>
		<port tag=":DSW1">
		</port>
		<port tag=":DSW2">
		</port>
		<port tag=":DSW3">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="prmrsocr" sourcefile="konami/tmnt2.cpp">
		<description>Premier Soccer (ver EAB)</description>
		<year>1993</year>
		<manufacturer>Konami</manufacturer>
		<rom name="101eab08.1h" size="262144" crc="47208de6" sha1="fe4ef56688d4a50f67a604357e7beea785106cd1" region="maincpu" offset="0"/>
		<rom name="101eab07.4h" size="262144" crc="5f408eca" sha1="f2f6e126bfdcf884b477f49cb95f5e673357e9e0" region="maincpu" offset="1"/>
		<rom name="101c05.5e" size="131072" crc="02c3679f" sha1="e6d878185e73baca24ac98891c647856be9353c4" region="audiocpu" offset="0"/>
		<rom name="101a12.12l" size="262144" crc="33530d7f" sha1="87859ad058fb79e357101675706373f83a3f23d4" region="k052109" offset="0"/>
		<rom name="101a11.12k" size="262144" crc="7f773271" sha1="0c6a62c6eb1897e88e893576f751e3d4fc788036" region="k052109" offset="1"/>
		<rom name="101a09.3l" size="2097152" crc="b6a1b424" sha1="4cf7bb4b8176977dea10fb80fcd9d6e24cc6d1b9" region="k053245" offset="0"/>
		<rom name="101a10.8l" size="2097152" crc="bbd58adc" sha1="ad9bd4df995de6e6290f27c58c7892c7191802e4" region="k053245" offset="1"/>
		<rom name="101a03.18f" size="524288" crc="59a1a91c" sha1="f596a40784a671e97116df6561682eb6c5c44e08" region="zoom" offset="0"/>
		<rom name="101a01.18d" size="131072" crc="716f910f" sha1="fbe69cac266084ea1efb094a7f863dca39f12500" region="zoomtmap" offset="0"/>
		<rom name="101a02.16d" size="131072" crc="222869c7" sha1="0a9bea294ff3281f316dd4beecc4c94d75d52b49" region="zoomtmap" offset="20000"/>
		<rom name="101a06.1d" size="2097152" crc="4f48e043" sha1="f50e8642d9d3a028c243777640e7cd13da1abf86" region="k054539" offset="0"/>
		<rom name="prmrsocr_eab.nv" size="128" crc="daf60801" sha1="de21774c4276ec399745c26a9278f7c58dbe6ad0" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":gfxdecode" name="gfxdecode"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053245" name="k053244"/>
		<device_ref tag=":k053936" name="k053936"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":k054321" name="k054321"/>
		<device_ref tag=":k054321:soundlatch0" name="generic_latch_8"/>
		<device_ref tag=":k054321:soundlatch1" name="generic_latch_8"/>
		<device_ref tag=":k054321:soundlatch2" name="generic_latch_8"/>
		<device_ref tag=":k054539" name="k054539"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="8000000"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="k054539" name="Konami 054539 ADPCM" clock="18432000"/>
		<display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="16" hbstart="304" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2" service="yes">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
		</input>
		<dipswitch name="Sound" tag="P1_COINS" mask="4096">
			<diplocation name="SW" number="1"/>
			<dipvalue name="Mono" value="4096"/>
			<dipvalue name="Stereo" value="0" default="yes"/>
		</dipswitch>
		<dipswitch name="Unused" tag="P1_COINS" mask="8192">
			<diplocation name="SW" number="2"/>
			<dipvalue name="Off" value="8192" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="P1_COINS" mask="16384">
			<diplocation name="SW" number="3"/>
			<dipvalue name="Off" value="16384" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="P1_COINS" mask="32768">
			<diplocation name="SW" number="4"/>
			<dipvalue name="Off" value="32768" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1_COINS">
		</port>
		<port tag=":P2_EEPROM">
		</port>
		<driver status="imperfect" emulation="good" savestate="supported"/>
		<feature type="sound" overall="imperfect"/>
	</machine>
	<machine name="prmrsocrj" sourcefile="konami/tmnt2.cpp" cloneof="prmrsocr" romof="prmrsocr">
		<description>Premier Soccer (ver JAB)</description>
		<year>1993</year>
		<manufacturer>Konami</manufacturer>
		<rom name="101jab08.1h" size="262144" crc="c22b528c" sha1="6c96ba573f7bb5be1d52d9352f57d7a402bc96b4" region="maincpu" offset="0"/>
		<rom name="101jab07.4h" size="262144" crc="06e7acaf" sha1="d7197bb1c3b28cbe82dd4e25302e00f7c1838208" region="maincpu" offset="1"/>
		<rom name="101c05.5e" merge="101c05.5e" size="131072" crc="02c3679f" sha1="e6d878185e73baca24ac98891c647856be9353c4" region="audiocpu" offset="0"/>
		<rom name="101a12.12l" merge="101a12.12l" size="262144" crc="33530d7f" sha1="87859ad058fb79e357101675706373f83a3f23d4" region="k052109" offset="0"/>
		<rom name="101a11.12k" merge="101a11.12k" size="262144" crc="7f773271" sha1="0c6a62c6eb1897e88e893576f751e3d4fc788036" region="k052109" offset="1"/>
		<rom name="101a09.3l" merge="101a09.3l" size="2097152" crc="b6a1b424" sha1="4cf7bb4b8176977dea10fb80fcd9d6e24cc6d1b9" region="k053245" offset="0"/>
		<rom name="101a10.8l" merge="101a10.8l" size="2097152" crc="bbd58adc" sha1="ad9bd4df995de6e6290f27c58c7892c7191802e4" region="k053245" offset="1"/>
		<rom name="101a03.18f" merge="101a03.18f" size="524288" crc="59a1a91c" sha1="f596a40784a671e97116df6561682eb6c5c44e08" region="zoom" offset="0"/>
		<rom name="101a01.18d" merge="101a01.18d" size="131072" crc="716f910f" sha1="fbe69cac266084ea1efb094a7f863dca39f12500" region="zoomtmap" offset="0"/>
		<rom name="101a02.16d" merge="101a02.16d" size="131072" crc="222869c7" sha1="0a9bea294ff3281f316dd4beecc4c94d75d52b49" region="zoomtmap" offset="20000"/>
		<rom name="101a06.1d" merge="101a06.1d" size="2097152" crc="4f48e043" sha1="f50e8642d9d3a028c243777640e7cd13da1abf86" region="k054539" offset="0"/>
		<rom name="prmrsocr_jab.nv" size="128" crc="5a88f95a" sha1="18fdb598eee3958c45694bdac77e02790c936968" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":gfxdecode" name="gfxdecode"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053245" name="k053244"/>
		<device_ref tag=":k053936" name="k053936"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":k054321" name="k054321"/>
		<device_ref tag=":k054321:soundlatch0" name="generic_latch_8"/>
		<device_ref tag=":k054321:soundlatch1" name="generic_latch_8"/>
		<device_ref tag=":k054321:soundlatch2" name="generic_latch_8"/>
		<device_ref tag=":k054539" name="k054539"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="8000000"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="k054539" name="Konami 054539 ADPCM" clock="18432000"/>
		<display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="16" hbstart="304" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2" service="yes">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
		</input>
		<dipswitch name="Sound" tag="P1_COINS" mask="4096">
			<diplocation name="SW" number="1"/>
			<dipvalue name="Mono" value="4096"/>
			<dipvalue name="Stereo" value="0" default="yes"/>
		</dipswitch>
		<dipswitch name="Unused" tag="P1_COINS" mask="8192">
			<diplocation name="SW" number="2"/>
			<dipvalue name="Off" value="8192" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="P1_COINS" mask="16384">
			<diplocation name="SW" number="3"/>
			<dipvalue name="Off" value="16384" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="P1_COINS" mask="32768">
			<diplocation name="SW" number="4"/>
			<dipvalue name="Off" value="32768" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1_COINS">
		</port>
		<port tag=":P2_EEPROM">
		</port>
		<driver status="imperfect" emulation="good" savestate="supported"/>
		<feature type="sound" overall="imperfect"/>
	</machine>
	<machine name="punkshot" sourcefile="konami/tmnt2.cpp">
		<description>Punk Shot (US 4 Players)</description>
		<year>1990</year>
		<manufacturer>Konami</manufacturer>
		<rom name="907-j02.i7" size="131072" crc="dbb3a23b" sha1="78f999f4e5b12641195a7f9f7fedf696e32ff0c0" region="maincpu" offset="0"/>
		<rom name="907-j03.i10" size="131072" crc="2151d1ab" sha1="e71768142b903825f8104ffc90906b0d471599e0" region="maincpu" offset="1"/>
		<rom name="907f01.e8" size="32768" crc="f040c484" sha1="f76a739cacc0aba98a5bf85a48c81cef0d9bbfb4" region="audiocpu" offset="0"/>
		<rom name="907d06.e23" size="262144" crc="f5cc38f4" sha1="e6dc9994582a08740dc2fcb30a38771053627d5f" region="k052109" offset="0"/>
		<rom name="907d05.e22" size="262144" crc="e25774c1" sha1="74fda3b418b4b0064b5e660a93122b07f6d41416" region="k052109" offset="2"/>
		<rom name="907d07.k2" size="1048576" crc="b0fe4543" sha1="3be1caef29084063dd8754c1eecc34a2ec842415" region="k051960" offset="0"/>
		<rom name="907d08.k7" size="1048576" crc="d5ac8d9d" sha1="cb330be1c5c016465ef7048b3b29c65a741ee45b" region="k051960" offset="2"/>
		<rom name="907d04.d3" size="524288" crc="090feb5e" sha1="2394907b62ff0724c277642caf6375239249e2d7" region="k053260" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k051960" name="k051960"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":mono" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="mono" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="16" hbstart="304" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
			<control type="joy" player="3" buttons="2" ways="8"/>
			<control type="joy" player="4" buttons="2" ways="8"/>
		</input>
		<dipswitch name="Flip Screen" tag="COINS_DSW3" mask="4096">
			<diplocation name="SW3" number="1"/>
			<dipvalue name="Off" value="4096" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="COINS_DSW3" mask="8192">
			<diplocation name="SW3" number="2"/>
			<dipvalue name="Off" value="8192" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Service Mode" tag="COINS_DSW3" mask="16384">
			<diplocation name="SW3" number="3"/>
			<dipvalue name="Off" value="16384" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Freeze" tag="COINS_DSW3" mask="32768">
			<diplocation name="SW3" number="4"/>
			<dipvalue name="Off" value="32768" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Coinage" tag="DSW1_DSW2" mask="15">
			<diplocation name="SW1" number="1"/>
			<diplocation name="SW1" number="2"/>
			<diplocation name="SW1" number="3"/>
			<diplocation name="SW1" number="4"/>
			<dipvalue name="5 Coins/1 Credit" value="0"/>
			<dipvalue name="4 Coins/1 Credit" value="2"/>
			<dipvalue name="3 Coins/1 Credit" value="5"/>
			<dipvalue name="2 Coins/1 Credit" value="8"/>
			<dipvalue name="3 Coins/2 Credits" value="4"/>
			<dipvalue name="4 Coins/3 Credits" value="1"/>
			<dipvalue name="1 Coin/1 Credit" value="15" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="3"/>
			<dipvalue name="2 Coins/3 Credits" value="7"/>
			<dipvalue name="1 Coin/2 Credits" value="14"/>
			<dipvalue name="2 Coins/5 Credits" value="6"/>
			<dipvalue name="1 Coin/3 Credits" value="13"/>
			<dipvalue name="1 Coin/4 Credits" value="12"/>
			<dipvalue name="1 Coin/5 Credits" value="11"/>
			<dipvalue name="1 Coin/6 Credits" value="10"/>
			<dipvalue name="1 Coin/7 Credits" value="9"/>
		</dipswitch>
		<dipswitch name="Continue" tag="DSW1_DSW2" mask="16">
			<diplocation name="SW1" number="5"/>
			<dipvalue name="Normal" value="16" default="yes"/>
			<dipvalue name="1 Coin" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1_DSW2" mask="32">
			<diplocation name="SW1" number="6"/>
			<dipvalue name="Off" value="32" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1_DSW2" mask="64">
			<diplocation name="SW1" number="7"/>
			<dipvalue name="Off" value="64" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1_DSW2" mask="128">
			<diplocation name="SW1" number="8"/>
			<dipvalue name="Off" value="128" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Energy" tag="DSW1_DSW2" mask="768">
			<diplocation name="SW2" number="1"/>
			<diplocation name="SW2" number="2"/>
			<dipvalue name="30" value="768" default="yes"/>
			<dipvalue name="40" value="512"/>
			<dipvalue name="50" value="256"/>
			<dipvalue name="60" value="0"/>
		</dipswitch>
		<dipswitch name="Period Length" tag="DSW1_DSW2" mask="3072">
			<diplocation name="SW2" number="3"/>
			<diplocation name="SW2" number="4"/>
			<dipvalue name="2 Minutes" value="3072"/>
			<dipvalue name="3 Minutes" value="2048" default="yes"/>
			<dipvalue name="4 Minutes" value="1024"/>
			<dipvalue name="5 Minutes" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1_DSW2" mask="4096">
			<diplocation name="SW2" number="5"/>
			<dipvalue name="Off" value="4096" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Difficulty" tag="DSW1_DSW2" mask="24576">
			<diplocation name="SW2" number="6"/>
			<diplocation name="SW2" number="7"/>
			<dipvalue name="Easy" value="24576" default="yes"/>
			<dipvalue name="Normal" value="16384"/>
			<dipvalue name="Difficult" value="8192"/>
			<dipvalue name="Very Difficult" value="0"/>
		</dipswitch>
		<dipswitch name="Demo Sounds" tag="DSW1_DSW2" mask="32768">
			<diplocation name="SW2" number="8"/>
			<dipvalue name="Off" value="32768"/>
			<dipvalue name="On" value="0" default="yes"/>
		</dipswitch>
		<port tag=":COINS_DSW3">
		</port>
		<port tag=":DSW1_DSW2">
		</port>
		<port tag=":P1_P2">
		</port>
		<port tag=":P3_P4">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="punkshot2" sourcefile="konami/tmnt2.cpp" cloneof="punkshot" romof="punkshot">
		<description>Punk Shot (US 2 Players)</description>
		<year>1990</year>
		<manufacturer>Konami</manufacturer>
		<rom name="907m02.i7" size="131072" crc="59e14575" sha1="249fc98a2d5fa3e4779438c37d22c0256be8d3fa" region="maincpu" offset="0"/>
		<rom name="907m03.i10" size="131072" crc="adb14b1e" sha1="c5db1c3b70ab3e53cd6a600b82bdccda4db05f90" region="maincpu" offset="1"/>
		<rom name="907f01.e8" merge="907f01.e8" size="32768" crc="f040c484" sha1="f76a739cacc0aba98a5bf85a48c81cef0d9bbfb4" region="audiocpu" offset="0"/>
		<rom name="907d06.e23" merge="907d06.e23" size="262144" crc="f5cc38f4" sha1="e6dc9994582a08740dc2fcb30a38771053627d5f" region="k052109" offset="0"/>
		<rom name="907d05.e22" merge="907d05.e22" size="262144" crc="e25774c1" sha1="74fda3b418b4b0064b5e660a93122b07f6d41416" region="k052109" offset="2"/>
		<rom name="907d07.k2" merge="907d07.k2" size="1048576" crc="b0fe4543" sha1="3be1caef29084063dd8754c1eecc34a2ec842415" region="k051960" offset="0"/>
		<rom name="907d08.k7" merge="907d08.k7" size="1048576" crc="d5ac8d9d" sha1="cb330be1c5c016465ef7048b3b29c65a741ee45b" region="k051960" offset="2"/>
		<rom name="907d04.d3" merge="907d04.d3" size="524288" crc="090feb5e" sha1="2394907b62ff0724c277642caf6375239249e2d7" region="k053260" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k051960" name="k051960"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":mono" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="mono" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="16" hbstart="304" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
		</input>
		<dipswitch name="Flip Screen" tag="COINS_DSW3" mask="4096">
			<diplocation name="SW3" number="1"/>
			<dipvalue name="Off" value="4096" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="COINS_DSW3" mask="8192">
			<diplocation name="SW3" number="2"/>
			<dipvalue name="Off" value="8192" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Service Mode" tag="COINS_DSW3" mask="16384">
			<diplocation name="SW3" number="3"/>
			<dipvalue name="Off" value="16384" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Freeze" tag="COINS_DSW3" mask="32768">
			<diplocation name="SW3" number="4"/>
			<dipvalue name="Off" value="32768" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Coinage" tag="DSW1_DSW2" mask="15">
			<diplocation name="SW1" number="1"/>
			<diplocation name="SW1" number="2"/>
			<diplocation name="SW1" number="3"/>
			<diplocation name="SW1" number="4"/>
			<dipvalue name="5 Coins/1 Credit" value="0"/>
			<dipvalue name="4 Coins/1 Credit" value="2"/>
			<dipvalue name="3 Coins/1 Credit" value="5"/>
			<dipvalue name="2 Coins/1 Credit" value="8"/>
			<dipvalue name="3 Coins/2 Credits" value="4"/>
			<dipvalue name="4 Coins/3 Credits" value="1"/>
			<dipvalue name="1 Coin/1 Credit" value="15" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="3"/>
			<dipvalue name="2 Coins/3 Credits" value="7"/>
			<dipvalue name="1 Coin/2 Credits" value="14"/>
			<dipvalue name="2 Coins/5 Credits" value="6"/>
			<dipvalue name="1 Coin/3 Credits" value="13"/>
			<dipvalue name="1 Coin/4 Credits" value="12"/>
			<dipvalue name="1 Coin/5 Credits" value="11"/>
			<dipvalue name="1 Coin/6 Credits" value="10"/>
			<dipvalue name="1 Coin/7 Credits" value="9"/>
		</dipswitch>
		<dipswitch name="Continue" tag="DSW1_DSW2" mask="16">
			<diplocation name="SW1" number="5"/>
			<dipvalue name="Normal" value="16" default="yes"/>
			<dipvalue name="1 Coin" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1_DSW2" mask="32">
			<diplocation name="SW1" number="6"/>
			<dipvalue name="Off" value="32" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1_DSW2" mask="64">
			<diplocation name="SW1" number="7"/>
			<dipvalue name="Off" value="64" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1_DSW2" mask="128">
			<diplocation name="SW1" number="8"/>
			<dipvalue name="Off" value="128" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Energy" tag="DSW1_DSW2" mask="768">
			<diplocation name="SW2" number="1"/>
			<diplocation name="SW2" number="2"/>
			<dipvalue name="40" value="768" default="yes"/>
			<dipvalue name="50" value="512"/>
			<dipvalue name="60" value="256"/>
			<dipvalue name="70" value="0"/>
		</dipswitch>
		<dipswitch name="Period Length" tag="DSW1_DSW2" mask="3072">
			<diplocation name="SW2" number="3"/>
			<diplocation name="SW2" number="4"/>
			<dipvalue name="3 Minutes" value="3072" default="yes"/>
			<dipvalue name="4 Minutes" value="2048"/>
			<dipvalue name="5 Minutes" value="1024"/>
			<dipvalue name="6 Minutes" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1_DSW2" mask="4096">
			<diplocation name="SW2" number="5"/>
			<dipvalue name="Off" value="4096" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Difficulty" tag="DSW1_DSW2" mask="24576">
			<diplocation name="SW2" number="6"/>
			<diplocation name="SW2" number="7"/>
			<dipvalue name="Easy" value="24576" default="yes"/>
			<dipvalue name="Normal" value="16384"/>
			<dipvalue name="Difficult" value="8192"/>
			<dipvalue name="Very Difficult" value="0"/>
		</dipswitch>
		<dipswitch name="Demo Sounds" tag="DSW1_DSW2" mask="32768">
			<diplocation name="SW2" number="8"/>
			<dipvalue name="Off" value="32768"/>
			<dipvalue name="On" value="0" default="yes"/>
		</dipswitch>
		<port tag=":COINS_DSW3">
		</port>
		<port tag=":DSW1_DSW2">
		</port>
		<port tag=":P1_P2">
		</port>
		<port tag=":P3_P4">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="punkshot2a" sourcefile="konami/tmnt2.cpp" cloneof="punkshot" romof="punkshot">
		<description>Punk Shot (Asia 2 Players, hacked?)</description>
		<year>1990</year>
		<manufacturer>Konami</manufacturer>
		<rom name="i7" size="131072" crc="f17400ad" sha1="14408d4eca2ea5a021c208cbb811e51efbf33953" region="maincpu" offset="0"/>
		<rom name="i10" size="131072" crc="552668ec" sha1="4317d9c0b2aabd603a5bd4981c764c09407b4b7e" region="maincpu" offset="1"/>
		<rom name="907f01.e8" merge="907f01.e8" size="32768" crc="f040c484" sha1="f76a739cacc0aba98a5bf85a48c81cef0d9bbfb4" region="audiocpu" offset="0"/>
		<rom name="907d06.e23" merge="907d06.e23" size="262144" crc="f5cc38f4" sha1="e6dc9994582a08740dc2fcb30a38771053627d5f" region="k052109" offset="0"/>
		<rom name="907d05.e22" merge="907d05.e22" size="262144" crc="e25774c1" sha1="74fda3b418b4b0064b5e660a93122b07f6d41416" region="k052109" offset="2"/>
		<rom name="907d07.k2" merge="907d07.k2" size="1048576" crc="b0fe4543" sha1="3be1caef29084063dd8754c1eecc34a2ec842415" region="k051960" offset="0"/>
		<rom name="907d08.k7" merge="907d08.k7" size="1048576" crc="d5ac8d9d" sha1="cb330be1c5c016465ef7048b3b29c65a741ee45b" region="k051960" offset="2"/>
		<rom name="907d04.d3" merge="907d04.d3" size="524288" crc="090feb5e" sha1="2394907b62ff0724c277642caf6375239249e2d7" region="k053260" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k051960" name="k051960"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":mono" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="mono" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="16" hbstart="304" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
		</input>
		<dipswitch name="Flip Screen" tag="COINS_DSW3" mask="4096">
			<diplocation name="SW3" number="1"/>
			<dipvalue name="Off" value="4096" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="COINS_DSW3" mask="8192">
			<diplocation name="SW3" number="2"/>
			<dipvalue name="Off" value="8192" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Service Mode" tag="COINS_DSW3" mask="16384">
			<diplocation name="SW3" number="3"/>
			<dipvalue name="Off" value="16384" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Freeze" tag="COINS_DSW3" mask="32768">
			<diplocation name="SW3" number="4"/>
			<dipvalue name="Off" value="32768" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Coinage" tag="DSW1_DSW2" mask="15">
			<diplocation name="SW1" number="1"/>
			<diplocation name="SW1" number="2"/>
			<diplocation name="SW1" number="3"/>
			<diplocation name="SW1" number="4"/>
			<dipvalue name="5 Coins/1 Credit" value="0"/>
			<dipvalue name="4 Coins/1 Credit" value="2"/>
			<dipvalue name="3 Coins/1 Credit" value="5"/>
			<dipvalue name="2 Coins/1 Credit" value="8"/>
			<dipvalue name="3 Coins/2 Credits" value="4"/>
			<dipvalue name="4 Coins/3 Credits" value="1"/>
			<dipvalue name="1 Coin/1 Credit" value="15" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="3"/>
			<dipvalue name="2 Coins/3 Credits" value="7"/>
			<dipvalue name="1 Coin/2 Credits" value="14"/>
			<dipvalue name="2 Coins/5 Credits" value="6"/>
			<dipvalue name="1 Coin/3 Credits" value="13"/>
			<dipvalue name="1 Coin/4 Credits" value="12"/>
			<dipvalue name="1 Coin/5 Credits" value="11"/>
			<dipvalue name="1 Coin/6 Credits" value="10"/>
			<dipvalue name="1 Coin/7 Credits" value="9"/>
		</dipswitch>
		<dipswitch name="Continue" tag="DSW1_DSW2" mask="16">
			<diplocation name="SW1" number="5"/>
			<dipvalue name="Normal" value="16" default="yes"/>
			<dipvalue name="1 Coin" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1_DSW2" mask="32">
			<diplocation name="SW1" number="6"/>
			<dipvalue name="Off" value="32" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1_DSW2" mask="64">
			<diplocation name="SW1" number="7"/>
			<dipvalue name="Off" value="64" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1_DSW2" mask="128">
			<diplocation name="SW1" number="8"/>
			<dipvalue name="Off" value="128" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Energy" tag="DSW1_DSW2" mask="768">
			<diplocation name="SW2" number="1"/>
			<diplocation name="SW2" number="2"/>
			<dipvalue name="40" value="768" default="yes"/>
			<dipvalue name="50" value="512"/>
			<dipvalue name="60" value="256"/>
			<dipvalue name="70" value="0"/>
		</dipswitch>
		<dipswitch name="Period Length" tag="DSW1_DSW2" mask="3072">
			<diplocation name="SW2" number="3"/>
			<diplocation name="SW2" number="4"/>
			<dipvalue name="3 Minutes" value="3072" default="yes"/>
			<dipvalue name="4 Minutes" value="2048"/>
			<dipvalue name="5 Minutes" value="1024"/>
			<dipvalue name="6 Minutes" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1_DSW2" mask="4096">
			<diplocation name="SW2" number="5"/>
			<dipvalue name="Off" value="4096" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Difficulty" tag="DSW1_DSW2" mask="24576">
			<diplocation name="SW2" number="6"/>
			<diplocation name="SW2" number="7"/>
			<dipvalue name="Easy" value="24576" default="yes"/>
			<dipvalue name="Normal" value="16384"/>
			<dipvalue name="Difficult" value="8192"/>
			<dipvalue name="Very Difficult" value="0"/>
		</dipswitch>
		<dipswitch name="Demo Sounds" tag="DSW1_DSW2" mask="32768">
			<diplocation name="SW2" number="8"/>
			<dipvalue name="Off" value="32768"/>
			<dipvalue name="On" value="0" default="yes"/>
		</dipswitch>
		<port tag=":COINS_DSW3">
		</port>
		<port tag=":DSW1_DSW2">
		</port>
		<port tag=":P1_P2">
		</port>
		<port tag=":P3_P4">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="punkshot2e" sourcefile="konami/tmnt2.cpp" cloneof="punkshot" romof="punkshot">
		<description>Punk Shot (World 2 Players)</description>
		<year>1990</year>
		<manufacturer>Konami</manufacturer>
		<rom name="907_2.i7" size="131072" crc="aa55516c" sha1="297202c3dc817b016b646341712e7e1805bc98a5" region="maincpu" offset="0"/>
		<rom name="907_3.i10" size="131072" crc="0d3aa3d5" sha1="39a9f4aac9463a88f1f57dc9aeb5718793aaa2c1" region="maincpu" offset="1"/>
		<rom name="907f01.e8" merge="907f01.e8" size="32768" crc="f040c484" sha1="f76a739cacc0aba98a5bf85a48c81cef0d9bbfb4" region="audiocpu" offset="0"/>
		<rom name="907d06.e23" merge="907d06.e23" size="262144" crc="f5cc38f4" sha1="e6dc9994582a08740dc2fcb30a38771053627d5f" region="k052109" offset="0"/>
		<rom name="907d05.e22" merge="907d05.e22" size="262144" crc="e25774c1" sha1="74fda3b418b4b0064b5e660a93122b07f6d41416" region="k052109" offset="2"/>
		<rom name="907d07.k2" merge="907d07.k2" size="1048576" crc="b0fe4543" sha1="3be1caef29084063dd8754c1eecc34a2ec842415" region="k051960" offset="0"/>
		<rom name="907d08.k7" merge="907d08.k7" size="1048576" crc="d5ac8d9d" sha1="cb330be1c5c016465ef7048b3b29c65a741ee45b" region="k051960" offset="2"/>
		<rom name="907d04.d3" merge="907d04.d3" size="524288" crc="090feb5e" sha1="2394907b62ff0724c277642caf6375239249e2d7" region="k053260" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k051960" name="k051960"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":mono" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="mono" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="16" hbstart="304" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
		</input>
		<dipswitch name="Flip Screen" tag="COINS_DSW3" mask="4096">
			<diplocation name="SW3" number="1"/>
			<dipvalue name="Off" value="4096" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="COINS_DSW3" mask="8192">
			<diplocation name="SW3" number="2"/>
			<dipvalue name="Off" value="8192" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Service Mode" tag="COINS_DSW3" mask="16384">
			<diplocation name="SW3" number="3"/>
			<dipvalue name="Off" value="16384" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Freeze" tag="COINS_DSW3" mask="32768">
			<diplocation name="SW3" number="4"/>
			<dipvalue name="Off" value="32768" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Coinage" tag="DSW1_DSW2" mask="15">
			<diplocation name="SW1" number="1"/>
			<diplocation name="SW1" number="2"/>
			<diplocation name="SW1" number="3"/>
			<diplocation name="SW1" number="4"/>
			<dipvalue name="5 Coins/1 Credit" value="0"/>
			<dipvalue name="4 Coins/1 Credit" value="2"/>
			<dipvalue name="3 Coins/1 Credit" value="5"/>
			<dipvalue name="2 Coins/1 Credit" value="8"/>
			<dipvalue name="3 Coins/2 Credits" value="4"/>
			<dipvalue name="4 Coins/3 Credits" value="1"/>
			<dipvalue name="1 Coin/1 Credit" value="15" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="3"/>
			<dipvalue name="2 Coins/3 Credits" value="7"/>
			<dipvalue name="1 Coin/2 Credits" value="14"/>
			<dipvalue name="2 Coins/5 Credits" value="6"/>
			<dipvalue name="1 Coin/3 Credits" value="13"/>
			<dipvalue name="1 Coin/4 Credits" value="12"/>
			<dipvalue name="1 Coin/5 Credits" value="11"/>
			<dipvalue name="1 Coin/6 Credits" value="10"/>
			<dipvalue name="1 Coin/7 Credits" value="9"/>
		</dipswitch>
		<dipswitch name="Continue" tag="DSW1_DSW2" mask="16">
			<diplocation name="SW1" number="5"/>
			<dipvalue name="Normal" value="16" default="yes"/>
			<dipvalue name="1 Coin" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1_DSW2" mask="32">
			<diplocation name="SW1" number="6"/>
			<dipvalue name="Off" value="32" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1_DSW2" mask="64">
			<diplocation name="SW1" number="7"/>
			<dipvalue name="Off" value="64" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1_DSW2" mask="128">
			<diplocation name="SW1" number="8"/>
			<dipvalue name="Off" value="128" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Energy" tag="DSW1_DSW2" mask="768">
			<diplocation name="SW2" number="1"/>
			<diplocation name="SW2" number="2"/>
			<dipvalue name="40" value="768" default="yes"/>
			<dipvalue name="50" value="512"/>
			<dipvalue name="60" value="256"/>
			<dipvalue name="70" value="0"/>
		</dipswitch>
		<dipswitch name="Period Length" tag="DSW1_DSW2" mask="3072">
			<diplocation name="SW2" number="3"/>
			<diplocation name="SW2" number="4"/>
			<dipvalue name="3 Minutes" value="3072" default="yes"/>
			<dipvalue name="4 Minutes" value="2048"/>
			<dipvalue name="5 Minutes" value="1024"/>
			<dipvalue name="6 Minutes" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1_DSW2" mask="4096">
			<diplocation name="SW2" number="5"/>
			<dipvalue name="Off" value="4096" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Difficulty" tag="DSW1_DSW2" mask="24576">
			<diplocation name="SW2" number="6"/>
			<diplocation name="SW2" number="7"/>
			<dipvalue name="Easy" value="24576" default="yes"/>
			<dipvalue name="Normal" value="16384"/>
			<dipvalue name="Difficult" value="8192"/>
			<dipvalue name="Very Difficult" value="0"/>
		</dipswitch>
		<dipswitch name="Demo Sounds" tag="DSW1_DSW2" mask="32768">
			<diplocation name="SW2" number="8"/>
			<dipvalue name="Off" value="32768"/>
			<dipvalue name="On" value="0" default="yes"/>
		</dipswitch>
		<port tag=":COINS_DSW3">
		</port>
		<port tag=":DSW1_DSW2">
		</port>
		<port tag=":P1_P2">
		</port>
		<port tag=":P3_P4">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="punkshotj" sourcefile="konami/tmnt2.cpp" cloneof="punkshot" romof="punkshot">
		<description>Punk Shot (Japan 2 Players)</description>
		<year>1990</year>
		<manufacturer>Konami</manufacturer>
		<rom name="907z02.i7" size="131072" crc="7a3a5c89" sha1="240967b911df8939b048bbcdfcac668455fc82e9" region="maincpu" offset="0"/>
		<rom name="907z03.i10" size="131072" crc="22a3d9d6" sha1="76f016435956088aa680297ee9ba0abda446a7bb" region="maincpu" offset="1"/>
		<rom name="907f01.e8" merge="907f01.e8" size="32768" crc="f040c484" sha1="f76a739cacc0aba98a5bf85a48c81cef0d9bbfb4" region="audiocpu" offset="0"/>
		<rom name="907d06.e23" merge="907d06.e23" size="262144" crc="f5cc38f4" sha1="e6dc9994582a08740dc2fcb30a38771053627d5f" region="k052109" offset="0"/>
		<rom name="907d05.e22" merge="907d05.e22" size="262144" crc="e25774c1" sha1="74fda3b418b4b0064b5e660a93122b07f6d41416" region="k052109" offset="2"/>
		<rom name="907d07.k2" merge="907d07.k2" size="1048576" crc="b0fe4543" sha1="3be1caef29084063dd8754c1eecc34a2ec842415" region="k051960" offset="0"/>
		<rom name="907d08.k7" merge="907d08.k7" size="1048576" crc="d5ac8d9d" sha1="cb330be1c5c016465ef7048b3b29c65a741ee45b" region="k051960" offset="2"/>
		<rom name="907d04.d3" merge="907d04.d3" size="524288" crc="090feb5e" sha1="2394907b62ff0724c277642caf6375239249e2d7" region="k053260" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k051960" name="k051960"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":mono" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="mono" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="16" hbstart="304" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
		</input>
		<dipswitch name="Flip Screen" tag="COINS_DSW3" mask="4096">
			<diplocation name="SW3" number="1"/>
			<dipvalue name="Off" value="4096" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="COINS_DSW3" mask="8192">
			<diplocation name="SW3" number="2"/>
			<dipvalue name="Off" value="8192" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Service Mode" tag="COINS_DSW3" mask="16384">
			<diplocation name="SW3" number="3"/>
			<dipvalue name="Off" value="16384" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Freeze" tag="COINS_DSW3" mask="32768">
			<diplocation name="SW3" number="4"/>
			<dipvalue name="Off" value="32768" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Coin A" tag="DSW1_DSW2" mask="15">
			<diplocation name="SW1" number="1"/>
			<diplocation name="SW1" number="2"/>
			<diplocation name="SW1" number="3"/>
			<diplocation name="SW1" number="4"/>
			<dipvalue name="4 Coins/1 Credit" value="2"/>
			<dipvalue name="3 Coins/1 Credit" value="5"/>
			<dipvalue name="2 Coins/1 Credit" value="8"/>
			<dipvalue name="3 Coins/2 Credits" value="4"/>
			<dipvalue name="4 Coins/3 Credits" value="1"/>
			<dipvalue name="1 Coin/1 Credit" value="15" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="3"/>
			<dipvalue name="2 Coins/3 Credits" value="7"/>
			<dipvalue name="1 Coin/2 Credits" value="14"/>
			<dipvalue name="2 Coins/5 Credits" value="6"/>
			<dipvalue name="1 Coin/3 Credits" value="13"/>
			<dipvalue name="1 Coin/4 Credits" value="12"/>
			<dipvalue name="1 Coin/5 Credits" value="11"/>
			<dipvalue name="1 Coin/6 Credits" value="10"/>
			<dipvalue name="1 Coin/7 Credits" value="9"/>
			<dipvalue name="Free Play" value="0"/>
		</dipswitch>
		<dipswitch name="Coin B" tag="DSW1_DSW2" mask="240">
			<diplocation name="SW1" number="5"/>
			<diplocation name="SW1" number="6"/>
			<diplocation name="SW1" number="7"/>
			<diplocation name="SW1" number="8"/>
			<dipvalue name="4 Coins/1 Credit" value="32"/>
			<dipvalue name="3 Coins/1 Credit" value="80"/>
			<dipvalue name="2 Coins/1 Credit" value="128"/>
			<dipvalue name="3 Coins/2 Credits" value="64"/>
			<dipvalue name="4 Coins/3 Credits" value="16"/>
			<dipvalue name="1 Coin/1 Credit" value="240" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="48"/>
			<dipvalue name="2 Coins/3 Credits" value="112"/>
			<dipvalue name="1 Coin/2 Credits" value="224"/>
			<dipvalue name="2 Coins/5 Credits" value="96"/>
			<dipvalue name="1 Coin/3 Credits" value="208"/>
			<dipvalue name="1 Coin/4 Credits" value="192"/>
			<dipvalue name="1 Coin/5 Credits" value="176"/>
			<dipvalue name="1 Coin/6 Credits" value="160"/>
			<dipvalue name="1 Coin/7 Credits" value="144"/>
			<dipvalue name="No Coin B" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1_DSW2" mask="256">
			<diplocation name="SW2" number="1"/>
			<dipvalue name="Off" value="256" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1_DSW2" mask="512">
			<diplocation name="SW2" number="2"/>
			<dipvalue name="Off" value="512" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Period Length" tag="DSW1_DSW2" mask="3072">
			<diplocation name="SW2" number="3"/>
			<diplocation name="SW2" number="4"/>
			<dipvalue name="1 Minutes" value="3072"/>
			<dipvalue name="2 Minutes" value="2048" default="yes"/>
			<dipvalue name="3 Minutes" value="1024"/>
			<dipvalue name="4 Minutes" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1_DSW2" mask="4096">
			<diplocation name="SW2" number="5"/>
			<dipvalue name="Off" value="4096" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Difficulty" tag="DSW1_DSW2" mask="24576">
			<diplocation name="SW2" number="6"/>
			<diplocation name="SW2" number="7"/>
			<dipvalue name="Easy" value="24576"/>
			<dipvalue name="Normal" value="16384" default="yes"/>
			<dipvalue name="Difficult" value="8192"/>
			<dipvalue name="Very Difficult" value="0"/>
		</dipswitch>
		<dipswitch name="Demo Sounds" tag="DSW1_DSW2" mask="32768">
			<diplocation name="SW2" number="8"/>
			<dipvalue name="Off" value="32768"/>
			<dipvalue name="On" value="0" default="yes"/>
		</dipswitch>
		<port tag=":COINS_DSW3">
		</port>
		<port tag=":DSW1_DSW2">
		</port>
		<port tag=":P1_P2">
		</port>
		<port tag=":P3_P4">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="qgakumon" sourcefile="konami/tmnt2.cpp">
		<description>Quiz Gakumon no Susume (Japan ver. JA1 Type H)</description>
		<year>1993</year>
		<manufacturer>Konami</manufacturer>
		<rom name="248jaa02.8e" size="262144" crc="fab79410" sha1="8b1a8946ee65505608cf026c9fca87365ccef089" region="maincpu" offset="0"/>
		<rom name="248jaa03.8g" size="262144" crc="8d888ef3" sha1="1ef2636620abff8e3fe0258c90c5c8c0bf33f2d5" region="maincpu" offset="1"/>
		<rom name="248jaa04.10e" size="262144" crc="56cb16cb" sha1="a659229b43fba59c055e1da061fbfb19ecbb5c24" region="maincpu" offset="80000"/>
		<rom name="248jaa05.10g" size="262144" crc="27614fcd" sha1="c44d1dd3f16914f9616d6370098eaf6fa8a44542" region="maincpu" offset="80001"/>
		<rom name="248a01.2f" size="65536" crc="a8a41cc6" sha1="ad0d73bbdaacb8d5d0c7971ec4357eec665ee7cf" region="audiocpu" offset="0"/>
		<rom name="248a12.16k" size="524288" crc="62870987" sha1="f502c44781a077590038dcca9bf76c8a047169be" region="k052109" offset="0"/>
		<rom name="248a11.12k" size="524288" crc="fad2dbfd" sha1="a6cc9a612467c43ae4194f71b43a442272f0fde1" region="k052109" offset="2"/>
		<rom name="248a09.7l" size="1048576" crc="a176e205" sha1="e0b2176a1525711c6e692f88a913f57b9bdd0046" region="k053245" offset="0"/>
		<rom name="248a07.3l" size="1048576" crc="9595589f" sha1="3e48f66448577a8fa39b6707e89c2267152b6f0b" region="k053245" offset="2"/>
		<rom name="248a06.1d" size="2097152" crc="0fba1def" sha1="f2ba23213effd06f14c7a179acea974c78c2198f" region="k053260" offset="0"/>
		<rom name="qgakumon.nv" size="128" crc="847bd238" sha1="d6f7bf215055b7e9ea1027f4b4e34fea25b3273b" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053245" name="k053244"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="8000000"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="304" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="8" hbstart="312" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2" service="yes">
			<control type="only_buttons" player="1" buttons="5"/>
			<control type="only_buttons" player="2" buttons="5"/>
		</input>
		<port tag=":COINS">
		</port>
		<port tag=":EEPROM">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="simpsons" sourcefile="konami/simpsons.cpp">
		<description>The Simpsons (4 Players World, set 1)</description>
		<year>1991</year>
		<manufacturer>Konami</manufacturer>
		<rom name="072-g02.16c" size="131072" crc="580ce1d6" sha1="5b07fb8e8041e1663980aa35d853fdc13b22dac5" region="maincpu" offset="0"/>
		<rom name="072-g01.17c" size="131072" crc="9f843def" sha1="858432b59101b0577c5cec6ac0c7c20ab0780c9a" region="maincpu" offset="20000"/>
		<rom name="072-j13.13c" size="131072" crc="aade2abd" sha1="10f178d5ed399b4866266e075d91ca3db26798f8" region="maincpu" offset="40000"/>
		<rom name="072-j12.15c" size="131072" crc="479e12f2" sha1="15a6cb12e68b4773a29ab463640a43f8e814de59" region="maincpu" offset="60000"/>
		<rom name="072-e03.6g" size="131072" crc="866b7a35" sha1="98905764eb4c7d968ccc17618a1f24ee12e33c0e" region="audiocpu" offset="0"/>
		<rom name="072-b07.18h" size="524288" crc="ba1ec910" sha1="0805ccb641271dea43185dc0365732260db1763d" region="k052109" offset="0"/>
		<rom name="072-b06.16h" size="524288" crc="cf2bbcab" sha1="47afea47f9bc8cb5eb1c7b7fbafe954b3e749aeb" region="k052109" offset="2"/>
		<rom name="072-b08.3n" size="1048576" crc="7de500ad" sha1="61b76b8f402e3bde1509679aaaa28ef08cafb0ab" region="k053246" offset="0"/>
		<rom name="072-b09.8n" size="1048576" crc="aa085093" sha1="925239d79bf607021d371263352618876f59c1f8" region="k053246" offset="2"/>
		<rom name="072-b10.12n" size="1048576" crc="577dbd53" sha1="e603e03e3dcba766074561faa92afafa5761953d" region="k053246" offset="4"/>
		<rom name="072-b11.16l" size="1048576" crc="55fab05d" sha1="54db8559d71ed257de9a29c8808654eaea0df9e2" region="k053246" offset="6"/>
		<rom name="072-d05.1f" size="1048576" crc="1397a73b" sha1="369422c84cca5472967af54b8351e29fcd69f621" region="k053260" offset="0"/>
		<rom name="072-d04.1d" size="262144" crc="78778013" sha1="edbd6d83b0d1a20df39bb160b92395586fa3c32d" region="k053260" offset="100000"/>
		<rom name="simpsons.12c.nv" size="128" crc="ec3f0449" sha1="da35b98cd10bfabe9df3ede05462fabeb0e01ca9" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="konami_cpu"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053246" name="k053247"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="KONAMI CPU" clock="12000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="0" hbstart="320" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4" service="yes">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
			<control type="joy" player="3" buttons="2" ways="8"/>
			<control type="joy" player="4" buttons="2" ways="8"/>
		</input>
		<port tag=":COIN">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<port tag=":TEST">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="simpsons2p" sourcefile="konami/simpsons.cpp" cloneof="simpsons" romof="simpsons">
		<description>The Simpsons (2 Players World, set 1)</description>
		<year>1991</year>
		<manufacturer>Konami</manufacturer>
		<rom name="072-g02.16c" merge="072-g02.16c" size="131072" crc="580ce1d6" sha1="5b07fb8e8041e1663980aa35d853fdc13b22dac5" region="maincpu" offset="0"/>
		<rom name="072-p01.17c" size="131072" crc="07ceeaea" sha1="c18255ae1d578c2d53de80d6323cdf41cbe47b57" region="maincpu" offset="20000"/>
		<rom name="072-013.13c" size="131072" crc="8781105a" sha1="ef2f16f7a56d3715536511c674df4b3aab1be2bd" region="maincpu" offset="40000"/>
		<rom name="072-012.15c" size="131072" crc="244f9289" sha1="eeda7f5c7340cbd1a1cd576af48cd5d1a629914a" region="maincpu" offset="60000"/>
		<rom name="072-g03.6g" size="131072" crc="76c1850c" sha1="9047c6b26c4e33c74eb7400a807d3d9f206f7bbe" region="audiocpu" offset="0"/>
		<rom name="072-b07.18h" merge="072-b07.18h" size="524288" crc="ba1ec910" sha1="0805ccb641271dea43185dc0365732260db1763d" region="k052109" offset="0"/>
		<rom name="072-b06.16h" merge="072-b06.16h" size="524288" crc="cf2bbcab" sha1="47afea47f9bc8cb5eb1c7b7fbafe954b3e749aeb" region="k052109" offset="2"/>
		<rom name="072-b08.3n" merge="072-b08.3n" size="1048576" crc="7de500ad" sha1="61b76b8f402e3bde1509679aaaa28ef08cafb0ab" region="k053246" offset="0"/>
		<rom name="072-b09.8n" merge="072-b09.8n" size="1048576" crc="aa085093" sha1="925239d79bf607021d371263352618876f59c1f8" region="k053246" offset="2"/>
		<rom name="072-b10.12n" merge="072-b10.12n" size="1048576" crc="577dbd53" sha1="e603e03e3dcba766074561faa92afafa5761953d" region="k053246" offset="4"/>
		<rom name="072-b11.16l" merge="072-b11.16l" size="1048576" crc="55fab05d" sha1="54db8559d71ed257de9a29c8808654eaea0df9e2" region="k053246" offset="6"/>
		<rom name="072-d05.1f" merge="072-d05.1f" size="1048576" crc="1397a73b" sha1="369422c84cca5472967af54b8351e29fcd69f621" region="k053260" offset="0"/>
		<rom name="072-d04.1d" merge="072-d04.1d" size="262144" crc="78778013" sha1="edbd6d83b0d1a20df39bb160b92395586fa3c32d" region="k053260" offset="100000"/>
		<rom name="simpsons2p.12c.nv" size="128" crc="fbac4e30" sha1="d3ff3a392550d9b06400b9292a44bdac7ba5c801" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="konami_cpu"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053246" name="k053247"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="KONAMI CPU" clock="12000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="0" hbstart="320" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2" service="yes">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
		</input>
		<port tag=":COIN">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<port tag=":TEST">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="simpsons2p2" sourcefile="konami/simpsons.cpp" cloneof="simpsons" romof="simpsons">
		<description>The Simpsons (2 Players World, set 2)</description>
		<year>1991</year>
		<manufacturer>Konami</manufacturer>
		<rom name="072-g02.16c" merge="072-g02.16c" size="131072" crc="580ce1d6" sha1="5b07fb8e8041e1663980aa35d853fdc13b22dac5" region="maincpu" offset="0"/>
		<rom name="072-p01.17c" size="131072" crc="07ceeaea" sha1="c18255ae1d578c2d53de80d6323cdf41cbe47b57" region="maincpu" offset="20000"/>
		<rom name="072-_13.13c" size="131072" crc="54e6df66" sha1="1b83ae56cf1deb51b04880fa421f06568c938a99" region="maincpu" offset="40000"/>
		<rom name="072-_12.15c" size="131072" crc="96636225" sha1="5de95606e5c9337f18bc42f4df791cacafa20399" region="maincpu" offset="60000"/>
		<rom name="072-g03.6g" size="131072" crc="76c1850c" sha1="9047c6b26c4e33c74eb7400a807d3d9f206f7bbe" region="audiocpu" offset="0"/>
		<rom name="072-b07.18h" merge="072-b07.18h" size="524288" crc="ba1ec910" sha1="0805ccb641271dea43185dc0365732260db1763d" region="k052109" offset="0"/>
		<rom name="072-b06.16h" merge="072-b06.16h" size="524288" crc="cf2bbcab" sha1="47afea47f9bc8cb5eb1c7b7fbafe954b3e749aeb" region="k052109" offset="2"/>
		<rom name="072-b08.3n" merge="072-b08.3n" size="1048576" crc="7de500ad" sha1="61b76b8f402e3bde1509679aaaa28ef08cafb0ab" region="k053246" offset="0"/>
		<rom name="072-b09.8n" merge="072-b09.8n" size="1048576" crc="aa085093" sha1="925239d79bf607021d371263352618876f59c1f8" region="k053246" offset="2"/>
		<rom name="072-b10.12n" merge="072-b10.12n" size="1048576" crc="577dbd53" sha1="e603e03e3dcba766074561faa92afafa5761953d" region="k053246" offset="4"/>
		<rom name="072-b11.16l" merge="072-b11.16l" size="1048576" crc="55fab05d" sha1="54db8559d71ed257de9a29c8808654eaea0df9e2" region="k053246" offset="6"/>
		<rom name="072-d05.1f" merge="072-d05.1f" size="1048576" crc="1397a73b" sha1="369422c84cca5472967af54b8351e29fcd69f621" region="k053260" offset="0"/>
		<rom name="072-d04.1d" merge="072-d04.1d" size="262144" crc="78778013" sha1="edbd6d83b0d1a20df39bb160b92395586fa3c32d" region="k053260" offset="100000"/>
		<rom name="simpsons2p2.12c.nv" size="128" crc="fbac4e30" sha1="d3ff3a392550d9b06400b9292a44bdac7ba5c801" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="konami_cpu"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053246" name="k053247"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="KONAMI CPU" clock="12000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="0" hbstart="320" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4" service="yes">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
			<control type="joy" player="3" buttons="2" ways="8"/>
			<control type="joy" player="4" buttons="2" ways="8"/>
		</input>
		<port tag=":COIN">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<port tag=":TEST">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="simpsons2p3" sourcefile="konami/simpsons.cpp" cloneof="simpsons" romof="simpsons">
		<description>The Simpsons (2 Players World, set 3)</description>
		<year>1991</year>
		<manufacturer>Konami</manufacturer>
		<rom name="072-g02.16c" merge="072-g02.16c" size="131072" crc="580ce1d6" sha1="5b07fb8e8041e1663980aa35d853fdc13b22dac5" region="maincpu" offset="0"/>
		<rom name="072-p01.17c" size="131072" crc="07ceeaea" sha1="c18255ae1d578c2d53de80d6323cdf41cbe47b57" region="maincpu" offset="20000"/>
		<rom name="4.13c" size="131072" crc="c3040e4f" sha1="f6b5cbee5d7c6642a11d115bb6d93a7f2821cd8f" region="maincpu" offset="40000"/>
		<rom name="3.15c" size="131072" crc="eb4f5781" sha1="58a556e9b4b9e4bd0e76ac86ab8e062c3f1e2d31" region="maincpu" offset="60000"/>
		<rom name="072-g03.6g" size="131072" crc="76c1850c" sha1="9047c6b26c4e33c74eb7400a807d3d9f206f7bbe" region="audiocpu" offset="0"/>
		<rom name="072-b07.18h" merge="072-b07.18h" size="524288" crc="ba1ec910" sha1="0805ccb641271dea43185dc0365732260db1763d" region="k052109" offset="0"/>
		<rom name="072-b06.16h" merge="072-b06.16h" size="524288" crc="cf2bbcab" sha1="47afea47f9bc8cb5eb1c7b7fbafe954b3e749aeb" region="k052109" offset="2"/>
		<rom name="072-b08.3n" merge="072-b08.3n" size="1048576" crc="7de500ad" sha1="61b76b8f402e3bde1509679aaaa28ef08cafb0ab" region="k053246" offset="0"/>
		<rom name="072-b09.8n" merge="072-b09.8n" size="1048576" crc="aa085093" sha1="925239d79bf607021d371263352618876f59c1f8" region="k053246" offset="2"/>
		<rom name="072-b10.12n" merge="072-b10.12n" size="1048576" crc="577dbd53" sha1="e603e03e3dcba766074561faa92afafa5761953d" region="k053246" offset="4"/>
		<rom name="072-b11.16l" merge="072-b11.16l" size="1048576" crc="55fab05d" sha1="54db8559d71ed257de9a29c8808654eaea0df9e2" region="k053246" offset="6"/>
		<rom name="072-d05.1f" merge="072-d05.1f" size="1048576" crc="1397a73b" sha1="369422c84cca5472967af54b8351e29fcd69f621" region="k053260" offset="0"/>
		<rom name="072-d04.1d" merge="072-d04.1d" size="262144" crc="78778013" sha1="edbd6d83b0d1a20df39bb160b92395586fa3c32d" region="k053260" offset="100000"/>
		<rom name="simpsons2p.12c.nv" size="128" crc="fbac4e30" sha1="d3ff3a392550d9b06400b9292a44bdac7ba5c801" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="konami_cpu"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053246" name="k053247"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="KONAMI CPU" clock="12000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="0" hbstart="320" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2" service="yes">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
		</input>
		<port tag=":COIN">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<port tag=":TEST">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="simpsons2pa" sourcefile="konami/simpsons.cpp" cloneof="simpsons" romof="simpsons">
		<description>The Simpsons (2 Players Asia)</description>
		<year>1991</year>
		<manufacturer>Konami</manufacturer>
		<rom name="072-g02.16c" merge="072-g02.16c" size="131072" crc="580ce1d6" sha1="5b07fb8e8041e1663980aa35d853fdc13b22dac5" region="maincpu" offset="0"/>
		<rom name="072-p01.17c" size="131072" crc="07ceeaea" sha1="c18255ae1d578c2d53de80d6323cdf41cbe47b57" region="maincpu" offset="20000"/>
		<rom name="072-113.13c" size="131072" crc="8781105a" sha1="ef2f16f7a56d3715536511c674df4b3aab1be2bd" region="maincpu" offset="40000"/>
		<rom name="072-112.15c" size="131072" crc="3bd69404" sha1="e055fed7e9bde8315ae2f9b2d35bc05fece6b80b" region="maincpu" offset="60000"/>
		<rom name="072-e03.6g" merge="072-e03.6g" size="131072" crc="866b7a35" sha1="98905764eb4c7d968ccc17618a1f24ee12e33c0e" region="audiocpu" offset="0"/>
		<rom name="072-b07.18h" merge="072-b07.18h" size="524288" crc="ba1ec910" sha1="0805ccb641271dea43185dc0365732260db1763d" region="k052109" offset="0"/>
		<rom name="072-b06.16h" merge="072-b06.16h" size="524288" crc="cf2bbcab" sha1="47afea47f9bc8cb5eb1c7b7fbafe954b3e749aeb" region="k052109" offset="2"/>
		<rom name="072-b08.3n" merge="072-b08.3n" size="1048576" crc="7de500ad" sha1="61b76b8f402e3bde1509679aaaa28ef08cafb0ab" region="k053246" offset="0"/>
		<rom name="072-b09.8n" merge="072-b09.8n" size="1048576" crc="aa085093" sha1="925239d79bf607021d371263352618876f59c1f8" region="k053246" offset="2"/>
		<rom name="072-b10.12n" merge="072-b10.12n" size="1048576" crc="577dbd53" sha1="e603e03e3dcba766074561faa92afafa5761953d" region="k053246" offset="4"/>
		<rom name="072-b11.16l" merge="072-b11.16l" size="1048576" crc="55fab05d" sha1="54db8559d71ed257de9a29c8808654eaea0df9e2" region="k053246" offset="6"/>
		<rom name="072-d05.1f" merge="072-d05.1f" size="1048576" crc="1397a73b" sha1="369422c84cca5472967af54b8351e29fcd69f621" region="k053260" offset="0"/>
		<rom name="072-d04.1d" merge="072-d04.1d" size="262144" crc="78778013" sha1="edbd6d83b0d1a20df39bb160b92395586fa3c32d" region="k053260" offset="100000"/>
		<rom name="simpsons2pa.12c.nv" size="128" crc="fbac4e30" sha1="d3ff3a392550d9b06400b9292a44bdac7ba5c801" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="konami_cpu"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053246" name="k053247"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="KONAMI CPU" clock="12000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="0" hbstart="320" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2" service="yes">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
		</input>
		<port tag=":COIN">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<port tag=":TEST">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="simpsons2pj" sourcefile="konami/simpsons.cpp" cloneof="simpsons" romof="simpsons">
		<description>The Simpsons (2 Players Japan)</description>
		<year>1991</year>
		<manufacturer>Konami</manufacturer>
		<rom name="072-s02.16c" size="131072" crc="265f7a47" sha1="d39c19a5e303f822313409343b209947f4c47ae4" region="maincpu" offset="0"/>
		<rom name="072-t01.17c" size="131072" crc="91de5c2d" sha1="1e18a5585ed821ec7cda69bdcdbfa4e6c71455c6" region="maincpu" offset="20000"/>
		<rom name="072-213.13c" size="131072" crc="b326a9ae" sha1="f222c33f2e8b306f2f0ef6f0da9febbf8219e1a4" region="maincpu" offset="40000"/>
		<rom name="072-212.15c" size="131072" crc="584d9d37" sha1="61b9df4dfb323b7284894e5e1eb9d713ebf64721" region="maincpu" offset="60000"/>
		<rom name="072-g03.6g" size="131072" crc="76c1850c" sha1="9047c6b26c4e33c74eb7400a807d3d9f206f7bbe" region="audiocpu" offset="0"/>
		<rom name="072-b07.18h" merge="072-b07.18h" size="524288" crc="ba1ec910" sha1="0805ccb641271dea43185dc0365732260db1763d" region="k052109" offset="0"/>
		<rom name="072-b06.16h" merge="072-b06.16h" size="524288" crc="cf2bbcab" sha1="47afea47f9bc8cb5eb1c7b7fbafe954b3e749aeb" region="k052109" offset="2"/>
		<rom name="072-b08.3n" merge="072-b08.3n" size="1048576" crc="7de500ad" sha1="61b76b8f402e3bde1509679aaaa28ef08cafb0ab" region="k053246" offset="0"/>
		<rom name="072-b09.8n" merge="072-b09.8n" size="1048576" crc="aa085093" sha1="925239d79bf607021d371263352618876f59c1f8" region="k053246" offset="2"/>
		<rom name="072-b10.12n" merge="072-b10.12n" size="1048576" crc="577dbd53" sha1="e603e03e3dcba766074561faa92afafa5761953d" region="k053246" offset="4"/>
		<rom name="072-b11.16l" merge="072-b11.16l" size="1048576" crc="55fab05d" sha1="54db8559d71ed257de9a29c8808654eaea0df9e2" region="k053246" offset="6"/>
		<rom name="072-d05.1f" merge="072-d05.1f" size="1048576" crc="1397a73b" sha1="369422c84cca5472967af54b8351e29fcd69f621" region="k053260" offset="0"/>
		<rom name="072-d04.1d" merge="072-d04.1d" size="262144" crc="78778013" sha1="edbd6d83b0d1a20df39bb160b92395586fa3c32d" region="k053260" offset="100000"/>
		<rom name="simpsons2pj.12c.nv" size="128" crc="3550a54e" sha1="370cd40a12c471b3b6690ecbdde9c7979bc2a652" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="konami_cpu"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053246" name="k053247"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="KONAMI CPU" clock="12000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="0" hbstart="320" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2" service="yes">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
		</input>
		<port tag=":COIN">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<port tag=":TEST">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="simpsons4pa" sourcefile="konami/simpsons.cpp" cloneof="simpsons" romof="simpsons">
		<description>The Simpsons (4 Players Asia)</description>
		<year>1991</year>
		<manufacturer>Konami</manufacturer>
		<rom name="072-v02.16c" merge="072-g02.16c" size="131072" crc="580ce1d6" sha1="5b07fb8e8041e1663980aa35d853fdc13b22dac5" region="maincpu" offset="0"/>
		<rom name="072-v01.17c" size="131072" crc="effd6c09" sha1="e5bcdb753bccdd76de18ad6ff7346f74fd02a78f" region="maincpu" offset="20000"/>
		<rom name="072-x13.13c" size="131072" crc="3304abb9" sha1="8f23160077f30d76c0c73e0b3f20996826433566" region="maincpu" offset="40000"/>
		<rom name="072-x12.15c" size="131072" crc="fa4fca12" sha1="3b52a8a52bddfa73d8577315b655eb57ac758326" region="maincpu" offset="60000"/>
		<rom name="072-g03.6g" size="131072" crc="76c1850c" sha1="9047c6b26c4e33c74eb7400a807d3d9f206f7bbe" region="audiocpu" offset="0"/>
		<rom name="072-b07.18h" merge="072-b07.18h" size="524288" crc="ba1ec910" sha1="0805ccb641271dea43185dc0365732260db1763d" region="k052109" offset="0"/>
		<rom name="072-b06.16h" merge="072-b06.16h" size="524288" crc="cf2bbcab" sha1="47afea47f9bc8cb5eb1c7b7fbafe954b3e749aeb" region="k052109" offset="2"/>
		<rom name="072-b08.3n" merge="072-b08.3n" size="1048576" crc="7de500ad" sha1="61b76b8f402e3bde1509679aaaa28ef08cafb0ab" region="k053246" offset="0"/>
		<rom name="072-b09.8n" merge="072-b09.8n" size="1048576" crc="aa085093" sha1="925239d79bf607021d371263352618876f59c1f8" region="k053246" offset="2"/>
		<rom name="072-b10.12n" merge="072-b10.12n" size="1048576" crc="577dbd53" sha1="e603e03e3dcba766074561faa92afafa5761953d" region="k053246" offset="4"/>
		<rom name="072-b11.16l" merge="072-b11.16l" size="1048576" crc="55fab05d" sha1="54db8559d71ed257de9a29c8808654eaea0df9e2" region="k053246" offset="6"/>
		<rom name="072-d05.1f" merge="072-d05.1f" size="1048576" crc="1397a73b" sha1="369422c84cca5472967af54b8351e29fcd69f621" region="k053260" offset="0"/>
		<rom name="072-d04.1d" merge="072-d04.1d" size="262144" crc="78778013" sha1="edbd6d83b0d1a20df39bb160b92395586fa3c32d" region="k053260" offset="100000"/>
		<rom name="simpsons4pa.12c.nv" merge="simpsons.12c.nv" size="128" crc="ec3f0449" sha1="da35b98cd10bfabe9df3ede05462fabeb0e01ca9" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="konami_cpu"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053246" name="k053247"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="KONAMI CPU" clock="12000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="0" hbstart="320" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4" service="yes">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
			<control type="joy" player="3" buttons="2" ways="8"/>
			<control type="joy" player="4" buttons="2" ways="8"/>
		</input>
		<port tag=":COIN">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<port tag=":TEST">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="simpsons4pe" sourcefile="konami/simpsons.cpp" cloneof="simpsons" romof="simpsons">
		<description>The Simpsons (4 Players World, set 2)</description>
		<year>1991</year>
		<manufacturer>Konami</manufacturer>
		<rom name="072-g02.16c" merge="072-g02.16c" size="131072" crc="580ce1d6" sha1="5b07fb8e8041e1663980aa35d853fdc13b22dac5" region="maincpu" offset="0"/>
		<rom name="072-g01.17c" merge="072-g01.17c" size="131072" crc="9f843def" sha1="858432b59101b0577c5cec6ac0c7c20ab0780c9a" region="maincpu" offset="20000"/>
		<rom name="072-m13.13c" size="131072" crc="f36c9423" sha1="4a7311ffcb2e6916006c1e79dfc231e7fc570781" region="maincpu" offset="40000"/>
		<rom name="072-l12.15c" size="131072" crc="84f9d9ba" sha1="d52f999b7c8125daea5e9b5754c6e82c17861d1b" region="maincpu" offset="60000"/>
		<rom name="072-e03.6g" merge="072-e03.6g" size="131072" crc="866b7a35" sha1="98905764eb4c7d968ccc17618a1f24ee12e33c0e" region="audiocpu" offset="0"/>
		<rom name="072-b07.18h" merge="072-b07.18h" size="524288" crc="ba1ec910" sha1="0805ccb641271dea43185dc0365732260db1763d" region="k052109" offset="0"/>
		<rom name="072-b06.16h" merge="072-b06.16h" size="524288" crc="cf2bbcab" sha1="47afea47f9bc8cb5eb1c7b7fbafe954b3e749aeb" region="k052109" offset="2"/>
		<rom name="072-b08.3n" merge="072-b08.3n" size="1048576" crc="7de500ad" sha1="61b76b8f402e3bde1509679aaaa28ef08cafb0ab" region="k053246" offset="0"/>
		<rom name="072-b09.8n" merge="072-b09.8n" size="1048576" crc="aa085093" sha1="925239d79bf607021d371263352618876f59c1f8" region="k053246" offset="2"/>
		<rom name="072-b10.12n" merge="072-b10.12n" size="1048576" crc="577dbd53" sha1="e603e03e3dcba766074561faa92afafa5761953d" region="k053246" offset="4"/>
		<rom name="072-b11.16l" merge="072-b11.16l" size="1048576" crc="55fab05d" sha1="54db8559d71ed257de9a29c8808654eaea0df9e2" region="k053246" offset="6"/>
		<rom name="072-d05.1f" merge="072-d05.1f" size="1048576" crc="1397a73b" sha1="369422c84cca5472967af54b8351e29fcd69f621" region="k053260" offset="0"/>
		<rom name="072-d04.1d" merge="072-d04.1d" size="262144" crc="78778013" sha1="edbd6d83b0d1a20df39bb160b92395586fa3c32d" region="k053260" offset="100000"/>
		<rom name="simpsons4pe.12c.nv" merge="simpsons.12c.nv" size="128" crc="ec3f0449" sha1="da35b98cd10bfabe9df3ede05462fabeb0e01ca9" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="konami_cpu"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053246" name="k053247"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="KONAMI CPU" clock="12000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="0" hbstart="320" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4" service="yes">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
			<control type="joy" player="3" buttons="2" ways="8"/>
			<control type="joy" player="4" buttons="2" ways="8"/>
		</input>
		<port tag=":COIN">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<port tag=":TEST">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="simpsons4pe2" sourcefile="konami/simpsons.cpp" cloneof="simpsons" romof="simpsons">
		<description>The Simpsons (4 Players World, set 3)</description>
		<year>1991</year>
		<manufacturer>Konami</manufacturer>
		<rom name="2 e. devices.16c" merge="072-g02.16c" size="131072" crc="580ce1d6" sha1="5b07fb8e8041e1663980aa35d853fdc13b22dac5" region="maincpu" offset="0"/>
		<rom name="1 e. devices.17c" merge="072-g01.17c" size="131072" crc="9f843def" sha1="858432b59101b0577c5cec6ac0c7c20ab0780c9a" region="maincpu" offset="20000"/>
		<rom name="4 e. devices.13c" size="131072" crc="5f0ada6a" sha1="7aec6083210b751084d32709c9dc50afe524fc02" region="maincpu" offset="40000"/>
		<rom name="3 e. devices.15c" size="131072" crc="22d00d1f" sha1="ed73695fb55c5cf931e536c34ef504f0f7b6213d" region="maincpu" offset="60000"/>
		<rom name="5 e. devices.6g" merge="072-e03.6g" size="131072" crc="866b7a35" sha1="98905764eb4c7d968ccc17618a1f24ee12e33c0e" region="audiocpu" offset="0"/>
		<rom name="072-b07.18h" merge="072-b07.18h" size="524288" crc="ba1ec910" sha1="0805ccb641271dea43185dc0365732260db1763d" region="k052109" offset="0"/>
		<rom name="072-b06.16h" merge="072-b06.16h" size="524288" crc="cf2bbcab" sha1="47afea47f9bc8cb5eb1c7b7fbafe954b3e749aeb" region="k052109" offset="2"/>
		<rom name="072-b08.3n" merge="072-b08.3n" size="1048576" crc="7de500ad" sha1="61b76b8f402e3bde1509679aaaa28ef08cafb0ab" region="k053246" offset="0"/>
		<rom name="072-b09.8n" merge="072-b09.8n" size="1048576" crc="aa085093" sha1="925239d79bf607021d371263352618876f59c1f8" region="k053246" offset="2"/>
		<rom name="072-b10.12n" merge="072-b10.12n" size="1048576" crc="577dbd53" sha1="e603e03e3dcba766074561faa92afafa5761953d" region="k053246" offset="4"/>
		<rom name="072-b11.16l" merge="072-b11.16l" size="1048576" crc="55fab05d" sha1="54db8559d71ed257de9a29c8808654eaea0df9e2" region="k053246" offset="6"/>
		<rom name="072-d05.1f" merge="072-d05.1f" size="1048576" crc="1397a73b" sha1="369422c84cca5472967af54b8351e29fcd69f621" region="k053260" offset="0"/>
		<rom name="072-d04.1d" merge="072-d04.1d" size="262144" crc="78778013" sha1="edbd6d83b0d1a20df39bb160b92395586fa3c32d" region="k053260" offset="100000"/>
		<rom name="simpsons4pe2.12c.nv" merge="simpsons.12c.nv" size="128" crc="ec3f0449" sha1="da35b98cd10bfabe9df3ede05462fabeb0e01ca9" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="konami_cpu"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053246" name="k053247"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="KONAMI CPU" clock="12000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="0" hbstart="320" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4" service="yes">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
			<control type="joy" player="3" buttons="2" ways="8"/>
			<control type="joy" player="4" buttons="2" ways="8"/>
		</input>
		<port tag=":COIN">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<port tag=":TEST">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="ssriders" sourcefile="konami/tmnt2.cpp">
		<description>Sunset Riders (4 Players ver EAC)</description>
		<year>1991</year>
		<manufacturer>Konami</manufacturer>
		<rom name="064eac02.8e" size="262144" crc="5a5425f4" sha1="213226558d772f3ae573ee851b881536ce2faa2a" region="maincpu" offset="0"/>
		<rom name="064eac03.8g" size="262144" crc="093c00fb" sha1="208a3688504bad3bc23135ceb0f15226dd98558e" region="maincpu" offset="1"/>
		<rom name="064eab04.10e" size="131072" crc="ef2315bd" sha1="2c8b11321cb5fdb78d760fabca666c0d8cc5b298" region="maincpu" offset="80000"/>
		<rom name="064eab05.10g" size="131072" crc="51d6fbc4" sha1="e80de7d155b7f263c48ef4ae2702059be3c18e76" region="maincpu" offset="80001"/>
		<rom name="064e01.2f" size="65536" crc="44b9bc52" sha1="4654d6e14c6956c40a19cb41155accb63f0da338" region="audiocpu" offset="0"/>
		<rom name="064e12.16k" size="524288" crc="e2bdc619" sha1="04449deb267b0beacfa33640b593eb16194aa0d9" region="k052109" offset="0"/>
		<rom name="064e11.12k" size="524288" crc="2d8ca8b0" sha1="7c882f79c2402cf75979c681071007d76e4db9ae" region="k052109" offset="2"/>
		<rom name="064e09.7l" size="1048576" crc="4160c372" sha1="0b36181e5ccd785c7fb89b9f41e458066a42c3b0" region="k053245" offset="0"/>
		<rom name="064e07.3l" size="1048576" crc="64dd673c" sha1="bea4d17a71dd21c635866ee69b4892dc9d0ab455" region="k053245" offset="2"/>
		<rom name="064e06.1d" size="1048576" crc="59810df9" sha1="a0affc6330bdbfab1447dc0cf13c20ff708c2c71" region="k053260" offset="0"/>
		<rom name="ssriders_eac.nv" size="128" crc="f6d641a7" sha1="6c680d49e1b07a47b29ff263a6009d226bd120cf" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053245" name="k053244"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="8000000"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="16" hbstart="304" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4" service="yes">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
			<control type="joy" player="3" buttons="2" ways="8"/>
			<control type="joy" player="4" buttons="2" ways="8"/>
		</input>
		<port tag=":COINS">
		</port>
		<port tag=":EEPROM">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<driver status="imperfect" emulation="good" savestate="supported"/>
		<feature type="graphics" status="imperfect"/>
	</machine>
	<machine name="ssriders2" sourcefile="konami/tmnt2.cpp" cloneof="ssriders" romof="ssriders">
		<description>Sunset Riders 2 (bootleg 4 Players ver ADD)</description>
		<year>1991</year>
		<manufacturer>bootleg</manufacturer>
		<rom name="3.bin" size="524288" crc="d8d802c5" sha1="1b5362edd6756586b95b59779a74c804fe69786a" region="maincpu" offset="0"/>
		<rom name="4.bin" size="524288" crc="8ff647b7" sha1="75144ce928fc4e7d24d9dd50a93e11ea41903bc4" region="maincpu" offset="80000"/>
		<rom name="9.bin" merge="064e12.16k" size="524288" crc="e2bdc619" sha1="04449deb267b0beacfa33640b593eb16194aa0d9" region="k052109" offset="0"/>
		<rom name="10.bin" merge="064e11.12k" size="524288" crc="2d8ca8b0" sha1="7c882f79c2402cf75979c681071007d76e4db9ae" region="k052109" offset="2"/>
		<rom name="5.bin" size="524288" crc="4ee77259" sha1="92cb3ae296b1c42b70ce636a989c03d898ca35cf" region="k053245" offset="0"/>
		<rom name="6.bin" size="524288" crc="fdf2c887" sha1="a165c7e6495d870324f59262ad4175a039e199a5" region="k053245" offset="80000"/>
		<rom name="7.bin" size="524288" crc="3f1f7222" sha1="14547c308180e5009f3ea8edcea58d96aa039919" region="k053245" offset="100000"/>
		<rom name="8.bin" size="524288" crc="a91b9171" sha1="e7002fe176196c297073ebf48e6fa5b1fe62caa1" region="k053245" offset="180000"/>
		<rom name="1.bin" size="524288" crc="1a8b5ca2" sha1="4101686c7bf3243273a52fca046b252fc3c78721" region="oki" offset="0"/>
		<rom name="2.bin" size="524288" crc="5d485523" sha1="478119cb6273d870ca04a66e9b964ca0424f6fbd" region="oki" offset="80000"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053245" name="k053244"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":oki" name="okim6295"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="oki" name="OKI MSM6295 ADPCM" clock="1056000"/>
		<display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="16" hbstart="304" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4" service="yes">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
			<control type="joy" player="3" buttons="2" ways="8"/>
			<control type="joy" player="4" buttons="2" ways="8"/>
		</input>
		<port tag=":COINS">
		</port>
		<port tag=":EEPROM">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<driver status="preliminary" emulation="preliminary" savestate="supported"/>
		<feature type="graphics" status="imperfect"/>
	</machine>
	<machine name="ssridersabd" sourcefile="konami/tmnt2.cpp" cloneof="ssriders" romof="ssriders">
		<description>Sunset Riders (2 Players ver ABD)</description>
		<year>1991</year>
		<manufacturer>Konami</manufacturer>
		<rom name="064abd02.8e" size="262144" crc="713406cb" sha1="23769413bfce6cf7039437d0fa25a7b4b9c86387" region="maincpu" offset="0"/>
		<rom name="064abd03.8g" size="262144" crc="680feb3c" sha1="379082cccdbc579a88afcf771f6deb64e4baf4d6" region="maincpu" offset="1"/>
		<rom name="064eab04.10e" merge="064eab04.10e" size="131072" crc="ef2315bd" sha1="2c8b11321cb5fdb78d760fabca666c0d8cc5b298" region="maincpu" offset="80000"/>
		<rom name="064eab05.10g" merge="064eab05.10g" size="131072" crc="51d6fbc4" sha1="e80de7d155b7f263c48ef4ae2702059be3c18e76" region="maincpu" offset="80001"/>
		<rom name="064e01.2f" merge="064e01.2f" size="65536" crc="44b9bc52" sha1="4654d6e14c6956c40a19cb41155accb63f0da338" region="audiocpu" offset="0"/>
		<rom name="064e12.16k" merge="064e12.16k" size="524288" crc="e2bdc619" sha1="04449deb267b0beacfa33640b593eb16194aa0d9" region="k052109" offset="0"/>
		<rom name="064e11.12k" merge="064e11.12k" size="524288" crc="2d8ca8b0" sha1="7c882f79c2402cf75979c681071007d76e4db9ae" region="k052109" offset="2"/>
		<rom name="064e09.7l" merge="064e09.7l" size="1048576" crc="4160c372" sha1="0b36181e5ccd785c7fb89b9f41e458066a42c3b0" region="k053245" offset="0"/>
		<rom name="064e07.3l" merge="064e07.3l" size="1048576" crc="64dd673c" sha1="bea4d17a71dd21c635866ee69b4892dc9d0ab455" region="k053245" offset="2"/>
		<rom name="064e06.1d" merge="064e06.1d" size="1048576" crc="59810df9" sha1="a0affc6330bdbfab1447dc0cf13c20ff708c2c71" region="k053260" offset="0"/>
		<rom name="ssriders_abd.nv" size="128" crc="bfdafedf" sha1="bc786d4fb3495a6baf2ae13c19392c6740a2be6d" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053245" name="k053244"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="8000000"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="16" hbstart="304" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2" service="yes">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
		</input>
		<port tag=":COINS">
		</port>
		<port tag=":EEPROM">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<driver status="imperfect" emulation="good" savestate="supported"/>
		<feature type="graphics" status="imperfect"/>
	</machine>
	<machine name="ssridersadd" sourcefile="konami/tmnt2.cpp" cloneof="ssriders" romof="ssriders">
		<description>Sunset Riders (4 Players ver ADD)</description>
		<year>1991</year>
		<manufacturer>Konami</manufacturer>
		<rom name="064add02.8e" size="262144" crc="06b0138e" sha1="6d8e00a62faae1b87fafed288a920edd5456b660" region="maincpu" offset="0"/>
		<rom name="064add03.8g" size="262144" crc="03eb8b91" sha1="e12f5e5eb89e59277d027f9942fdc38f67cb1066" region="maincpu" offset="1"/>
		<rom name="064eab04.10e" merge="064eab04.10e" size="131072" crc="ef2315bd" sha1="2c8b11321cb5fdb78d760fabca666c0d8cc5b298" region="maincpu" offset="80000"/>
		<rom name="064eab05.10g" merge="064eab05.10g" size="131072" crc="51d6fbc4" sha1="e80de7d155b7f263c48ef4ae2702059be3c18e76" region="maincpu" offset="80001"/>
		<rom name="064e01.2f" merge="064e01.2f" size="65536" crc="44b9bc52" sha1="4654d6e14c6956c40a19cb41155accb63f0da338" region="audiocpu" offset="0"/>
		<rom name="064e12.16k" merge="064e12.16k" size="524288" crc="e2bdc619" sha1="04449deb267b0beacfa33640b593eb16194aa0d9" region="k052109" offset="0"/>
		<rom name="064e11.12k" merge="064e11.12k" size="524288" crc="2d8ca8b0" sha1="7c882f79c2402cf75979c681071007d76e4db9ae" region="k052109" offset="2"/>
		<rom name="064e09.7l" merge="064e09.7l" size="1048576" crc="4160c372" sha1="0b36181e5ccd785c7fb89b9f41e458066a42c3b0" region="k053245" offset="0"/>
		<rom name="064e07.3l" merge="064e07.3l" size="1048576" crc="64dd673c" sha1="bea4d17a71dd21c635866ee69b4892dc9d0ab455" region="k053245" offset="2"/>
		<rom name="064e06.1d" merge="064e06.1d" size="1048576" crc="59810df9" sha1="a0affc6330bdbfab1447dc0cf13c20ff708c2c71" region="k053260" offset="0"/>
		<rom name="ssriders_add.nv" size="128" crc="f06242d5" sha1="181732b07c74c3f5cfa7838ec029ed42d5216b17" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053245" name="k053244"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="8000000"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="16" hbstart="304" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4" service="yes">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
			<control type="joy" player="3" buttons="2" ways="8"/>
			<control type="joy" player="4" buttons="2" ways="8"/>
		</input>
		<port tag=":COINS">
		</port>
		<port tag=":EEPROM">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<driver status="imperfect" emulation="good" savestate="supported"/>
		<feature type="graphics" status="imperfect"/>
	</machine>
	<machine name="ssridersb" sourcefile="konami/tmnt2.cpp" cloneof="ssriders" romof="ssriders">
		<description>Sunset Riders (bootleg 4 Players ver ADD)</description>
		<year>1991</year>
		<manufacturer>bootleg</manufacturer>
		<rom name="sunsetb.03" size="524288" crc="37ffe90b" sha1="3f8542243f2a0c0718056672a906b70af5894a86" region="maincpu" offset="0"/>
		<rom name="sunsetb.04" size="524288" crc="8ff647b7" sha1="75144ce928fc4e7d24d9dd50a93e11ea41903bc4" region="maincpu" offset="80000"/>
		<rom name="064e12.16k" merge="064e12.16k" size="524288" crc="e2bdc619" sha1="04449deb267b0beacfa33640b593eb16194aa0d9" region="k052109" offset="0"/>
		<rom name="064e11.12k" merge="064e11.12k" size="524288" crc="2d8ca8b0" sha1="7c882f79c2402cf75979c681071007d76e4db9ae" region="k052109" offset="2"/>
		<rom name="sunsetb.05" size="524288" crc="8a0ff31a" sha1="fee21d787d1cddd04713e10b1622f3fa231ebc4e" status="baddump" region="k053245" offset="0"/>
		<rom name="sunsetb.06" size="524288" crc="fdf2c887" sha1="a165c7e6495d870324f59262ad4175a039e199a5" status="baddump" region="k053245" offset="80000"/>
		<rom name="sunsetb.07" size="524288" crc="a545b1ed" sha1="249f1f1a992f05c0dc23bd52785a355a402a0d10" status="baddump" region="k053245" offset="100000"/>
		<rom name="sunsetb.08" size="524288" crc="f867cd38" sha1="633703474010364dc47176965daa873d548da074" status="baddump" region="k053245" offset="180000"/>
		<rom name="sunsetb.01" size="524288" crc="1a8b5ca2" sha1="4101686c7bf3243273a52fca046b252fc3c78721" region="oki" offset="0"/>
		<rom name="sunsetb.02" size="524288" crc="5d485523" sha1="478119cb6273d870ca04a66e9b964ca0424f6fbd" region="oki" offset="80000"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053245" name="k053244"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":oki" name="okim6295"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="oki" name="OKI MSM6295 ADPCM" clock="1056000"/>
		<display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="16" hbstart="304" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4" service="yes">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
			<control type="joy" player="3" buttons="2" ways="8"/>
			<control type="joy" player="4" buttons="2" ways="8"/>
		</input>
		<port tag=":COINS">
		</port>
		<port tag=":EEPROM">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<driver status="preliminary" emulation="preliminary" savestate="supported"/>
		<feature type="graphics" status="imperfect"/>
	</machine>
	<machine name="ssriderseaa" sourcefile="konami/tmnt2.cpp" cloneof="ssriders" romof="ssriders">
		<description>Sunset Riders (4 Players ver EAA)</description>
		<year>1991</year>
		<manufacturer>Konami</manufacturer>
		<rom name="064eaa02.8e" size="262144" crc="4844660f" sha1="d2ef7a1b20f09cb63564e62dfe09bfed098a0faa" region="maincpu" offset="0"/>
		<rom name="064eaa03.8g" size="262144" crc="0b9bcc7c" sha1="d291da7f1eaa79ab1dfa402b862ba69061c83bdb" region="maincpu" offset="1"/>
		<rom name="064eaa04.10e" size="131072" crc="5d917c1c" sha1="3a8b410b27bf5e37f9263945abf85ac69f217350" region="maincpu" offset="80000"/>
		<rom name="064eaa05.10g" size="131072" crc="f4647b74" sha1="653ecbf1f3fc8d304e1c7683b2a1a20bed0aefe0" region="maincpu" offset="80001"/>
		<rom name="064eaa01.2f" size="65536" crc="bce45d82" sha1="7f6d17fad0b556243c59d25a94925d259d98d81a" region="audiocpu" offset="0"/>
		<rom name="064e12.16k" merge="064e12.16k" size="524288" crc="e2bdc619" sha1="04449deb267b0beacfa33640b593eb16194aa0d9" region="k052109" offset="0"/>
		<rom name="064e11.12k" merge="064e11.12k" size="524288" crc="2d8ca8b0" sha1="7c882f79c2402cf75979c681071007d76e4db9ae" region="k052109" offset="2"/>
		<rom name="064e09.7l" merge="064e09.7l" size="1048576" crc="4160c372" sha1="0b36181e5ccd785c7fb89b9f41e458066a42c3b0" region="k053245" offset="0"/>
		<rom name="064e07.3l" merge="064e07.3l" size="1048576" crc="64dd673c" sha1="bea4d17a71dd21c635866ee69b4892dc9d0ab455" region="k053245" offset="2"/>
		<rom name="064e06.1d" merge="064e06.1d" size="1048576" crc="59810df9" sha1="a0affc6330bdbfab1447dc0cf13c20ff708c2c71" region="k053260" offset="0"/>
		<rom name="ssriders_eaa.nv" size="128" crc="74a45ef5" sha1="da01f14684315bfb5c180f0c64a14350c34ae945" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053245" name="k053244"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="8000000"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="16" hbstart="304" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4" service="yes">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
			<control type="joy" player="3" buttons="2" ways="8"/>
			<control type="joy" player="4" buttons="2" ways="8"/>
		</input>
		<port tag=":COINS">
		</port>
		<port tag=":EEPROM">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<driver status="imperfect" emulation="good" savestate="supported"/>
		<feature type="graphics" status="imperfect"/>
	</machine>
	<machine name="ssridersebc" sourcefile="konami/tmnt2.cpp" cloneof="ssriders" romof="ssriders">
		<description>Sunset Riders (2 Players ver EBC)</description>
		<year>1991</year>
		<manufacturer>Konami</manufacturer>
		<rom name="064ebc02.8e" size="262144" crc="9bd7d164" sha1="492abdaf62fe7cb72b7e53076a05c987503c738a" region="maincpu" offset="0"/>
		<rom name="064ebc03.8g" size="262144" crc="40fd4165" sha1="c30d7560aae6e9f0bebe2d6d3e0e11b56634de0c" region="maincpu" offset="1"/>
		<rom name="064eab04.10e" merge="064eab04.10e" size="131072" crc="ef2315bd" sha1="2c8b11321cb5fdb78d760fabca666c0d8cc5b298" region="maincpu" offset="80000"/>
		<rom name="064eab05.10g" merge="064eab05.10g" size="131072" crc="51d6fbc4" sha1="e80de7d155b7f263c48ef4ae2702059be3c18e76" region="maincpu" offset="80001"/>
		<rom name="064e01.2f" merge="064e01.2f" size="65536" crc="44b9bc52" sha1="4654d6e14c6956c40a19cb41155accb63f0da338" region="audiocpu" offset="0"/>
		<rom name="064e12.16k" merge="064e12.16k" size="524288" crc="e2bdc619" sha1="04449deb267b0beacfa33640b593eb16194aa0d9" region="k052109" offset="0"/>
		<rom name="064e11.12k" merge="064e11.12k" size="524288" crc="2d8ca8b0" sha1="7c882f79c2402cf75979c681071007d76e4db9ae" region="k052109" offset="2"/>
		<rom name="064e09.7l" merge="064e09.7l" size="1048576" crc="4160c372" sha1="0b36181e5ccd785c7fb89b9f41e458066a42c3b0" region="k053245" offset="0"/>
		<rom name="064e07.3l" merge="064e07.3l" size="1048576" crc="64dd673c" sha1="bea4d17a71dd21c635866ee69b4892dc9d0ab455" region="k053245" offset="2"/>
		<rom name="064e06.1d" merge="064e06.1d" size="1048576" crc="59810df9" sha1="a0affc6330bdbfab1447dc0cf13c20ff708c2c71" region="k053260" offset="0"/>
		<rom name="ssriders_ebc.nv" size="128" crc="1918e90f" sha1="edddbe80a5c9dd64411596b1aa4d7fce7b7090ae" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053245" name="k053244"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="8000000"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="16" hbstart="304" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2" service="yes">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
		</input>
		<port tag=":COINS">
		</port>
		<port tag=":EEPROM">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<driver status="imperfect" emulation="good" savestate="supported"/>
		<feature type="graphics" status="imperfect"/>
	</machine>
	<machine name="ssridersebd" sourcefile="konami/tmnt2.cpp" cloneof="ssriders" romof="ssriders">
		<description>Sunset Riders (2 Players ver EBD)</description>
		<year>1991</year>
		<manufacturer>Konami</manufacturer>
		<rom name="064ebd02.8e" size="262144" crc="8deef9ac" sha1="406ef2b022a59ed958674f432ed50f6ed37fd3c4" region="maincpu" offset="0"/>
		<rom name="064ebd03.8g" size="262144" crc="2370c107" sha1="85d2bd8dde928f647a5d34ac98d2df2ed559f7a2" region="maincpu" offset="1"/>
		<rom name="064eab04.10e" merge="064eab04.10e" size="131072" crc="ef2315bd" sha1="2c8b11321cb5fdb78d760fabca666c0d8cc5b298" region="maincpu" offset="80000"/>
		<rom name="064eab05.10g" merge="064eab05.10g" size="131072" crc="51d6fbc4" sha1="e80de7d155b7f263c48ef4ae2702059be3c18e76" region="maincpu" offset="80001"/>
		<rom name="064e01.2f" merge="064e01.2f" size="65536" crc="44b9bc52" sha1="4654d6e14c6956c40a19cb41155accb63f0da338" region="audiocpu" offset="0"/>
		<rom name="064e12.16k" merge="064e12.16k" size="524288" crc="e2bdc619" sha1="04449deb267b0beacfa33640b593eb16194aa0d9" region="k052109" offset="0"/>
		<rom name="064e11.12k" merge="064e11.12k" size="524288" crc="2d8ca8b0" sha1="7c882f79c2402cf75979c681071007d76e4db9ae" region="k052109" offset="2"/>
		<rom name="064e09.7l" merge="064e09.7l" size="1048576" crc="4160c372" sha1="0b36181e5ccd785c7fb89b9f41e458066a42c3b0" region="k053245" offset="0"/>
		<rom name="064e07.3l" merge="064e07.3l" size="1048576" crc="64dd673c" sha1="bea4d17a71dd21c635866ee69b4892dc9d0ab455" region="k053245" offset="2"/>
		<rom name="064e06.1d" merge="064e06.1d" size="1048576" crc="59810df9" sha1="a0affc6330bdbfab1447dc0cf13c20ff708c2c71" region="k053260" offset="0"/>
		<rom name="ssriders_ebd.nv" size="128" crc="cbc903f6" sha1="43cb8e7f9b1da05da93878bd236f63036e32e379" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053245" name="k053244"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="8000000"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="16" hbstart="304" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2" service="yes">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
		</input>
		<port tag=":COINS">
		</port>
		<port tag=":EEPROM">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<driver status="imperfect" emulation="good" savestate="supported"/>
		<feature type="graphics" status="imperfect"/>
	</machine>
	<machine name="ssridersjac" sourcefile="konami/tmnt2.cpp" cloneof="ssriders" romof="ssriders">
		<description>Sunset Riders (4 Players ver JAC)</description>
		<year>1991</year>
		<manufacturer>Konami</manufacturer>
		<rom name="064jac02.8e" size="262144" crc="64a35f6f" sha1="161127360e68054898cbe4d90382cf1682c8870b" region="maincpu" offset="0"/>
		<rom name="064jac03.8g" size="262144" crc="b5957946" sha1="432b4bfd93e15f71c910b48deb76d65f30b7ce03" region="maincpu" offset="1"/>
		<rom name="064eab04.10e" merge="064eab04.10e" size="131072" crc="ef2315bd" sha1="2c8b11321cb5fdb78d760fabca666c0d8cc5b298" region="maincpu" offset="80000"/>
		<rom name="064eab05.10g" merge="064eab05.10g" size="131072" crc="51d6fbc4" sha1="e80de7d155b7f263c48ef4ae2702059be3c18e76" region="maincpu" offset="80001"/>
		<rom name="064e01.2f" merge="064e01.2f" size="65536" crc="44b9bc52" sha1="4654d6e14c6956c40a19cb41155accb63f0da338" region="audiocpu" offset="0"/>
		<rom name="064e12.16k" merge="064e12.16k" size="524288" crc="e2bdc619" sha1="04449deb267b0beacfa33640b593eb16194aa0d9" region="k052109" offset="0"/>
		<rom name="064e11.12k" merge="064e11.12k" size="524288" crc="2d8ca8b0" sha1="7c882f79c2402cf75979c681071007d76e4db9ae" region="k052109" offset="2"/>
		<rom name="064e09.7l" merge="064e09.7l" size="1048576" crc="4160c372" sha1="0b36181e5ccd785c7fb89b9f41e458066a42c3b0" region="k053245" offset="0"/>
		<rom name="064e07.3l" merge="064e07.3l" size="1048576" crc="64dd673c" sha1="bea4d17a71dd21c635866ee69b4892dc9d0ab455" region="k053245" offset="2"/>
		<rom name="064e06.1d" merge="064e06.1d" size="1048576" crc="59810df9" sha1="a0affc6330bdbfab1447dc0cf13c20ff708c2c71" region="k053260" offset="0"/>
		<rom name="ssriders_jac.nv" size="128" crc="eeb0c55f" sha1="659524bc31eb3568d251c98a554edbea898c1b45" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053245" name="k053244"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="8000000"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="16" hbstart="304" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4" service="yes">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
			<control type="joy" player="3" buttons="2" ways="8"/>
			<control type="joy" player="4" buttons="2" ways="8"/>
		</input>
		<port tag=":COINS">
		</port>
		<port tag=":EEPROM">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<driver status="imperfect" emulation="good" savestate="supported"/>
		<feature type="graphics" status="imperfect"/>
	</machine>
	<machine name="ssridersjad" sourcefile="konami/tmnt2.cpp" cloneof="ssriders" romof="ssriders">
		<description>Sunset Riders (4 Players ver JAD)</description>
		<year>1991</year>
		<manufacturer>Konami</manufacturer>
		<rom name="064jad02.8e" size="262144" crc="13709ee6" sha1="89f047711c2d978382fa8259d5dba9223a9c96db" region="maincpu" offset="0"/>
		<rom name="064jad03.8g" size="262144" crc="2fa32229" sha1="15027f8903389ddc57ada3f79ee5595520b06936" region="maincpu" offset="1"/>
		<rom name="064eab04.10e" merge="064eab04.10e" size="131072" crc="ef2315bd" sha1="2c8b11321cb5fdb78d760fabca666c0d8cc5b298" region="maincpu" offset="80000"/>
		<rom name="064eab05.10g" merge="064eab05.10g" size="131072" crc="51d6fbc4" sha1="e80de7d155b7f263c48ef4ae2702059be3c18e76" region="maincpu" offset="80001"/>
		<rom name="064e01.2f" merge="064e01.2f" size="65536" crc="44b9bc52" sha1="4654d6e14c6956c40a19cb41155accb63f0da338" region="audiocpu" offset="0"/>
		<rom name="064e12.16k" merge="064e12.16k" size="524288" crc="e2bdc619" sha1="04449deb267b0beacfa33640b593eb16194aa0d9" region="k052109" offset="0"/>
		<rom name="064e11.12k" merge="064e11.12k" size="524288" crc="2d8ca8b0" sha1="7c882f79c2402cf75979c681071007d76e4db9ae" region="k052109" offset="2"/>
		<rom name="064e09.7l" merge="064e09.7l" size="1048576" crc="4160c372" sha1="0b36181e5ccd785c7fb89b9f41e458066a42c3b0" region="k053245" offset="0"/>
		<rom name="064e07.3l" merge="064e07.3l" size="1048576" crc="64dd673c" sha1="bea4d17a71dd21c635866ee69b4892dc9d0ab455" region="k053245" offset="2"/>
		<rom name="064e06.1d" merge="064e06.1d" size="1048576" crc="59810df9" sha1="a0affc6330bdbfab1447dc0cf13c20ff708c2c71" region="k053260" offset="0"/>
		<rom name="ssriders_jad.nv" size="128" crc="8962058c" sha1="2aa470d02c7047c637d216690c281a144b70b4c3" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053245" name="k053244"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="8000000"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="16" hbstart="304" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4" service="yes">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
			<control type="joy" player="3" buttons="2" ways="8"/>
			<control type="joy" player="4" buttons="2" ways="8"/>
		</input>
		<port tag=":COINS">
		</port>
		<port tag=":EEPROM">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<driver status="imperfect" emulation="good" savestate="supported"/>
		<feature type="graphics" status="imperfect"/>
	</machine>
	<machine name="ssridersjbd" sourcefile="konami/tmnt2.cpp" cloneof="ssriders" romof="ssriders">
		<description>Sunset Riders (2 Players ver JBD)</description>
		<year>1991</year>
		<manufacturer>Konami</manufacturer>
		<rom name="064jbd02.8e" size="262144" crc="7acdc1e3" sha1="09679403abe695758d01fb0161168bc93888f915" region="maincpu" offset="0"/>
		<rom name="064jbd03.8g" size="262144" crc="6a424918" sha1="3e7a66adc934b1ed4ecd75a36d5a1c133916ac66" region="maincpu" offset="1"/>
		<rom name="064eab04.10e" merge="064eab04.10e" size="131072" crc="ef2315bd" sha1="2c8b11321cb5fdb78d760fabca666c0d8cc5b298" region="maincpu" offset="80000"/>
		<rom name="064eab05.10g" merge="064eab05.10g" size="131072" crc="51d6fbc4" sha1="e80de7d155b7f263c48ef4ae2702059be3c18e76" region="maincpu" offset="80001"/>
		<rom name="064e01.2f" merge="064e01.2f" size="65536" crc="44b9bc52" sha1="4654d6e14c6956c40a19cb41155accb63f0da338" region="audiocpu" offset="0"/>
		<rom name="064e12.16k" merge="064e12.16k" size="524288" crc="e2bdc619" sha1="04449deb267b0beacfa33640b593eb16194aa0d9" region="k052109" offset="0"/>
		<rom name="064e11.12k" merge="064e11.12k" size="524288" crc="2d8ca8b0" sha1="7c882f79c2402cf75979c681071007d76e4db9ae" region="k052109" offset="2"/>
		<rom name="064e09.7l" merge="064e09.7l" size="1048576" crc="4160c372" sha1="0b36181e5ccd785c7fb89b9f41e458066a42c3b0" region="k053245" offset="0"/>
		<rom name="064e07.3l" merge="064e07.3l" size="1048576" crc="64dd673c" sha1="bea4d17a71dd21c635866ee69b4892dc9d0ab455" region="k053245" offset="2"/>
		<rom name="064e06.1d" merge="064e06.1d" size="1048576" crc="59810df9" sha1="a0affc6330bdbfab1447dc0cf13c20ff708c2c71" region="k053260" offset="0"/>
		<rom name="ssriders_jbd.nv" size="128" crc="006200e3" sha1="a6a0640c1a6d69a41db90f1fc935e97f2fa68553" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053245" name="k053244"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="8000000"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="16" hbstart="304" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2" service="yes">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
		</input>
		<port tag=":COINS">
		</port>
		<port tag=":EEPROM">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<driver status="imperfect" emulation="good" savestate="supported"/>
		<feature type="graphics" status="imperfect"/>
	</machine>
	<machine name="ssridersuab" sourcefile="konami/tmnt2.cpp" cloneof="ssriders" romof="ssriders">
		<description>Sunset Riders (4 Players ver UAB)</description>
		<year>1991</year>
		<manufacturer>Konami</manufacturer>
		<rom name="064uab02.8e" size="262144" crc="f1a3c548" sha1="8977d919f1d0fc3ab6801dd89a81a79e86abca69" region="maincpu" offset="0"/>
		<rom name="064uab03.8g" size="262144" crc="66a61287" sha1="a3defe361a7528ef8c88743355fb4983e3523564" region="maincpu" offset="1"/>
		<rom name="064eab04.10e" merge="064eab04.10e" size="131072" crc="ef2315bd" sha1="2c8b11321cb5fdb78d760fabca666c0d8cc5b298" region="maincpu" offset="80000"/>
		<rom name="064eab05.10g" merge="064eab05.10g" size="131072" crc="51d6fbc4" sha1="e80de7d155b7f263c48ef4ae2702059be3c18e76" region="maincpu" offset="80001"/>
		<rom name="064e01.2f" merge="064e01.2f" size="65536" crc="44b9bc52" sha1="4654d6e14c6956c40a19cb41155accb63f0da338" region="audiocpu" offset="0"/>
		<rom name="064e12.16k" merge="064e12.16k" size="524288" crc="e2bdc619" sha1="04449deb267b0beacfa33640b593eb16194aa0d9" region="k052109" offset="0"/>
		<rom name="064e11.12k" merge="064e11.12k" size="524288" crc="2d8ca8b0" sha1="7c882f79c2402cf75979c681071007d76e4db9ae" region="k052109" offset="2"/>
		<rom name="064e09.7l" merge="064e09.7l" size="1048576" crc="4160c372" sha1="0b36181e5ccd785c7fb89b9f41e458066a42c3b0" region="k053245" offset="0"/>
		<rom name="064e07.3l" merge="064e07.3l" size="1048576" crc="64dd673c" sha1="bea4d17a71dd21c635866ee69b4892dc9d0ab455" region="k053245" offset="2"/>
		<rom name="064e06.1d" merge="064e06.1d" size="1048576" crc="59810df9" sha1="a0affc6330bdbfab1447dc0cf13c20ff708c2c71" region="k053260" offset="0"/>
		<rom name="ssriders_uab.nv" size="128" crc="fe08b210" sha1="151eecde7c3200b6df660502d06e872e5c1d14b0" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053245" name="k053244"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="8000000"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="16" hbstart="304" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4" service="yes">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
			<control type="joy" player="3" buttons="2" ways="8"/>
			<control type="joy" player="4" buttons="2" ways="8"/>
		</input>
		<port tag=":COINS">
		</port>
		<port tag=":EEPROM">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<driver status="imperfect" emulation="good" savestate="supported"/>
		<feature type="graphics" status="imperfect"/>
	</machine>
	<machine name="ssridersuac" sourcefile="konami/tmnt2.cpp" cloneof="ssriders" romof="ssriders">
		<description>Sunset Riders (4 Players ver UAC)</description>
		<year>1991</year>
		<manufacturer>Konami</manufacturer>
		<rom name="064uac02.8e" size="262144" crc="870473b6" sha1="2e2fd5c6df3fa8da6655699043e08a8f918ef63c" region="maincpu" offset="0"/>
		<rom name="064uac03.8g" size="262144" crc="eadf289a" sha1="824230714ae0c1d065e83719bb344e76a5ca1fba" region="maincpu" offset="1"/>
		<rom name="064eab04.10e" merge="064eab04.10e" size="131072" crc="ef2315bd" sha1="2c8b11321cb5fdb78d760fabca666c0d8cc5b298" region="maincpu" offset="80000"/>
		<rom name="064eab05.10g" merge="064eab05.10g" size="131072" crc="51d6fbc4" sha1="e80de7d155b7f263c48ef4ae2702059be3c18e76" region="maincpu" offset="80001"/>
		<rom name="064e01.2f" merge="064e01.2f" size="65536" crc="44b9bc52" sha1="4654d6e14c6956c40a19cb41155accb63f0da338" region="audiocpu" offset="0"/>
		<rom name="064e12.16k" merge="064e12.16k" size="524288" crc="e2bdc619" sha1="04449deb267b0beacfa33640b593eb16194aa0d9" region="k052109" offset="0"/>
		<rom name="064e11.12k" merge="064e11.12k" size="524288" crc="2d8ca8b0" sha1="7c882f79c2402cf75979c681071007d76e4db9ae" region="k052109" offset="2"/>
		<rom name="064e09.7l" merge="064e09.7l" size="1048576" crc="4160c372" sha1="0b36181e5ccd785c7fb89b9f41e458066a42c3b0" region="k053245" offset="0"/>
		<rom name="064e07.3l" merge="064e07.3l" size="1048576" crc="64dd673c" sha1="bea4d17a71dd21c635866ee69b4892dc9d0ab455" region="k053245" offset="2"/>
		<rom name="064e06.1d" merge="064e06.1d" size="1048576" crc="59810df9" sha1="a0affc6330bdbfab1447dc0cf13c20ff708c2c71" region="k053260" offset="0"/>
		<rom name="ssriders_uac.nv" size="128" crc="26c8f1a0" sha1="56b933d61fb3a3da787db8e6714b53178f3c98db" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053245" name="k053244"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="8000000"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="16" hbstart="304" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4" service="yes">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
			<control type="joy" player="3" buttons="2" ways="8"/>
			<control type="joy" player="4" buttons="2" ways="8"/>
		</input>
		<port tag=":COINS">
		</port>
		<port tag=":EEPROM">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<driver status="imperfect" emulation="good" savestate="supported"/>
		<feature type="graphics" status="imperfect"/>
	</machine>
	<machine name="ssridersubc" sourcefile="konami/tmnt2.cpp" cloneof="ssriders" romof="ssriders">
		<description>Sunset Riders (2 Players ver UBC)</description>
		<year>1991</year>
		<manufacturer>Konami</manufacturer>
		<rom name="064ubc02.8e" size="262144" crc="aca7fda5" sha1="318fdefbea70724e95f2537b1915bc3a7abbb644" region="maincpu" offset="0"/>
		<rom name="064ubc03.8g" size="262144" crc="bb1fdeff" sha1="1b74954258e3e8fdc80dd3c27785c945e57d36f8" region="maincpu" offset="1"/>
		<rom name="064eab04.10e" merge="064eab04.10e" size="131072" crc="ef2315bd" sha1="2c8b11321cb5fdb78d760fabca666c0d8cc5b298" region="maincpu" offset="80000"/>
		<rom name="064eab05.10g" merge="064eab05.10g" size="131072" crc="51d6fbc4" sha1="e80de7d155b7f263c48ef4ae2702059be3c18e76" region="maincpu" offset="80001"/>
		<rom name="064e01.2f" merge="064e01.2f" size="65536" crc="44b9bc52" sha1="4654d6e14c6956c40a19cb41155accb63f0da338" region="audiocpu" offset="0"/>
		<rom name="064e12.16k" merge="064e12.16k" size="524288" crc="e2bdc619" sha1="04449deb267b0beacfa33640b593eb16194aa0d9" region="k052109" offset="0"/>
		<rom name="064e11.12k" merge="064e11.12k" size="524288" crc="2d8ca8b0" sha1="7c882f79c2402cf75979c681071007d76e4db9ae" region="k052109" offset="2"/>
		<rom name="064e09.7l" merge="064e09.7l" size="1048576" crc="4160c372" sha1="0b36181e5ccd785c7fb89b9f41e458066a42c3b0" region="k053245" offset="0"/>
		<rom name="064e07.3l" merge="064e07.3l" size="1048576" crc="64dd673c" sha1="bea4d17a71dd21c635866ee69b4892dc9d0ab455" region="k053245" offset="2"/>
		<rom name="064e06.1d" merge="064e06.1d" size="1048576" crc="59810df9" sha1="a0affc6330bdbfab1447dc0cf13c20ff708c2c71" region="k053260" offset="0"/>
		<rom name="ssriders_ubc.nv" size="128" crc="31c5504f" sha1="fa6ed1860122552e94abb27a6ea75f4cb8054e76" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053245" name="k053244"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="8000000"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="16" hbstart="304" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2" service="yes">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
		</input>
		<port tag=":COINS">
		</port>
		<port tag=":EEPROM">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<driver status="imperfect" emulation="good" savestate="supported"/>
		<feature type="graphics" status="imperfect"/>
	</machine>
	<machine name="ssridersuda" sourcefile="konami/tmnt2.cpp" cloneof="ssriders" romof="ssriders">
		<description>Sunset Riders (4 Players ver UDA)</description>
		<year>1991</year>
		<manufacturer>Konami</manufacturer>
		<rom name="064uda02.8e" size="262144" crc="5129a6b7" sha1="8892d7043e7b0aee9eaffde9fa9bfd9bbfb7f15f" region="maincpu" offset="0"/>
		<rom name="064uda03.8g" size="262144" crc="9f887214" sha1="f5e22230b7dca42242f3f244e45e67a4bbbdb65f" region="maincpu" offset="1"/>
		<rom name="064eab04.10e" merge="064eab04.10e" size="131072" crc="ef2315bd" sha1="2c8b11321cb5fdb78d760fabca666c0d8cc5b298" region="maincpu" offset="80000"/>
		<rom name="064eab05.10g" merge="064eab05.10g" size="131072" crc="51d6fbc4" sha1="e80de7d155b7f263c48ef4ae2702059be3c18e76" region="maincpu" offset="80001"/>
		<rom name="064e01.2f" merge="064e01.2f" size="65536" crc="44b9bc52" sha1="4654d6e14c6956c40a19cb41155accb63f0da338" region="audiocpu" offset="0"/>
		<rom name="064e12.16k" merge="064e12.16k" size="524288" crc="e2bdc619" sha1="04449deb267b0beacfa33640b593eb16194aa0d9" region="k052109" offset="0"/>
		<rom name="064e11.12k" merge="064e11.12k" size="524288" crc="2d8ca8b0" sha1="7c882f79c2402cf75979c681071007d76e4db9ae" region="k052109" offset="2"/>
		<rom name="064e09.7l" merge="064e09.7l" size="1048576" crc="4160c372" sha1="0b36181e5ccd785c7fb89b9f41e458066a42c3b0" region="k053245" offset="0"/>
		<rom name="064e07.3l" merge="064e07.3l" size="1048576" crc="64dd673c" sha1="bea4d17a71dd21c635866ee69b4892dc9d0ab455" region="k053245" offset="2"/>
		<rom name="064e06.1d" merge="064e06.1d" size="1048576" crc="59810df9" sha1="a0affc6330bdbfab1447dc0cf13c20ff708c2c71" region="k053260" offset="0"/>
		<rom name="ssriders_uda.nv" size="128" crc="148c6d64" sha1="38016ba7e29f821a4c0de67a7ddc686d307e4659" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053245" name="k053244"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="8000000"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="16" hbstart="304" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4" service="yes">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
			<control type="joy" player="3" buttons="2" ways="8"/>
			<control type="joy" player="4" buttons="2" ways="8"/>
		</input>
		<port tag=":COINS">
		</port>
		<port tag=":EEPROM">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<driver status="imperfect" emulation="good" savestate="supported"/>
		<feature type="graphics" status="imperfect"/>
	</machine>
	<machine name="thndrx2" sourcefile="konami/tmnt2.cpp">
		<description>Thunder Cross II (World)</description>
		<year>1991</year>
		<manufacturer>Konami</manufacturer>
		<rom name="073-ea-l02.11c" size="131072" crc="eae02b51" sha1="ac513919b183d5353792418e6190c484c5cf1bcd" region="maincpu" offset="0"/>
		<rom name="073-ea-l03.12c" size="131072" crc="738ed007" sha1="4539fd37ca9d7b25ee3b79c428c8f6c3be484bdf" region="maincpu" offset="1"/>
		<rom name="073-c01.4f" size="65536" crc="44ebe83c" sha1="9274df6affa4f0456d273ff3aa1bda7d2a20416e" region="audiocpu" offset="0"/>
		<rom name="073-c06.16k" size="524288" crc="24e22b42" sha1="7e5e14495bd4adbe5d1cbec75262c9c4c83f5793" region="k052109" offset="0"/>
		<rom name="073-c05.12k" size="524288" crc="952a935f" sha1="87ed81616a243d679f7501db7acdd8b6617f85a3" region="k052109" offset="2"/>
		<rom name="073-c07.7k" size="524288" crc="14e93f38" sha1="bf111b68be722c9c2f0f9c7700b3af6cd8fd28be" region="k051960" offset="0"/>
		<rom name="073-c08.3k" size="524288" crc="09fab3ab" sha1="af54c7bfe8edc5b5ea2c4fba4d5c637cfcbbeff5" region="k051960" offset="2"/>
		<rom name="073-b04.2d" size="524288" crc="05287a0b" sha1="10784b8be6a93a5ebf22a884f99c116e51ae8743" region="k053260" offset="0"/>
		<rom name="thndrx2.nv" size="128" crc="ca613e98" sha1="bde0d1722acfef19cf8ec091bdc296f8b9fa8125" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k051960" name="k051960"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":k054000" name="k054000"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="16" hbstart="304" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2" service="yes">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
		</input>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1_COINS">
		</port>
		<port tag=":P2_EEPROM">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="thndrx2a" sourcefile="konami/tmnt2.cpp" cloneof="thndrx2" romof="thndrx2">
		<description>Thunder Cross II (Asia)</description>
		<year>1991</year>
		<manufacturer>Konami</manufacturer>
		<rom name="073-aa-m02.11c" size="131072" crc="5b5b4cc0" sha1="9f67169fba4523e2893e5ecf17b1be8cdedba83e" region="maincpu" offset="0"/>
		<rom name="073-aa-m03.12c" size="131072" crc="320435a8" sha1="5f656867049b614b0834ef6d8e36fe86118ea1cf" region="maincpu" offset="1"/>
		<rom name="073-c01.4f" merge="073-c01.4f" size="65536" crc="44ebe83c" sha1="9274df6affa4f0456d273ff3aa1bda7d2a20416e" region="audiocpu" offset="0"/>
		<rom name="073-c06.16k" merge="073-c06.16k" size="524288" crc="24e22b42" sha1="7e5e14495bd4adbe5d1cbec75262c9c4c83f5793" region="k052109" offset="0"/>
		<rom name="073-c05.12k" merge="073-c05.12k" size="524288" crc="952a935f" sha1="87ed81616a243d679f7501db7acdd8b6617f85a3" region="k052109" offset="2"/>
		<rom name="073-c07.7k" merge="073-c07.7k" size="524288" crc="14e93f38" sha1="bf111b68be722c9c2f0f9c7700b3af6cd8fd28be" region="k051960" offset="0"/>
		<rom name="073-c08.3k" merge="073-c08.3k" size="524288" crc="09fab3ab" sha1="af54c7bfe8edc5b5ea2c4fba4d5c637cfcbbeff5" region="k051960" offset="2"/>
		<rom name="073-b04.2d" merge="073-b04.2d" size="524288" crc="05287a0b" sha1="10784b8be6a93a5ebf22a884f99c116e51ae8743" region="k053260" offset="0"/>
		<rom name="thndrx2a.nv" size="128" crc="f7893d00" sha1="1165ad3485749015458df2840a34b5b0e1810aad" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k051960" name="k051960"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":k054000" name="k054000"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="16" hbstart="304" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2" service="yes">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
		</input>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1_COINS">
		</port>
		<port tag=":P2_EEPROM">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="thndrx2j" sourcefile="konami/tmnt2.cpp" cloneof="thndrx2" romof="thndrx2">
		<description>Thunder Cross II (Japan)</description>
		<year>1991</year>
		<manufacturer>Konami</manufacturer>
		<rom name="073-ja-k02.11c" size="131072" crc="0c8b2d3f" sha1="44ca5d96d8f85ae2760df4e1c339916e0a76143f" region="maincpu" offset="0"/>
		<rom name="073-ja-k03.12c" size="131072" crc="3803b427" sha1="95b755c70ac55af604c6b44bc41b761efce19f48" region="maincpu" offset="1"/>
		<rom name="073-c01.4f" merge="073-c01.4f" size="65536" crc="44ebe83c" sha1="9274df6affa4f0456d273ff3aa1bda7d2a20416e" region="audiocpu" offset="0"/>
		<rom name="073-c06.16k" merge="073-c06.16k" size="524288" crc="24e22b42" sha1="7e5e14495bd4adbe5d1cbec75262c9c4c83f5793" region="k052109" offset="0"/>
		<rom name="073-c05.12k" merge="073-c05.12k" size="524288" crc="952a935f" sha1="87ed81616a243d679f7501db7acdd8b6617f85a3" region="k052109" offset="2"/>
		<rom name="073-c07.7k" merge="073-c07.7k" size="524288" crc="14e93f38" sha1="bf111b68be722c9c2f0f9c7700b3af6cd8fd28be" region="k051960" offset="0"/>
		<rom name="073-c08.3k" merge="073-c08.3k" size="524288" crc="09fab3ab" sha1="af54c7bfe8edc5b5ea2c4fba4d5c637cfcbbeff5" region="k051960" offset="2"/>
		<rom name="073-b04.2d" merge="073-b04.2d" size="524288" crc="05287a0b" sha1="10784b8be6a93a5ebf22a884f99c116e51ae8743" region="k053260" offset="0"/>
		<rom name="thndrx2j.nv" size="128" crc="83b4799b" sha1="da4f443cbcb06aa5983423cb6fecc1f803235f61" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k051960" name="k051960"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":k054000" name="k054000"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="16" hbstart="304" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2" service="yes">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
		</input>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1_COINS">
		</port>
		<port tag=":P2_EEPROM">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="tmht" sourcefile="konami/tmnt.cpp" cloneof="tmnt" romof="tmnt">
		<description>Teenage Mutant Hero Turtles (UK 4 Players, version F)</description>
		<year>1989</year>
		<manufacturer>Konami</manufacturer>
		<rom name="963-f23.j17" size="131072" crc="9cb5e461" sha1="b693e61070d6ce7ac59ff3f0a824cfefb37b33eb" region="maincpu" offset="0"/>
		<rom name="963-f24.k17" size="131072" crc="2d902fab" sha1="5a9a3bb0b6c2824eb971a8c0aa8d3069d3c63d06" region="maincpu" offset="1"/>
		<rom name="963-f21.j15" size="65536" crc="9fa25378" sha1="9ed0bba148e7c5e78224c5168053eeafc2e4b663" region="maincpu" offset="40000"/>
		<rom name="963-f22.k15" size="65536" crc="2127ee53" sha1="e614260883872fd27cd641e6b4787672b2a44139" region="maincpu" offset="40001"/>
		<rom name="963e20.g13" merge="963e20.g13" size="32768" crc="1692a6d6" sha1="68c3419012b2863e91a7d7e479fce5ceabb10b88" region="audiocpu" offset="0"/>
		<rom name="963a28.h27" merge="963a28.h27" size="524288" crc="db4769a8" sha1="810811914f9c1fbf2320d5a9030cbf124f6d78cf" region="k052109" offset="0"/>
		<rom name="963a29.k27" merge="963a29.k27" size="524288" crc="8069cd2e" sha1="54095d3546119ccd1e8814d692aceb1327c9369f" region="k052109" offset="2"/>
		<rom name="963a17.h4" merge="963a17.h4" size="524288" crc="b5239a44" sha1="84e94807e7c51aa652b4e4b827b36be59a53d0d6" region="k051960" offset="0"/>
		<rom name="963a15.k4" merge="963a15.k4" size="524288" crc="1f324eed" sha1="971a675578518fffa341a943d0cc4fdea005fde0" region="k051960" offset="2"/>
		<rom name="963a18.h6" merge="963a18.h6" size="524288" crc="dd51adef" sha1="5010c0911b0b9e4f23a785e8a751a0bde5be5be0" region="k051960" offset="100000"/>
		<rom name="963a16.k6" merge="963a16.k6" size="524288" crc="d4bd9984" sha1="d780ae7f72e16767c3a492544f02f0f1a332ab22" region="k051960" offset="100002"/>
		<rom name="963a30.g7" merge="963a30.g7" size="256" crc="abd82680" sha1="945a71e6ec65202f13209b45d45b616372d6c0f5" region="proms" offset="0"/>
		<rom name="963a31.g19" merge="963a31.g19" size="256" crc="f8004a1c" sha1="ed6694b8eebfe0238b50ebd05007d519f6e57b1b" region="proms" offset="100"/>
		<rom name="963a26.c13" merge="963a26.c13" size="131072" crc="e2ac3063" sha1="5bb294c46fb5eaba9935a18c0aa5d3931168f474" region="k007232" offset="0"/>
		<rom name="963a27.d18" merge="963a27.d18" size="131072" crc="2dfd674b" sha1="bbec5896c70056964fbc972a84bd5b0dfc6af257" region="upd" offset="0"/>
		<rom name="963a25.d5" merge="963a25.d5" size="524288" crc="fca078c7" sha1="3e1124d72c9db4cb11d8de6c44b7aeca967f44e1" region="title" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k051960" name="k051960"/>
		<device_ref tag=":mono" name="speaker"/>
		<device_ref tag=":soundlatch" name="generic_latch_8"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k007232" name="k007232"/>
		<device_ref tag=":upd" name="upd7759"/>
		<device_ref tag=":samples" name="samples"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="mono" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k007232" name="Konami 007232 PCM Controller" clock="3579545"/>
		<chip type="audio" tag="upd" name="NEC uPD7759" clock="640000"/>
		<chip type="audio" tag="samples" name="Samples"/>
		<display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="0" hbstart="320" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
			<control type="joy" player="3" buttons="2" ways="8"/>
			<control type="joy" player="4" buttons="2" ways="8"/>
		</input>
		<dipswitch name="Coinage" tag="DSW1" mask="15">
			<diplocation name="SW1" number="1"/>
			<diplocation name="SW1" number="2"/>
			<diplocation name="SW1" number="3"/>
			<diplocation name="SW1" number="4"/>
			<dipvalue name="5 Coins/1 Credit" value="0"/>
			<dipvalue name="4 Coins/1 Credit" value="2"/>
			<dipvalue name="3 Coins/1 Credit" value="5"/>
			<dipvalue name="2 Coins/1 Credit" value="8"/>
			<dipvalue name="3 Coins/2 Credits" value="4"/>
			<dipvalue name="4 Coins/3 Credits" value="1"/>
			<dipvalue name="1 Coin/1 Credit" value="15" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="3"/>
			<dipvalue name="2 Coins/3 Credits" value="7"/>
			<dipvalue name="1 Coin/2 Credits" value="14"/>
			<dipvalue name="2 Coins/5 Credits" value="6"/>
			<dipvalue name="1 Coin/3 Credits" value="13"/>
			<dipvalue name="1 Coin/4 Credits" value="12"/>
			<dipvalue name="1 Coin/5 Credits" value="11"/>
			<dipvalue name="1 Coin/6 Credits" value="10"/>
			<dipvalue name="1 Coin/7 Credits" value="9"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="16">
			<diplocation name="SW1" number="5"/>
			<dipvalue name="Off" value="16" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="32">
			<diplocation name="SW1" number="6"/>
			<dipvalue name="Off" value="32" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="64">
			<diplocation name="SW1" number="7"/>
			<dipvalue name="Off" value="64" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="128">
			<diplocation name="SW1" number="8"/>
			<dipvalue name="Off" value="128" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Lives" tag="DSW2" mask="3">
			<diplocation name="SW2" number="1"/>
			<diplocation name="SW2" number="2"/>
			<dipvalue name="1" value="3"/>
			<dipvalue name="2" value="2" default="yes"/>
			<dipvalue name="3" value="1"/>
			<dipvalue name="5" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="4">
			<diplocation name="SW2" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="8">
			<diplocation name="SW2" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="16">
			<diplocation name="SW2" number="5"/>
			<dipvalue name="Off" value="16" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Difficulty" tag="DSW2" mask="96">
			<diplocation name="SW2" number="6"/>
			<diplocation name="SW2" number="7"/>
			<dipvalue name="Easy" value="96"/>
			<dipvalue name="Normal" value="64" default="yes"/>
			<dipvalue name="Difficult" value="32"/>
			<dipvalue name="Very Difficult" value="0"/>
		</dipswitch>
		<dipswitch name="Demo Sounds" tag="DSW2" mask="128">
			<diplocation name="SW2" number="8"/>
			<dipvalue name="Off" value="128"/>
			<dipvalue name="On" value="0" default="yes"/>
		</dipswitch>
		<dipswitch name="Flip Screen" tag="DSW3" mask="1">
			<diplocation name="SW3" number="1"/>
			<dipvalue name="Off" value="1" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="2">
			<diplocation name="SW3" number="2"/>
			<dipvalue name="Off" value="2" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Service Mode" tag="DSW3" mask="4">
			<diplocation name="SW3" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="8">
			<diplocation name="SW3" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<port tag=":COINS">
		</port>
		<port tag=":DSW1">
		</port>
		<port tag=":DSW2">
		</port>
		<port tag=":DSW3">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="tmht22pe" sourcefile="konami/tmnt2.cpp" cloneof="tmnt2" romof="tmnt2">
		<description>Teenage Mutant Hero Turtles: Turtles in Time (2 Players ver EBA)</description>
		<year>1991</year>
		<manufacturer>Konami</manufacturer>
		<rom name="063eba02.8e" size="131072" crc="99409094" sha1="18059da85c59eb6ce193111bb8c7bd6601b1e698" region="maincpu" offset="0"/>
		<rom name="063eba03.8g" size="131072" crc="4d65650f" sha1="95c03b215f1db8377b2f6b4686055fcf0117f878" region="maincpu" offset="1"/>
		<rom name="063eba04.10e" size="131072" crc="f6e3b9c7" sha1="1ad5cb30ad3ef6e2cd954c3e2f1b6775cbf7a676" region="maincpu" offset="40000"/>
		<rom name="063eba05.10g" size="131072" crc="1bad6696" sha1="8da436bce4cafd9e09e5272f0c1c37395c26ac02" region="maincpu" offset="40001"/>
		<rom name="063b01.2f" merge="063b01.2f" size="65536" crc="364f548a" sha1="e0636e27d4fc48b2ccb1417b63d2b68d9e272c06" region="audiocpu" offset="0"/>
		<rom name="063b12.16k" merge="063b12.16k" size="524288" crc="d3283d19" sha1="49e4daa9cbe4d99bf71fcee6237cb434a0d55312" region="k052109" offset="0"/>
		<rom name="063b11.12k" merge="063b11.12k" size="524288" crc="6ebc0c15" sha1="e6848405076937fbf8ec6d318293a0ff922725f4" region="k052109" offset="2"/>
		<rom name="063b09.7l" merge="063b09.7l" size="1048576" crc="2d7a9d2a" sha1="a26f9c1a07152bc8c7bcd797d4485bf848f5e2a0" region="k053245" offset="0"/>
		<rom name="063b07.3l" merge="063b07.3l" size="1048576" crc="d9bee7bf" sha1="7bbb65138fbd216b80412783e6f0072742101440" region="k053245" offset="2"/>
		<rom name="063b10.7k" merge="063b10.7k" size="524288" crc="f2dd296e" sha1="a2aad10bfb0904dd73c2ee11049648c94de7f4d5" region="k053245" offset="200000"/>
		<rom name="063b08.3k" merge="063b08.3k" size="524288" crc="3b1ae36f" sha1="9e69cae8b517497ac77c4d148f56f2bb6a23de89" region="k053245" offset="200002"/>
		<rom name="063b06.1d" merge="063b06.1d" size="2097152" crc="1e510aa5" sha1="02b9bd6bb6b098026a620e4d671c40a31ad9e318" region="k053260" offset="0"/>
		<rom name="tmnt2_eba.nv" size="128" crc="c0a3ed50" sha1="6deec720c7f1c607740076cb8b5b5becd175aed0" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053245" name="k053244"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="8000000"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="304" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="8" hbstart="312" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2" service="yes">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
		</input>
		<port tag=":COINS">
		</port>
		<port tag=":EEPROM">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="tmht24pe" sourcefile="konami/tmnt2.cpp" cloneof="tmnt2" romof="tmnt2">
		<description>Teenage Mutant Hero Turtles: Turtles in Time (4 Players ver EAA)</description>
		<year>1991</year>
		<manufacturer>Konami</manufacturer>
		<rom name="063eaa02.8e" size="131072" crc="665a68de" sha1="3cefc2cb0f0a42f1044ef04862669fc7893005da" region="maincpu" offset="0"/>
		<rom name="063eaa03.8g" size="131072" crc="7b7fb3af" sha1="1c96283af8fc81c30136dfe2efbd113cb7dd3d66" region="maincpu" offset="1"/>
		<rom name="063eaa04.10e" size="131072" crc="69f38e1d" sha1="a63aa86a11f803fa3f07c5eb2fdbdb75bb850d55" region="maincpu" offset="40000"/>
		<rom name="063eaa05.10g" size="131072" crc="818032af" sha1="60d416a58696add58493c0f2297b3a4af5f46d6d" region="maincpu" offset="40001"/>
		<rom name="063b01.2f" merge="063b01.2f" size="65536" crc="364f548a" sha1="e0636e27d4fc48b2ccb1417b63d2b68d9e272c06" region="audiocpu" offset="0"/>
		<rom name="063b12.16k" merge="063b12.16k" size="524288" crc="d3283d19" sha1="49e4daa9cbe4d99bf71fcee6237cb434a0d55312" region="k052109" offset="0"/>
		<rom name="063b11.12k" merge="063b11.12k" size="524288" crc="6ebc0c15" sha1="e6848405076937fbf8ec6d318293a0ff922725f4" region="k052109" offset="2"/>
		<rom name="063b09.7l" merge="063b09.7l" size="1048576" crc="2d7a9d2a" sha1="a26f9c1a07152bc8c7bcd797d4485bf848f5e2a0" region="k053245" offset="0"/>
		<rom name="063b07.3l" merge="063b07.3l" size="1048576" crc="d9bee7bf" sha1="7bbb65138fbd216b80412783e6f0072742101440" region="k053245" offset="2"/>
		<rom name="063b10.7k" merge="063b10.7k" size="524288" crc="f2dd296e" sha1="a2aad10bfb0904dd73c2ee11049648c94de7f4d5" region="k053245" offset="200000"/>
		<rom name="063b08.3k" merge="063b08.3k" size="524288" crc="3b1ae36f" sha1="9e69cae8b517497ac77c4d148f56f2bb6a23de89" region="k053245" offset="200002"/>
		<rom name="063b06.1d" merge="063b06.1d" size="2097152" crc="1e510aa5" sha1="02b9bd6bb6b098026a620e4d671c40a31ad9e318" region="k053260" offset="0"/>
		<rom name="tmnt2_eaa.nv" size="128" crc="124af18f" sha1="bbd0629663135fc6c08b000b886ea76a96592a9e" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053245" name="k053244"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="8000000"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="304" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="8" hbstart="312" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4" service="yes">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
			<control type="joy" player="3" buttons="2" ways="8"/>
			<control type="joy" player="4" buttons="2" ways="8"/>
		</input>
		<port tag=":COINS">
		</port>
		<port tag=":EEPROM">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="tmht2p" sourcefile="konami/tmnt.cpp" cloneof="tmnt" romof="tmnt">
		<description>Teenage Mutant Hero Turtles (UK 2 Players, version U)</description>
		<year>1989</year>
		<manufacturer>Konami</manufacturer>
		<rom name="963-u23.j17" size="131072" crc="58bec748" sha1="6cf146d6de8ef01c0705394d135abebc3aeaae16" region="maincpu" offset="0"/>
		<rom name="963-u24.k17" size="131072" crc="dce87c8d" sha1="b85018ffc226ec7dfc97f9cd0f4454951c6e5918" region="maincpu" offset="1"/>
		<rom name="963-u21.j15" size="65536" crc="abce5ead" sha1="2b3674497bb4f688c5f0e1cc9a078b3feb01475d" region="maincpu" offset="40000"/>
		<rom name="963-u22.k15" size="65536" crc="4ecc8d6b" sha1="ce29aecbd98c0a07f48766564de173facb310371" region="maincpu" offset="40001"/>
		<rom name="963e20.g13" merge="963e20.g13" size="32768" crc="1692a6d6" sha1="68c3419012b2863e91a7d7e479fce5ceabb10b88" region="audiocpu" offset="0"/>
		<rom name="963a28.h27" merge="963a28.h27" size="524288" crc="db4769a8" sha1="810811914f9c1fbf2320d5a9030cbf124f6d78cf" region="k052109" offset="0"/>
		<rom name="963a29.k27" merge="963a29.k27" size="524288" crc="8069cd2e" sha1="54095d3546119ccd1e8814d692aceb1327c9369f" region="k052109" offset="2"/>
		<rom name="963a17.h4" merge="963a17.h4" size="524288" crc="b5239a44" sha1="84e94807e7c51aa652b4e4b827b36be59a53d0d6" region="k051960" offset="0"/>
		<rom name="963a15.k4" merge="963a15.k4" size="524288" crc="1f324eed" sha1="971a675578518fffa341a943d0cc4fdea005fde0" region="k051960" offset="2"/>
		<rom name="963a18.h6" merge="963a18.h6" size="524288" crc="dd51adef" sha1="5010c0911b0b9e4f23a785e8a751a0bde5be5be0" region="k051960" offset="100000"/>
		<rom name="963a16.k6" merge="963a16.k6" size="524288" crc="d4bd9984" sha1="d780ae7f72e16767c3a492544f02f0f1a332ab22" region="k051960" offset="100002"/>
		<rom name="963a30.g7" merge="963a30.g7" size="256" crc="abd82680" sha1="945a71e6ec65202f13209b45d45b616372d6c0f5" region="proms" offset="0"/>
		<rom name="963a31.g19" merge="963a31.g19" size="256" crc="f8004a1c" sha1="ed6694b8eebfe0238b50ebd05007d519f6e57b1b" region="proms" offset="100"/>
		<rom name="963a26.c13" merge="963a26.c13" size="131072" crc="e2ac3063" sha1="5bb294c46fb5eaba9935a18c0aa5d3931168f474" region="k007232" offset="0"/>
		<rom name="963a27.d18" merge="963a27.d18" size="131072" crc="2dfd674b" sha1="bbec5896c70056964fbc972a84bd5b0dfc6af257" region="upd" offset="0"/>
		<rom name="963a25.d5" merge="963a25.d5" size="524288" crc="fca078c7" sha1="3e1124d72c9db4cb11d8de6c44b7aeca967f44e1" region="title" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k051960" name="k051960"/>
		<device_ref tag=":mono" name="speaker"/>
		<device_ref tag=":soundlatch" name="generic_latch_8"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k007232" name="k007232"/>
		<device_ref tag=":upd" name="upd7759"/>
		<device_ref tag=":samples" name="samples"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="mono" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k007232" name="Konami 007232 PCM Controller" clock="3579545"/>
		<chip type="audio" tag="upd" name="NEC uPD7759" clock="640000"/>
		<chip type="audio" tag="samples" name="Samples"/>
		<display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="0" hbstart="320" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
		</input>
		<dipswitch name="Coin A" tag="DSW1" mask="15">
			<diplocation name="SW1" number="1"/>
			<diplocation name="SW1" number="2"/>
			<diplocation name="SW1" number="3"/>
			<diplocation name="SW1" number="4"/>
			<dipvalue name="4 Coins/1 Credit" value="2"/>
			<dipvalue name="3 Coins/1 Credit" value="5"/>
			<dipvalue name="2 Coins/1 Credit" value="8"/>
			<dipvalue name="3 Coins/2 Credits" value="4"/>
			<dipvalue name="4 Coins/3 Credits" value="1"/>
			<dipvalue name="1 Coin/1 Credit" value="15" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="3"/>
			<dipvalue name="2 Coins/3 Credits" value="7"/>
			<dipvalue name="1 Coin/2 Credits" value="14"/>
			<dipvalue name="2 Coins/5 Credits" value="6"/>
			<dipvalue name="1 Coin/3 Credits" value="13"/>
			<dipvalue name="1 Coin/4 Credits" value="12"/>
			<dipvalue name="1 Coin/5 Credits" value="11"/>
			<dipvalue name="1 Coin/6 Credits" value="10"/>
			<dipvalue name="1 Coin/7 Credits" value="9"/>
			<dipvalue name="Free Play" value="0"/>
		</dipswitch>
		<dipswitch name="Coin B" tag="DSW1" mask="240">
			<diplocation name="SW1" number="5"/>
			<diplocation name="SW1" number="6"/>
			<diplocation name="SW1" number="7"/>
			<diplocation name="SW1" number="8"/>
			<dipvalue name="4 Coins/1 Credit" value="32"/>
			<dipvalue name="3 Coins/1 Credit" value="80"/>
			<dipvalue name="2 Coins/1 Credit" value="128"/>
			<dipvalue name="3 Coins/2 Credits" value="64"/>
			<dipvalue name="4 Coins/3 Credits" value="16"/>
			<dipvalue name="1 Coin/1 Credit" value="240" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="48"/>
			<dipvalue name="2 Coins/3 Credits" value="112"/>
			<dipvalue name="1 Coin/2 Credits" value="224"/>
			<dipvalue name="2 Coins/5 Credits" value="96"/>
			<dipvalue name="1 Coin/3 Credits" value="208"/>
			<dipvalue name="1 Coin/4 Credits" value="192"/>
			<dipvalue name="1 Coin/5 Credits" value="176"/>
			<dipvalue name="1 Coin/6 Credits" value="160"/>
			<dipvalue name="1 Coin/7 Credits" value="144"/>
			<dipvalue name="No Coin B" value="0"/>
		</dipswitch>
		<dipswitch name="Lives" tag="DSW2" mask="3">
			<diplocation name="SW2" number="1"/>
			<diplocation name="SW2" number="2"/>
			<dipvalue name="1" value="3"/>
			<dipvalue name="2" value="2" default="yes"/>
			<dipvalue name="3" value="1"/>
			<dipvalue name="5" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="4">
			<diplocation name="SW2" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="8">
			<diplocation name="SW2" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="16">
			<diplocation name="SW2" number="5"/>
			<dipvalue name="Off" value="16" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Difficulty" tag="DSW2" mask="96">
			<diplocation name="SW2" number="6"/>
			<diplocation name="SW2" number="7"/>
			<dipvalue name="Easy" value="96"/>
			<dipvalue name="Normal" value="64" default="yes"/>
			<dipvalue name="Difficult" value="32"/>
			<dipvalue name="Very Difficult" value="0"/>
		</dipswitch>
		<dipswitch name="Demo Sounds" tag="DSW2" mask="128">
			<diplocation name="SW2" number="8"/>
			<dipvalue name="Off" value="128"/>
			<dipvalue name="On" value="0" default="yes"/>
		</dipswitch>
		<dipswitch name="Flip Screen" tag="DSW3" mask="1">
			<diplocation name="SW3" number="1"/>
			<dipvalue name="Off" value="1" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="2">
			<diplocation name="SW3" number="2"/>
			<dipvalue name="Off" value="2" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Service Mode" tag="DSW3" mask="4">
			<diplocation name="SW3" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="8">
			<diplocation name="SW3" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<port tag=":COINS">
		</port>
		<port tag=":DSW1">
		</port>
		<port tag=":DSW2">
		</port>
		<port tag=":DSW3">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="tmht2pa" sourcefile="konami/tmnt.cpp" cloneof="tmnt" romof="tmnt">
		<description>Teenage Mutant Hero Turtles (UK 2 Players, version ?)</description>
		<year>1989</year>
		<manufacturer>Konami</manufacturer>
		<rom name="963-_23.j17" size="131072" crc="8698061a" sha1="f01aa535e8fb63fb57cd06c0ad6bb7720fe14a84" region="maincpu" offset="0"/>
		<rom name="963-_24.k17" size="131072" crc="4036c075" sha1="38701c34f8baa70934d5c4434230f3f09e28386a" region="maincpu" offset="1"/>
		<rom name="963-_21.j15" size="65536" crc="ddcc979c" sha1="5dfabe2af341f19349872ea12b183750804eab56" region="maincpu" offset="40000"/>
		<rom name="963-_22.k15" size="65536" crc="71a38d27" sha1="11c92f2b772ddac3d432c9a1d57ab0b5dd2c9137" region="maincpu" offset="40001"/>
		<rom name="963e20.g13" merge="963e20.g13" size="32768" crc="1692a6d6" sha1="68c3419012b2863e91a7d7e479fce5ceabb10b88" region="audiocpu" offset="0"/>
		<rom name="963a28.h27" merge="963a28.h27" size="524288" crc="db4769a8" sha1="810811914f9c1fbf2320d5a9030cbf124f6d78cf" region="k052109" offset="0"/>
		<rom name="963a29.k27" merge="963a29.k27" size="524288" crc="8069cd2e" sha1="54095d3546119ccd1e8814d692aceb1327c9369f" region="k052109" offset="2"/>
		<rom name="963a17.h4" merge="963a17.h4" size="524288" crc="b5239a44" sha1="84e94807e7c51aa652b4e4b827b36be59a53d0d6" region="k051960" offset="0"/>
		<rom name="963a15.k4" merge="963a15.k4" size="524288" crc="1f324eed" sha1="971a675578518fffa341a943d0cc4fdea005fde0" region="k051960" offset="2"/>
		<rom name="963a18.h6" merge="963a18.h6" size="524288" crc="dd51adef" sha1="5010c0911b0b9e4f23a785e8a751a0bde5be5be0" region="k051960" offset="100000"/>
		<rom name="963a16.k6" merge="963a16.k6" size="524288" crc="d4bd9984" sha1="d780ae7f72e16767c3a492544f02f0f1a332ab22" region="k051960" offset="100002"/>
		<rom name="963a30.g7" merge="963a30.g7" size="256" crc="abd82680" sha1="945a71e6ec65202f13209b45d45b616372d6c0f5" region="proms" offset="0"/>
		<rom name="963a31.g19" merge="963a31.g19" size="256" crc="f8004a1c" sha1="ed6694b8eebfe0238b50ebd05007d519f6e57b1b" region="proms" offset="100"/>
		<rom name="963a26.c13" merge="963a26.c13" size="131072" crc="e2ac3063" sha1="5bb294c46fb5eaba9935a18c0aa5d3931168f474" region="k007232" offset="0"/>
		<rom name="963a27.d18" merge="963a27.d18" size="131072" crc="2dfd674b" sha1="bbec5896c70056964fbc972a84bd5b0dfc6af257" region="upd" offset="0"/>
		<rom name="963a25.d5" merge="963a25.d5" size="524288" crc="fca078c7" sha1="3e1124d72c9db4cb11d8de6c44b7aeca967f44e1" region="title" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k051960" name="k051960"/>
		<device_ref tag=":mono" name="speaker"/>
		<device_ref tag=":soundlatch" name="generic_latch_8"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k007232" name="k007232"/>
		<device_ref tag=":upd" name="upd7759"/>
		<device_ref tag=":samples" name="samples"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="mono" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k007232" name="Konami 007232 PCM Controller" clock="3579545"/>
		<chip type="audio" tag="upd" name="NEC uPD7759" clock="640000"/>
		<chip type="audio" tag="samples" name="Samples"/>
		<display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="0" hbstart="320" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
		</input>
		<dipswitch name="Coin A" tag="DSW1" mask="15">
			<diplocation name="SW1" number="1"/>
			<diplocation name="SW1" number="2"/>
			<diplocation name="SW1" number="3"/>
			<diplocation name="SW1" number="4"/>
			<dipvalue name="4 Coins/1 Credit" value="2"/>
			<dipvalue name="3 Coins/1 Credit" value="5"/>
			<dipvalue name="2 Coins/1 Credit" value="8"/>
			<dipvalue name="3 Coins/2 Credits" value="4"/>
			<dipvalue name="4 Coins/3 Credits" value="1"/>
			<dipvalue name="1 Coin/1 Credit" value="15" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="3"/>
			<dipvalue name="2 Coins/3 Credits" value="7"/>
			<dipvalue name="1 Coin/2 Credits" value="14"/>
			<dipvalue name="2 Coins/5 Credits" value="6"/>
			<dipvalue name="1 Coin/3 Credits" value="13"/>
			<dipvalue name="1 Coin/4 Credits" value="12"/>
			<dipvalue name="1 Coin/5 Credits" value="11"/>
			<dipvalue name="1 Coin/6 Credits" value="10"/>
			<dipvalue name="1 Coin/7 Credits" value="9"/>
			<dipvalue name="Free Play" value="0"/>
		</dipswitch>
		<dipswitch name="Coin B" tag="DSW1" mask="240">
			<diplocation name="SW1" number="5"/>
			<diplocation name="SW1" number="6"/>
			<diplocation name="SW1" number="7"/>
			<diplocation name="SW1" number="8"/>
			<dipvalue name="4 Coins/1 Credit" value="32"/>
			<dipvalue name="3 Coins/1 Credit" value="80"/>
			<dipvalue name="2 Coins/1 Credit" value="128"/>
			<dipvalue name="3 Coins/2 Credits" value="64"/>
			<dipvalue name="4 Coins/3 Credits" value="16"/>
			<dipvalue name="1 Coin/1 Credit" value="240" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="48"/>
			<dipvalue name="2 Coins/3 Credits" value="112"/>
			<dipvalue name="1 Coin/2 Credits" value="224"/>
			<dipvalue name="2 Coins/5 Credits" value="96"/>
			<dipvalue name="1 Coin/3 Credits" value="208"/>
			<dipvalue name="1 Coin/4 Credits" value="192"/>
			<dipvalue name="1 Coin/5 Credits" value="176"/>
			<dipvalue name="1 Coin/6 Credits" value="160"/>
			<dipvalue name="1 Coin/7 Credits" value="144"/>
			<dipvalue name="No Coin B" value="0"/>
		</dipswitch>
		<dipswitch name="Lives" tag="DSW2" mask="3">
			<diplocation name="SW2" number="1"/>
			<diplocation name="SW2" number="2"/>
			<dipvalue name="1" value="3"/>
			<dipvalue name="2" value="2" default="yes"/>
			<dipvalue name="3" value="1"/>
			<dipvalue name="5" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="4">
			<diplocation name="SW2" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="8">
			<diplocation name="SW2" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="16">
			<diplocation name="SW2" number="5"/>
			<dipvalue name="Off" value="16" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Difficulty" tag="DSW2" mask="96">
			<diplocation name="SW2" number="6"/>
			<diplocation name="SW2" number="7"/>
			<dipvalue name="Easy" value="96"/>
			<dipvalue name="Normal" value="64" default="yes"/>
			<dipvalue name="Difficult" value="32"/>
			<dipvalue name="Very Difficult" value="0"/>
		</dipswitch>
		<dipswitch name="Demo Sounds" tag="DSW2" mask="128">
			<diplocation name="SW2" number="8"/>
			<dipvalue name="Off" value="128"/>
			<dipvalue name="On" value="0" default="yes"/>
		</dipswitch>
		<dipswitch name="Flip Screen" tag="DSW3" mask="1">
			<diplocation name="SW3" number="1"/>
			<dipvalue name="Off" value="1" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="2">
			<diplocation name="SW3" number="2"/>
			<dipvalue name="Off" value="2" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Service Mode" tag="DSW3" mask="4">
			<diplocation name="SW3" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="8">
			<diplocation name="SW3" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<port tag=":COINS">
		</port>
		<port tag=":DSW1">
		</port>
		<port tag=":DSW2">
		</port>
		<port tag=":DSW3">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="tmhta" sourcefile="konami/tmnt.cpp" cloneof="tmnt" romof="tmnt">
		<description>Teenage Mutant Hero Turtles (UK 4 Players, version S)</description>
		<year>1989</year>
		<manufacturer>Konami</manufacturer>
		<rom name="963-s23.j17" size="131072" crc="b5af7eee" sha1="082c8faabb0d409f73a17d7d342c0afb0f936b91" region="maincpu" offset="0"/>
		<rom name="963-s24.k17" size="131072" crc="bcb8ce8b" sha1="d9a74627598e29110002ea5d81a4f165d7566329" region="maincpu" offset="1"/>
		<rom name="963-s21.j15" size="65536" crc="0b88bfa6" sha1="22d552c0aaab336cd7c36d57fde22a64257a0633" region="maincpu" offset="40000"/>
		<rom name="963-s22.k15" size="65536" crc="44ce6d4b" sha1="17e3baa33ab182f21b2686786ba570514830ed83" region="maincpu" offset="40001"/>
		<rom name="963e20.g13" merge="963e20.g13" size="32768" crc="1692a6d6" sha1="68c3419012b2863e91a7d7e479fce5ceabb10b88" region="audiocpu" offset="0"/>
		<rom name="963a28.h27" merge="963a28.h27" size="524288" crc="db4769a8" sha1="810811914f9c1fbf2320d5a9030cbf124f6d78cf" region="k052109" offset="0"/>
		<rom name="963a29.k27" merge="963a29.k27" size="524288" crc="8069cd2e" sha1="54095d3546119ccd1e8814d692aceb1327c9369f" region="k052109" offset="2"/>
		<rom name="963a17.h4" merge="963a17.h4" size="524288" crc="b5239a44" sha1="84e94807e7c51aa652b4e4b827b36be59a53d0d6" region="k051960" offset="0"/>
		<rom name="963a15.k4" merge="963a15.k4" size="524288" crc="1f324eed" sha1="971a675578518fffa341a943d0cc4fdea005fde0" region="k051960" offset="2"/>
		<rom name="963a18.h6" merge="963a18.h6" size="524288" crc="dd51adef" sha1="5010c0911b0b9e4f23a785e8a751a0bde5be5be0" region="k051960" offset="100000"/>
		<rom name="963a16.k6" merge="963a16.k6" size="524288" crc="d4bd9984" sha1="d780ae7f72e16767c3a492544f02f0f1a332ab22" region="k051960" offset="100002"/>
		<rom name="963a30.g7" merge="963a30.g7" size="256" crc="abd82680" sha1="945a71e6ec65202f13209b45d45b616372d6c0f5" region="proms" offset="0"/>
		<rom name="963a31.g19" merge="963a31.g19" size="256" crc="f8004a1c" sha1="ed6694b8eebfe0238b50ebd05007d519f6e57b1b" region="proms" offset="100"/>
		<rom name="963a26.c13" merge="963a26.c13" size="131072" crc="e2ac3063" sha1="5bb294c46fb5eaba9935a18c0aa5d3931168f474" region="k007232" offset="0"/>
		<rom name="963a27.d18" merge="963a27.d18" size="131072" crc="2dfd674b" sha1="bbec5896c70056964fbc972a84bd5b0dfc6af257" region="upd" offset="0"/>
		<rom name="963a25.d5" merge="963a25.d5" size="524288" crc="fca078c7" sha1="3e1124d72c9db4cb11d8de6c44b7aeca967f44e1" region="title" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k051960" name="k051960"/>
		<device_ref tag=":mono" name="speaker"/>
		<device_ref tag=":soundlatch" name="generic_latch_8"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k007232" name="k007232"/>
		<device_ref tag=":upd" name="upd7759"/>
		<device_ref tag=":samples" name="samples"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="mono" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k007232" name="Konami 007232 PCM Controller" clock="3579545"/>
		<chip type="audio" tag="upd" name="NEC uPD7759" clock="640000"/>
		<chip type="audio" tag="samples" name="Samples"/>
		<display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="0" hbstart="320" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
			<control type="joy" player="3" buttons="2" ways="8"/>
			<control type="joy" player="4" buttons="2" ways="8"/>
		</input>
		<dipswitch name="Coinage" tag="DSW1" mask="15">
			<diplocation name="SW1" number="1"/>
			<diplocation name="SW1" number="2"/>
			<diplocation name="SW1" number="3"/>
			<diplocation name="SW1" number="4"/>
			<dipvalue name="5 Coins/1 Credit" value="0"/>
			<dipvalue name="4 Coins/1 Credit" value="2"/>
			<dipvalue name="3 Coins/1 Credit" value="5"/>
			<dipvalue name="2 Coins/1 Credit" value="8"/>
			<dipvalue name="3 Coins/2 Credits" value="4"/>
			<dipvalue name="4 Coins/3 Credits" value="1"/>
			<dipvalue name="1 Coin/1 Credit" value="15" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="3"/>
			<dipvalue name="2 Coins/3 Credits" value="7"/>
			<dipvalue name="1 Coin/2 Credits" value="14"/>
			<dipvalue name="2 Coins/5 Credits" value="6"/>
			<dipvalue name="1 Coin/3 Credits" value="13"/>
			<dipvalue name="1 Coin/4 Credits" value="12"/>
			<dipvalue name="1 Coin/5 Credits" value="11"/>
			<dipvalue name="1 Coin/6 Credits" value="10"/>
			<dipvalue name="1 Coin/7 Credits" value="9"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="16">
			<diplocation name="SW1" number="5"/>
			<dipvalue name="Off" value="16" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="32">
			<diplocation name="SW1" number="6"/>
			<dipvalue name="Off" value="32" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="64">
			<diplocation name="SW1" number="7"/>
			<dipvalue name="Off" value="64" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="128">
			<diplocation name="SW1" number="8"/>
			<dipvalue name="Off" value="128" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Lives" tag="DSW2" mask="3">
			<diplocation name="SW2" number="1"/>
			<diplocation name="SW2" number="2"/>
			<dipvalue name="1" value="3"/>
			<dipvalue name="2" value="2" default="yes"/>
			<dipvalue name="3" value="1"/>
			<dipvalue name="5" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="4">
			<diplocation name="SW2" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="8">
			<diplocation name="SW2" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="16">
			<diplocation name="SW2" number="5"/>
			<dipvalue name="Off" value="16" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Difficulty" tag="DSW2" mask="96">
			<diplocation name="SW2" number="6"/>
			<diplocation name="SW2" number="7"/>
			<dipvalue name="Easy" value="96"/>
			<dipvalue name="Normal" value="64" default="yes"/>
			<dipvalue name="Difficult" value="32"/>
			<dipvalue name="Very Difficult" value="0"/>
		</dipswitch>
		<dipswitch name="Demo Sounds" tag="DSW2" mask="128">
			<diplocation name="SW2" number="8"/>
			<dipvalue name="Off" value="128"/>
			<dipvalue name="On" value="0" default="yes"/>
		</dipswitch>
		<dipswitch name="Flip Screen" tag="DSW3" mask="1">
			<diplocation name="SW3" number="1"/>
			<dipvalue name="Off" value="1" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="2">
			<diplocation name="SW3" number="2"/>
			<dipvalue name="Off" value="2" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Service Mode" tag="DSW3" mask="4">
			<diplocation name="SW3" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="8">
			<diplocation name="SW3" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<port tag=":COINS">
		</port>
		<port tag=":DSW1">
		</port>
		<port tag=":DSW2">
		</port>
		<port tag=":DSW3">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="tmhtb" sourcefile="konami/tmnt.cpp" cloneof="tmnt" romof="tmnt">
		<description>Teenage Mutant Hero Turtles (UK 4 Players, version ?)</description>
		<year>1989</year>
		<manufacturer>Konami</manufacturer>
		<rom name="unk3.i17" size="131072" crc="537eb047" sha1="97e6dbc486c7d057355db7fcbdc0a2c2cad2c653" region="maincpu" offset="0"/>
		<rom name="unk4.k17" size="131072" crc="5afae564" sha1="8d5fbf9530ad8d095c12b7e0f8c499c1436c4d47" region="maincpu" offset="1"/>
		<rom name="unk2.j15" size="65536" crc="ee34de05" sha1="507d7fb178dbbe87dd373a81ad3f350ee2f7d923" region="maincpu" offset="40000"/>
		<rom name="unk5.k15" size="65536" crc="5ef58d4e" sha1="5df71c61a90c3e9d28ec3b8055d7ee97bc283e01" region="maincpu" offset="40001"/>
		<rom name="963e20.g13" merge="963e20.g13" size="32768" crc="1692a6d6" sha1="68c3419012b2863e91a7d7e479fce5ceabb10b88" region="audiocpu" offset="0"/>
		<rom name="963a28.h27" merge="963a28.h27" size="524288" crc="db4769a8" sha1="810811914f9c1fbf2320d5a9030cbf124f6d78cf" region="k052109" offset="0"/>
		<rom name="963a29.k27" merge="963a29.k27" size="524288" crc="8069cd2e" sha1="54095d3546119ccd1e8814d692aceb1327c9369f" region="k052109" offset="2"/>
		<rom name="963a17.h4" merge="963a17.h4" size="524288" crc="b5239a44" sha1="84e94807e7c51aa652b4e4b827b36be59a53d0d6" region="k051960" offset="0"/>
		<rom name="963a15.k4" merge="963a15.k4" size="524288" crc="1f324eed" sha1="971a675578518fffa341a943d0cc4fdea005fde0" region="k051960" offset="2"/>
		<rom name="963a18.h6" merge="963a18.h6" size="524288" crc="dd51adef" sha1="5010c0911b0b9e4f23a785e8a751a0bde5be5be0" region="k051960" offset="100000"/>
		<rom name="963a16.k6" merge="963a16.k6" size="524288" crc="d4bd9984" sha1="d780ae7f72e16767c3a492544f02f0f1a332ab22" region="k051960" offset="100002"/>
		<rom name="963a30.g7" merge="963a30.g7" size="256" crc="abd82680" sha1="945a71e6ec65202f13209b45d45b616372d6c0f5" region="proms" offset="0"/>
		<rom name="963a31.g19" merge="963a31.g19" size="256" crc="f8004a1c" sha1="ed6694b8eebfe0238b50ebd05007d519f6e57b1b" region="proms" offset="100"/>
		<rom name="963a26.c13" merge="963a26.c13" size="131072" crc="e2ac3063" sha1="5bb294c46fb5eaba9935a18c0aa5d3931168f474" region="k007232" offset="0"/>
		<rom name="963a27.d18" merge="963a27.d18" size="131072" crc="2dfd674b" sha1="bbec5896c70056964fbc972a84bd5b0dfc6af257" region="upd" offset="0"/>
		<rom name="963a25.d5" merge="963a25.d5" size="524288" crc="fca078c7" sha1="3e1124d72c9db4cb11d8de6c44b7aeca967f44e1" region="title" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k051960" name="k051960"/>
		<device_ref tag=":mono" name="speaker"/>
		<device_ref tag=":soundlatch" name="generic_latch_8"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k007232" name="k007232"/>
		<device_ref tag=":upd" name="upd7759"/>
		<device_ref tag=":samples" name="samples"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="mono" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k007232" name="Konami 007232 PCM Controller" clock="3579545"/>
		<chip type="audio" tag="upd" name="NEC uPD7759" clock="640000"/>
		<chip type="audio" tag="samples" name="Samples"/>
		<display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="0" hbstart="320" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
			<control type="joy" player="3" buttons="2" ways="8"/>
			<control type="joy" player="4" buttons="2" ways="8"/>
		</input>
		<dipswitch name="Coinage" tag="DSW1" mask="15">
			<diplocation name="SW1" number="1"/>
			<diplocation name="SW1" number="2"/>
			<diplocation name="SW1" number="3"/>
			<diplocation name="SW1" number="4"/>
			<dipvalue name="5 Coins/1 Credit" value="0"/>
			<dipvalue name="4 Coins/1 Credit" value="2"/>
			<dipvalue name="3 Coins/1 Credit" value="5"/>
			<dipvalue name="2 Coins/1 Credit" value="8"/>
			<dipvalue name="3 Coins/2 Credits" value="4"/>
			<dipvalue name="4 Coins/3 Credits" value="1"/>
			<dipvalue name="1 Coin/1 Credit" value="15" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="3"/>
			<dipvalue name="2 Coins/3 Credits" value="7"/>
			<dipvalue name="1 Coin/2 Credits" value="14"/>
			<dipvalue name="2 Coins/5 Credits" value="6"/>
			<dipvalue name="1 Coin/3 Credits" value="13"/>
			<dipvalue name="1 Coin/4 Credits" value="12"/>
			<dipvalue name="1 Coin/5 Credits" value="11"/>
			<dipvalue name="1 Coin/6 Credits" value="10"/>
			<dipvalue name="1 Coin/7 Credits" value="9"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="16">
			<diplocation name="SW1" number="5"/>
			<dipvalue name="Off" value="16" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="32">
			<diplocation name="SW1" number="6"/>
			<dipvalue name="Off" value="32" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="64">
			<diplocation name="SW1" number="7"/>
			<dipvalue name="Off" value="64" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="128">
			<diplocation name="SW1" number="8"/>
			<dipvalue name="Off" value="128" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Lives" tag="DSW2" mask="3">
			<diplocation name="SW2" number="1"/>
			<diplocation name="SW2" number="2"/>
			<dipvalue name="1" value="3"/>
			<dipvalue name="2" value="2" default="yes"/>
			<dipvalue name="3" value="1"/>
			<dipvalue name="5" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="4">
			<diplocation name="SW2" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="8">
			<diplocation name="SW2" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="16">
			<diplocation name="SW2" number="5"/>
			<dipvalue name="Off" value="16" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Difficulty" tag="DSW2" mask="96">
			<diplocation name="SW2" number="6"/>
			<diplocation name="SW2" number="7"/>
			<dipvalue name="Easy" value="96"/>
			<dipvalue name="Normal" value="64" default="yes"/>
			<dipvalue name="Difficult" value="32"/>
			<dipvalue name="Very Difficult" value="0"/>
		</dipswitch>
		<dipswitch name="Demo Sounds" tag="DSW2" mask="128">
			<diplocation name="SW2" number="8"/>
			<dipvalue name="Off" value="128"/>
			<dipvalue name="On" value="0" default="yes"/>
		</dipswitch>
		<dipswitch name="Flip Screen" tag="DSW3" mask="1">
			<diplocation name="SW3" number="1"/>
			<dipvalue name="Off" value="1" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="2">
			<diplocation name="SW3" number="2"/>
			<dipvalue name="Off" value="2" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Service Mode" tag="DSW3" mask="4">
			<diplocation name="SW3" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="8">
			<diplocation name="SW3" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<port tag=":COINS">
		</port>
		<port tag=":DSW1">
		</port>
		<port tag=":DSW2">
		</port>
		<port tag=":DSW3">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="tmnt" sourcefile="konami/tmnt.cpp">
		<description>Teenage Mutant Ninja Turtles (World 4 Players, version X)</description>
		<year>1989</year>
		<manufacturer>Konami</manufacturer>
		<rom name="963-x23.j17" size="131072" crc="a9549004" sha1="bf9be5983af2282f627fb8408c069415c9b90229" region="maincpu" offset="0"/>
		<rom name="963-x24.k17" size="131072" crc="e5cc9067" sha1="649db4a09864eb8aba44cb77b580f1f28cfd80ed" region="maincpu" offset="1"/>
		<rom name="963-x21.j15" size="65536" crc="5789cf92" sha1="c1d1c958813062e5df5ac62e90ee4ce11f7e4a24" region="maincpu" offset="40000"/>
		<rom name="963-x22.k15" size="65536" crc="0a74e277" sha1="c349d3c25eb05cc30ec1fd823475d971f3649f8b" region="maincpu" offset="40001"/>
		<rom name="963e20.g13" size="32768" crc="1692a6d6" sha1="68c3419012b2863e91a7d7e479fce5ceabb10b88" region="audiocpu" offset="0"/>
		<rom name="963a28.h27" size="524288" crc="db4769a8" sha1="810811914f9c1fbf2320d5a9030cbf124f6d78cf" region="k052109" offset="0"/>
		<rom name="963a29.k27" size="524288" crc="8069cd2e" sha1="54095d3546119ccd1e8814d692aceb1327c9369f" region="k052109" offset="2"/>
		<rom name="963a17.h4" size="524288" crc="b5239a44" sha1="84e94807e7c51aa652b4e4b827b36be59a53d0d6" region="k051960" offset="0"/>
		<rom name="963a15.k4" size="524288" crc="1f324eed" sha1="971a675578518fffa341a943d0cc4fdea005fde0" region="k051960" offset="2"/>
		<rom name="963a18.h6" size="524288" crc="dd51adef" sha1="5010c0911b0b9e4f23a785e8a751a0bde5be5be0" region="k051960" offset="100000"/>
		<rom name="963a16.k6" size="524288" crc="d4bd9984" sha1="d780ae7f72e16767c3a492544f02f0f1a332ab22" region="k051960" offset="100002"/>
		<rom name="963a30.g7" size="256" crc="abd82680" sha1="945a71e6ec65202f13209b45d45b616372d6c0f5" region="proms" offset="0"/>
		<rom name="963a31.g19" size="256" crc="f8004a1c" sha1="ed6694b8eebfe0238b50ebd05007d519f6e57b1b" region="proms" offset="100"/>
		<rom name="963a26.c13" size="131072" crc="e2ac3063" sha1="5bb294c46fb5eaba9935a18c0aa5d3931168f474" region="k007232" offset="0"/>
		<rom name="963a27.d18" size="131072" crc="2dfd674b" sha1="bbec5896c70056964fbc972a84bd5b0dfc6af257" region="upd" offset="0"/>
		<rom name="963a25.d5" size="524288" crc="fca078c7" sha1="3e1124d72c9db4cb11d8de6c44b7aeca967f44e1" region="title" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k051960" name="k051960"/>
		<device_ref tag=":mono" name="speaker"/>
		<device_ref tag=":soundlatch" name="generic_latch_8"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k007232" name="k007232"/>
		<device_ref tag=":upd" name="upd7759"/>
		<device_ref tag=":samples" name="samples"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="mono" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k007232" name="Konami 007232 PCM Controller" clock="3579545"/>
		<chip type="audio" tag="upd" name="NEC uPD7759" clock="640000"/>
		<chip type="audio" tag="samples" name="Samples"/>
		<display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="0" hbstart="320" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
			<control type="joy" player="3" buttons="2" ways="8"/>
			<control type="joy" player="4" buttons="2" ways="8"/>
		</input>
		<dipswitch name="Coinage" tag="DSW1" mask="15">
			<diplocation name="SW1" number="1"/>
			<diplocation name="SW1" number="2"/>
			<diplocation name="SW1" number="3"/>
			<diplocation name="SW1" number="4"/>
			<dipvalue name="5 Coins/1 Credit" value="0"/>
			<dipvalue name="4 Coins/1 Credit" value="2"/>
			<dipvalue name="3 Coins/1 Credit" value="5"/>
			<dipvalue name="2 Coins/1 Credit" value="8"/>
			<dipvalue name="3 Coins/2 Credits" value="4"/>
			<dipvalue name="4 Coins/3 Credits" value="1"/>
			<dipvalue name="1 Coin/1 Credit" value="15" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="3"/>
			<dipvalue name="2 Coins/3 Credits" value="7"/>
			<dipvalue name="1 Coin/2 Credits" value="14"/>
			<dipvalue name="2 Coins/5 Credits" value="6"/>
			<dipvalue name="1 Coin/3 Credits" value="13"/>
			<dipvalue name="1 Coin/4 Credits" value="12"/>
			<dipvalue name="1 Coin/5 Credits" value="11"/>
			<dipvalue name="1 Coin/6 Credits" value="10"/>
			<dipvalue name="1 Coin/7 Credits" value="9"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="16">
			<diplocation name="SW1" number="5"/>
			<dipvalue name="Off" value="16" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="32">
			<diplocation name="SW1" number="6"/>
			<dipvalue name="Off" value="32" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="64">
			<diplocation name="SW1" number="7"/>
			<dipvalue name="Off" value="64" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="128">
			<diplocation name="SW1" number="8"/>
			<dipvalue name="Off" value="128" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Lives" tag="DSW2" mask="3">
			<diplocation name="SW2" number="1"/>
			<diplocation name="SW2" number="2"/>
			<dipvalue name="1" value="3"/>
			<dipvalue name="2" value="2" default="yes"/>
			<dipvalue name="3" value="1"/>
			<dipvalue name="5" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="4">
			<diplocation name="SW2" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="8">
			<diplocation name="SW2" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="16">
			<diplocation name="SW2" number="5"/>
			<dipvalue name="Off" value="16" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Difficulty" tag="DSW2" mask="96">
			<diplocation name="SW2" number="6"/>
			<diplocation name="SW2" number="7"/>
			<dipvalue name="Easy" value="96"/>
			<dipvalue name="Normal" value="64" default="yes"/>
			<dipvalue name="Difficult" value="32"/>
			<dipvalue name="Very Difficult" value="0"/>
		</dipswitch>
		<dipswitch name="Demo Sounds" tag="DSW2" mask="128">
			<diplocation name="SW2" number="8"/>
			<dipvalue name="Off" value="128"/>
			<dipvalue name="On" value="0" default="yes"/>
		</dipswitch>
		<dipswitch name="Flip Screen" tag="DSW3" mask="1">
			<diplocation name="SW3" number="1"/>
			<dipvalue name="Off" value="1" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="2">
			<diplocation name="SW3" number="2"/>
			<dipvalue name="Off" value="2" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Service Mode" tag="DSW3" mask="4">
			<diplocation name="SW3" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="8">
			<diplocation name="SW3" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<port tag=":COINS">
		</port>
		<port tag=":DSW1">
		</port>
		<port tag=":DSW2">
		</port>
		<port tag=":DSW3">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="tmnt2" sourcefile="konami/tmnt2.cpp">
		<description>Teenage Mutant Ninja Turtles: Turtles in Time (4 Players ver UAA)</description>
		<year>1991</year>
		<manufacturer>Konami</manufacturer>
		<rom name="063uaa02.8e" size="131072" crc="58d5c93d" sha1="6618678ec2da33d2ee6335cca7c9d49e9148b799" region="maincpu" offset="0"/>
		<rom name="063uaa03.8g" size="131072" crc="0541fec9" sha1="985364616a95e7dd008b5be02c0f0bf5eef54b3d" region="maincpu" offset="1"/>
		<rom name="063uaa04.10e" size="131072" crc="1d441a7d" sha1="97ce51eaf1c7560c19d8453f93ce01b0f71fe36d" region="maincpu" offset="40000"/>
		<rom name="063uaa05.10g" size="131072" crc="9c428273" sha1="92202b6061313e464c2d9760926852b833994d28" region="maincpu" offset="40001"/>
		<rom name="063b01.2f" size="65536" crc="364f548a" sha1="e0636e27d4fc48b2ccb1417b63d2b68d9e272c06" region="audiocpu" offset="0"/>
		<rom name="063b12.16k" size="524288" crc="d3283d19" sha1="49e4daa9cbe4d99bf71fcee6237cb434a0d55312" region="k052109" offset="0"/>
		<rom name="063b11.12k" size="524288" crc="6ebc0c15" sha1="e6848405076937fbf8ec6d318293a0ff922725f4" region="k052109" offset="2"/>
		<rom name="063b09.7l" size="1048576" crc="2d7a9d2a" sha1="a26f9c1a07152bc8c7bcd797d4485bf848f5e2a0" region="k053245" offset="0"/>
		<rom name="063b07.3l" size="1048576" crc="d9bee7bf" sha1="7bbb65138fbd216b80412783e6f0072742101440" region="k053245" offset="2"/>
		<rom name="063b10.7k" size="524288" crc="f2dd296e" sha1="a2aad10bfb0904dd73c2ee11049648c94de7f4d5" region="k053245" offset="200000"/>
		<rom name="063b08.3k" size="524288" crc="3b1ae36f" sha1="9e69cae8b517497ac77c4d148f56f2bb6a23de89" region="k053245" offset="200002"/>
		<rom name="063b06.1d" size="2097152" crc="1e510aa5" sha1="02b9bd6bb6b098026a620e4d671c40a31ad9e318" region="k053260" offset="0"/>
		<rom name="tmnt2_uaa.nv" size="128" crc="284357bd" sha1="4f1c78b7cc86379678b1b84bcf59f8599a8c3686" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053245" name="k053244"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="8000000"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="304" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="8" hbstart="312" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4" service="yes">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
			<control type="joy" player="3" buttons="2" ways="8"/>
			<control type="joy" player="4" buttons="2" ways="8"/>
		</input>
		<port tag=":COINS">
		</port>
		<port tag=":EEPROM">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="tmnt22pu" sourcefile="konami/tmnt2.cpp" cloneof="tmnt2" romof="tmnt2">
		<description>Teenage Mutant Ninja Turtles: Turtles in Time (2 Players ver UDA)</description>
		<year>1991</year>
		<manufacturer>Konami</manufacturer>
		<rom name="063uda02.8e" size="131072" crc="aadffe3a" sha1="f20eaef64f81b91726675006aa45807b0841f046" region="maincpu" offset="0"/>
		<rom name="063uda03.8g" size="131072" crc="125687a8" sha1="ab8eb954a56cbb18a26af3431aa8d60406ef23b5" region="maincpu" offset="1"/>
		<rom name="063uda04.10e" size="131072" crc="fb5c7ded" sha1="322ec2a4a6a2ecea0865bc72b6c1d23e52da33da" region="maincpu" offset="40000"/>
		<rom name="063uda05.10g" size="131072" crc="3c40fe66" sha1="d2d1f24bf8ab44d24478f021f0b651095f623860" region="maincpu" offset="40001"/>
		<rom name="063b01.2f" merge="063b01.2f" size="65536" crc="364f548a" sha1="e0636e27d4fc48b2ccb1417b63d2b68d9e272c06" region="audiocpu" offset="0"/>
		<rom name="063b12.16k" merge="063b12.16k" size="524288" crc="d3283d19" sha1="49e4daa9cbe4d99bf71fcee6237cb434a0d55312" region="k052109" offset="0"/>
		<rom name="063b11.12k" merge="063b11.12k" size="524288" crc="6ebc0c15" sha1="e6848405076937fbf8ec6d318293a0ff922725f4" region="k052109" offset="2"/>
		<rom name="063b09.7l" merge="063b09.7l" size="1048576" crc="2d7a9d2a" sha1="a26f9c1a07152bc8c7bcd797d4485bf848f5e2a0" region="k053245" offset="0"/>
		<rom name="063b07.3l" merge="063b07.3l" size="1048576" crc="d9bee7bf" sha1="7bbb65138fbd216b80412783e6f0072742101440" region="k053245" offset="2"/>
		<rom name="063b10.7k" merge="063b10.7k" size="524288" crc="f2dd296e" sha1="a2aad10bfb0904dd73c2ee11049648c94de7f4d5" region="k053245" offset="200000"/>
		<rom name="063b08.3k" merge="063b08.3k" size="524288" crc="3b1ae36f" sha1="9e69cae8b517497ac77c4d148f56f2bb6a23de89" region="k053245" offset="200002"/>
		<rom name="063b06.1d" merge="063b06.1d" size="2097152" crc="1e510aa5" sha1="02b9bd6bb6b098026a620e4d671c40a31ad9e318" region="k053260" offset="0"/>
		<rom name="tmnt2_uda.nv" size="128" crc="44928d33" sha1="44024927987f6bb8bdac3dbd1fdc81d7b55c0f5a" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053245" name="k053244"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="8000000"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="304" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="8" hbstart="312" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2" service="yes">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
		</input>
		<port tag=":COINS">
		</port>
		<port tag=":EEPROM">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="tmnt24pu" sourcefile="konami/tmnt2.cpp" cloneof="tmnt2" romof="tmnt2">
		<description>Teenage Mutant Ninja Turtles: Turtles in Time (4 Players ver UEA)</description>
		<year>1991</year>
		<manufacturer>Konami</manufacturer>
		<rom name="063uea02.8e" size="131072" crc="5eebc67f" sha1="dbfbe0bdd40cfb01824d59e9785759ffdfdcba55" region="maincpu" offset="0"/>
		<rom name="063uea03.8g" size="131072" crc="1b956869" sha1="3cea77c8b6ca93899a044c28a45f5966937b7df7" region="maincpu" offset="1"/>
		<rom name="063uea04.10e" size="131072" crc="e13d93a6" sha1="7297a4c19d1e338fa41a3983bb9179a6c3cd6ea4" region="maincpu" offset="40000"/>
		<rom name="063uea05.10g" size="131072" crc="a3a1f5ea" sha1="6d869a8ba457c40928ca0bcf3e5b7a436faa185c" region="maincpu" offset="40001"/>
		<rom name="063b01.2f" merge="063b01.2f" size="65536" crc="364f548a" sha1="e0636e27d4fc48b2ccb1417b63d2b68d9e272c06" region="audiocpu" offset="0"/>
		<rom name="063b12.16k" merge="063b12.16k" size="524288" crc="d3283d19" sha1="49e4daa9cbe4d99bf71fcee6237cb434a0d55312" region="k052109" offset="0"/>
		<rom name="063b11.12k" merge="063b11.12k" size="524288" crc="6ebc0c15" sha1="e6848405076937fbf8ec6d318293a0ff922725f4" region="k052109" offset="2"/>
		<rom name="063b09.7l" merge="063b09.7l" size="1048576" crc="2d7a9d2a" sha1="a26f9c1a07152bc8c7bcd797d4485bf848f5e2a0" region="k053245" offset="0"/>
		<rom name="063b07.3l" merge="063b07.3l" size="1048576" crc="d9bee7bf" sha1="7bbb65138fbd216b80412783e6f0072742101440" region="k053245" offset="2"/>
		<rom name="063b10.7k" merge="063b10.7k" size="524288" crc="f2dd296e" sha1="a2aad10bfb0904dd73c2ee11049648c94de7f4d5" region="k053245" offset="200000"/>
		<rom name="063b08.3k" merge="063b08.3k" size="524288" crc="3b1ae36f" sha1="9e69cae8b517497ac77c4d148f56f2bb6a23de89" region="k053245" offset="200002"/>
		<rom name="063b06.1d" merge="063b06.1d" size="2097152" crc="1e510aa5" sha1="02b9bd6bb6b098026a620e4d671c40a31ad9e318" region="k053260" offset="0"/>
		<rom name="tmnt2_uea.nv" size="128" crc="4f086faa" sha1="de5395737173a6b12ab0cab33f42c44151ceff89" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053245" name="k053244"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="8000000"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="304" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="8" hbstart="312" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4" service="yes">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
			<control type="joy" player="3" buttons="2" ways="8"/>
			<control type="joy" player="4" buttons="2" ways="8"/>
		</input>
		<port tag=":COINS">
		</port>
		<port tag=":EEPROM">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="tmnt2a" sourcefile="konami/tmnt2.cpp" cloneof="tmnt2" romof="tmnt2">
		<description>Teenage Mutant Ninja Turtles: Turtles in Time (4 Players ver ADA)</description>
		<year>1991</year>
		<manufacturer>Konami</manufacturer>
		<rom name="063ada02.8e" size="131072" crc="4f11b587" sha1="111051da23ce7035405b4d12c0f18dcc1d6c8ddc" region="maincpu" offset="0"/>
		<rom name="063ada03.8g" size="131072" crc="82a1b9ac" sha1="161e8fd33e0e5c9349fec98b02225ed37578e488" region="maincpu" offset="1"/>
		<rom name="063ada04.10e" size="131072" crc="05ad187a" sha1="27a36a02ef792d87ffa2364537c42b6c50d6e4f0" region="maincpu" offset="40000"/>
		<rom name="063ada05.10g" size="131072" crc="d4826547" sha1="ffee07be64469fa386a0979352b4fe20c352fee4" region="maincpu" offset="40001"/>
		<rom name="063b01.2f" merge="063b01.2f" size="65536" crc="364f548a" sha1="e0636e27d4fc48b2ccb1417b63d2b68d9e272c06" region="audiocpu" offset="0"/>
		<rom name="063b12.16k" merge="063b12.16k" size="524288" crc="d3283d19" sha1="49e4daa9cbe4d99bf71fcee6237cb434a0d55312" region="k052109" offset="0"/>
		<rom name="063b11.12k" merge="063b11.12k" size="524288" crc="6ebc0c15" sha1="e6848405076937fbf8ec6d318293a0ff922725f4" region="k052109" offset="2"/>
		<rom name="063b09.7l" merge="063b09.7l" size="1048576" crc="2d7a9d2a" sha1="a26f9c1a07152bc8c7bcd797d4485bf848f5e2a0" region="k053245" offset="0"/>
		<rom name="063b07.3l" merge="063b07.3l" size="1048576" crc="d9bee7bf" sha1="7bbb65138fbd216b80412783e6f0072742101440" region="k053245" offset="2"/>
		<rom name="063b10.7k" merge="063b10.7k" size="524288" crc="f2dd296e" sha1="a2aad10bfb0904dd73c2ee11049648c94de7f4d5" region="k053245" offset="200000"/>
		<rom name="063b08.3k" merge="063b08.3k" size="524288" crc="3b1ae36f" sha1="9e69cae8b517497ac77c4d148f56f2bb6a23de89" region="k053245" offset="200002"/>
		<rom name="063b06.1d" merge="063b06.1d" size="2097152" crc="1e510aa5" sha1="02b9bd6bb6b098026a620e4d671c40a31ad9e318" region="k053260" offset="0"/>
		<rom name="tmnt2_ada.nv" size="128" crc="063068a0" sha1="c1da5319428fd8fb60305a2d7cc166596b2fe5a4" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053245" name="k053244"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="8000000"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="304" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="8" hbstart="312" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4" service="yes">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
			<control type="joy" player="3" buttons="2" ways="8"/>
			<control type="joy" player="4" buttons="2" ways="8"/>
		</input>
		<port tag=":COINS">
		</port>
		<port tag=":EEPROM">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="tmnt2o" sourcefile="konami/tmnt2.cpp" cloneof="tmnt2" romof="tmnt2">
		<description>Teenage Mutant Ninja Turtles: Turtles in Time (4 Players ver OAA)</description>
		<year>1991</year>
		<manufacturer>Konami</manufacturer>
		<rom name="063oaa02.8e" size="131072" crc="07067dbf" sha1="3ffd6f09b24dfd9a403097cbba19ae7b51110dc5" region="maincpu" offset="0"/>
		<rom name="063oaa03.8g" size="131072" crc="b0fadf6b" sha1="8dde410d323dd6dd5b08b32b5363875782b45191" region="maincpu" offset="1"/>
		<rom name="063oaa04.10e" size="131072" crc="b5eb7c49" sha1="72193d8a334f22cf7a617e42eaebce45b8eb83f2" region="maincpu" offset="40000"/>
		<rom name="063oaa05.10g" size="131072" crc="bd4dcca4" sha1="3b47c086fccefe172746c00af88e1f98914c6567" region="maincpu" offset="40001"/>
		<rom name="063b01.2f" merge="063b01.2f" size="65536" crc="364f548a" sha1="e0636e27d4fc48b2ccb1417b63d2b68d9e272c06" region="audiocpu" offset="0"/>
		<rom name="063b12.16k" merge="063b12.16k" size="524288" crc="d3283d19" sha1="49e4daa9cbe4d99bf71fcee6237cb434a0d55312" region="k052109" offset="0"/>
		<rom name="063b11.12k" merge="063b11.12k" size="524288" crc="6ebc0c15" sha1="e6848405076937fbf8ec6d318293a0ff922725f4" region="k052109" offset="2"/>
		<rom name="063b09.7l" merge="063b09.7l" size="1048576" crc="2d7a9d2a" sha1="a26f9c1a07152bc8c7bcd797d4485bf848f5e2a0" region="k053245" offset="0"/>
		<rom name="063b07.3l" merge="063b07.3l" size="1048576" crc="d9bee7bf" sha1="7bbb65138fbd216b80412783e6f0072742101440" region="k053245" offset="2"/>
		<rom name="063b10.7k" merge="063b10.7k" size="524288" crc="f2dd296e" sha1="a2aad10bfb0904dd73c2ee11049648c94de7f4d5" region="k053245" offset="200000"/>
		<rom name="063b08.3k" merge="063b08.3k" size="524288" crc="3b1ae36f" sha1="9e69cae8b517497ac77c4d148f56f2bb6a23de89" region="k053245" offset="200002"/>
		<rom name="063b06.1d" merge="063b06.1d" size="2097152" crc="1e510aa5" sha1="02b9bd6bb6b098026a620e4d671c40a31ad9e318" region="k053260" offset="0"/>
		<rom name="tmnt2_oaa.nv" size="128" crc="e3858340" sha1="6bac93b5485d68dfd2e15615fa7e95d631e9bf67" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053245" name="k053244"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="8000000"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="0" width="304" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="8" hbstart="312" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4" service="yes">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
			<control type="joy" player="3" buttons="2" ways="8"/>
			<control type="joy" player="4" buttons="2" ways="8"/>
		</input>
		<port tag=":COINS">
		</port>
		<port tag=":EEPROM">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="tmnt2pj" sourcefile="konami/tmnt.cpp" cloneof="tmnt" romof="tmnt">
		<description>Teenage Mutant Ninja Turtles (Japan 2 Players, version 1)</description>
		<year>1990</year>
		<manufacturer>Konami</manufacturer>
		<rom name="963-123.j17" size="131072" crc="6a3527c9" sha1="a5a8cbec3fae3f37d4d82a7700cec3c96c6a362f" region="maincpu" offset="0"/>
		<rom name="963-124.k17" size="131072" crc="2c4bfa15" sha1="0264ef6f15806d52d6f7869034f5a3024ba1cea2" region="maincpu" offset="1"/>
		<rom name="963-121.j15" size="65536" crc="4181b733" sha1="306601597102a1bc79880e557889a6fce7b30b7b" region="maincpu" offset="40000"/>
		<rom name="963-122.k15" size="65536" crc="c64eb5ff" sha1="e546f1cb81e98a38833cd0affe73e2bc1d95d017" region="maincpu" offset="40001"/>
		<rom name="963e20.g13" merge="963e20.g13" size="32768" crc="1692a6d6" sha1="68c3419012b2863e91a7d7e479fce5ceabb10b88" region="audiocpu" offset="0"/>
		<rom name="963a28.h27" merge="963a28.h27" size="524288" crc="db4769a8" sha1="810811914f9c1fbf2320d5a9030cbf124f6d78cf" region="k052109" offset="0"/>
		<rom name="963a29.k27" merge="963a29.k27" size="524288" crc="8069cd2e" sha1="54095d3546119ccd1e8814d692aceb1327c9369f" region="k052109" offset="2"/>
		<rom name="963a17.h4" merge="963a17.h4" size="524288" crc="b5239a44" sha1="84e94807e7c51aa652b4e4b827b36be59a53d0d6" region="k051960" offset="0"/>
		<rom name="963a15.k4" merge="963a15.k4" size="524288" crc="1f324eed" sha1="971a675578518fffa341a943d0cc4fdea005fde0" region="k051960" offset="2"/>
		<rom name="963a18.h6" merge="963a18.h6" size="524288" crc="dd51adef" sha1="5010c0911b0b9e4f23a785e8a751a0bde5be5be0" region="k051960" offset="100000"/>
		<rom name="963a16.k6" merge="963a16.k6" size="524288" crc="d4bd9984" sha1="d780ae7f72e16767c3a492544f02f0f1a332ab22" region="k051960" offset="100002"/>
		<rom name="963a30.g7" merge="963a30.g7" size="256" crc="abd82680" sha1="945a71e6ec65202f13209b45d45b616372d6c0f5" region="proms" offset="0"/>
		<rom name="963a31.g19" merge="963a31.g19" size="256" crc="f8004a1c" sha1="ed6694b8eebfe0238b50ebd05007d519f6e57b1b" region="proms" offset="100"/>
		<rom name="963a26.c13" merge="963a26.c13" size="131072" crc="e2ac3063" sha1="5bb294c46fb5eaba9935a18c0aa5d3931168f474" region="k007232" offset="0"/>
		<rom name="963a27.d18" merge="963a27.d18" size="131072" crc="2dfd674b" sha1="bbec5896c70056964fbc972a84bd5b0dfc6af257" region="upd" offset="0"/>
		<rom name="963a25.d5" merge="963a25.d5" size="524288" crc="fca078c7" sha1="3e1124d72c9db4cb11d8de6c44b7aeca967f44e1" region="title" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k051960" name="k051960"/>
		<device_ref tag=":mono" name="speaker"/>
		<device_ref tag=":soundlatch" name="generic_latch_8"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k007232" name="k007232"/>
		<device_ref tag=":upd" name="upd7759"/>
		<device_ref tag=":samples" name="samples"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="mono" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k007232" name="Konami 007232 PCM Controller" clock="3579545"/>
		<chip type="audio" tag="upd" name="NEC uPD7759" clock="640000"/>
		<chip type="audio" tag="samples" name="Samples"/>
		<display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="0" hbstart="320" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
		</input>
		<dipswitch name="Coin A" tag="DSW1" mask="15">
			<diplocation name="SW1" number="1"/>
			<diplocation name="SW1" number="2"/>
			<diplocation name="SW1" number="3"/>
			<diplocation name="SW1" number="4"/>
			<dipvalue name="4 Coins/1 Credit" value="2"/>
			<dipvalue name="3 Coins/1 Credit" value="5"/>
			<dipvalue name="2 Coins/1 Credit" value="8"/>
			<dipvalue name="3 Coins/2 Credits" value="4"/>
			<dipvalue name="4 Coins/3 Credits" value="1"/>
			<dipvalue name="1 Coin/1 Credit" value="15" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="3"/>
			<dipvalue name="2 Coins/3 Credits" value="7"/>
			<dipvalue name="1 Coin/2 Credits" value="14"/>
			<dipvalue name="2 Coins/5 Credits" value="6"/>
			<dipvalue name="1 Coin/3 Credits" value="13"/>
			<dipvalue name="1 Coin/4 Credits" value="12"/>
			<dipvalue name="1 Coin/5 Credits" value="11"/>
			<dipvalue name="1 Coin/6 Credits" value="10"/>
			<dipvalue name="1 Coin/7 Credits" value="9"/>
			<dipvalue name="Free Play" value="0"/>
		</dipswitch>
		<dipswitch name="Coin B" tag="DSW1" mask="240">
			<diplocation name="SW1" number="5"/>
			<diplocation name="SW1" number="6"/>
			<diplocation name="SW1" number="7"/>
			<diplocation name="SW1" number="8"/>
			<dipvalue name="4 Coins/1 Credit" value="32"/>
			<dipvalue name="3 Coins/1 Credit" value="80"/>
			<dipvalue name="2 Coins/1 Credit" value="128"/>
			<dipvalue name="3 Coins/2 Credits" value="64"/>
			<dipvalue name="4 Coins/3 Credits" value="16"/>
			<dipvalue name="1 Coin/1 Credit" value="240" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="48"/>
			<dipvalue name="2 Coins/3 Credits" value="112"/>
			<dipvalue name="1 Coin/2 Credits" value="224"/>
			<dipvalue name="2 Coins/5 Credits" value="96"/>
			<dipvalue name="1 Coin/3 Credits" value="208"/>
			<dipvalue name="1 Coin/4 Credits" value="192"/>
			<dipvalue name="1 Coin/5 Credits" value="176"/>
			<dipvalue name="1 Coin/6 Credits" value="160"/>
			<dipvalue name="1 Coin/7 Credits" value="144"/>
			<dipvalue name="No Coin B" value="0"/>
		</dipswitch>
		<dipswitch name="Lives" tag="DSW2" mask="3">
			<diplocation name="SW2" number="1"/>
			<diplocation name="SW2" number="2"/>
			<dipvalue name="1" value="3"/>
			<dipvalue name="2" value="2" default="yes"/>
			<dipvalue name="3" value="1"/>
			<dipvalue name="5" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="4">
			<diplocation name="SW2" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="8">
			<diplocation name="SW2" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="16">
			<diplocation name="SW2" number="5"/>
			<dipvalue name="Off" value="16" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Difficulty" tag="DSW2" mask="96">
			<diplocation name="SW2" number="6"/>
			<diplocation name="SW2" number="7"/>
			<dipvalue name="Easy" value="96"/>
			<dipvalue name="Normal" value="64" default="yes"/>
			<dipvalue name="Difficult" value="32"/>
			<dipvalue name="Very Difficult" value="0"/>
		</dipswitch>
		<dipswitch name="Demo Sounds" tag="DSW2" mask="128">
			<diplocation name="SW2" number="8"/>
			<dipvalue name="Off" value="128"/>
			<dipvalue name="On" value="0" default="yes"/>
		</dipswitch>
		<dipswitch name="Flip Screen" tag="DSW3" mask="1">
			<diplocation name="SW3" number="1"/>
			<dipvalue name="Off" value="1" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="2">
			<diplocation name="SW3" number="2"/>
			<dipvalue name="Off" value="2" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Service Mode" tag="DSW3" mask="4">
			<diplocation name="SW3" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="8">
			<diplocation name="SW3" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<port tag=":COINS">
		</port>
		<port tag=":DSW1">
		</port>
		<port tag=":DSW2">
		</port>
		<port tag=":DSW3">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="tmnt2po" sourcefile="konami/tmnt.cpp" cloneof="tmnt" romof="tmnt">
		<description>Teenage Mutant Ninja Turtles (Oceania 2 Players, version ?)</description>
		<year>1989</year>
		<manufacturer>Konami</manufacturer>
		<rom name="tmnt123.j17" size="131072" crc="2d905183" sha1="38c77a08733f9da1dc6f1c510a2c8dac34848787" region="maincpu" offset="0"/>
		<rom name="tmnt124.k17" size="131072" crc="e0125352" sha1="e2a297bf96d0fa1d19ce767786453c489d49d693" region="maincpu" offset="1"/>
		<rom name="tmnt21.j15" size="65536" crc="12deeafb" sha1="1f70a326f8f4a896da297b4f66ca467894d22159" region="maincpu" offset="40000"/>
		<rom name="tmnt22.k15" size="65536" crc="aec4f1c3" sha1="189ed93bc9ee4a1ff1c0ca7b80f4e817e5484e69" region="maincpu" offset="40001"/>
		<rom name="963e20.g13" merge="963e20.g13" size="32768" crc="1692a6d6" sha1="68c3419012b2863e91a7d7e479fce5ceabb10b88" region="audiocpu" offset="0"/>
		<rom name="963a28.h27" merge="963a28.h27" size="524288" crc="db4769a8" sha1="810811914f9c1fbf2320d5a9030cbf124f6d78cf" region="k052109" offset="0"/>
		<rom name="963a29.k27" merge="963a29.k27" size="524288" crc="8069cd2e" sha1="54095d3546119ccd1e8814d692aceb1327c9369f" region="k052109" offset="2"/>
		<rom name="963a17.h4" merge="963a17.h4" size="524288" crc="b5239a44" sha1="84e94807e7c51aa652b4e4b827b36be59a53d0d6" region="k051960" offset="0"/>
		<rom name="963a15.k4" merge="963a15.k4" size="524288" crc="1f324eed" sha1="971a675578518fffa341a943d0cc4fdea005fde0" region="k051960" offset="2"/>
		<rom name="963a18.h6" merge="963a18.h6" size="524288" crc="dd51adef" sha1="5010c0911b0b9e4f23a785e8a751a0bde5be5be0" region="k051960" offset="100000"/>
		<rom name="963a16.k6" merge="963a16.k6" size="524288" crc="d4bd9984" sha1="d780ae7f72e16767c3a492544f02f0f1a332ab22" region="k051960" offset="100002"/>
		<rom name="963a30.g7" merge="963a30.g7" size="256" crc="abd82680" sha1="945a71e6ec65202f13209b45d45b616372d6c0f5" region="proms" offset="0"/>
		<rom name="963a31.g19" merge="963a31.g19" size="256" crc="f8004a1c" sha1="ed6694b8eebfe0238b50ebd05007d519f6e57b1b" region="proms" offset="100"/>
		<rom name="963a26.c13" merge="963a26.c13" size="131072" crc="e2ac3063" sha1="5bb294c46fb5eaba9935a18c0aa5d3931168f474" region="k007232" offset="0"/>
		<rom name="963a27.d18" merge="963a27.d18" size="131072" crc="2dfd674b" sha1="bbec5896c70056964fbc972a84bd5b0dfc6af257" region="upd" offset="0"/>
		<rom name="963a25.d5" merge="963a25.d5" size="524288" crc="fca078c7" sha1="3e1124d72c9db4cb11d8de6c44b7aeca967f44e1" region="title" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k051960" name="k051960"/>
		<device_ref tag=":mono" name="speaker"/>
		<device_ref tag=":soundlatch" name="generic_latch_8"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k007232" name="k007232"/>
		<device_ref tag=":upd" name="upd7759"/>
		<device_ref tag=":samples" name="samples"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="mono" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k007232" name="Konami 007232 PCM Controller" clock="3579545"/>
		<chip type="audio" tag="upd" name="NEC uPD7759" clock="640000"/>
		<chip type="audio" tag="samples" name="Samples"/>
		<display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="0" hbstart="320" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
		</input>
		<dipswitch name="Coin A" tag="DSW1" mask="15">
			<diplocation name="SW1" number="1"/>
			<diplocation name="SW1" number="2"/>
			<diplocation name="SW1" number="3"/>
			<diplocation name="SW1" number="4"/>
			<dipvalue name="4 Coins/1 Credit" value="2"/>
			<dipvalue name="3 Coins/1 Credit" value="5"/>
			<dipvalue name="2 Coins/1 Credit" value="8"/>
			<dipvalue name="3 Coins/2 Credits" value="4"/>
			<dipvalue name="4 Coins/3 Credits" value="1"/>
			<dipvalue name="1 Coin/1 Credit" value="15" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="3"/>
			<dipvalue name="2 Coins/3 Credits" value="7"/>
			<dipvalue name="1 Coin/2 Credits" value="14"/>
			<dipvalue name="2 Coins/5 Credits" value="6"/>
			<dipvalue name="1 Coin/3 Credits" value="13"/>
			<dipvalue name="1 Coin/4 Credits" value="12"/>
			<dipvalue name="1 Coin/5 Credits" value="11"/>
			<dipvalue name="1 Coin/6 Credits" value="10"/>
			<dipvalue name="1 Coin/7 Credits" value="9"/>
			<dipvalue name="Free Play" value="0"/>
		</dipswitch>
		<dipswitch name="Coin B" tag="DSW1" mask="240">
			<diplocation name="SW1" number="5"/>
			<diplocation name="SW1" number="6"/>
			<diplocation name="SW1" number="7"/>
			<diplocation name="SW1" number="8"/>
			<dipvalue name="4 Coins/1 Credit" value="32"/>
			<dipvalue name="3 Coins/1 Credit" value="80"/>
			<dipvalue name="2 Coins/1 Credit" value="128"/>
			<dipvalue name="3 Coins/2 Credits" value="64"/>
			<dipvalue name="4 Coins/3 Credits" value="16"/>
			<dipvalue name="1 Coin/1 Credit" value="240" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="48"/>
			<dipvalue name="2 Coins/3 Credits" value="112"/>
			<dipvalue name="1 Coin/2 Credits" value="224"/>
			<dipvalue name="2 Coins/5 Credits" value="96"/>
			<dipvalue name="1 Coin/3 Credits" value="208"/>
			<dipvalue name="1 Coin/4 Credits" value="192"/>
			<dipvalue name="1 Coin/5 Credits" value="176"/>
			<dipvalue name="1 Coin/6 Credits" value="160"/>
			<dipvalue name="1 Coin/7 Credits" value="144"/>
			<dipvalue name="No Coin B" value="0"/>
		</dipswitch>
		<dipswitch name="Lives" tag="DSW2" mask="3">
			<diplocation name="SW2" number="1"/>
			<diplocation name="SW2" number="2"/>
			<dipvalue name="1" value="3"/>
			<dipvalue name="2" value="2" default="yes"/>
			<dipvalue name="3" value="1"/>
			<dipvalue name="5" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="4">
			<diplocation name="SW2" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="8">
			<diplocation name="SW2" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="16">
			<diplocation name="SW2" number="5"/>
			<dipvalue name="Off" value="16" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Difficulty" tag="DSW2" mask="96">
			<diplocation name="SW2" number="6"/>
			<diplocation name="SW2" number="7"/>
			<dipvalue name="Easy" value="96"/>
			<dipvalue name="Normal" value="64" default="yes"/>
			<dipvalue name="Difficult" value="32"/>
			<dipvalue name="Very Difficult" value="0"/>
		</dipswitch>
		<dipswitch name="Demo Sounds" tag="DSW2" mask="128">
			<diplocation name="SW2" number="8"/>
			<dipvalue name="Off" value="128"/>
			<dipvalue name="On" value="0" default="yes"/>
		</dipswitch>
		<dipswitch name="Flip Screen" tag="DSW3" mask="1">
			<diplocation name="SW3" number="1"/>
			<dipvalue name="Off" value="1" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="2">
			<diplocation name="SW3" number="2"/>
			<dipvalue name="Off" value="2" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Service Mode" tag="DSW3" mask="4">
			<diplocation name="SW3" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="8">
			<diplocation name="SW3" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<port tag=":COINS">
		</port>
		<port tag=":DSW1">
		</port>
		<port tag=":DSW2">
		</port>
		<port tag=":DSW3">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="tmnta" sourcefile="konami/tmnt.cpp" cloneof="tmnt" romof="tmnt">
		<description>Teenage Mutant Ninja Turtles (Asia 4 Players, version ?)</description>
		<year>1989</year>
		<manufacturer>Konami</manufacturer>
		<rom name="tmnt j17.bin" size="131072" crc="00819687" sha1="65624465b8af21000ca42b759c6fe123b4570e08" region="maincpu" offset="0"/>
		<rom name="tmnt k17.bin" size="131072" crc="6930e085" sha1="3c35c663346a81d06cd0169fbae08c19d1bde2eb" region="maincpu" offset="1"/>
		<rom name="tmnt j15.bin" size="65536" crc="fd1e2e01" sha1="63c3e8adcb5025a0a11f28e623cf2692f5f030a3" region="maincpu" offset="40000"/>
		<rom name="tmnt k15.bin" size="65536" crc="b01eea79" sha1="3f0201ed471380fcafaf2e570454c3d742c0e03d" region="maincpu" offset="40001"/>
		<rom name="963e20.g13" merge="963e20.g13" size="32768" crc="1692a6d6" sha1="68c3419012b2863e91a7d7e479fce5ceabb10b88" region="audiocpu" offset="0"/>
		<rom name="963a28.h27" merge="963a28.h27" size="524288" crc="db4769a8" sha1="810811914f9c1fbf2320d5a9030cbf124f6d78cf" region="k052109" offset="0"/>
		<rom name="963a29.k27" merge="963a29.k27" size="524288" crc="8069cd2e" sha1="54095d3546119ccd1e8814d692aceb1327c9369f" region="k052109" offset="2"/>
		<rom name="963a17.h4" merge="963a17.h4" size="524288" crc="b5239a44" sha1="84e94807e7c51aa652b4e4b827b36be59a53d0d6" region="k051960" offset="0"/>
		<rom name="963a15.k4" merge="963a15.k4" size="524288" crc="1f324eed" sha1="971a675578518fffa341a943d0cc4fdea005fde0" region="k051960" offset="2"/>
		<rom name="963a18.h6" merge="963a18.h6" size="524288" crc="dd51adef" sha1="5010c0911b0b9e4f23a785e8a751a0bde5be5be0" region="k051960" offset="100000"/>
		<rom name="963a16.k6" merge="963a16.k6" size="524288" crc="d4bd9984" sha1="d780ae7f72e16767c3a492544f02f0f1a332ab22" region="k051960" offset="100002"/>
		<rom name="963a30.g7" merge="963a30.g7" size="256" crc="abd82680" sha1="945a71e6ec65202f13209b45d45b616372d6c0f5" region="proms" offset="0"/>
		<rom name="963a31.g19" merge="963a31.g19" size="256" crc="f8004a1c" sha1="ed6694b8eebfe0238b50ebd05007d519f6e57b1b" region="proms" offset="100"/>
		<rom name="963a26.c13" merge="963a26.c13" size="131072" crc="e2ac3063" sha1="5bb294c46fb5eaba9935a18c0aa5d3931168f474" region="k007232" offset="0"/>
		<rom name="963a27.d18" merge="963a27.d18" size="131072" crc="2dfd674b" sha1="bbec5896c70056964fbc972a84bd5b0dfc6af257" region="upd" offset="0"/>
		<rom name="963a25.d5" merge="963a25.d5" size="524288" crc="fca078c7" sha1="3e1124d72c9db4cb11d8de6c44b7aeca967f44e1" region="title" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k051960" name="k051960"/>
		<device_ref tag=":mono" name="speaker"/>
		<device_ref tag=":soundlatch" name="generic_latch_8"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k007232" name="k007232"/>
		<device_ref tag=":upd" name="upd7759"/>
		<device_ref tag=":samples" name="samples"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="mono" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k007232" name="Konami 007232 PCM Controller" clock="3579545"/>
		<chip type="audio" tag="upd" name="NEC uPD7759" clock="640000"/>
		<chip type="audio" tag="samples" name="Samples"/>
		<display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="0" hbstart="320" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
			<control type="joy" player="3" buttons="2" ways="8"/>
			<control type="joy" player="4" buttons="2" ways="8"/>
		</input>
		<dipswitch name="Coinage" tag="DSW1" mask="15">
			<diplocation name="SW1" number="1"/>
			<diplocation name="SW1" number="2"/>
			<diplocation name="SW1" number="3"/>
			<diplocation name="SW1" number="4"/>
			<dipvalue name="5 Coins/1 Credit" value="0"/>
			<dipvalue name="4 Coins/1 Credit" value="2"/>
			<dipvalue name="3 Coins/1 Credit" value="5"/>
			<dipvalue name="2 Coins/1 Credit" value="8"/>
			<dipvalue name="3 Coins/2 Credits" value="4"/>
			<dipvalue name="4 Coins/3 Credits" value="1"/>
			<dipvalue name="1 Coin/1 Credit" value="15" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="3"/>
			<dipvalue name="2 Coins/3 Credits" value="7"/>
			<dipvalue name="1 Coin/2 Credits" value="14"/>
			<dipvalue name="2 Coins/5 Credits" value="6"/>
			<dipvalue name="1 Coin/3 Credits" value="13"/>
			<dipvalue name="1 Coin/4 Credits" value="12"/>
			<dipvalue name="1 Coin/5 Credits" value="11"/>
			<dipvalue name="1 Coin/6 Credits" value="10"/>
			<dipvalue name="1 Coin/7 Credits" value="9"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="16">
			<diplocation name="SW1" number="5"/>
			<dipvalue name="Off" value="16" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="32">
			<diplocation name="SW1" number="6"/>
			<dipvalue name="Off" value="32" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="64">
			<diplocation name="SW1" number="7"/>
			<dipvalue name="Off" value="64" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="128">
			<diplocation name="SW1" number="8"/>
			<dipvalue name="Off" value="128" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Lives" tag="DSW2" mask="3">
			<diplocation name="SW2" number="1"/>
			<diplocation name="SW2" number="2"/>
			<dipvalue name="1" value="3"/>
			<dipvalue name="2" value="2" default="yes"/>
			<dipvalue name="3" value="1"/>
			<dipvalue name="5" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="4">
			<diplocation name="SW2" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="8">
			<diplocation name="SW2" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="16">
			<diplocation name="SW2" number="5"/>
			<dipvalue name="Off" value="16" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Difficulty" tag="DSW2" mask="96">
			<diplocation name="SW2" number="6"/>
			<diplocation name="SW2" number="7"/>
			<dipvalue name="Easy" value="96"/>
			<dipvalue name="Normal" value="64" default="yes"/>
			<dipvalue name="Difficult" value="32"/>
			<dipvalue name="Very Difficult" value="0"/>
		</dipswitch>
		<dipswitch name="Demo Sounds" tag="DSW2" mask="128">
			<diplocation name="SW2" number="8"/>
			<dipvalue name="Off" value="128"/>
			<dipvalue name="On" value="0" default="yes"/>
		</dipswitch>
		<dipswitch name="Flip Screen" tag="DSW3" mask="1">
			<diplocation name="SW3" number="1"/>
			<dipvalue name="Off" value="1" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="2">
			<diplocation name="SW3" number="2"/>
			<dipvalue name="Off" value="2" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Service Mode" tag="DSW3" mask="4">
			<diplocation name="SW3" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="8">
			<diplocation name="SW3" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<port tag=":COINS">
		</port>
		<port tag=":DSW1">
		</port>
		<port tag=":DSW2">
		</port>
		<port tag=":DSW3">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="tmntj" sourcefile="konami/tmnt.cpp" cloneof="tmnt" romof="tmnt">
		<description>Teenage Mutant Ninja Turtles (Japan 4 Players, version 2)</description>
		<year>1990</year>
		<manufacturer>Konami</manufacturer>
		<rom name="963_223.j17" size="131072" crc="0d34a5ff" sha1="a387f3e7c727dc66ebb0e1f40e4ab8dc83f647e5" region="maincpu" offset="0"/>
		<rom name="963_224.k17" size="131072" crc="2fd453f2" sha1="8eb68cba3b5f5baf2c00172942a3d2bf578d0196" region="maincpu" offset="1"/>
		<rom name="963_221.j15" size="65536" crc="fa8e25fd" sha1="129cb9498508cdabdda3cf4fc86ff716fe1da940" region="maincpu" offset="40000"/>
		<rom name="963_222.k15" size="65536" crc="ca437a4f" sha1="96922d2dcd0d84dc0d09a3ba9800b1154b5e2486" region="maincpu" offset="40001"/>
		<rom name="963e20.g13" merge="963e20.g13" size="32768" crc="1692a6d6" sha1="68c3419012b2863e91a7d7e479fce5ceabb10b88" region="audiocpu" offset="0"/>
		<rom name="963a28.h27" merge="963a28.h27" size="524288" crc="db4769a8" sha1="810811914f9c1fbf2320d5a9030cbf124f6d78cf" region="k052109" offset="0"/>
		<rom name="963a29.k27" merge="963a29.k27" size="524288" crc="8069cd2e" sha1="54095d3546119ccd1e8814d692aceb1327c9369f" region="k052109" offset="2"/>
		<rom name="963a17.h4" merge="963a17.h4" size="524288" crc="b5239a44" sha1="84e94807e7c51aa652b4e4b827b36be59a53d0d6" region="k051960" offset="0"/>
		<rom name="963a15.k4" merge="963a15.k4" size="524288" crc="1f324eed" sha1="971a675578518fffa341a943d0cc4fdea005fde0" region="k051960" offset="2"/>
		<rom name="963a18.h6" merge="963a18.h6" size="524288" crc="dd51adef" sha1="5010c0911b0b9e4f23a785e8a751a0bde5be5be0" region="k051960" offset="100000"/>
		<rom name="963a16.k6" merge="963a16.k6" size="524288" crc="d4bd9984" sha1="d780ae7f72e16767c3a492544f02f0f1a332ab22" region="k051960" offset="100002"/>
		<rom name="963a30.g7" merge="963a30.g7" size="256" crc="abd82680" sha1="945a71e6ec65202f13209b45d45b616372d6c0f5" region="proms" offset="0"/>
		<rom name="963a31.g19" merge="963a31.g19" size="256" crc="f8004a1c" sha1="ed6694b8eebfe0238b50ebd05007d519f6e57b1b" region="proms" offset="100"/>
		<rom name="963a26.c13" merge="963a26.c13" size="131072" crc="e2ac3063" sha1="5bb294c46fb5eaba9935a18c0aa5d3931168f474" region="k007232" offset="0"/>
		<rom name="963a27.d18" merge="963a27.d18" size="131072" crc="2dfd674b" sha1="bbec5896c70056964fbc972a84bd5b0dfc6af257" region="upd" offset="0"/>
		<rom name="963a25.d5" merge="963a25.d5" size="524288" crc="fca078c7" sha1="3e1124d72c9db4cb11d8de6c44b7aeca967f44e1" region="title" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k051960" name="k051960"/>
		<device_ref tag=":mono" name="speaker"/>
		<device_ref tag=":soundlatch" name="generic_latch_8"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k007232" name="k007232"/>
		<device_ref tag=":upd" name="upd7759"/>
		<device_ref tag=":samples" name="samples"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="mono" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k007232" name="Konami 007232 PCM Controller" clock="3579545"/>
		<chip type="audio" tag="upd" name="NEC uPD7759" clock="640000"/>
		<chip type="audio" tag="samples" name="Samples"/>
		<display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="0" hbstart="320" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
			<control type="joy" player="3" buttons="2" ways="8"/>
			<control type="joy" player="4" buttons="2" ways="8"/>
		</input>
		<dipswitch name="Coinage" tag="DSW1" mask="15">
			<diplocation name="SW1" number="1"/>
			<diplocation name="SW1" number="2"/>
			<diplocation name="SW1" number="3"/>
			<diplocation name="SW1" number="4"/>
			<dipvalue name="5 Coins/1 Credit" value="0"/>
			<dipvalue name="4 Coins/1 Credit" value="2"/>
			<dipvalue name="3 Coins/1 Credit" value="5"/>
			<dipvalue name="2 Coins/1 Credit" value="8"/>
			<dipvalue name="3 Coins/2 Credits" value="4"/>
			<dipvalue name="4 Coins/3 Credits" value="1"/>
			<dipvalue name="1 Coin/1 Credit" value="15" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="3"/>
			<dipvalue name="2 Coins/3 Credits" value="7"/>
			<dipvalue name="1 Coin/2 Credits" value="14"/>
			<dipvalue name="2 Coins/5 Credits" value="6"/>
			<dipvalue name="1 Coin/3 Credits" value="13"/>
			<dipvalue name="1 Coin/4 Credits" value="12"/>
			<dipvalue name="1 Coin/5 Credits" value="11"/>
			<dipvalue name="1 Coin/6 Credits" value="10"/>
			<dipvalue name="1 Coin/7 Credits" value="9"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="16">
			<diplocation name="SW1" number="5"/>
			<dipvalue name="Off" value="16" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="32">
			<diplocation name="SW1" number="6"/>
			<dipvalue name="Off" value="32" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="64">
			<diplocation name="SW1" number="7"/>
			<dipvalue name="Off" value="64" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="128">
			<diplocation name="SW1" number="8"/>
			<dipvalue name="Off" value="128" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Lives" tag="DSW2" mask="3">
			<diplocation name="SW2" number="1"/>
			<diplocation name="SW2" number="2"/>
			<dipvalue name="1" value="3"/>
			<dipvalue name="2" value="2" default="yes"/>
			<dipvalue name="3" value="1"/>
			<dipvalue name="5" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="4">
			<diplocation name="SW2" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="8">
			<diplocation name="SW2" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="16">
			<diplocation name="SW2" number="5"/>
			<dipvalue name="Off" value="16" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Difficulty" tag="DSW2" mask="96">
			<diplocation name="SW2" number="6"/>
			<diplocation name="SW2" number="7"/>
			<dipvalue name="Easy" value="96"/>
			<dipvalue name="Normal" value="64" default="yes"/>
			<dipvalue name="Difficult" value="32"/>
			<dipvalue name="Very Difficult" value="0"/>
		</dipswitch>
		<dipswitch name="Demo Sounds" tag="DSW2" mask="128">
			<diplocation name="SW2" number="8"/>
			<dipvalue name="Off" value="128"/>
			<dipvalue name="On" value="0" default="yes"/>
		</dipswitch>
		<dipswitch name="Flip Screen" tag="DSW3" mask="1">
			<diplocation name="SW3" number="1"/>
			<dipvalue name="Off" value="1" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="2">
			<diplocation name="SW3" number="2"/>
			<dipvalue name="Off" value="2" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Service Mode" tag="DSW3" mask="4">
			<diplocation name="SW3" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="8">
			<diplocation name="SW3" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<port tag=":COINS">
		</port>
		<port tag=":DSW1">
		</port>
		<port tag=":DSW2">
		</port>
		<port tag=":DSW3">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="tmntu" sourcefile="konami/tmnt.cpp" cloneof="tmnt" romof="tmnt">
		<description>Teenage Mutant Ninja Turtles (US 4 Players, version R)</description>
		<year>1989</year>
		<manufacturer>Konami</manufacturer>
		<rom name="963-r23.j17" size="131072" crc="a7f61195" sha1="db231ffb045f512040793b6815bcb998cee04c3d" region="maincpu" offset="0"/>
		<rom name="963-r24.k17" size="131072" crc="661e056a" sha1="4773883a66540c07dbc969881689184697355537" region="maincpu" offset="1"/>
		<rom name="963-r21.j15" size="65536" crc="de047bb6" sha1="d41d11f1b7dfd3824308f7fff43a5a7ced432ec2" region="maincpu" offset="40000"/>
		<rom name="963-r22.k15" size="65536" crc="d86a0888" sha1="c761b3e8acc45a36ae691758c639eb826a8ab5b2" region="maincpu" offset="40001"/>
		<rom name="963e20.g13" merge="963e20.g13" size="32768" crc="1692a6d6" sha1="68c3419012b2863e91a7d7e479fce5ceabb10b88" region="audiocpu" offset="0"/>
		<rom name="963a28.h27" merge="963a28.h27" size="524288" crc="db4769a8" sha1="810811914f9c1fbf2320d5a9030cbf124f6d78cf" region="k052109" offset="0"/>
		<rom name="963a29.k27" merge="963a29.k27" size="524288" crc="8069cd2e" sha1="54095d3546119ccd1e8814d692aceb1327c9369f" region="k052109" offset="2"/>
		<rom name="963a17.h4" merge="963a17.h4" size="524288" crc="b5239a44" sha1="84e94807e7c51aa652b4e4b827b36be59a53d0d6" region="k051960" offset="0"/>
		<rom name="963a15.k4" merge="963a15.k4" size="524288" crc="1f324eed" sha1="971a675578518fffa341a943d0cc4fdea005fde0" region="k051960" offset="2"/>
		<rom name="963a18.h6" merge="963a18.h6" size="524288" crc="dd51adef" sha1="5010c0911b0b9e4f23a785e8a751a0bde5be5be0" region="k051960" offset="100000"/>
		<rom name="963a16.k6" merge="963a16.k6" size="524288" crc="d4bd9984" sha1="d780ae7f72e16767c3a492544f02f0f1a332ab22" region="k051960" offset="100002"/>
		<rom name="963a30.g7" merge="963a30.g7" size="256" crc="abd82680" sha1="945a71e6ec65202f13209b45d45b616372d6c0f5" region="proms" offset="0"/>
		<rom name="963a31.g19" merge="963a31.g19" size="256" crc="f8004a1c" sha1="ed6694b8eebfe0238b50ebd05007d519f6e57b1b" region="proms" offset="100"/>
		<rom name="963a26.c13" merge="963a26.c13" size="131072" crc="e2ac3063" sha1="5bb294c46fb5eaba9935a18c0aa5d3931168f474" region="k007232" offset="0"/>
		<rom name="963a27.d18" merge="963a27.d18" size="131072" crc="2dfd674b" sha1="bbec5896c70056964fbc972a84bd5b0dfc6af257" region="upd" offset="0"/>
		<rom name="963a25.d5" merge="963a25.d5" size="524288" crc="fca078c7" sha1="3e1124d72c9db4cb11d8de6c44b7aeca967f44e1" region="title" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k051960" name="k051960"/>
		<device_ref tag=":mono" name="speaker"/>
		<device_ref tag=":soundlatch" name="generic_latch_8"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k007232" name="k007232"/>
		<device_ref tag=":upd" name="upd7759"/>
		<device_ref tag=":samples" name="samples"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="mono" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k007232" name="Konami 007232 PCM Controller" clock="3579545"/>
		<chip type="audio" tag="upd" name="NEC uPD7759" clock="640000"/>
		<chip type="audio" tag="samples" name="Samples"/>
		<display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="0" hbstart="320" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
			<control type="joy" player="3" buttons="2" ways="8"/>
			<control type="joy" player="4" buttons="2" ways="8"/>
		</input>
		<dipswitch name="Coinage" tag="DSW1" mask="15">
			<diplocation name="SW1" number="1"/>
			<diplocation name="SW1" number="2"/>
			<diplocation name="SW1" number="3"/>
			<diplocation name="SW1" number="4"/>
			<dipvalue name="5 Coins/1 Credit" value="0"/>
			<dipvalue name="4 Coins/1 Credit" value="2"/>
			<dipvalue name="3 Coins/1 Credit" value="5"/>
			<dipvalue name="2 Coins/1 Credit" value="8"/>
			<dipvalue name="3 Coins/2 Credits" value="4"/>
			<dipvalue name="4 Coins/3 Credits" value="1"/>
			<dipvalue name="1 Coin/1 Credit" value="15" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="3"/>
			<dipvalue name="2 Coins/3 Credits" value="7"/>
			<dipvalue name="1 Coin/2 Credits" value="14"/>
			<dipvalue name="2 Coins/5 Credits" value="6"/>
			<dipvalue name="1 Coin/3 Credits" value="13"/>
			<dipvalue name="1 Coin/4 Credits" value="12"/>
			<dipvalue name="1 Coin/5 Credits" value="11"/>
			<dipvalue name="1 Coin/6 Credits" value="10"/>
			<dipvalue name="1 Coin/7 Credits" value="9"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="16">
			<diplocation name="SW1" number="5"/>
			<dipvalue name="Off" value="16" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="32">
			<diplocation name="SW1" number="6"/>
			<dipvalue name="Off" value="32" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="64">
			<diplocation name="SW1" number="7"/>
			<dipvalue name="Off" value="64" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="128">
			<diplocation name="SW1" number="8"/>
			<dipvalue name="Off" value="128" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Lives" tag="DSW2" mask="3">
			<diplocation name="SW2" number="1"/>
			<diplocation name="SW2" number="2"/>
			<dipvalue name="1" value="3"/>
			<dipvalue name="2" value="2" default="yes"/>
			<dipvalue name="3" value="1"/>
			<dipvalue name="5" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="4">
			<diplocation name="SW2" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="8">
			<diplocation name="SW2" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="16">
			<diplocation name="SW2" number="5"/>
			<dipvalue name="Off" value="16" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Difficulty" tag="DSW2" mask="96">
			<diplocation name="SW2" number="6"/>
			<diplocation name="SW2" number="7"/>
			<dipvalue name="Easy" value="96"/>
			<dipvalue name="Normal" value="64" default="yes"/>
			<dipvalue name="Difficult" value="32"/>
			<dipvalue name="Very Difficult" value="0"/>
		</dipswitch>
		<dipswitch name="Demo Sounds" tag="DSW2" mask="128">
			<diplocation name="SW2" number="8"/>
			<dipvalue name="Off" value="128"/>
			<dipvalue name="On" value="0" default="yes"/>
		</dipswitch>
		<dipswitch name="Flip Screen" tag="DSW3" mask="1">
			<diplocation name="SW3" number="1"/>
			<dipvalue name="Off" value="1" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="2">
			<diplocation name="SW3" number="2"/>
			<dipvalue name="Off" value="2" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Service Mode" tag="DSW3" mask="4">
			<diplocation name="SW3" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="8">
			<diplocation name="SW3" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<port tag=":COINS">
		</port>
		<port tag=":DSW1">
		</port>
		<port tag=":DSW2">
		</port>
		<port tag=":DSW3">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="tmntua" sourcefile="konami/tmnt.cpp" cloneof="tmnt" romof="tmnt">
		<description>Teenage Mutant Ninja Turtles (US 4 Players, version N)</description>
		<year>1989</year>
		<manufacturer>Konami</manufacturer>
		<rom name="963-n23.j17" size="131072" crc="388c333f" sha1="551039ae1b258d9aa422789ce5f4f241d835f847" region="maincpu" offset="0"/>
		<rom name="963-n24.k17" size="131072" crc="af3efd63" sha1="10d0587645b5a12654af92b5f790b6da2a35d74d" region="maincpu" offset="1"/>
		<rom name="963-j21.j15" size="65536" crc="7bee9fe8" sha1="1489cbd81176a586d21442d3e9cf4e585ca72bb4" region="maincpu" offset="40000"/>
		<rom name="963-j22.k15" size="65536" crc="2efed09f" sha1="be84f71a076b360708f15b555ffb8612eb7f0f08" region="maincpu" offset="40001"/>
		<rom name="963e20.g13" merge="963e20.g13" size="32768" crc="1692a6d6" sha1="68c3419012b2863e91a7d7e479fce5ceabb10b88" region="audiocpu" offset="0"/>
		<rom name="963a28.h27" merge="963a28.h27" size="524288" crc="db4769a8" sha1="810811914f9c1fbf2320d5a9030cbf124f6d78cf" region="k052109" offset="0"/>
		<rom name="963a29.k27" merge="963a29.k27" size="524288" crc="8069cd2e" sha1="54095d3546119ccd1e8814d692aceb1327c9369f" region="k052109" offset="2"/>
		<rom name="963a17.h4" merge="963a17.h4" size="524288" crc="b5239a44" sha1="84e94807e7c51aa652b4e4b827b36be59a53d0d6" region="k051960" offset="0"/>
		<rom name="963a15.k4" merge="963a15.k4" size="524288" crc="1f324eed" sha1="971a675578518fffa341a943d0cc4fdea005fde0" region="k051960" offset="2"/>
		<rom name="963a18.h6" merge="963a18.h6" size="524288" crc="dd51adef" sha1="5010c0911b0b9e4f23a785e8a751a0bde5be5be0" region="k051960" offset="100000"/>
		<rom name="963a16.k6" merge="963a16.k6" size="524288" crc="d4bd9984" sha1="d780ae7f72e16767c3a492544f02f0f1a332ab22" region="k051960" offset="100002"/>
		<rom name="963a30.g7" merge="963a30.g7" size="256" crc="abd82680" sha1="945a71e6ec65202f13209b45d45b616372d6c0f5" region="proms" offset="0"/>
		<rom name="963a31.g19" merge="963a31.g19" size="256" crc="f8004a1c" sha1="ed6694b8eebfe0238b50ebd05007d519f6e57b1b" region="proms" offset="100"/>
		<rom name="963a26.c13" merge="963a26.c13" size="131072" crc="e2ac3063" sha1="5bb294c46fb5eaba9935a18c0aa5d3931168f474" region="k007232" offset="0"/>
		<rom name="963a27.d18" merge="963a27.d18" size="131072" crc="2dfd674b" sha1="bbec5896c70056964fbc972a84bd5b0dfc6af257" region="upd" offset="0"/>
		<rom name="963a25.d5" merge="963a25.d5" size="524288" crc="fca078c7" sha1="3e1124d72c9db4cb11d8de6c44b7aeca967f44e1" region="title" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k051960" name="k051960"/>
		<device_ref tag=":mono" name="speaker"/>
		<device_ref tag=":soundlatch" name="generic_latch_8"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k007232" name="k007232"/>
		<device_ref tag=":upd" name="upd7759"/>
		<device_ref tag=":samples" name="samples"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="mono" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k007232" name="Konami 007232 PCM Controller" clock="3579545"/>
		<chip type="audio" tag="upd" name="NEC uPD7759" clock="640000"/>
		<chip type="audio" tag="samples" name="Samples"/>
		<display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="0" hbstart="320" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
			<control type="joy" player="3" buttons="2" ways="8"/>
			<control type="joy" player="4" buttons="2" ways="8"/>
		</input>
		<dipswitch name="Coinage" tag="DSW1" mask="15">
			<diplocation name="SW1" number="1"/>
			<diplocation name="SW1" number="2"/>
			<diplocation name="SW1" number="3"/>
			<diplocation name="SW1" number="4"/>
			<dipvalue name="5 Coins/1 Credit" value="0"/>
			<dipvalue name="4 Coins/1 Credit" value="2"/>
			<dipvalue name="3 Coins/1 Credit" value="5"/>
			<dipvalue name="2 Coins/1 Credit" value="8"/>
			<dipvalue name="3 Coins/2 Credits" value="4"/>
			<dipvalue name="4 Coins/3 Credits" value="1"/>
			<dipvalue name="1 Coin/1 Credit" value="15" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="3"/>
			<dipvalue name="2 Coins/3 Credits" value="7"/>
			<dipvalue name="1 Coin/2 Credits" value="14"/>
			<dipvalue name="2 Coins/5 Credits" value="6"/>
			<dipvalue name="1 Coin/3 Credits" value="13"/>
			<dipvalue name="1 Coin/4 Credits" value="12"/>
			<dipvalue name="1 Coin/5 Credits" value="11"/>
			<dipvalue name="1 Coin/6 Credits" value="10"/>
			<dipvalue name="1 Coin/7 Credits" value="9"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="16">
			<diplocation name="SW1" number="5"/>
			<dipvalue name="Off" value="16" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="32">
			<diplocation name="SW1" number="6"/>
			<dipvalue name="Off" value="32" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="64">
			<diplocation name="SW1" number="7"/>
			<dipvalue name="Off" value="64" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="128">
			<diplocation name="SW1" number="8"/>
			<dipvalue name="Off" value="128" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Lives" tag="DSW2" mask="3">
			<diplocation name="SW2" number="1"/>
			<diplocation name="SW2" number="2"/>
			<dipvalue name="1" value="3"/>
			<dipvalue name="2" value="2" default="yes"/>
			<dipvalue name="3" value="1"/>
			<dipvalue name="5" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="4">
			<diplocation name="SW2" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="8">
			<diplocation name="SW2" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="16">
			<diplocation name="SW2" number="5"/>
			<dipvalue name="Off" value="16" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Difficulty" tag="DSW2" mask="96">
			<diplocation name="SW2" number="6"/>
			<diplocation name="SW2" number="7"/>
			<dipvalue name="Easy" value="96"/>
			<dipvalue name="Normal" value="64" default="yes"/>
			<dipvalue name="Difficult" value="32"/>
			<dipvalue name="Very Difficult" value="0"/>
		</dipswitch>
		<dipswitch name="Demo Sounds" tag="DSW2" mask="128">
			<diplocation name="SW2" number="8"/>
			<dipvalue name="Off" value="128"/>
			<dipvalue name="On" value="0" default="yes"/>
		</dipswitch>
		<dipswitch name="Flip Screen" tag="DSW3" mask="1">
			<diplocation name="SW3" number="1"/>
			<dipvalue name="Off" value="1" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="2">
			<diplocation name="SW3" number="2"/>
			<dipvalue name="Off" value="2" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Service Mode" tag="DSW3" mask="4">
			<diplocation name="SW3" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="8">
			<diplocation name="SW3" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<port tag=":COINS">
		</port>
		<port tag=":DSW1">
		</port>
		<port tag=":DSW2">
		</port>
		<port tag=":DSW3">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="tmntub" sourcefile="konami/tmnt.cpp" cloneof="tmnt" romof="tmnt">
		<description>Teenage Mutant Ninja Turtles (US 4 Players, version J)</description>
		<year>1989</year>
		<manufacturer>Konami</manufacturer>
		<rom name="963-j23.j17" size="131072" crc="f77314e2" sha1="aeb7a397a17b6ff587e3c536286a4942975e7a20" region="maincpu" offset="0"/>
		<rom name="963-j24.k17" size="131072" crc="47f662d3" sha1="d26e932b13920ca23a654a647b1e02097a264a3a" region="maincpu" offset="1"/>
		<rom name="963-j21.j15" size="65536" crc="7bee9fe8" sha1="1489cbd81176a586d21442d3e9cf4e585ca72bb4" region="maincpu" offset="40000"/>
		<rom name="963-j22.k15" size="65536" crc="2efed09f" sha1="be84f71a076b360708f15b555ffb8612eb7f0f08" region="maincpu" offset="40001"/>
		<rom name="963e20.g13" merge="963e20.g13" size="32768" crc="1692a6d6" sha1="68c3419012b2863e91a7d7e479fce5ceabb10b88" region="audiocpu" offset="0"/>
		<rom name="963a28.h27" merge="963a28.h27" size="524288" crc="db4769a8" sha1="810811914f9c1fbf2320d5a9030cbf124f6d78cf" region="k052109" offset="0"/>
		<rom name="963a29.k27" merge="963a29.k27" size="524288" crc="8069cd2e" sha1="54095d3546119ccd1e8814d692aceb1327c9369f" region="k052109" offset="2"/>
		<rom name="963a17.h4" merge="963a17.h4" size="524288" crc="b5239a44" sha1="84e94807e7c51aa652b4e4b827b36be59a53d0d6" region="k051960" offset="0"/>
		<rom name="963a15.k4" merge="963a15.k4" size="524288" crc="1f324eed" sha1="971a675578518fffa341a943d0cc4fdea005fde0" region="k051960" offset="2"/>
		<rom name="963a18.h6" merge="963a18.h6" size="524288" crc="dd51adef" sha1="5010c0911b0b9e4f23a785e8a751a0bde5be5be0" region="k051960" offset="100000"/>
		<rom name="963a16.k6" merge="963a16.k6" size="524288" crc="d4bd9984" sha1="d780ae7f72e16767c3a492544f02f0f1a332ab22" region="k051960" offset="100002"/>
		<rom name="963a30.g7" merge="963a30.g7" size="256" crc="abd82680" sha1="945a71e6ec65202f13209b45d45b616372d6c0f5" region="proms" offset="0"/>
		<rom name="963a31.g19" merge="963a31.g19" size="256" crc="f8004a1c" sha1="ed6694b8eebfe0238b50ebd05007d519f6e57b1b" region="proms" offset="100"/>
		<rom name="963a26.c13" merge="963a26.c13" size="131072" crc="e2ac3063" sha1="5bb294c46fb5eaba9935a18c0aa5d3931168f474" region="k007232" offset="0"/>
		<rom name="963a27.d18" merge="963a27.d18" size="131072" crc="2dfd674b" sha1="bbec5896c70056964fbc972a84bd5b0dfc6af257" region="upd" offset="0"/>
		<rom name="963a25.d5" merge="963a25.d5" size="524288" crc="fca078c7" sha1="3e1124d72c9db4cb11d8de6c44b7aeca967f44e1" region="title" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k051960" name="k051960"/>
		<device_ref tag=":mono" name="speaker"/>
		<device_ref tag=":soundlatch" name="generic_latch_8"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k007232" name="k007232"/>
		<device_ref tag=":upd" name="upd7759"/>
		<device_ref tag=":samples" name="samples"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="mono" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k007232" name="Konami 007232 PCM Controller" clock="3579545"/>
		<chip type="audio" tag="upd" name="NEC uPD7759" clock="640000"/>
		<chip type="audio" tag="samples" name="Samples"/>
		<display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="0" hbstart="320" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
			<control type="joy" player="3" buttons="2" ways="8"/>
			<control type="joy" player="4" buttons="2" ways="8"/>
		</input>
		<dipswitch name="Coinage" tag="DSW1" mask="15">
			<diplocation name="SW1" number="1"/>
			<diplocation name="SW1" number="2"/>
			<diplocation name="SW1" number="3"/>
			<diplocation name="SW1" number="4"/>
			<dipvalue name="5 Coins/1 Credit" value="0"/>
			<dipvalue name="4 Coins/1 Credit" value="2"/>
			<dipvalue name="3 Coins/1 Credit" value="5"/>
			<dipvalue name="2 Coins/1 Credit" value="8"/>
			<dipvalue name="3 Coins/2 Credits" value="4"/>
			<dipvalue name="4 Coins/3 Credits" value="1"/>
			<dipvalue name="1 Coin/1 Credit" value="15" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="3"/>
			<dipvalue name="2 Coins/3 Credits" value="7"/>
			<dipvalue name="1 Coin/2 Credits" value="14"/>
			<dipvalue name="2 Coins/5 Credits" value="6"/>
			<dipvalue name="1 Coin/3 Credits" value="13"/>
			<dipvalue name="1 Coin/4 Credits" value="12"/>
			<dipvalue name="1 Coin/5 Credits" value="11"/>
			<dipvalue name="1 Coin/6 Credits" value="10"/>
			<dipvalue name="1 Coin/7 Credits" value="9"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="16">
			<diplocation name="SW1" number="5"/>
			<dipvalue name="Off" value="16" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="32">
			<diplocation name="SW1" number="6"/>
			<dipvalue name="Off" value="32" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="64">
			<diplocation name="SW1" number="7"/>
			<dipvalue name="Off" value="64" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="128">
			<diplocation name="SW1" number="8"/>
			<dipvalue name="Off" value="128" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Lives" tag="DSW2" mask="3">
			<diplocation name="SW2" number="1"/>
			<diplocation name="SW2" number="2"/>
			<dipvalue name="1" value="3"/>
			<dipvalue name="2" value="2" default="yes"/>
			<dipvalue name="3" value="1"/>
			<dipvalue name="5" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="4">
			<diplocation name="SW2" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="8">
			<diplocation name="SW2" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="16">
			<diplocation name="SW2" number="5"/>
			<dipvalue name="Off" value="16" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Difficulty" tag="DSW2" mask="96">
			<diplocation name="SW2" number="6"/>
			<diplocation name="SW2" number="7"/>
			<dipvalue name="Easy" value="96"/>
			<dipvalue name="Normal" value="64" default="yes"/>
			<dipvalue name="Difficult" value="32"/>
			<dipvalue name="Very Difficult" value="0"/>
		</dipswitch>
		<dipswitch name="Demo Sounds" tag="DSW2" mask="128">
			<diplocation name="SW2" number="8"/>
			<dipvalue name="Off" value="128"/>
			<dipvalue name="On" value="0" default="yes"/>
		</dipswitch>
		<dipswitch name="Flip Screen" tag="DSW3" mask="1">
			<diplocation name="SW3" number="1"/>
			<dipvalue name="Off" value="1" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="2">
			<diplocation name="SW3" number="2"/>
			<dipvalue name="Off" value="2" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Service Mode" tag="DSW3" mask="4">
			<diplocation name="SW3" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="8">
			<diplocation name="SW3" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<port tag=":COINS">
		</port>
		<port tag=":DSW1">
		</port>
		<port tag=":DSW2">
		</port>
		<port tag=":DSW3">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="tmntuc" sourcefile="konami/tmnt.cpp" cloneof="tmnt" romof="tmnt">
		<description>Teenage Mutant Ninja Turtles (US 4 Players, version H)</description>
		<year>1989</year>
		<manufacturer>Konami</manufacturer>
		<rom name="963-h23.j17" size="131072" crc="718086e1" sha1="6fd07a36195521be101782a05a9ecbcc5aaebbbd" region="maincpu" offset="0"/>
		<rom name="963-h24.k17" size="131072" crc="2f7d66e1" sha1="53bd51458609662066b696f3edd19075e883bcde" region="maincpu" offset="1"/>
		<rom name="963-h21.j15" size="65536" crc="1944641e" sha1="6664dbd9856d3d579a63c6537feef9a6e9bd09c5" region="maincpu" offset="40000"/>
		<rom name="963-h22.k15" size="65536" crc="50ce5512" sha1="641bf4d60a64f23cd3b52af983565dc6b38037c1" region="maincpu" offset="40001"/>
		<rom name="963e20.g13" merge="963e20.g13" size="32768" crc="1692a6d6" sha1="68c3419012b2863e91a7d7e479fce5ceabb10b88" region="audiocpu" offset="0"/>
		<rom name="963a28.h27" merge="963a28.h27" size="524288" crc="db4769a8" sha1="810811914f9c1fbf2320d5a9030cbf124f6d78cf" region="k052109" offset="0"/>
		<rom name="963a29.k27" merge="963a29.k27" size="524288" crc="8069cd2e" sha1="54095d3546119ccd1e8814d692aceb1327c9369f" region="k052109" offset="2"/>
		<rom name="963a17.h4" merge="963a17.h4" size="524288" crc="b5239a44" sha1="84e94807e7c51aa652b4e4b827b36be59a53d0d6" region="k051960" offset="0"/>
		<rom name="963a15.k4" merge="963a15.k4" size="524288" crc="1f324eed" sha1="971a675578518fffa341a943d0cc4fdea005fde0" region="k051960" offset="2"/>
		<rom name="963a18.h6" merge="963a18.h6" size="524288" crc="dd51adef" sha1="5010c0911b0b9e4f23a785e8a751a0bde5be5be0" region="k051960" offset="100000"/>
		<rom name="963a16.k6" merge="963a16.k6" size="524288" crc="d4bd9984" sha1="d780ae7f72e16767c3a492544f02f0f1a332ab22" region="k051960" offset="100002"/>
		<rom name="963a30.g7" merge="963a30.g7" size="256" crc="abd82680" sha1="945a71e6ec65202f13209b45d45b616372d6c0f5" region="proms" offset="0"/>
		<rom name="963a31.g19" merge="963a31.g19" size="256" crc="f8004a1c" sha1="ed6694b8eebfe0238b50ebd05007d519f6e57b1b" region="proms" offset="100"/>
		<rom name="963a26.c13" merge="963a26.c13" size="131072" crc="e2ac3063" sha1="5bb294c46fb5eaba9935a18c0aa5d3931168f474" region="k007232" offset="0"/>
		<rom name="963a27.d18" merge="963a27.d18" size="131072" crc="2dfd674b" sha1="bbec5896c70056964fbc972a84bd5b0dfc6af257" region="upd" offset="0"/>
		<rom name="963a25.d5" merge="963a25.d5" size="524288" crc="fca078c7" sha1="3e1124d72c9db4cb11d8de6c44b7aeca967f44e1" region="title" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k051960" name="k051960"/>
		<device_ref tag=":mono" name="speaker"/>
		<device_ref tag=":soundlatch" name="generic_latch_8"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k007232" name="k007232"/>
		<device_ref tag=":upd" name="upd7759"/>
		<device_ref tag=":samples" name="samples"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="mono" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k007232" name="Konami 007232 PCM Controller" clock="3579545"/>
		<chip type="audio" tag="upd" name="NEC uPD7759" clock="640000"/>
		<chip type="audio" tag="samples" name="Samples"/>
		<display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="0" hbstart="320" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
			<control type="joy" player="3" buttons="2" ways="8"/>
			<control type="joy" player="4" buttons="2" ways="8"/>
		</input>
		<dipswitch name="Coinage" tag="DSW1" mask="15">
			<diplocation name="SW1" number="1"/>
			<diplocation name="SW1" number="2"/>
			<diplocation name="SW1" number="3"/>
			<diplocation name="SW1" number="4"/>
			<dipvalue name="5 Coins/1 Credit" value="0"/>
			<dipvalue name="4 Coins/1 Credit" value="2"/>
			<dipvalue name="3 Coins/1 Credit" value="5"/>
			<dipvalue name="2 Coins/1 Credit" value="8"/>
			<dipvalue name="3 Coins/2 Credits" value="4"/>
			<dipvalue name="4 Coins/3 Credits" value="1"/>
			<dipvalue name="1 Coin/1 Credit" value="15" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="3"/>
			<dipvalue name="2 Coins/3 Credits" value="7"/>
			<dipvalue name="1 Coin/2 Credits" value="14"/>
			<dipvalue name="2 Coins/5 Credits" value="6"/>
			<dipvalue name="1 Coin/3 Credits" value="13"/>
			<dipvalue name="1 Coin/4 Credits" value="12"/>
			<dipvalue name="1 Coin/5 Credits" value="11"/>
			<dipvalue name="1 Coin/6 Credits" value="10"/>
			<dipvalue name="1 Coin/7 Credits" value="9"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="16">
			<diplocation name="SW1" number="5"/>
			<dipvalue name="Off" value="16" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="32">
			<diplocation name="SW1" number="6"/>
			<dipvalue name="Off" value="32" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="64">
			<diplocation name="SW1" number="7"/>
			<dipvalue name="Off" value="64" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="128">
			<diplocation name="SW1" number="8"/>
			<dipvalue name="Off" value="128" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Lives" tag="DSW2" mask="3">
			<diplocation name="SW2" number="1"/>
			<diplocation name="SW2" number="2"/>
			<dipvalue name="1" value="3"/>
			<dipvalue name="2" value="2" default="yes"/>
			<dipvalue name="3" value="1"/>
			<dipvalue name="5" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="4">
			<diplocation name="SW2" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="8">
			<diplocation name="SW2" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="16">
			<diplocation name="SW2" number="5"/>
			<dipvalue name="Off" value="16" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Difficulty" tag="DSW2" mask="96">
			<diplocation name="SW2" number="6"/>
			<diplocation name="SW2" number="7"/>
			<dipvalue name="Easy" value="96"/>
			<dipvalue name="Normal" value="64" default="yes"/>
			<dipvalue name="Difficult" value="32"/>
			<dipvalue name="Very Difficult" value="0"/>
		</dipswitch>
		<dipswitch name="Demo Sounds" tag="DSW2" mask="128">
			<diplocation name="SW2" number="8"/>
			<dipvalue name="Off" value="128"/>
			<dipvalue name="On" value="0" default="yes"/>
		</dipswitch>
		<dipswitch name="Flip Screen" tag="DSW3" mask="1">
			<diplocation name="SW3" number="1"/>
			<dipvalue name="Off" value="1" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="2">
			<diplocation name="SW3" number="2"/>
			<dipvalue name="Off" value="2" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Service Mode" tag="DSW3" mask="4">
			<diplocation name="SW3" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="8">
			<diplocation name="SW3" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<port tag=":COINS">
		</port>
		<port tag=":DSW1">
		</port>
		<port tag=":DSW2">
		</port>
		<port tag=":DSW3">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="tmntucbl" sourcefile="konami/tmnt.cpp" cloneof="tmnt" romof="tmnt">
		<description>Teenage Mutant Ninja Turtles (bootleg, US 4 Players, version H)</description>
		<year>1989</year>
		<manufacturer>bootleg</manufacturer>
		<rom name="ic215" size="131072" crc="718086e1" sha1="6fd07a36195521be101782a05a9ecbcc5aaebbbd" region="maincpu" offset="0"/>
		<rom name="ic216" size="131072" crc="2f7d66e1" sha1="53bd51458609662066b696f3edd19075e883bcde" region="maincpu" offset="1"/>
		<rom name="ic217" size="65536" crc="1944641e" sha1="6664dbd9856d3d579a63c6537feef9a6e9bd09c5" region="maincpu" offset="40000"/>
		<rom name="ic218" size="65536" crc="50ce5512" sha1="641bf4d60a64f23cd3b52af983565dc6b38037c1" region="maincpu" offset="40001"/>
		<rom name="ic233" size="32768" crc="de119176" sha1="afd5c25b9c606132263d90c705d6d4c71e28776c" region="audiocpu" offset="0"/>
		<rom name="mc68705r3p" size="4096" status="nodump" region="mcu" offset="0"/>
		<rom name="9" size="131072" crc="bd5df35c" sha1="b0db3be16f3e18487834b0c877780cc440ca5292" region="k052109" offset="0"/>
		<rom name="11" size="131072" crc="e26301ce" sha1="fe34a9ee19d0e15b9d804d75117bcf12853070c4" region="k052109" offset="1"/>
		<rom name="21" size="131072" crc="db335bb4" sha1="ae222df7a1b31821f3ee0288ed6f5d9ebd99ba44" region="k052109" offset="2"/>
		<rom name="23" size="131072" crc="d1d5efae" sha1="c14429ebbbb356df3164df41763aa9f52e67a01a" region="k052109" offset="3"/>
		<rom name="10" size="131072" crc="b9d026fe" sha1="6b6b9c531042a25d152754a807ee822bdc4c35cd" region="k052109" offset="80000"/>
		<rom name="12" size="131072" crc="82eb6dae" sha1="4d1e97be2d811bbbd8ec2ec5e6464f1e3208d97e" region="k052109" offset="80001"/>
		<rom name="22" size="131072" crc="f8f59c01" sha1="afd16b355271c350e2b75b7f48c0dad5b7d4fd34" region="k052109" offset="80002"/>
		<rom name="24" size="131072" crc="e7068b0d" sha1="4efe28768adb80e03fe1edd667822fa739e9437e" region="k052109" offset="80003"/>
		<rom name="1" size="131072" crc="eabb0238" sha1="396ca9192e1d7921109897ef7906b93467473f62" region="k051960" offset="0"/>
		<rom name="5" size="131072" crc="9330c763" sha1="38b4808736d37bfb139add8746aabc6da83e6cc6" region="k051960" offset="1"/>
		<rom name="13" size="131072" crc="9ab1eede" sha1="9d1720e0cce374a390a38d00d54d35d3c80d1d8d" region="k051960" offset="2"/>
		<rom name="17" size="131072" crc="9592f27f" sha1="a19edef177f0feae8c29748d94d878ae4f172a9d" region="k051960" offset="3"/>
		<rom name="2" size="131072" crc="4ba802e3" sha1="5a5286087559846d06ed38e2fa93f64c1050787f" region="k051960" offset="80000"/>
		<rom name="6" size="131072" crc="641ea298" sha1="f5ded36fd4779d987d9ef7c171191856813664b5" region="k051960" offset="80001"/>
		<rom name="14" size="131072" crc="777235a5" sha1="8cd75c55b283a19c54b2007633b7d16878dd2773" region="k051960" offset="80002"/>
		<rom name="18" size="131072" crc="41c0c28c" sha1="b5464024ba63eac1150542ea888ce3bea2932769" region="k051960" offset="80003"/>
		<rom name="3" size="131072" crc="159b5858" sha1="e431f9d945ec0c21385ba9390ce350437f022191" region="k051960" offset="100000"/>
		<rom name="7" size="131072" crc="45a1bea8" sha1="d90824afbda6af5cc86ca74aadd275c07d28f5e1" region="k051960" offset="100001"/>
		<rom name="15" size="131072" crc="748e66f9" sha1="109cde6be2a25dae898092bca13b680d1665fc85" region="k051960" offset="100002"/>
		<rom name="19" size="131072" crc="9e6dd23b" sha1="7c7080a9435a35f62b8203167b8d514e8a47b5b4" region="k051960" offset="100003"/>
		<rom name="4" size="131072" crc="7dde75ee" sha1="1e4a85dd108218a8f7761724aecd6ef2f2af0a6e" region="k051960" offset="180000"/>
		<rom name="8" size="131072" crc="6337e146" sha1="938aafbb60fd390b5c5c1bc93e9233b90a723e1b" region="k051960" offset="180001"/>
		<rom name="16" size="131072" crc="287f8d80" sha1="7ea7b83662c0ef2af65f6c6b474ae4176ff6d71e" region="k051960" offset="180002"/>
		<rom name="20" size="131072" crc="bb675176" sha1="8a106b1778101dbd900c287712cd53826791f0db" region="k051960" offset="180003"/>
		<rom name="963a30.g7" merge="963a30.g7" size="256" crc="abd82680" sha1="945a71e6ec65202f13209b45d45b616372d6c0f5" region="proms" offset="0"/>
		<rom name="963a31.g19" merge="963a31.g19" size="256" crc="f8004a1c" sha1="ed6694b8eebfe0238b50ebd05007d519f6e57b1b" region="proms" offset="100"/>
		<rom name="ic252" size="65536" crc="cb916429" sha1="41eff6e15890b45b5ea3b8cc3367891d87c3bf09" region="msm" offset="0"/>
		<rom name="ic253" size="65536" crc="c2d3b2c1" sha1="d4d66cbfbbf5d3396aafedda99bfa2b06fafbf24" region="msm" offset="10000"/>
		<rom name="ic285" merge="963a27.d18" size="131072" crc="2dfd674b" sha1="bbec5896c70056964fbc972a84bd5b0dfc6af257" region="upd" offset="0"/>
		<rom name="ic275" size="131072" crc="a021c0be" sha1="f44ea6c56b8fae7aeff120ee6c2ca924086654be" region="title" offset="1"/>
		<rom name="ic274" size="131072" crc="9ff5f250" sha1="53b75ca910c645ebb55002d70e3e1abd15db6d41" region="title" offset="40001"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k051960" name="k051960"/>
		<device_ref tag=":mono" name="speaker"/>
		<device_ref tag=":soundlatch" name="generic_latch_8"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":upd" name="upd7759"/>
		<device_ref tag=":samples" name="samples"/>
		<device_ref tag=":mcu" name="m68705r3"/>
		<device_ref tag=":msm" name="msm5205"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="cpu" tag="mcu" name="Motorola MC68705R3" clock="4000000"/>
		<chip type="audio" tag="mono" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="upd" name="NEC uPD7759" clock="640000"/>
		<chip type="audio" tag="samples" name="Samples"/>
		<chip type="audio" tag="msm" name="OKI MSM5205 ADPCM" clock="384000"/>
		<display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="0" hbstart="320" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4">
			<control type="joy" player="1" buttons="2" ways="8"/>
			<control type="joy" player="2" buttons="2" ways="8"/>
			<control type="joy" player="3" buttons="2" ways="8"/>
			<control type="joy" player="4" buttons="2" ways="8"/>
		</input>
		<dipswitch name="Coinage" tag="DSW1" mask="15">
			<diplocation name="SW1" number="1"/>
			<diplocation name="SW1" number="2"/>
			<diplocation name="SW1" number="3"/>
			<diplocation name="SW1" number="4"/>
			<dipvalue name="5 Coins/1 Credit" value="0"/>
			<dipvalue name="4 Coins/1 Credit" value="2"/>
			<dipvalue name="3 Coins/1 Credit" value="5"/>
			<dipvalue name="2 Coins/1 Credit" value="8"/>
			<dipvalue name="3 Coins/2 Credits" value="4"/>
			<dipvalue name="4 Coins/3 Credits" value="1"/>
			<dipvalue name="1 Coin/1 Credit" value="15" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="3"/>
			<dipvalue name="2 Coins/3 Credits" value="7"/>
			<dipvalue name="1 Coin/2 Credits" value="14"/>
			<dipvalue name="2 Coins/5 Credits" value="6"/>
			<dipvalue name="1 Coin/3 Credits" value="13"/>
			<dipvalue name="1 Coin/4 Credits" value="12"/>
			<dipvalue name="1 Coin/5 Credits" value="11"/>
			<dipvalue name="1 Coin/6 Credits" value="10"/>
			<dipvalue name="1 Coin/7 Credits" value="9"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="16">
			<diplocation name="SW1" number="5"/>
			<dipvalue name="Off" value="16" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="32">
			<diplocation name="SW1" number="6"/>
			<dipvalue name="Off" value="32" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="64">
			<diplocation name="SW1" number="7"/>
			<dipvalue name="Off" value="64" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="128">
			<diplocation name="SW1" number="8"/>
			<dipvalue name="Off" value="128" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Lives" tag="DSW2" mask="3">
			<diplocation name="SW2" number="1"/>
			<diplocation name="SW2" number="2"/>
			<dipvalue name="1" value="3"/>
			<dipvalue name="2" value="2" default="yes"/>
			<dipvalue name="3" value="1"/>
			<dipvalue name="5" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="4">
			<diplocation name="SW2" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="8">
			<diplocation name="SW2" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW2" mask="16">
			<diplocation name="SW2" number="5"/>
			<dipvalue name="Off" value="16" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Difficulty" tag="DSW2" mask="96">
			<diplocation name="SW2" number="6"/>
			<diplocation name="SW2" number="7"/>
			<dipvalue name="Easy" value="96"/>
			<dipvalue name="Normal" value="64" default="yes"/>
			<dipvalue name="Difficult" value="32"/>
			<dipvalue name="Very Difficult" value="0"/>
		</dipswitch>
		<dipswitch name="Demo Sounds" tag="DSW2" mask="128">
			<diplocation name="SW2" number="8"/>
			<dipvalue name="Off" value="128"/>
			<dipvalue name="On" value="0" default="yes"/>
		</dipswitch>
		<dipswitch name="Flip Screen" tag="DSW3" mask="1">
			<diplocation name="SW3" number="1"/>
			<dipvalue name="Off" value="1" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="2">
			<diplocation name="SW3" number="2"/>
			<dipvalue name="Off" value="2" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Service Mode" tag="DSW3" mask="4">
			<diplocation name="SW3" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="8">
			<diplocation name="SW3" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<port tag=":COINS">
		</port>
		<port tag=":DSW1">
		</port>
		<port tag=":DSW2">
		</port>
		<port tag=":DSW3">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<port tag=":P3">
		</port>
		<port tag=":P4">
		</port>
		<driver status="imperfect" emulation="good" savestate="supported"/>
		<feature type="sound" status="imperfect"/>
	</machine>
	<machine name="trigon" sourcefile="konami/tmnt2.cpp" cloneof="lgtnfght" romof="lgtnfght">
		<description>Trigon (Japan)</description>
		<year>1990</year>
		<manufacturer>Konami</manufacturer>
		<rom name="939j02.e11" size="131072" crc="38381d1b" sha1="d4ddf883f61e5d48143cf467ba3c9c5b37f7e790" region="maincpu" offset="0"/>
		<rom name="939j03.e15" size="131072" crc="b5beddcd" sha1="dc5d79793d5453f284bf7fd198ba7c4ab1fc09c3" region="maincpu" offset="1"/>
		<rom name="939e01.d7" merge="939e01.d7" size="32768" crc="4a5fc848" sha1="878825e07c2718b7c923ad7c77daddf18cb28beb" region="audiocpu" offset="0"/>
		<rom name="939a07.k14" merge="939a07.k14" size="524288" crc="7955dfcf" sha1="012644c1bfbe2e5d1c7ba25f29ebfde7dbfd1c0d" region="k052109" offset="0"/>
		<rom name="939a08.k19" merge="939a08.k19" size="524288" crc="ed95b385" sha1="5aa5291cf1a8935b0a65ae10aa20b9cf9a138b03" region="k052109" offset="2"/>
		<rom name="939a06.k8" merge="939a06.k8" size="524288" crc="e393c206" sha1="9b35fc6dba1f15c3d9d69ff5a4e1673c539aa533" region="k053245" offset="0"/>
		<rom name="939a05.k2" merge="939a05.k2" size="524288" crc="3662d47a" sha1="789c3f07ce812902050970f48be5115b8e95bea0" region="k053245" offset="2"/>
		<rom name="939a04.c5" merge="939a04.c5" size="524288" crc="c24e2b6e" sha1="affc142883c2383afd08dcf156e48709ceca49fd" region="k053260" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053245" name="k053244"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k053260" name="k053260"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545"/>
		<chip type="audio" tag="k053260" name="Konami 053260 KDSC" clock="3579545"/>
		<display tag="screen" type="raster" rotate="90" width="320" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="0" hbstart="320" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2">
			<control type="joy" player="1" buttons="3" ways="8"/>
			<control type="joy" player="2" buttons="3" ways="8"/>
		</input>
		<dipswitch name="Lives" tag="DSW1" mask="3">
			<diplocation name="SW2" number="1"/>
			<diplocation name="SW2" number="2"/>
			<dipvalue name="2" value="3"/>
			<dipvalue name="3" value="2" default="yes"/>
			<dipvalue name="5" value="1"/>
			<dipvalue name="7" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW1" mask="4">
			<diplocation name="SW2" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Bonus Life" tag="DSW1" mask="24">
			<diplocation name="SW2" number="4"/>
			<diplocation name="SW2" number="5"/>
			<dipvalue name="100K, 400K" value="24"/>
			<dipvalue name="150K, 500K" value="16" default="yes"/>
			<dipvalue name="200K Only" value="8"/>
			<dipvalue name="None" value="0"/>
		</dipswitch>
		<dipswitch name="Difficulty" tag="DSW1" mask="96">
			<diplocation name="SW2" number="6"/>
			<diplocation name="SW2" number="7"/>
			<dipvalue name="Easy" value="96"/>
			<dipvalue name="Normal" value="64" default="yes"/>
			<dipvalue name="Difficult" value="32"/>
			<dipvalue name="Very Difficult" value="0"/>
		</dipswitch>
		<dipswitch name="Demo Sounds" tag="DSW1" mask="128">
			<diplocation name="SW2" number="8"/>
			<dipvalue name="Off" value="128"/>
			<dipvalue name="On" value="0" default="yes"/>
		</dipswitch>
		<dipswitch name="Coin A" tag="DSW2" mask="15">
			<diplocation name="SW1" number="1"/>
			<diplocation name="SW1" number="2"/>
			<diplocation name="SW1" number="3"/>
			<diplocation name="SW1" number="4"/>
			<dipvalue name="4 Coins/1 Credit" value="2"/>
			<dipvalue name="3 Coins/1 Credit" value="5"/>
			<dipvalue name="2 Coins/1 Credit" value="8"/>
			<dipvalue name="3 Coins/2 Credits" value="4"/>
			<dipvalue name="4 Coins/3 Credits" value="1"/>
			<dipvalue name="1 Coin/1 Credit" value="15" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="3"/>
			<dipvalue name="2 Coins/3 Credits" value="7"/>
			<dipvalue name="1 Coin/2 Credits" value="14"/>
			<dipvalue name="2 Coins/5 Credits" value="6"/>
			<dipvalue name="1 Coin/3 Credits" value="13"/>
			<dipvalue name="1 Coin/4 Credits" value="12"/>
			<dipvalue name="1 Coin/5 Credits" value="11"/>
			<dipvalue name="1 Coin/6 Credits" value="10"/>
			<dipvalue name="1 Coin/7 Credits" value="9"/>
			<dipvalue name="Free Play" value="0"/>
		</dipswitch>
		<dipswitch name="Coin B" tag="DSW2" mask="240">
			<diplocation name="SW1" number="5"/>
			<diplocation name="SW1" number="6"/>
			<diplocation name="SW1" number="7"/>
			<diplocation name="SW1" number="8"/>
			<dipvalue name="4 Coins/1 Credit" value="32"/>
			<dipvalue name="3 Coins/1 Credit" value="80"/>
			<dipvalue name="2 Coins/1 Credit" value="128"/>
			<dipvalue name="3 Coins/2 Credits" value="64"/>
			<dipvalue name="4 Coins/3 Credits" value="16"/>
			<dipvalue name="1 Coin/1 Credit" value="240" default="yes"/>
			<dipvalue name="3 Coins/4 Credits" value="48"/>
			<dipvalue name="2 Coins/3 Credits" value="112"/>
			<dipvalue name="1 Coin/2 Credits" value="224"/>
			<dipvalue name="2 Coins/5 Credits" value="96"/>
			<dipvalue name="1 Coin/3 Credits" value="208"/>
			<dipvalue name="1 Coin/4 Credits" value="192"/>
			<dipvalue name="1 Coin/5 Credits" value="176"/>
			<dipvalue name="1 Coin/6 Credits" value="160"/>
			<dipvalue name="1 Coin/7 Credits" value="144"/>
			<dipvalue name="No Coin B" value="0"/>
		</dipswitch>
		<dipswitch name="Flip Screen" tag="DSW3" mask="1">
			<diplocation name="SW3" number="1"/>
			<dipvalue name="Off" value="1" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Sound" tag="DSW3" mask="2">
			<diplocation name="SW3" number="2"/>
			<dipvalue name="Mono" value="2"/>
			<dipvalue name="Stereo" value="0" default="yes"/>
		</dipswitch>
		<dipswitch name="Service Mode" tag="DSW3" mask="4">
			<diplocation name="SW3" number="3"/>
			<dipvalue name="Off" value="4" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<dipswitch name="Unused" tag="DSW3" mask="8">
			<diplocation name="SW3" number="4"/>
			<dipvalue name="Off" value="8" default="yes"/>
			<dipvalue name="On" value="0"/>
		</dipswitch>
		<port tag=":COINS">
		</port>
		<port tag=":DSW1">
		</port>
		<port tag=":DSW2">
		</port>
		<port tag=":DSW3">
		</port>
		<port tag=":P1">
		</port>
		<port tag=":P2">
		</port>
		<driver status="good" emulation="good" savestate="supported"/>
	</machine>
	<machine name="xmen" sourcefile="konami/xmen.cpp">
		<description>X-Men (4 Players ver EBA)</description>
		<year>1992</year>
		<manufacturer>Konami</manufacturer>
		<rom name="065-eba04.10d" size="131072" crc="3588c5ec" sha1="7966e7259038468845dafd19e5f7fc576c2901fa" region="maincpu" offset="0"/>
		<rom name="065-eba05.10f" size="131072" crc="79ce32f8" sha1="1a21b38d4a82103d78e246aca68ed3e4afaf60f3" region="maincpu" offset="1"/>
		<rom name="065-a02.9d" size="262144" crc="b31dc44c" sha1="4bdac05826b4d6d4fe46686ede5190e2f73eefc5" region="maincpu" offset="80000"/>
		<rom name="065-a03.9f" size="262144" crc="13842fe6" sha1="b61f094eb94336edb8708d3437ead9b853b2d6e6" region="maincpu" offset="80001"/>
		<rom name="065-a01.6f" size="131072" crc="147d3a4d" sha1="a14409fe991e803b9e7812303e3a9ebd857d8b01" region="audiocpu" offset="0"/>
		<rom name="065-a08.15l" size="1048576" crc="6b649aca" sha1="2595f314517738e8614facf578cc951a6c36a180" region="k052109" offset="0"/>
		<rom name="065-a07.16l" size="1048576" crc="c5dc8fc4" sha1="9887cb002c8b72be7ce933cb397f00cdc5506c8c" region="k052109" offset="2"/>
		<rom name="065-a09.2h" size="1048576" crc="ea05d52f" sha1="7f2c14f907355856fb94e3a67b73aa1919776835" region="k053246" offset="0"/>
		<rom name="065-a10.2l" size="1048576" crc="96b91802" sha1="641943557b59b91f0edd49ec8a73cef7d9268b32" region="k053246" offset="2"/>
		<rom name="065-a12.1h" size="1048576" crc="321ed07a" sha1="5b00ed676daeea974bdce6701667cfe573099dad" region="k053246" offset="4"/>
		<rom name="065-a11.1l" size="1048576" crc="46da948e" sha1="168ac9178ee5bad5931557fb549e1237971d7839" region="k053246" offset="6"/>
		<rom name="065-a06.1f" size="2097152" crc="5adbcee0" sha1="435feda697193bc51db80eba46be474cbbc1de4b" region="k054539" offset="0"/>
		<rom name="xmen_eba.nv" size="128" crc="37f8e77a" sha1="0b92caba33486c6fd104806aa96f735743bb2221" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":scantimer" name="timer"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053246" name="k053247"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":k054321" name="k054321"/>
		<device_ref tag=":k054321:soundlatch0" name="generic_latch_8"/>
		<device_ref tag=":k054321:soundlatch1" name="generic_latch_8"/>
		<device_ref tag=":k054321:soundlatch2" name="generic_latch_8"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k054539" name="k054539"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="8000000"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="4000000"/>
		<chip type="audio" tag="k054539" name="Konami 054539 ADPCM" clock="18432000"/>
		<display tag="screen" type="raster" rotate="0" width="304" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="8" hbstart="312" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4" service="yes">
			<control type="joy" player="1" buttons="3" ways="8"/>
			<control type="joy" player="2" buttons="3" ways="8"/>
			<control type="joy" player="3" buttons="3" ways="8"/>
			<control type="joy" player="4" buttons="3" ways="8"/>
		</input>
		<port tag=":EEPROM">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1_P3">
		</port>
		<port tag=":P2_P4">
		</port>
		<driver status="imperfect" emulation="good" savestate="supported"/>
		<feature type="sound" overall="imperfect"/>
	</machine>
	<machine name="xmen2pa" sourcefile="konami/xmen.cpp" cloneof="xmen" romof="xmen">
		<description>X-Men (2 Players ver AAA)</description>
		<year>1992</year>
		<manufacturer>Konami</manufacturer>
		<rom name="065-aaa04.10d" size="131072" crc="7f8b27c2" sha1="052db1f47671564a440544a41fc397a19d1aff3a" region="maincpu" offset="0"/>
		<rom name="065-aaa05.10f" size="131072" crc="841ed636" sha1="33f96022ce3dae9b49eb51fd4e8f7387a1777002" region="maincpu" offset="1"/>
		<rom name="065-a02.9d" merge="065-a02.9d" size="262144" crc="b31dc44c" sha1="4bdac05826b4d6d4fe46686ede5190e2f73eefc5" region="maincpu" offset="80000"/>
		<rom name="065-a03.9f" merge="065-a03.9f" size="262144" crc="13842fe6" sha1="b61f094eb94336edb8708d3437ead9b853b2d6e6" region="maincpu" offset="80001"/>
		<rom name="065-a01.6f" merge="065-a01.6f" size="131072" crc="147d3a4d" sha1="a14409fe991e803b9e7812303e3a9ebd857d8b01" region="audiocpu" offset="0"/>
		<rom name="065-a08.15l" merge="065-a08.15l" size="1048576" crc="6b649aca" sha1="2595f314517738e8614facf578cc951a6c36a180" region="k052109" offset="0"/>
		<rom name="065-a07.16l" merge="065-a07.16l" size="1048576" crc="c5dc8fc4" sha1="9887cb002c8b72be7ce933cb397f00cdc5506c8c" region="k052109" offset="2"/>
		<rom name="065-a09.2h" merge="065-a09.2h" size="1048576" crc="ea05d52f" sha1="7f2c14f907355856fb94e3a67b73aa1919776835" region="k053246" offset="0"/>
		<rom name="065-a10.2l" merge="065-a10.2l" size="1048576" crc="96b91802" sha1="641943557b59b91f0edd49ec8a73cef7d9268b32" region="k053246" offset="2"/>
		<rom name="065-a12.1h" merge="065-a12.1h" size="1048576" crc="321ed07a" sha1="5b00ed676daeea974bdce6701667cfe573099dad" region="k053246" offset="4"/>
		<rom name="065-a11.1l" merge="065-a11.1l" size="1048576" crc="46da948e" sha1="168ac9178ee5bad5931557fb549e1237971d7839" region="k053246" offset="6"/>
		<rom name="065-a06.1f" merge="065-a06.1f" size="2097152" crc="5adbcee0" sha1="435feda697193bc51db80eba46be474cbbc1de4b" region="k054539" offset="0"/>
		<rom name="xmen_aaa.nv" size="128" crc="750fd447" sha1="27884c1ceb0b5174f7d06e1e06bbbd6d6c5b47e7" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":scantimer" name="timer"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053246" name="k053247"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":k054321" name="k054321"/>
		<device_ref tag=":k054321:soundlatch0" name="generic_latch_8"/>
		<device_ref tag=":k054321:soundlatch1" name="generic_latch_8"/>
		<device_ref tag=":k054321:soundlatch2" name="generic_latch_8"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k054539" name="k054539"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="8000000"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="4000000"/>
		<chip type="audio" tag="k054539" name="Konami 054539 ADPCM" clock="18432000"/>
		<display tag="screen" type="raster" rotate="0" width="304" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="8" hbstart="312" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2" service="yes">
			<control type="joy" player="1" buttons="3" ways="8"/>
			<control type="joy" player="2" buttons="3" ways="8"/>
		</input>
		<port tag=":EEPROM">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1_P3">
		</port>
		<port tag=":P2_P4">
		</port>
		<driver status="imperfect" emulation="good" savestate="supported"/>
		<feature type="sound" overall="imperfect"/>
	</machine>
	<machine name="xmen2pe" sourcefile="konami/xmen.cpp" cloneof="xmen" romof="xmen">
		<description>X-Men (2 Players ver EAA)</description>
		<year>1992</year>
		<manufacturer>Konami</manufacturer>
		<rom name="065-eaa04.10d" size="131072" crc="502861e7" sha1="f96aab2d2006703065de5bd7e341f929d04f5f60" region="maincpu" offset="0"/>
		<rom name="065-eaa05.10f" size="131072" crc="ca6071bf" sha1="454ddc3b598389e960e87e577a01a7de71d1f591" region="maincpu" offset="1"/>
		<rom name="065-a02.9d" merge="065-a02.9d" size="262144" crc="b31dc44c" sha1="4bdac05826b4d6d4fe46686ede5190e2f73eefc5" region="maincpu" offset="80000"/>
		<rom name="065-a03.9f" merge="065-a03.9f" size="262144" crc="13842fe6" sha1="b61f094eb94336edb8708d3437ead9b853b2d6e6" region="maincpu" offset="80001"/>
		<rom name="065-a01.6f" merge="065-a01.6f" size="131072" crc="147d3a4d" sha1="a14409fe991e803b9e7812303e3a9ebd857d8b01" region="audiocpu" offset="0"/>
		<rom name="065-a08.15l" merge="065-a08.15l" size="1048576" crc="6b649aca" sha1="2595f314517738e8614facf578cc951a6c36a180" region="k052109" offset="0"/>
		<rom name="065-a07.16l" merge="065-a07.16l" size="1048576" crc="c5dc8fc4" sha1="9887cb002c8b72be7ce933cb397f00cdc5506c8c" region="k052109" offset="2"/>
		<rom name="065-a09.2h" merge="065-a09.2h" size="1048576" crc="ea05d52f" sha1="7f2c14f907355856fb94e3a67b73aa1919776835" region="k053246" offset="0"/>
		<rom name="065-a10.2l" merge="065-a10.2l" size="1048576" crc="96b91802" sha1="641943557b59b91f0edd49ec8a73cef7d9268b32" region="k053246" offset="2"/>
		<rom name="065-a12.1h" merge="065-a12.1h" size="1048576" crc="321ed07a" sha1="5b00ed676daeea974bdce6701667cfe573099dad" region="k053246" offset="4"/>
		<rom name="065-a11.1l" merge="065-a11.1l" size="1048576" crc="46da948e" sha1="168ac9178ee5bad5931557fb549e1237971d7839" region="k053246" offset="6"/>
		<rom name="065-a06.1f" merge="065-a06.1f" size="2097152" crc="5adbcee0" sha1="435feda697193bc51db80eba46be474cbbc1de4b" region="k054539" offset="0"/>
		<rom name="xmen_eaa.nv" size="128" crc="1cbcb653" sha1="a86b4ad34ccbd868662ff8c61eb21ec07e8bf8b1" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":scantimer" name="timer"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053246" name="k053247"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":k054321" name="k054321"/>
		<device_ref tag=":k054321:soundlatch0" name="generic_latch_8"/>
		<device_ref tag=":k054321:soundlatch1" name="generic_latch_8"/>
		<device_ref tag=":k054321:soundlatch2" name="generic_latch_8"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k054539" name="k054539"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="8000000"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="4000000"/>
		<chip type="audio" tag="k054539" name="Konami 054539 ADPCM" clock="18432000"/>
		<display tag="screen" type="raster" rotate="0" width="304" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="8" hbstart="312" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2" service="yes">
			<control type="joy" player="1" buttons="3" ways="8"/>
			<control type="joy" player="2" buttons="3" ways="8"/>
		</input>
		<port tag=":EEPROM">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1_P3">
		</port>
		<port tag=":P2_P4">
		</port>
		<driver status="imperfect" emulation="good" savestate="supported"/>
		<feature type="sound" overall="imperfect"/>
	</machine>
	<machine name="xmen2pj" sourcefile="konami/xmen.cpp" cloneof="xmen" romof="xmen">
		<description>X-Men (2 Players ver JAA)</description>
		<year>1992</year>
		<manufacturer>Konami</manufacturer>
		<rom name="065-jaa04.10d" size="131072" crc="66746339" sha1="8cc5f5deb4178b0444ffc5974940a30cb003114e" region="maincpu" offset="0"/>
		<rom name="065-jaa05.10f" size="131072" crc="1215b706" sha1="b746dedab9c509b5cd941f0f4ddd3709e8a58cce" region="maincpu" offset="1"/>
		<rom name="065-a02.9d" merge="065-a02.9d" size="262144" crc="b31dc44c" sha1="4bdac05826b4d6d4fe46686ede5190e2f73eefc5" region="maincpu" offset="80000"/>
		<rom name="065-a03.9f" merge="065-a03.9f" size="262144" crc="13842fe6" sha1="b61f094eb94336edb8708d3437ead9b853b2d6e6" region="maincpu" offset="80001"/>
		<rom name="065-a01.6f" merge="065-a01.6f" size="131072" crc="147d3a4d" sha1="a14409fe991e803b9e7812303e3a9ebd857d8b01" region="audiocpu" offset="0"/>
		<rom name="065-a08.15l" merge="065-a08.15l" size="1048576" crc="6b649aca" sha1="2595f314517738e8614facf578cc951a6c36a180" region="k052109" offset="0"/>
		<rom name="065-a07.16l" merge="065-a07.16l" size="1048576" crc="c5dc8fc4" sha1="9887cb002c8b72be7ce933cb397f00cdc5506c8c" region="k052109" offset="2"/>
		<rom name="065-a09.2h" merge="065-a09.2h" size="1048576" crc="ea05d52f" sha1="7f2c14f907355856fb94e3a67b73aa1919776835" region="k053246" offset="0"/>
		<rom name="065-a10.2l" merge="065-a10.2l" size="1048576" crc="96b91802" sha1="641943557b59b91f0edd49ec8a73cef7d9268b32" region="k053246" offset="2"/>
		<rom name="065-a12.1h" merge="065-a12.1h" size="1048576" crc="321ed07a" sha1="5b00ed676daeea974bdce6701667cfe573099dad" region="k053246" offset="4"/>
		<rom name="065-a11.1l" merge="065-a11.1l" size="1048576" crc="46da948e" sha1="168ac9178ee5bad5931557fb549e1237971d7839" region="k053246" offset="6"/>
		<rom name="065-a06.1f" merge="065-a06.1f" size="2097152" crc="5adbcee0" sha1="435feda697193bc51db80eba46be474cbbc1de4b" region="k054539" offset="0"/>
		<rom name="xmen_jaa.nv" size="128" crc="849a9e19" sha1="bd335a2d33bf4433de4fd57b8108b216eb3a2cf1" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":scantimer" name="timer"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053246" name="k053247"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":k054321" name="k054321"/>
		<device_ref tag=":k054321:soundlatch0" name="generic_latch_8"/>
		<device_ref tag=":k054321:soundlatch1" name="generic_latch_8"/>
		<device_ref tag=":k054321:soundlatch2" name="generic_latch_8"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k054539" name="k054539"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="8000000"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="4000000"/>
		<chip type="audio" tag="k054539" name="Konami 054539 ADPCM" clock="18432000"/>
		<display tag="screen" type="raster" rotate="0" width="304" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="8" hbstart="312" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2" service="yes">
			<control type="joy" player="1" buttons="3" ways="8"/>
			<control type="joy" player="2" buttons="3" ways="8"/>
		</input>
		<port tag=":EEPROM">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1_P3">
		</port>
		<port tag=":P2_P4">
		</port>
		<driver status="imperfect" emulation="good" savestate="supported"/>
		<feature type="sound" overall="imperfect"/>
	</machine>
	<machine name="xmen2pu" sourcefile="konami/xmen.cpp" cloneof="xmen" romof="xmen">
		<description>X-Men (2 Players ver UAB)</description>
		<year>1992</year>
		<manufacturer>Konami</manufacturer>
		<rom name="065-uab04.10d" size="131072" crc="ff003db1" sha1="b8aeb98dc0a38f0bda152d893fb60679bbdbadb3" region="maincpu" offset="0"/>
		<rom name="065-uab05.10f" size="131072" crc="4e99a943" sha1="66b47de497a116b2002cc5496c1a3f4173a55bc5" region="maincpu" offset="1"/>
		<rom name="065-a02.9d" merge="065-a02.9d" size="262144" crc="b31dc44c" sha1="4bdac05826b4d6d4fe46686ede5190e2f73eefc5" region="maincpu" offset="80000"/>
		<rom name="065-a03.9f" merge="065-a03.9f" size="262144" crc="13842fe6" sha1="b61f094eb94336edb8708d3437ead9b853b2d6e6" region="maincpu" offset="80001"/>
		<rom name="065-a01.6f" merge="065-a01.6f" size="131072" crc="147d3a4d" sha1="a14409fe991e803b9e7812303e3a9ebd857d8b01" region="audiocpu" offset="0"/>
		<rom name="065-a08.15l" merge="065-a08.15l" size="1048576" crc="6b649aca" sha1="2595f314517738e8614facf578cc951a6c36a180" region="k052109" offset="0"/>
		<rom name="065-a07.16l" merge="065-a07.16l" size="1048576" crc="c5dc8fc4" sha1="9887cb002c8b72be7ce933cb397f00cdc5506c8c" region="k052109" offset="2"/>
		<rom name="065-a09.2h" merge="065-a09.2h" size="1048576" crc="ea05d52f" sha1="7f2c14f907355856fb94e3a67b73aa1919776835" region="k053246" offset="0"/>
		<rom name="065-a10.2l" merge="065-a10.2l" size="1048576" crc="96b91802" sha1="641943557b59b91f0edd49ec8a73cef7d9268b32" region="k053246" offset="2"/>
		<rom name="065-a12.1h" merge="065-a12.1h" size="1048576" crc="321ed07a" sha1="5b00ed676daeea974bdce6701667cfe573099dad" region="k053246" offset="4"/>
		<rom name="065-a11.1l" merge="065-a11.1l" size="1048576" crc="46da948e" sha1="168ac9178ee5bad5931557fb549e1237971d7839" region="k053246" offset="6"/>
		<rom name="065-a06.1f" merge="065-a06.1f" size="2097152" crc="5adbcee0" sha1="435feda697193bc51db80eba46be474cbbc1de4b" region="k054539" offset="0"/>
		<rom name="xmen_uab.nv" size="128" crc="79b76593" sha1="f9921a2963f249fa341bfb57cc9e213e2efed9b9" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":scantimer" name="timer"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053246" name="k053247"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":k054321" name="k054321"/>
		<device_ref tag=":k054321:soundlatch0" name="generic_latch_8"/>
		<device_ref tag=":k054321:soundlatch1" name="generic_latch_8"/>
		<device_ref tag=":k054321:soundlatch2" name="generic_latch_8"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k054539" name="k054539"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="8000000"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="4000000"/>
		<chip type="audio" tag="k054539" name="Konami 054539 ADPCM" clock="18432000"/>
		<display tag="screen" type="raster" rotate="0" width="304" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="8" hbstart="312" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="2" coins="2" service="yes">
			<control type="joy" player="1" buttons="3" ways="8"/>
			<control type="joy" player="2" buttons="3" ways="8"/>
		</input>
		<port tag=":EEPROM">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1_P3">
		</port>
		<port tag=":P2_P4">
		</port>
		<driver status="imperfect" emulation="good" savestate="supported"/>
		<feature type="sound" overall="imperfect"/>
	</machine>
	<machine name="xmen6p" sourcefile="konami/xmen.cpp" cloneof="xmen" romof="xmen">
		<description>X-Men (6 Players ver ECB)</description>
		<year>1992</year>
		<manufacturer>Konami</manufacturer>
		<rom name="065-ecb04.18g" size="131072" crc="258eb21f" sha1="f1a22a880245f28195e5b6519822c0aa3b166541" region="maincpu" offset="0"/>
		<rom name="065-ecb05.18j" size="131072" crc="25997bcd" sha1="86fb1c64e133b7ca59ffb3910b62b61ee372c71a" region="maincpu" offset="1"/>
		<rom name="065-a02.17g" merge="065-a02.9d" size="262144" crc="b31dc44c" sha1="4bdac05826b4d6d4fe46686ede5190e2f73eefc5" region="maincpu" offset="80000"/>
		<rom name="065-a03.17j" merge="065-a03.9f" size="262144" crc="13842fe6" sha1="b61f094eb94336edb8708d3437ead9b853b2d6e6" region="maincpu" offset="80001"/>
		<rom name="065-a01.7b" merge="065-a01.6f" size="131072" crc="147d3a4d" sha1="a14409fe991e803b9e7812303e3a9ebd857d8b01" region="audiocpu" offset="0"/>
		<rom name="065-a08.1l" merge="065-a08.15l" size="1048576" crc="6b649aca" sha1="2595f314517738e8614facf578cc951a6c36a180" region="k052109" offset="0"/>
		<rom name="065-a07.1h" merge="065-a07.16l" size="1048576" crc="c5dc8fc4" sha1="9887cb002c8b72be7ce933cb397f00cdc5506c8c" region="k052109" offset="2"/>
		<rom name="065-a09.12l" merge="065-a09.2h" size="1048576" crc="ea05d52f" sha1="7f2c14f907355856fb94e3a67b73aa1919776835" region="k053246" offset="0"/>
		<rom name="065-a10.17l" merge="065-a10.2l" size="1048576" crc="96b91802" sha1="641943557b59b91f0edd49ec8a73cef7d9268b32" region="k053246" offset="2"/>
		<rom name="065-a12.22h" merge="065-a12.1h" size="1048576" crc="321ed07a" sha1="5b00ed676daeea974bdce6701667cfe573099dad" region="k053246" offset="4"/>
		<rom name="065-a11.22l" merge="065-a11.1l" size="1048576" crc="46da948e" sha1="168ac9178ee5bad5931557fb549e1237971d7839" region="k053246" offset="6"/>
		<rom name="065-a06.1d" merge="065-a06.1f" size="2097152" crc="5adbcee0" sha1="435feda697193bc51db80eba46be474cbbc1de4b" region="k054539" offset="0"/>
		<rom name="xmen_ecb.nv" size="128" crc="462c6e1a" sha1="a57087163d7a760d5922c70842cfae20e6a2f5b5" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":scantimer" name="timer"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053246" name="k053247"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":k054321" name="k054321"/>
		<device_ref tag=":k054321:soundlatch0" name="generic_latch_8"/>
		<device_ref tag=":k054321:soundlatch1" name="generic_latch_8"/>
		<device_ref tag=":k054321:soundlatch2" name="generic_latch_8"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k054539" name="k054539"/>
		<device_ref tag=":screen2" name="screen"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="8000000"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="4000000"/>
		<chip type="audio" tag="k054539" name="Konami 054539 ADPCM" clock="18432000"/>
		<display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="16" vbstart="240" />
		<display tag="screen2" type="raster" rotate="0" width="288" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="32" hbstart="320" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="6" coins="6" service="yes">
			<control type="joy" player="1" buttons="3" ways="8"/>
			<control type="joy" player="2" buttons="3" ways="8"/>
			<control type="joy" player="3" buttons="3" ways="8"/>
			<control type="joy" player="4" buttons="3" ways="8"/>
			<control type="joy" player="5" buttons="3" ways="8"/>
			<control type="joy" player="6" buttons="3" ways="8"/>
		</input>
		<port tag=":EEPROM">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1_P3">
		</port>
		<port tag=":P2_P4">
		</port>
		<port tag=":P5_P6">
		</port>
		<driver status="imperfect" emulation="good" savestate="supported"/>
		<feature type="graphics" status="imperfect"/>
		<feature type="sound" overall="imperfect"/>
	</machine>
	<machine name="xmen6pu" sourcefile="konami/xmen.cpp" cloneof="xmen" romof="xmen">
		<description>X-Men (6 Players ver UCB)</description>
		<year>1992</year>
		<manufacturer>Konami</manufacturer>
		<rom name="065-ucb04.18g" size="131072" crc="0f09b8e0" sha1="79f4d86d8ec45b39e34ddf45860bea0c74dae183" region="maincpu" offset="0"/>
		<rom name="065-ucb05.18j" size="131072" crc="867becbf" sha1="3f81f4dbd289f98b78d7821a8925598c771f01ef" region="maincpu" offset="1"/>
		<rom name="065-a02.17g" merge="065-a02.9d" size="262144" crc="b31dc44c" sha1="4bdac05826b4d6d4fe46686ede5190e2f73eefc5" region="maincpu" offset="80000"/>
		<rom name="065-a03.17j" merge="065-a03.9f" size="262144" crc="13842fe6" sha1="b61f094eb94336edb8708d3437ead9b853b2d6e6" region="maincpu" offset="80001"/>
		<rom name="065-a01.7b" merge="065-a01.6f" size="131072" crc="147d3a4d" sha1="a14409fe991e803b9e7812303e3a9ebd857d8b01" region="audiocpu" offset="0"/>
		<rom name="065-a08.1l" merge="065-a08.15l" size="1048576" crc="6b649aca" sha1="2595f314517738e8614facf578cc951a6c36a180" region="k052109" offset="0"/>
		<rom name="065-a07.1h" merge="065-a07.16l" size="1048576" crc="c5dc8fc4" sha1="9887cb002c8b72be7ce933cb397f00cdc5506c8c" region="k052109" offset="2"/>
		<rom name="065-a09.12l" merge="065-a09.2h" size="1048576" crc="ea05d52f" sha1="7f2c14f907355856fb94e3a67b73aa1919776835" region="k053246" offset="0"/>
		<rom name="065-a10.17l" merge="065-a10.2l" size="1048576" crc="96b91802" sha1="641943557b59b91f0edd49ec8a73cef7d9268b32" region="k053246" offset="2"/>
		<rom name="065-a12.22h" merge="065-a12.1h" size="1048576" crc="321ed07a" sha1="5b00ed676daeea974bdce6701667cfe573099dad" region="k053246" offset="4"/>
		<rom name="065-a11.22l" merge="065-a11.1l" size="1048576" crc="46da948e" sha1="168ac9178ee5bad5931557fb549e1237971d7839" region="k053246" offset="6"/>
		<rom name="065-a06.1d" merge="065-a06.1f" size="2097152" crc="5adbcee0" sha1="435feda697193bc51db80eba46be474cbbc1de4b" region="k054539" offset="0"/>
		<rom name="xmen_ucb.nv" size="128" crc="f3d0f682" sha1="b0d4655c651238ae028ffb59a704acba798f93f8" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":scantimer" name="timer"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053246" name="k053247"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":k054321" name="k054321"/>
		<device_ref tag=":k054321:soundlatch0" name="generic_latch_8"/>
		<device_ref tag=":k054321:soundlatch1" name="generic_latch_8"/>
		<device_ref tag=":k054321:soundlatch2" name="generic_latch_8"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k054539" name="k054539"/>
		<device_ref tag=":screen2" name="screen"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="8000000"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="4000000"/>
		<chip type="audio" tag="k054539" name="Konami 054539 ADPCM" clock="18432000"/>
		<display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="16" vbstart="240" />
		<display tag="screen2" type="raster" rotate="0" width="288" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="32" hbstart="320" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="6" coins="6" service="yes">
			<control type="joy" player="1" buttons="3" ways="8"/>
			<control type="joy" player="2" buttons="3" ways="8"/>
			<control type="joy" player="3" buttons="3" ways="8"/>
			<control type="joy" player="4" buttons="3" ways="8"/>
			<control type="joy" player="5" buttons="3" ways="8"/>
			<control type="joy" player="6" buttons="3" ways="8"/>
		</input>
		<port tag=":EEPROM">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1_P3">
		</port>
		<port tag=":P2_P4">
		</port>
		<port tag=":P5_P6">
		</port>
		<driver status="imperfect" emulation="good" savestate="supported"/>
		<feature type="graphics" status="imperfect"/>
		<feature type="sound" overall="imperfect"/>
	</machine>
	<machine name="xmena" sourcefile="konami/xmen.cpp" cloneof="xmen" romof="xmen">
		<description>X-Men (4 Players ver AEA)</description>
		<year>1992</year>
		<manufacturer>Konami</manufacturer>
		<rom name="065-aea04.10d" size="131072" crc="0e8d2e98" sha1="f58613bd8719566ae04d4b5f03864524a7c86a65" region="maincpu" offset="0"/>
		<rom name="065-aea05.10f" size="131072" crc="0b742a4e" sha1="ed9c986261e72af7a80b44f9c2c576c265807e90" region="maincpu" offset="1"/>
		<rom name="065-a02.9d" merge="065-a02.9d" size="262144" crc="b31dc44c" sha1="4bdac05826b4d6d4fe46686ede5190e2f73eefc5" region="maincpu" offset="80000"/>
		<rom name="065-a03.9f" merge="065-a03.9f" size="262144" crc="13842fe6" sha1="b61f094eb94336edb8708d3437ead9b853b2d6e6" region="maincpu" offset="80001"/>
		<rom name="065-a01.6f" merge="065-a01.6f" size="131072" crc="147d3a4d" sha1="a14409fe991e803b9e7812303e3a9ebd857d8b01" region="audiocpu" offset="0"/>
		<rom name="065-a08.15l" merge="065-a08.15l" size="1048576" crc="6b649aca" sha1="2595f314517738e8614facf578cc951a6c36a180" region="k052109" offset="0"/>
		<rom name="065-a07.16l" merge="065-a07.16l" size="1048576" crc="c5dc8fc4" sha1="9887cb002c8b72be7ce933cb397f00cdc5506c8c" region="k052109" offset="2"/>
		<rom name="065-a09.2h" merge="065-a09.2h" size="1048576" crc="ea05d52f" sha1="7f2c14f907355856fb94e3a67b73aa1919776835" region="k053246" offset="0"/>
		<rom name="065-a10.2l" merge="065-a10.2l" size="1048576" crc="96b91802" sha1="641943557b59b91f0edd49ec8a73cef7d9268b32" region="k053246" offset="2"/>
		<rom name="065-a12.1h" merge="065-a12.1h" size="1048576" crc="321ed07a" sha1="5b00ed676daeea974bdce6701667cfe573099dad" region="k053246" offset="4"/>
		<rom name="065-a11.1l" merge="065-a11.1l" size="1048576" crc="46da948e" sha1="168ac9178ee5bad5931557fb549e1237971d7839" region="k053246" offset="6"/>
		<rom name="065-a06.1f" merge="065-a06.1f" size="2097152" crc="5adbcee0" sha1="435feda697193bc51db80eba46be474cbbc1de4b" region="k054539" offset="0"/>
		<rom name="xmen_aea.nv" size="128" crc="d73d4f20" sha1="b39906eb59ecf8f1e8141b467021e0a581186d47" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":scantimer" name="timer"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053246" name="k053247"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":k054321" name="k054321"/>
		<device_ref tag=":k054321:soundlatch0" name="generic_latch_8"/>
		<device_ref tag=":k054321:soundlatch1" name="generic_latch_8"/>
		<device_ref tag=":k054321:soundlatch2" name="generic_latch_8"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k054539" name="k054539"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="8000000"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="4000000"/>
		<chip type="audio" tag="k054539" name="Konami 054539 ADPCM" clock="18432000"/>
		<display tag="screen" type="raster" rotate="0" width="304" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="8" hbstart="312" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4" service="yes">
			<control type="joy" player="1" buttons="3" ways="8"/>
			<control type="joy" player="2" buttons="3" ways="8"/>
			<control type="joy" player="3" buttons="3" ways="8"/>
			<control type="joy" player="4" buttons="3" ways="8"/>
		</input>
		<port tag=":EEPROM">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1_P3">
		</port>
		<port tag=":P2_P4">
		</port>
		<driver status="imperfect" emulation="good" savestate="supported"/>
		<feature type="sound" overall="imperfect"/>
	</machine>
	<machine name="xmenaa" sourcefile="konami/xmen.cpp" cloneof="xmen" romof="xmen">
		<description>X-Men (4 Players ver ADA)</description>
		<year>1992</year>
		<manufacturer>Konami</manufacturer>
		<rom name="065-ada04.10d" size="131072" crc="b8276624" sha1="5b601393faa4bf578d84b590eb2360ad400368a5" region="maincpu" offset="0"/>
		<rom name="065-ada05.10f" size="131072" crc="c68582ad" sha1="d2ca23cc0ad08e7f3d5c533f6fe43d4c215c114e" region="maincpu" offset="1"/>
		<rom name="065-a02.9d" merge="065-a02.9d" size="262144" crc="b31dc44c" sha1="4bdac05826b4d6d4fe46686ede5190e2f73eefc5" region="maincpu" offset="80000"/>
		<rom name="065-a03.9f" merge="065-a03.9f" size="262144" crc="13842fe6" sha1="b61f094eb94336edb8708d3437ead9b853b2d6e6" region="maincpu" offset="80001"/>
		<rom name="065-a01.6f" merge="065-a01.6f" size="131072" crc="147d3a4d" sha1="a14409fe991e803b9e7812303e3a9ebd857d8b01" region="audiocpu" offset="0"/>
		<rom name="065-a08.15l" merge="065-a08.15l" size="1048576" crc="6b649aca" sha1="2595f314517738e8614facf578cc951a6c36a180" region="k052109" offset="0"/>
		<rom name="065-a07.16l" merge="065-a07.16l" size="1048576" crc="c5dc8fc4" sha1="9887cb002c8b72be7ce933cb397f00cdc5506c8c" region="k052109" offset="2"/>
		<rom name="065-a09.2h" merge="065-a09.2h" size="1048576" crc="ea05d52f" sha1="7f2c14f907355856fb94e3a67b73aa1919776835" region="k053246" offset="0"/>
		<rom name="065-a10.2l" merge="065-a10.2l" size="1048576" crc="96b91802" sha1="641943557b59b91f0edd49ec8a73cef7d9268b32" region="k053246" offset="2"/>
		<rom name="065-a12.1h" merge="065-a12.1h" size="1048576" crc="321ed07a" sha1="5b00ed676daeea974bdce6701667cfe573099dad" region="k053246" offset="4"/>
		<rom name="065-a11.1l" merge="065-a11.1l" size="1048576" crc="46da948e" sha1="168ac9178ee5bad5931557fb549e1237971d7839" region="k053246" offset="6"/>
		<rom name="065-a06.1f" merge="065-a06.1f" size="2097152" crc="5adbcee0" sha1="435feda697193bc51db80eba46be474cbbc1de4b" region="k054539" offset="0"/>
		<rom name="xmen_ada.nv" size="128" crc="a77a3891" sha1="84ec257790d5c1859ffcbc9371a72ea99d7f8928" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":scantimer" name="timer"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053246" name="k053247"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":k054321" name="k054321"/>
		<device_ref tag=":k054321:soundlatch0" name="generic_latch_8"/>
		<device_ref tag=":k054321:soundlatch1" name="generic_latch_8"/>
		<device_ref tag=":k054321:soundlatch2" name="generic_latch_8"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k054539" name="k054539"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="8000000"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="4000000"/>
		<chip type="audio" tag="k054539" name="Konami 054539 ADPCM" clock="18432000"/>
		<display tag="screen" type="raster" rotate="0" width="304" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="8" hbstart="312" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4" service="yes">
			<control type="joy" player="1" buttons="3" ways="8"/>
			<control type="joy" player="2" buttons="3" ways="8"/>
			<control type="joy" player="3" buttons="3" ways="8"/>
			<control type="joy" player="4" buttons="3" ways="8"/>
		</input>
		<port tag=":EEPROM">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1_P3">
		</port>
		<port tag=":P2_P4">
		</port>
		<driver status="imperfect" emulation="good" savestate="supported"/>
		<feature type="sound" overall="imperfect"/>
	</machine>
	<machine name="xmenabl" sourcefile="konami/xmen.cpp" cloneof="xmen" romof="xmen">
		<description>X-Men (4 Players ver AEA, bootleg)</description>
		<year>1992</year>
		<manufacturer>bootleg</manufacturer>
		<rom name="rom1" size="524288" crc="c895fdc1" sha1="e7e6908374310ef0e71d9541402a18818ea10134" region="maincpu" offset="0"/>
		<rom name="rom2" size="524288" crc="50d56da7" sha1="7ae0748f65d9de62be8c0cd1b41dceb1ea91ba3e" region="maincpu" offset="1"/>
		<rom name="gfx15l" merge="065-a08.15l" size="1048576" crc="6b649aca" sha1="2595f314517738e8614facf578cc951a6c36a180" region="k052109" offset="0"/>
		<rom name="gfx16l" merge="065-a07.16l" size="1048576" crc="c5dc8fc4" sha1="9887cb002c8b72be7ce933cb397f00cdc5506c8c" region="k052109" offset="2"/>
		<rom name="gfx2h" merge="065-a09.2h" size="1048576" crc="ea05d52f" sha1="7f2c14f907355856fb94e3a67b73aa1919776835" region="k053246" offset="0"/>
		<rom name="gfx2l" merge="065-a10.2l" size="1048576" crc="96b91802" sha1="641943557b59b91f0edd49ec8a73cef7d9268b32" region="k053246" offset="2"/>
		<rom name="gfx1h" merge="065-a12.1h" size="1048576" crc="321ed07a" sha1="5b00ed676daeea974bdce6701667cfe573099dad" region="k053246" offset="4"/>
		<rom name="gfx1l" merge="065-a11.1l" size="1048576" crc="46da948e" sha1="168ac9178ee5bad5931557fb549e1237971d7839" region="k053246" offset="6"/>
		<rom name="oki1" size="524288" crc="2967436b" sha1="44d4bf4c38e340169577098d958a09877067e119" region="oki" offset="0"/>
		<rom name="oki2" size="524288" crc="74a12d1e" sha1="b5e23e8efea2cf19385c081cfe8088bead132c21" region="oki" offset="80000"/>
		<rom name="xmen_aea.nv" size="128" crc="d73d4f20" sha1="b39906eb59ecf8f1e8141b467021e0a581186d47" region="eeprom" offset="0"/>
		<rom name="gal16v8b" size="279" crc="af9802f9" sha1="173466314d8672232fa6ed7ad7ec0a3b6aeae85a" region="plds" offset="0"/>
		<rom name="gal16v8d" size="279" crc="5f0f86a3" sha1="bcc78bf37ed8f11f76759a50e7639bb9b063bc29" region="plds" offset="200"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":scantimer" name="timer"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053246" name="k053247"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":mono" name="speaker"/>
		<device_ref tag=":oki" name="okim6295"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="audio" tag="mono" name="Speaker"/>
		<chip type="audio" tag="oki" name="OKI MSM6295 ADPCM" clock="1000000"/>
		<display tag="screen" type="raster" rotate="0" width="304" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="8" hbstart="312" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4" service="yes">
			<control type="joy" player="1" buttons="3" ways="8"/>
			<control type="joy" player="2" buttons="3" ways="8"/>
			<control type="joy" player="3" buttons="3" ways="8"/>
			<control type="joy" player="4" buttons="3" ways="8"/>
		</input>
		<port tag=":EEPROM">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1_P3">
		</port>
		<port tag=":P2_P4">
		</port>
		<driver status="preliminary" emulation="preliminary" savestate="supported"/>
		<feature type="graphics" status="imperfect"/>
		<feature type="sound" status="imperfect"/>
	</machine>
	<machine name="xmenj" sourcefile="konami/xmen.cpp" cloneof="xmen" romof="xmen">
		<description>X-Men (4 Players ver JBA)</description>
		<year>1992</year>
		<manufacturer>Konami</manufacturer>
		<rom name="065-jba04.10d" size="131072" crc="d86cf5eb" sha1="8bf67eb6cdb7187142557c27b058282886984a61" region="maincpu" offset="0"/>
		<rom name="065-jba05.10f" size="131072" crc="abbc8126" sha1="482a3c9be45b9d77460bd3df94e3c6cf285e63a2" region="maincpu" offset="1"/>
		<rom name="065-a02.9d" merge="065-a02.9d" size="262144" crc="b31dc44c" sha1="4bdac05826b4d6d4fe46686ede5190e2f73eefc5" region="maincpu" offset="80000"/>
		<rom name="065-a03.9f" merge="065-a03.9f" size="262144" crc="13842fe6" sha1="b61f094eb94336edb8708d3437ead9b853b2d6e6" region="maincpu" offset="80001"/>
		<rom name="065-a01.6f" merge="065-a01.6f" size="131072" crc="147d3a4d" sha1="a14409fe991e803b9e7812303e3a9ebd857d8b01" region="audiocpu" offset="0"/>
		<rom name="065-a08.15l" merge="065-a08.15l" size="1048576" crc="6b649aca" sha1="2595f314517738e8614facf578cc951a6c36a180" region="k052109" offset="0"/>
		<rom name="065-a07.16l" merge="065-a07.16l" size="1048576" crc="c5dc8fc4" sha1="9887cb002c8b72be7ce933cb397f00cdc5506c8c" region="k052109" offset="2"/>
		<rom name="065-a09.2h" merge="065-a09.2h" size="1048576" crc="ea05d52f" sha1="7f2c14f907355856fb94e3a67b73aa1919776835" region="k053246" offset="0"/>
		<rom name="065-a10.2l" merge="065-a10.2l" size="1048576" crc="96b91802" sha1="641943557b59b91f0edd49ec8a73cef7d9268b32" region="k053246" offset="2"/>
		<rom name="065-a12.1h" merge="065-a12.1h" size="1048576" crc="321ed07a" sha1="5b00ed676daeea974bdce6701667cfe573099dad" region="k053246" offset="4"/>
		<rom name="065-a11.1l" merge="065-a11.1l" size="1048576" crc="46da948e" sha1="168ac9178ee5bad5931557fb549e1237971d7839" region="k053246" offset="6"/>
		<rom name="065-a06.1f" merge="065-a06.1f" size="2097152" crc="5adbcee0" sha1="435feda697193bc51db80eba46be474cbbc1de4b" region="k054539" offset="0"/>
		<rom name="xmen_jba.nv" size="128" crc="7439cea7" sha1="d34b8ed0549b0457362159098e5c86b1356e35d0" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":scantimer" name="timer"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053246" name="k053247"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":k054321" name="k054321"/>
		<device_ref tag=":k054321:soundlatch0" name="generic_latch_8"/>
		<device_ref tag=":k054321:soundlatch1" name="generic_latch_8"/>
		<device_ref tag=":k054321:soundlatch2" name="generic_latch_8"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k054539" name="k054539"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="8000000"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="4000000"/>
		<chip type="audio" tag="k054539" name="Konami 054539 ADPCM" clock="18432000"/>
		<display tag="screen" type="raster" rotate="0" width="304" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="8" hbstart="312" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4" service="yes">
			<control type="joy" player="1" buttons="3" ways="8"/>
			<control type="joy" player="2" buttons="3" ways="8"/>
			<control type="joy" player="3" buttons="3" ways="8"/>
			<control type="joy" player="4" buttons="3" ways="8"/>
		</input>
		<port tag=":EEPROM">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1_P3">
		</port>
		<port tag=":P2_P4">
		</port>
		<driver status="imperfect" emulation="good" savestate="supported"/>
		<feature type="sound" overall="imperfect"/>
	</machine>
	<machine name="xmenja" sourcefile="konami/xmen.cpp" cloneof="xmen" romof="xmen">
		<description>X-Men (4 Players ver JEA)</description>
		<year>1992</year>
		<manufacturer>Konami</manufacturer>
		<rom name="065-jea04.10d" size="131072" crc="655a61d6" sha1="30a50b0a13205252d1cec6b6a6300e25c2f376c6" region="maincpu" offset="0"/>
		<rom name="065-jea05.10f" size="131072" crc="7ea9fc84" sha1="767f957c0c2f6a2d938d9e37388a17a6bce01dd8" region="maincpu" offset="1"/>
		<rom name="065-a02.9d" merge="065-a02.9d" size="262144" crc="b31dc44c" sha1="4bdac05826b4d6d4fe46686ede5190e2f73eefc5" region="maincpu" offset="80000"/>
		<rom name="065-a03.9f" merge="065-a03.9f" size="262144" crc="13842fe6" sha1="b61f094eb94336edb8708d3437ead9b853b2d6e6" region="maincpu" offset="80001"/>
		<rom name="065-a01.6f" merge="065-a01.6f" size="131072" crc="147d3a4d" sha1="a14409fe991e803b9e7812303e3a9ebd857d8b01" region="audiocpu" offset="0"/>
		<rom name="065-a08.15l" merge="065-a08.15l" size="1048576" crc="6b649aca" sha1="2595f314517738e8614facf578cc951a6c36a180" region="k052109" offset="0"/>
		<rom name="065-a07.16l" merge="065-a07.16l" size="1048576" crc="c5dc8fc4" sha1="9887cb002c8b72be7ce933cb397f00cdc5506c8c" region="k052109" offset="2"/>
		<rom name="065-a09.2h" merge="065-a09.2h" size="1048576" crc="ea05d52f" sha1="7f2c14f907355856fb94e3a67b73aa1919776835" region="k053246" offset="0"/>
		<rom name="065-a10.2l" merge="065-a10.2l" size="1048576" crc="96b91802" sha1="641943557b59b91f0edd49ec8a73cef7d9268b32" region="k053246" offset="2"/>
		<rom name="065-a12.1h" merge="065-a12.1h" size="1048576" crc="321ed07a" sha1="5b00ed676daeea974bdce6701667cfe573099dad" region="k053246" offset="4"/>
		<rom name="065-a11.1l" merge="065-a11.1l" size="1048576" crc="46da948e" sha1="168ac9178ee5bad5931557fb549e1237971d7839" region="k053246" offset="6"/>
		<rom name="065-a06.1f" merge="065-a06.1f" size="2097152" crc="5adbcee0" sha1="435feda697193bc51db80eba46be474cbbc1de4b" region="k054539" offset="0"/>
		<rom name="xmen_jea.nv" size="128" crc="df5b6bc6" sha1="42fff0793bb1488bcdd69c39a8c5f58cdf39e1ff" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":scantimer" name="timer"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053246" name="k053247"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":k054321" name="k054321"/>
		<device_ref tag=":k054321:soundlatch0" name="generic_latch_8"/>
		<device_ref tag=":k054321:soundlatch1" name="generic_latch_8"/>
		<device_ref tag=":k054321:soundlatch2" name="generic_latch_8"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k054539" name="k054539"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="8000000"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="4000000"/>
		<chip type="audio" tag="k054539" name="Konami 054539 ADPCM" clock="18432000"/>
		<display tag="screen" type="raster" rotate="0" width="304" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="8" hbstart="312" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4" service="yes">
			<control type="joy" player="1" buttons="3" ways="8"/>
			<control type="joy" player="2" buttons="3" ways="8"/>
			<control type="joy" player="3" buttons="3" ways="8"/>
			<control type="joy" player="4" buttons="3" ways="8"/>
		</input>
		<port tag=":EEPROM">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1_P3">
		</port>
		<port tag=":P2_P4">
		</port>
		<driver status="imperfect" emulation="good" savestate="supported"/>
		<feature type="sound" overall="imperfect"/>
	</machine>
	<machine name="xmenu" sourcefile="konami/xmen.cpp" cloneof="xmen" romof="xmen">
		<description>X-Men (4 Players ver UBB)</description>
		<year>1992</year>
		<manufacturer>Konami</manufacturer>
		<rom name="065-ubb04.10d" size="131072" crc="f896c93b" sha1="0bee89fe4d36a9b2ded864770198eb2df6903580" region="maincpu" offset="0"/>
		<rom name="065-ubb05.10f" size="131072" crc="e02e5d64" sha1="9838c1cf9862db3ca70a23ef5f3c5883729c4e0c" region="maincpu" offset="1"/>
		<rom name="065-a02.9d" merge="065-a02.9d" size="262144" crc="b31dc44c" sha1="4bdac05826b4d6d4fe46686ede5190e2f73eefc5" region="maincpu" offset="80000"/>
		<rom name="065-a03.9f" merge="065-a03.9f" size="262144" crc="13842fe6" sha1="b61f094eb94336edb8708d3437ead9b853b2d6e6" region="maincpu" offset="80001"/>
		<rom name="065-a01.6f" merge="065-a01.6f" size="131072" crc="147d3a4d" sha1="a14409fe991e803b9e7812303e3a9ebd857d8b01" region="audiocpu" offset="0"/>
		<rom name="065-a08.15l" merge="065-a08.15l" size="1048576" crc="6b649aca" sha1="2595f314517738e8614facf578cc951a6c36a180" region="k052109" offset="0"/>
		<rom name="065-a07.16l" merge="065-a07.16l" size="1048576" crc="c5dc8fc4" sha1="9887cb002c8b72be7ce933cb397f00cdc5506c8c" region="k052109" offset="2"/>
		<rom name="065-a09.2h" merge="065-a09.2h" size="1048576" crc="ea05d52f" sha1="7f2c14f907355856fb94e3a67b73aa1919776835" region="k053246" offset="0"/>
		<rom name="065-a10.2l" merge="065-a10.2l" size="1048576" crc="96b91802" sha1="641943557b59b91f0edd49ec8a73cef7d9268b32" region="k053246" offset="2"/>
		<rom name="065-a12.1h" merge="065-a12.1h" size="1048576" crc="321ed07a" sha1="5b00ed676daeea974bdce6701667cfe573099dad" region="k053246" offset="4"/>
		<rom name="065-a11.1l" merge="065-a11.1l" size="1048576" crc="46da948e" sha1="168ac9178ee5bad5931557fb549e1237971d7839" region="k053246" offset="6"/>
		<rom name="065-a06.1f" merge="065-a06.1f" size="2097152" crc="5adbcee0" sha1="435feda697193bc51db80eba46be474cbbc1de4b" region="k054539" offset="0"/>
		<rom name="xmen_ubb.nv" size="128" crc="52f334ba" sha1="171c22b5ac41bcbbcfc31528cf49c096f6829a72" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":scantimer" name="timer"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053246" name="k053247"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":k054321" name="k054321"/>
		<device_ref tag=":k054321:soundlatch0" name="generic_latch_8"/>
		<device_ref tag=":k054321:soundlatch1" name="generic_latch_8"/>
		<device_ref tag=":k054321:soundlatch2" name="generic_latch_8"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k054539" name="k054539"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="8000000"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="4000000"/>
		<chip type="audio" tag="k054539" name="Konami 054539 ADPCM" clock="18432000"/>
		<display tag="screen" type="raster" rotate="0" width="304" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="8" hbstart="312" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4" service="yes">
			<control type="joy" player="1" buttons="3" ways="8"/>
			<control type="joy" player="2" buttons="3" ways="8"/>
			<control type="joy" player="3" buttons="3" ways="8"/>
			<control type="joy" player="4" buttons="3" ways="8"/>
		</input>
		<port tag=":EEPROM">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1_P3">
		</port>
		<port tag=":P2_P4">
		</port>
		<driver status="imperfect" emulation="good" savestate="supported"/>
		<feature type="sound" overall="imperfect"/>
	</machine>
	<machine name="xmenua" sourcefile="konami/xmen.cpp" cloneof="xmen" romof="xmen">
		<description>X-Men (4 Players ver UEB)</description>
		<year>1992</year>
		<manufacturer>Konami</manufacturer>
		<rom name="065-ueb04.10d" size="131072" crc="eee4e7ef" sha1="72fe588bc58c692e7f9891f3e89c7d6fcc28c480" region="maincpu" offset="0"/>
		<rom name="065-ueb05.10f" size="131072" crc="c3b2ffde" sha1="27b32429c8c35cf15d1e5437535c4c335eee2118" region="maincpu" offset="1"/>
		<rom name="065-a02.9d" merge="065-a02.9d" size="262144" crc="b31dc44c" sha1="4bdac05826b4d6d4fe46686ede5190e2f73eefc5" region="maincpu" offset="80000"/>
		<rom name="065-a03.9f" merge="065-a03.9f" size="262144" crc="13842fe6" sha1="b61f094eb94336edb8708d3437ead9b853b2d6e6" region="maincpu" offset="80001"/>
		<rom name="065-a01.6f" merge="065-a01.6f" size="131072" crc="147d3a4d" sha1="a14409fe991e803b9e7812303e3a9ebd857d8b01" region="audiocpu" offset="0"/>
		<rom name="065-a08.15l" merge="065-a08.15l" size="1048576" crc="6b649aca" sha1="2595f314517738e8614facf578cc951a6c36a180" region="k052109" offset="0"/>
		<rom name="065-a07.16l" merge="065-a07.16l" size="1048576" crc="c5dc8fc4" sha1="9887cb002c8b72be7ce933cb397f00cdc5506c8c" region="k052109" offset="2"/>
		<rom name="065-a09.2h" merge="065-a09.2h" size="1048576" crc="ea05d52f" sha1="7f2c14f907355856fb94e3a67b73aa1919776835" region="k053246" offset="0"/>
		<rom name="065-a10.2l" merge="065-a10.2l" size="1048576" crc="96b91802" sha1="641943557b59b91f0edd49ec8a73cef7d9268b32" region="k053246" offset="2"/>
		<rom name="065-a12.1h" merge="065-a12.1h" size="1048576" crc="321ed07a" sha1="5b00ed676daeea974bdce6701667cfe573099dad" region="k053246" offset="4"/>
		<rom name="065-a11.1l" merge="065-a11.1l" size="1048576" crc="46da948e" sha1="168ac9178ee5bad5931557fb549e1237971d7839" region="k053246" offset="6"/>
		<rom name="065-a06.1f" merge="065-a06.1f" size="2097152" crc="5adbcee0" sha1="435feda697193bc51db80eba46be474cbbc1de4b" region="k054539" offset="0"/>
		<rom name="xmen_ueb.nv" size="128" crc="db85fef4" sha1="9387d2f4dbb3cb5cdf59d2304393ac50b3c12ebe" region="eeprom" offset="0"/>
		<device_ref tag=":maincpu" name="m68000"/>
		<device_ref tag=":scantimer" name="timer"/>
		<device_ref tag=":eeprom" name="er5911_8"/>
		<device_ref tag=":watchdog" name="watchdog"/>
		<device_ref tag=":screen" name="screen"/>
		<device_ref tag=":palette" name="palette"/>
		<device_ref tag=":k052109" name="k052109"/>
		<device_ref tag=":k053246" name="k053247"/>
		<device_ref tag=":k053251" name="k053251"/>
		<device_ref tag=":audiocpu" name="z80"/>
		<device_ref tag=":speaker" name="speaker"/>
		<device_ref tag=":k054321" name="k054321"/>
		<device_ref tag=":k054321:soundlatch0" name="generic_latch_8"/>
		<device_ref tag=":k054321:soundlatch1" name="generic_latch_8"/>
		<device_ref tag=":k054321:soundlatch2" name="generic_latch_8"/>
		<device_ref tag=":ymsnd" name="ym2151"/>
		<device_ref tag=":k054539" name="k054539"/>
		<chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="16000000"/>
		<chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="8000000"/>
		<chip type="audio" tag="speaker" name="Speaker"/>
		<chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="4000000"/>
		<chip type="audio" tag="k054539" name="Konami 054539 ADPCM" clock="18432000"/>
		<display tag="screen" type="raster" rotate="0" width="304" height="224" refresh="59.185606" pixclock="6000000" htotal="384" hbend="8" hbstart="312" vtotal="264" vbend="16" vbstart="240" />
		<sound channels="1"/>
		<input players="4" coins="4" service="yes">
			<control type="joy" player="1" buttons="3" ways="8"/>
			<control type="joy" player="2" buttons="3" ways="8"/>
			<control type="joy" player="3" buttons="3" ways="8"/>
			<control type="joy" player="4" buttons="3" ways="8"/>
		</input>
		<port tag=":EEPROM">
		</port>
		<port tag=":EEPROMOUT">
		</port>
		<port tag=":P1_P3">
		</port>
		<port tag=":P2_P4">
		</port>
		<driver status="imperfect" emulation="good" savestate="supported"/>
		<feature type="sound" overall="imperfect"/>
	</machine>
	<machine name="adc0804" sourcefile="devices/machine/adc0804.cpp" isdevice="yes" runnable="no">
		<description>ADC0804 A/D Converter</description>
	</machine>
	<machine name="er5911_8" sourcefile="devices/machine/eepromser.cpp" isdevice="yes" runnable="no">
		<description>Serial EEPROM ER5911 (128x8)</description>
	</machine>
	<machine name="generic_latch_8" sourcefile="devices/machine/gen_latch.cpp" isdevice="yes" runnable="no">
		<description>Generic 8-bit latch</description>
	</machine>
	<machine name="gfxdecode" sourcefile="emu/drawgfx.cpp" isdevice="yes" runnable="no">
		<description>gfxdecode</description>
	</machine>
	<machine name="k007232" sourcefile="devices/sound/k007232.cpp" isdevice="yes" runnable="no">
		<description>Konami 007232 PCM Controller</description>
		<sound channels="0"/>
	</machine>
	<machine name="k051960" sourcefile="konami/k051960.cpp" isdevice="yes" runnable="no">
		<description>Konami 051960 Sprite Generator</description>
	</machine>
	<machine name="k052109" sourcefile="konami/k052109.cpp" isdevice="yes" runnable="no">
		<description>Konami 052109 Tilemap Generator</description>
	</machine>
	<machine name="k053244" sourcefile="konami/k053244_k053245.cpp" isdevice="yes" runnable="no">
		<description>Konami 053244/053245 Sprite Generator</description>
	</machine>
	<machine name="k053247" sourcefile="konami/k053246_k053247_k055673.cpp" isdevice="yes" runnable="no">
		<description>Konami 053246/053247 Sprite Generator</description>
	</machine>
	<machine name="k053251" sourcefile="konami/k053251.cpp" isdevice="yes" runnable="no">
		<description>Konami 053251 Priority Encoder</description>
	</machine>
	<machine name="k053260" sourcefile="devices/sound/k053260.cpp" isdevice="yes" runnable="no">
		<description>Konami 053260 KDSC</description>
		<sound channels="0"/>
	</machine>
	<machine name="k053936" sourcefile="devices/video/k053936.cpp" isdevice="yes" runnable="no">
		<description>Konami 053936 PSAC2 tilemap generator</description>
	</machine>
	<machine name="k054000" sourcefile="konami/k054000.cpp" isdevice="yes" runnable="no">
		<description>Konami 054000 Protection</description>
	</machine>
	<machine name="k054321" sourcefile="devices/machine/k054321.cpp" isdevice="yes" runnable="no">
		<description>Konami 054321 Maincpu-Soundcpu interface</description>
		<device_ref tag=":_tmp:soundlatch0" name="generic_latch_8"/>
		<device_ref tag=":_tmp:soundlatch1" name="generic_latch_8"/>
		<device_ref tag=":_tmp:soundlatch2" name="generic_latch_8"/>
	</machine>
	<machine name="k054539" sourcefile="devices/sound/k054539.cpp" isdevice="yes" runnable="no">
		<description>Konami 054539 ADPCM</description>
		<sound channels="0"/>
		<feature type="sound" status="imperfect"/>
	</machine>
	<machine name="konami_cpu" sourcefile="devices/cpu/m6809/konami.cpp" isdevice="yes" runnable="no">
		<description>KONAMI CPU</description>
	</machine>
	<machine name="m68000" sourcefile="devices/cpu/m68000/m68000.cpp" isdevice="yes" runnable="no">
		<description>Motorola MC68000</description>
	</machine>
	<machine name="m68705r3" sourcefile="devices/cpu/m6805/m68705.cpp" isdevice="yes" runnable="no">
		<description>Motorola MC68705R3</description>
		<rom name="bootstrap.bin" size="120" crc="5946479b" sha1="834ea00aef5de12dbcd6421a6e21d5ea96cfbf37" region="bootstrap" offset="0"/>
	</machine>
	<machine name="msm5205" sourcefile="devices/sound/msm5205.cpp" isdevice="yes" runnable="no">
		<description>OKI MSM5205 ADPCM</description>
		<sound channels="0"/>
	</machine>
	<machine name="nvram" sourcefile="devices/machine/nvram.cpp" isdevice="yes" runnable="no">
		<description>NVRAM</description>
	</machine>
	<machine name="okim6295" sourcefile="devices/sound/okim6295.cpp" isdevice="yes" runnable="no">
		<description>OKI MSM6295 ADPCM</description>
		<sound channels="0"/>
	</machine>
	<machine name="palette" sourcefile="emu/emupal.cpp" isdevice="yes" runnable="no">
		<description>palette</description>
	</machine>
	<machine name="samples" sourcefile="devices/sound/samples.cpp" isdevice="yes" runnable="no">
		<description>Samples</description>
		<sound channels="0"/>
	</machine>
	<machine name="screen" sourcefile="emu/screen.cpp" isdevice="yes" runnable="no">
		<description>Video Screen</description>
	</machine>
	<machine name="speaker" sourcefile="emu/speaker.cpp" isdevice="yes" runnable="no">
		<description>Speaker</description>
		<sound channels="1"/>
	</machine>
	<machine name="timer" sourcefile="devices/machine/timer.cpp" isdevice="yes" runnable="no">
		<description>Timer</description>
	</machine>
	<machine name="upd7759" sourcefile="devices/sound/upd7759.cpp" isdevice="yes" runnable="no">
		<description>NEC uPD7759</description>
		<sound channels="0"/>
	</machine>
	<machine name="watchdog" sourcefile="devices/machine/watchdog.cpp" isdevice="yes" runnable="no">
		<description>Watchdog Timer</description>
	</machine>
	<machine name="ym2151" sourcefile="devices/sound/ymopm.cpp" isdevice="yes" runnable="no">
		<description>YM2151 OPM</description>
		<sound channels="0"/>
	</machine>
	<machine name="z80" sourcefile="devices/cpu/z80/z80.cpp" isdevice="yes" runnable="no">
		<description>Zilog Z80</description>
	</machine>
</mame>
