<?xml version="1.0" encoding="utf-8"?>
<datafile>
  <header>
    <name>Namco S2</name>
    <description>Namco S2 datafile extracted from mame</description>
    <category>MAME Arcade</category>
    <version>0.226</version>
    <date>20201109</date>
    <author>Eric Bole-Feysot</author>
    <homepage>Romcenter Home Page</homepage>
    <url>http://www.romcenter.com/</url>
    <comment>Datafile made with Romcenter rom manager</comment>
  </header>
  <machine name="assault" sourcefile="namcos2.cpp">
    <description>Assault (Rev B)</description>
    <year>1988</year>
    <manufacturer>Namco</manufacturer>
    <rom name="at2mp0b.bin" size="65536" crc="801f71c5" sha1="b07366a7b5cc4f3dd12fc0455c55146680f9f3f7" region="maincpu" offset="0" />
    <rom name="at2mp1b.bin" size="65536" crc="72312d4f" sha1="cbb1d430937dc201293885e177eb18535d8b2884" region="maincpu" offset="1" />
    <rom name="at1sp0.bin" size="65536" crc="0de2a0da" sha1="5f6ce61f2ad1e50f0eac3a115c511151bbb00fd2" region="slave" offset="0" />
    <rom name="at1sp1.bin" size="65536" crc="02d15fbe" sha1="7c1bc845a06188ebe2efdb5880562beae11a7b4f" region="slave" offset="1" />
    <rom name="at1snd0.bin" size="131072" crc="1d1ffe12" sha1="5a49bf1eef981df69abac28132af65670ba01118" region="audiocpu" offset="0" />
    <rom name="sys2c65b.bin" size="32768" crc="e9f2922a" sha1="5767d2f85e1eb3de19192e73b02221f28b1fbb83" region="c65mcu:external" offset="0" />
    <rom name="atobj0.bin" size="131072" crc="22240076" sha1="916fc0e6b338a6dda84399df910c3c9463e6b915" region="sprite" offset="3" />
    <rom name="atobj1.bin" size="131072" crc="2284a8e8" sha1="80f9143e08f9f8ff3e937312a8ce76855a1929ad" region="sprite" offset="2" />
    <rom name="atobj2.bin" size="131072" crc="51425476" sha1="12a2fb1b61adfa4c21a5af4f206ffe48a045a953" region="sprite" offset="1" />
    <rom name="atobj3.bin" size="131072" crc="791f42ce" sha1="95583130abe2e6f9ad3e96288d811b4abc3d44b3" region="sprite" offset="0" />
    <rom name="atobj4.bin" size="131072" crc="4782e1b0" sha1="3d9f4b9eb711fb47e424cd57f7183f49f5dd6ec4" region="sprite" offset="200003" />
    <rom name="atobj5.bin" size="131072" crc="f5d158cf" sha1="f05f44915afe3c17fff0b85a0364f70e79b25428" region="sprite" offset="200002" />
    <rom name="atobj6.bin" size="131072" crc="12f6a569" sha1="e3051de0961f34e15b8642fa769deac3cb0c8305" region="sprite" offset="200001" />
    <rom name="atobj7.bin" size="131072" crc="06a929f2" sha1="65308972a27ab4a649fd08414a89e6f97a09240e" region="sprite" offset="200000" />
    <rom name="atchr0.bin" size="131072" crc="6f8e968a" sha1="b771359a3b08c1aeeb248eff325b19238bb88bf8" region="c123tmap" offset="0" />
    <rom name="atchr1.bin" size="131072" crc="88cf7cbe" sha1="df7565cb36658311b784d5406dc6f83141af58a9" region="c123tmap" offset="80000" />
    <rom name="atroz0.bin" size="131072" crc="8c247a97" sha1="e06dc0b46fa06f41d2017ec8113baf5c4ba832ab" region="s2roz" offset="0" />
    <rom name="atroz1.bin" size="131072" crc="e44c475b" sha1="64768692a8d38377fa1109cd9f7c86b31c01e13c" region="s2roz" offset="80000" />
    <rom name="atroz2.bin" size="131072" crc="770f377f" sha1="3a7d4f4b9eb01d4366119f34b0d7d7db2f5a2471" region="s2roz" offset="100000" />
    <rom name="atroz3.bin" size="131072" crc="01d93d0b" sha1="47dfda4720f0d4cd41633fd0291b82a54a4eb310" region="s2roz" offset="180000" />
    <rom name="atroz4.bin" size="131072" crc="f96feab5" sha1="c861df1f66de046ca714087630f5a1e2f3f30361" region="s2roz" offset="200000" />
    <rom name="atroz5.bin" size="131072" crc="da2f0d9e" sha1="a7fbe4748c67906a1ab2902d3b75a21219a677c0" region="s2roz" offset="280000" />
    <rom name="atroz6.bin" size="131072" crc="9089e477" sha1="929d7d81c05aa148212e22969d147296811d433c" region="s2roz" offset="300000" />
    <rom name="atroz7.bin" size="131072" crc="62b2783a" sha1="d1ba043a2ec9390c2f281f53de6e59bd936ea6f6" region="s2roz" offset="380000" />
    <rom name="atshape.bin" size="131072" crc="dfcad82b" sha1="9c3826b8dc36fa0d71c0de7f8be3479d9a025803" region="c123tmap:mask" offset="0" />
    <rom name="at1dat0.13s" size="131072" crc="844890f4" sha1="1be30760acd81fae836301d81d6adbb3e5941373" region="data_rom" offset="0" />
    <rom name="at1dat1.13p" size="131072" crc="21715313" sha1="97c6edae6a5f1df434f1dcf7be307b5e006e72a6" region="data_rom" offset="1" />
    <rom name="atvoi1.bin" size="524288" crc="d36a649e" sha1="30173f32c6ec9dda6b8946baa14266e828b0324e" region="c140" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namcos2_roz" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="90" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <input players="2" coins="2">
      <control type="doublejoy" player="1" buttons="1" ways="4" ways2="4" />
      <control type="doublejoy" player="2" buttons="1" ways="4" ways2="4" />
    </input>
    <dipswitch name="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5" />
    <port tag=":AN6" />
    <port tag=":AN7" />
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="good" emulation="good" savestate="supported" />
  </machine>
  <machine name="assaultj" sourcefile="namcos2.cpp" cloneof="assault" romof="assault">
    <description>Assault (Japan)</description>
    <year>1988</year>
    <manufacturer>Namco</manufacturer>
    <rom name="at1_mp0.bin" size="65536" crc="2d3e5c8c" sha1="e43081a94c0d35fcb9ef48e248be59f0dd390b9b" region="maincpu" offset="0" />
    <rom name="at1_mp1.bin" size="65536" crc="851cec3a" sha1="75afae79e1b5843d765677b457f38bed8eebf07c" region="maincpu" offset="1" />
    <rom name="at1sp0.bin" merge="at1sp0.bin" size="65536" crc="0de2a0da" sha1="5f6ce61f2ad1e50f0eac3a115c511151bbb00fd2" region="slave" offset="0" />
    <rom name="at1sp1.bin" merge="at1sp1.bin" size="65536" crc="02d15fbe" sha1="7c1bc845a06188ebe2efdb5880562beae11a7b4f" region="slave" offset="1" />
    <rom name="at1snd0.bin" merge="at1snd0.bin" size="131072" crc="1d1ffe12" sha1="5a49bf1eef981df69abac28132af65670ba01118" region="audiocpu" offset="0" />
    <rom name="sys2c65b.bin" merge="sys2c65b.bin" size="32768" crc="e9f2922a" sha1="5767d2f85e1eb3de19192e73b02221f28b1fbb83" region="c65mcu:external" offset="0" />
    <rom name="atobj0.bin" merge="atobj0.bin" size="131072" crc="22240076" sha1="916fc0e6b338a6dda84399df910c3c9463e6b915" region="sprite" offset="3" />
    <rom name="atobj1.bin" merge="atobj1.bin" size="131072" crc="2284a8e8" sha1="80f9143e08f9f8ff3e937312a8ce76855a1929ad" region="sprite" offset="2" />
    <rom name="atobj2.bin" merge="atobj2.bin" size="131072" crc="51425476" sha1="12a2fb1b61adfa4c21a5af4f206ffe48a045a953" region="sprite" offset="1" />
    <rom name="atobj3.bin" merge="atobj3.bin" size="131072" crc="791f42ce" sha1="95583130abe2e6f9ad3e96288d811b4abc3d44b3" region="sprite" offset="0" />
    <rom name="atobj4.bin" merge="atobj4.bin" size="131072" crc="4782e1b0" sha1="3d9f4b9eb711fb47e424cd57f7183f49f5dd6ec4" region="sprite" offset="200003" />
    <rom name="atobj5.bin" merge="atobj5.bin" size="131072" crc="f5d158cf" sha1="f05f44915afe3c17fff0b85a0364f70e79b25428" region="sprite" offset="200002" />
    <rom name="atobj6.bin" merge="atobj6.bin" size="131072" crc="12f6a569" sha1="e3051de0961f34e15b8642fa769deac3cb0c8305" region="sprite" offset="200001" />
    <rom name="atobj7.bin" merge="atobj7.bin" size="131072" crc="06a929f2" sha1="65308972a27ab4a649fd08414a89e6f97a09240e" region="sprite" offset="200000" />
    <rom name="atchr0.bin" merge="atchr0.bin" size="131072" crc="6f8e968a" sha1="b771359a3b08c1aeeb248eff325b19238bb88bf8" region="c123tmap" offset="0" />
    <rom name="atchr1.bin" merge="atchr1.bin" size="131072" crc="88cf7cbe" sha1="df7565cb36658311b784d5406dc6f83141af58a9" region="c123tmap" offset="80000" />
    <rom name="atroz0.bin" merge="atroz0.bin" size="131072" crc="8c247a97" sha1="e06dc0b46fa06f41d2017ec8113baf5c4ba832ab" region="s2roz" offset="0" />
    <rom name="atroz1.bin" merge="atroz1.bin" size="131072" crc="e44c475b" sha1="64768692a8d38377fa1109cd9f7c86b31c01e13c" region="s2roz" offset="80000" />
    <rom name="atroz2.bin" merge="atroz2.bin" size="131072" crc="770f377f" sha1="3a7d4f4b9eb01d4366119f34b0d7d7db2f5a2471" region="s2roz" offset="100000" />
    <rom name="atroz3.bin" merge="atroz3.bin" size="131072" crc="01d93d0b" sha1="47dfda4720f0d4cd41633fd0291b82a54a4eb310" region="s2roz" offset="180000" />
    <rom name="atroz4.bin" merge="atroz4.bin" size="131072" crc="f96feab5" sha1="c861df1f66de046ca714087630f5a1e2f3f30361" region="s2roz" offset="200000" />
    <rom name="atroz5.bin" merge="atroz5.bin" size="131072" crc="da2f0d9e" sha1="a7fbe4748c67906a1ab2902d3b75a21219a677c0" region="s2roz" offset="280000" />
    <rom name="atroz6.bin" merge="atroz6.bin" size="131072" crc="9089e477" sha1="929d7d81c05aa148212e22969d147296811d433c" region="s2roz" offset="300000" />
    <rom name="atroz7.bin" merge="atroz7.bin" size="131072" crc="62b2783a" sha1="d1ba043a2ec9390c2f281f53de6e59bd936ea6f6" region="s2roz" offset="380000" />
    <rom name="atshape.bin" merge="atshape.bin" size="131072" crc="dfcad82b" sha1="9c3826b8dc36fa0d71c0de7f8be3479d9a025803" region="c123tmap:mask" offset="0" />
    <rom name="at1dat0.13s" merge="at1dat0.13s" size="131072" crc="844890f4" sha1="1be30760acd81fae836301d81d6adbb3e5941373" region="data_rom" offset="0" />
    <rom name="at1dat1.13p" merge="at1dat1.13p" size="131072" crc="21715313" sha1="97c6edae6a5f1df434f1dcf7be307b5e006e72a6" region="data_rom" offset="1" />
    <rom name="atvoi1.bin" merge="atvoi1.bin" size="524288" crc="d36a649e" sha1="30173f32c6ec9dda6b8946baa14266e828b0324e" region="c140" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namcos2_roz" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="90" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <input players="2" coins="2">
      <control type="doublejoy" player="1" buttons="1" ways="4" ways2="4" />
      <control type="doublejoy" player="2" buttons="1" ways="4" ways2="4" />
    </input>
    <dipswitch name="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5" />
    <port tag=":AN6" />
    <port tag=":AN7" />
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="good" emulation="good" savestate="supported" />
  </machine>
  <machine name="assaultp" sourcefile="namcos2.cpp" cloneof="assault" romof="assault">
    <description>Assault Plus (Japan)</description>
    <year>1988</year>
    <manufacturer>Namco</manufacturer>
    <rom name="mpr0.bin" size="65536" crc="97519f9f" sha1="760580c0865931f18f4b0b4f609379c0dbeff977" region="maincpu" offset="0" />
    <rom name="mpr1.bin" size="65536" crc="c7f437c7" sha1="f56d908ed557192cd6d583eccd5ded33807e73a9" region="maincpu" offset="1" />
    <rom name="at1sp0.bin" merge="at1sp0.bin" size="65536" crc="0de2a0da" sha1="5f6ce61f2ad1e50f0eac3a115c511151bbb00fd2" region="slave" offset="0" />
    <rom name="at1sp1.bin" merge="at1sp1.bin" size="65536" crc="02d15fbe" sha1="7c1bc845a06188ebe2efdb5880562beae11a7b4f" region="slave" offset="1" />
    <rom name="at1snd0.bin" merge="at1snd0.bin" size="131072" crc="1d1ffe12" sha1="5a49bf1eef981df69abac28132af65670ba01118" region="audiocpu" offset="0" />
    <rom name="sys2c65b.bin" merge="sys2c65b.bin" size="32768" crc="e9f2922a" sha1="5767d2f85e1eb3de19192e73b02221f28b1fbb83" region="c65mcu:external" offset="0" />
    <rom name="atobj0.bin" merge="atobj0.bin" size="131072" crc="22240076" sha1="916fc0e6b338a6dda84399df910c3c9463e6b915" region="sprite" offset="3" />
    <rom name="atobj1.bin" merge="atobj1.bin" size="131072" crc="2284a8e8" sha1="80f9143e08f9f8ff3e937312a8ce76855a1929ad" region="sprite" offset="2" />
    <rom name="atobj2.bin" merge="atobj2.bin" size="131072" crc="51425476" sha1="12a2fb1b61adfa4c21a5af4f206ffe48a045a953" region="sprite" offset="1" />
    <rom name="atobj3.bin" merge="atobj3.bin" size="131072" crc="791f42ce" sha1="95583130abe2e6f9ad3e96288d811b4abc3d44b3" region="sprite" offset="0" />
    <rom name="atobj4.bin" merge="atobj4.bin" size="131072" crc="4782e1b0" sha1="3d9f4b9eb711fb47e424cd57f7183f49f5dd6ec4" region="sprite" offset="200003" />
    <rom name="atobj5.bin" merge="atobj5.bin" size="131072" crc="f5d158cf" sha1="f05f44915afe3c17fff0b85a0364f70e79b25428" region="sprite" offset="200002" />
    <rom name="atobj6.bin" merge="atobj6.bin" size="131072" crc="12f6a569" sha1="e3051de0961f34e15b8642fa769deac3cb0c8305" region="sprite" offset="200001" />
    <rom name="atobj7.bin" merge="atobj7.bin" size="131072" crc="06a929f2" sha1="65308972a27ab4a649fd08414a89e6f97a09240e" region="sprite" offset="200000" />
    <rom name="atchr0.bin" merge="atchr0.bin" size="131072" crc="6f8e968a" sha1="b771359a3b08c1aeeb248eff325b19238bb88bf8" region="c123tmap" offset="0" />
    <rom name="atchr1.bin" merge="atchr1.bin" size="131072" crc="88cf7cbe" sha1="df7565cb36658311b784d5406dc6f83141af58a9" region="c123tmap" offset="80000" />
    <rom name="atroz0.bin" merge="atroz0.bin" size="131072" crc="8c247a97" sha1="e06dc0b46fa06f41d2017ec8113baf5c4ba832ab" region="s2roz" offset="0" />
    <rom name="atroz1.bin" merge="atroz1.bin" size="131072" crc="e44c475b" sha1="64768692a8d38377fa1109cd9f7c86b31c01e13c" region="s2roz" offset="80000" />
    <rom name="atroz2.bin" merge="atroz2.bin" size="131072" crc="770f377f" sha1="3a7d4f4b9eb01d4366119f34b0d7d7db2f5a2471" region="s2roz" offset="100000" />
    <rom name="atroz3.bin" merge="atroz3.bin" size="131072" crc="01d93d0b" sha1="47dfda4720f0d4cd41633fd0291b82a54a4eb310" region="s2roz" offset="180000" />
    <rom name="atroz4.bin" merge="atroz4.bin" size="131072" crc="f96feab5" sha1="c861df1f66de046ca714087630f5a1e2f3f30361" region="s2roz" offset="200000" />
    <rom name="atroz5.bin" merge="atroz5.bin" size="131072" crc="da2f0d9e" sha1="a7fbe4748c67906a1ab2902d3b75a21219a677c0" region="s2roz" offset="280000" />
    <rom name="atroz6.bin" merge="atroz6.bin" size="131072" crc="9089e477" sha1="929d7d81c05aa148212e22969d147296811d433c" region="s2roz" offset="300000" />
    <rom name="atroz7.bin" merge="atroz7.bin" size="131072" crc="62b2783a" sha1="d1ba043a2ec9390c2f281f53de6e59bd936ea6f6" region="s2roz" offset="380000" />
    <rom name="atshape.bin" merge="atshape.bin" size="131072" crc="dfcad82b" sha1="9c3826b8dc36fa0d71c0de7f8be3479d9a025803" region="c123tmap:mask" offset="0" />
    <rom name="at1dat0.13s" merge="at1dat0.13s" size="131072" crc="844890f4" sha1="1be30760acd81fae836301d81d6adbb3e5941373" region="data_rom" offset="0" />
    <rom name="at1dat1.13p" merge="at1dat1.13p" size="131072" crc="21715313" sha1="97c6edae6a5f1df434f1dcf7be307b5e006e72a6" region="data_rom" offset="1" />
    <rom name="atvoi1.bin" merge="atvoi1.bin" size="524288" crc="d36a649e" sha1="30173f32c6ec9dda6b8946baa14266e828b0324e" region="c140" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namcos2_roz" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="90" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <input players="2" coins="2">
      <control type="doublejoy" player="1" buttons="1" ways="4" ways2="4" />
      <control type="doublejoy" player="2" buttons="1" ways="4" ways2="4" />
    </input>
    <dipswitch name="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5" />
    <port tag=":AN6" />
    <port tag=":AN7" />
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="good" emulation="good" savestate="supported" />
  </machine>
  <machine name="bubbletr" sourcefile="namcos2.cpp">
    <description>Bubble Trouble - Golly Ghost 2 (World, Rev B)</description>
    <year>1992</year>
    <manufacturer>Namco</manufacturer>
    <rom name="bt2-mpr0b.bin" size="131072" crc="26fbfce3" sha1="532a8bc7f961ddb0ba2af5a6912a4898f84b144d" region="maincpu" offset="0" />
    <rom name="bt2-mpr1b.bin" size="131072" crc="21f42ab2" sha1="c563ff6b81d036c9044125c45b1cf4da0f5495d9" region="maincpu" offset="1" />
    <rom name="bt1-spr0.11k" size="65536" crc="b507b00a" sha1="e7dcb36accf91e8b5b5321e65e6fd6bca7c6dce2" region="slave" offset="0" />
    <rom name="bt1-spr1.13k" size="65536" crc="4f35540f" sha1="519510de81e566ed74b80987860778201f6ac785" region="slave" offset="1" />
    <rom name="bt1-snd0.7j" size="131072" crc="46a5c625" sha1="ccc7098f76a0bc39c9fe578d575e6002eca172b5" region="audiocpu" offset="0" />
    <rom name="bt1edr0a.ic7" size="32768" crc="155b02fc" sha1="191683c19f756ac150b8e037f46a6daca1a082fa" region="c65mcu:external" offset="0" />
    <rom name="bt1-obj0.5b" size="524288" crc="16b5dc04" sha1="57cc4b7907442f922102fbd61e470c149f0379ac" region="sprite" offset="3" />
    <rom name="bt1-obj1.4b" size="524288" crc="ae37a969" sha1="524a8ef68a62f9168d356e6cd37a72a888ced202" region="sprite" offset="2" />
    <rom name="bt1-obj2.5d" size="524288" crc="75f74871" sha1="75c47a2132e21a2d82000bca137929bffecc96ef" region="sprite" offset="1" />
    <rom name="bt1-obj3.4d" size="524288" crc="7fb23c05" sha1="da97c595a3338021c1bc46f9668e1ec6c7985cea" region="sprite" offset="0" />
    <rom name="bt1-chr0.11n" size="524288" crc="11574c30" sha1="6e85dd1448961b89a13e8cf905b24a69d182edd8" region="c123tmap" offset="0" />
    <rom name="bt1-sha0.7n" size="524288" crc="dc4664df" sha1="59818b14e74ee9b15a66e850658e4697d78b28d9" region="c123tmap:mask" offset="0" />
    <rom name="bt1_dat0.13s" size="131072" crc="1001a14e" sha1="7017a33f0447fb6013d4e246dcdfcd064af87812" region="data_rom" offset="0" />
    <rom name="bt1_dat1.13p" size="131072" crc="7de6a839" sha1="e6a3fd5b789dc061ec504570984cf61a6af7818f" region="data_rom" offset="1" />
    <rom name="04544191.6n" size="8192" crc="90db1bf6" sha1="dbb9e50a8efc3b4012fcf587cc87da9ef42a1b80" region="user2" offset="0" />
    <rom name="bt1-voi1.3m" size="524288" crc="08b3a089" sha1="5023c2c0d0a94f0a2f98605d9b93d2d6ce626aa8" region="c140" offset="0" />
    <rom name="bubbletr.nv" size="8192" crc="75ace624" sha1="1acd2af0c825e50c542db975e1fbda8cbb009f1d" region="nvram" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namcos2_roz" />
    <device_ref name="ym2151" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="180" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <input players="2" coins="2">
      <control type="lightgun" player="1" buttons="1" minimum="0" maximum="255" sensitivity="50" keydelta="8" />
      <control type="lightgun" player="2" buttons="1" minimum="0" maximum="255" sensitivity="50" keydelta="8" />
    </input>
    <dipswitch name="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0">
      <analog mask="255" />
    </port>
    <port tag=":AN1">
      <analog mask="255" />
    </port>
    <port tag=":AN2">
      <analog mask="255" />
    </port>
    <port tag=":AN3">
      <analog mask="255" />
    </port>
    <port tag=":AN4" />
    <port tag=":AN5" />
    <port tag=":AN6" />
    <port tag=":AN7" />
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="good" emulation="good" savestate="supported" />
  </machine>
  <machine name="bubbletrj" sourcefile="namcos2.cpp" cloneof="bubbletr" romof="bubbletr">
    <description>Bubble Trouble - Golly Ghost 2 (Japan, Rev C)</description>
    <year>1992</year>
    <manufacturer>Namco</manufacturer>
    <rom name="bt1-mpr0c.11d" size="131072" crc="64eb3496" sha1="30cdc116e350270f0303e5d9dddf6c3c8bccbc04" region="maincpu" offset="0" />
    <rom name="bt1-mpr1c.13d" size="131072" crc="26785bce" sha1="ce83a3f2a8adc1a9c3fd9e677565a649a8168801" region="maincpu" offset="1" />
    <rom name="bt1-spr0.11k" merge="bt1-spr0.11k" size="65536" crc="b507b00a" sha1="e7dcb36accf91e8b5b5321e65e6fd6bca7c6dce2" region="slave" offset="0" />
    <rom name="bt1-spr1.13k" merge="bt1-spr1.13k" size="65536" crc="4f35540f" sha1="519510de81e566ed74b80987860778201f6ac785" region="slave" offset="1" />
    <rom name="bt1-snd0.7j" merge="bt1-snd0.7j" size="131072" crc="46a5c625" sha1="ccc7098f76a0bc39c9fe578d575e6002eca172b5" region="audiocpu" offset="0" />
    <rom name="bt1edr0a.ic7" merge="bt1edr0a.ic7" size="32768" crc="155b02fc" sha1="191683c19f756ac150b8e037f46a6daca1a082fa" region="c65mcu:external" offset="0" />
    <rom name="bt1-obj0.5b" merge="bt1-obj0.5b" size="524288" crc="16b5dc04" sha1="57cc4b7907442f922102fbd61e470c149f0379ac" region="sprite" offset="3" />
    <rom name="bt1-obj1.4b" merge="bt1-obj1.4b" size="524288" crc="ae37a969" sha1="524a8ef68a62f9168d356e6cd37a72a888ced202" region="sprite" offset="2" />
    <rom name="bt1-obj2.5d" merge="bt1-obj2.5d" size="524288" crc="75f74871" sha1="75c47a2132e21a2d82000bca137929bffecc96ef" region="sprite" offset="1" />
    <rom name="bt1-obj3.4d" merge="bt1-obj3.4d" size="524288" crc="7fb23c05" sha1="da97c595a3338021c1bc46f9668e1ec6c7985cea" region="sprite" offset="0" />
    <rom name="bt1-chr0.11n" merge="bt1-chr0.11n" size="524288" crc="11574c30" sha1="6e85dd1448961b89a13e8cf905b24a69d182edd8" region="c123tmap" offset="0" />
    <rom name="bt1-sha0.7n" merge="bt1-sha0.7n" size="524288" crc="dc4664df" sha1="59818b14e74ee9b15a66e850658e4697d78b28d9" region="c123tmap:mask" offset="0" />
    <rom name="bt1_dat0.13s" merge="bt1_dat0.13s" size="131072" crc="1001a14e" sha1="7017a33f0447fb6013d4e246dcdfcd064af87812" region="data_rom" offset="0" />
    <rom name="bt1_dat1.13p" merge="bt1_dat1.13p" size="131072" crc="7de6a839" sha1="e6a3fd5b789dc061ec504570984cf61a6af7818f" region="data_rom" offset="1" />
    <rom name="04544191.6n" merge="04544191.6n" size="8192" crc="90db1bf6" sha1="dbb9e50a8efc3b4012fcf587cc87da9ef42a1b80" region="user2" offset="0" />
    <rom name="bt1-voi1.3m" merge="bt1-voi1.3m" size="524288" crc="08b3a089" sha1="5023c2c0d0a94f0a2f98605d9b93d2d6ce626aa8" region="c140" offset="0" />
    <rom name="bubbletr.nv" merge="bubbletr.nv" size="8192" crc="75ace624" sha1="1acd2af0c825e50c542db975e1fbda8cbb009f1d" region="nvram" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namcos2_roz" />
    <device_ref name="ym2151" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="180" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <input players="2" coins="2">
      <control type="lightgun" player="1" buttons="1" minimum="0" maximum="255" sensitivity="50" keydelta="8" />
      <control type="lightgun" player="2" buttons="1" minimum="0" maximum="255" sensitivity="50" keydelta="8" />
    </input>
    <dipswitch name="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0">
      <analog mask="255" />
    </port>
    <port tag=":AN1">
      <analog mask="255" />
    </port>
    <port tag=":AN2">
      <analog mask="255" />
    </port>
    <port tag=":AN3">
      <analog mask="255" />
    </port>
    <port tag=":AN4" />
    <port tag=":AN5" />
    <port tag=":AN6" />
    <port tag=":AN7" />
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="good" emulation="good" savestate="supported" />
  </machine>
  <machine name="burnforc" sourcefile="namcos2.cpp">
    <description>Burning Force (Japan, new version (Rev C))</description>
    <year>1989</year>
    <manufacturer>Namco</manufacturer>
    <rom name="bu1_mpr0c.bin" size="131072" crc="cc5864c6" sha1="278b02b634ca07b066a817ed38a8557bcb13aa78" region="maincpu" offset="0" />
    <rom name="bu1_mpr1c.bin" size="131072" crc="3e6b4b1b" sha1="c765e1ba5873239c4d440678baaac6e95a410339" region="maincpu" offset="1" />
    <rom name="bu1_spr0.bin" size="65536" crc="17022a21" sha1="331fb1a8e97f21bd5e0a5889fc960b1d187f1ee1" region="slave" offset="0" />
    <rom name="bu1_spr1.bin" size="65536" crc="5255f8a5" sha1="e2253b98a1b7b7c761ea71c201320711dc7d2e32" region="slave" offset="1" />
    <rom name="bu1_snd0.bin" size="131072" crc="fabb1150" sha1="61e3133adf8d593419f70a854ff91dd5011de3b3" region="audiocpu" offset="0" />
    <rom name="sys2c65c.bin" size="32768" crc="a5b2a4ff" sha1="068bdfcc71a5e83706e8b23330691973c1c214dc" region="c65mcu:external" offset="0" />
    <rom name="bu_obj-0.bin" size="524288" crc="24c919a1" sha1="ddf5bfbf1bbe2a10d6708b618b77f1d6d7862372" region="sprite" offset="3" />
    <rom name="bu_obj-1.bin" size="524288" crc="5bcb519b" sha1="1d2979a4bed7e952ec77d3a5891a6412044d5f49" region="sprite" offset="2" />
    <rom name="bu_obj-2.bin" size="524288" crc="509dd5d0" sha1="68a9054fcde7b677f529ef4db6a8b29750649a2a" region="sprite" offset="1" />
    <rom name="bu_obj-3.bin" size="524288" crc="270a161e" sha1="e26092b6950e2adba34f0c5c08179b83fcd86949" region="sprite" offset="0" />
    <rom name="bu_chr-0.bin" size="131072" crc="c2109f73" sha1="5f09aa9afb027850f21175614c24071db8c754b5" region="c123tmap" offset="0" />
    <rom name="bu_chr-1.bin" size="131072" crc="67d6aa67" sha1="ac7791e4984c6e736ab12e538d856e4fc63383b4" region="c123tmap" offset="80000" />
    <rom name="bu_chr-2.bin" size="131072" crc="52846eff" sha1="f925512f382a51040401d5833015cce17b8eb1fd" region="c123tmap" offset="100000" />
    <rom name="bu_chr-3.bin" size="131072" crc="d1326d7f" sha1="fe2138ce42cf19a214b07f1e7f59cd313c4f7775" region="c123tmap" offset="180000" />
    <rom name="bu_chr-4.bin" size="131072" crc="81a66286" sha1="650273269cba96f223413ec04928408378170f62" region="c123tmap" offset="200000" />
    <rom name="bu_chr-5.bin" size="131072" crc="629aa67f" sha1="f626b2faf8a1eed1a59124e74fbc05cd99dfb1d9" region="c123tmap" offset="280000" />
    <rom name="bu_roz-0.bin" size="131072" crc="65fefc83" sha1="cf11e62476ca41f76b685011f94234769e37bf5f" region="s2roz" offset="0" />
    <rom name="bu_roz-1.bin" size="131072" crc="979580c2" sha1="cac8342fd4c41084ce6f578206a9c20d399babde" region="s2roz" offset="80000" />
    <rom name="bu_roz-2.bin" size="131072" crc="548b6ad8" sha1="170113dc6f61ad737f72f58a29ea61347f819ddb" region="s2roz" offset="100000" />
    <rom name="bu_roz-3.bin" size="131072" crc="a633cea0" sha1="c729679e95fcb73edd9a309b90c40e0e6a12777e" region="s2roz" offset="180000" />
    <rom name="bu_roz-4.bin" size="131072" crc="1b1f56a6" sha1="11164fce62724fdd3074abf1c364e299ad092b8e" region="s2roz" offset="200000" />
    <rom name="bu_roz-5.bin" size="131072" crc="4b864b0e" sha1="a0b23f49fc85d39bc9dc950ac763fe12454dcdb1" region="s2roz" offset="280000" />
    <rom name="bu_roz-6.bin" size="131072" crc="38bd25ba" sha1="8eb6ba969660ab62102ded2f0c39837fd90f3f7d" region="s2roz" offset="300000" />
    <rom name="bu_shape.bin" size="131072" crc="80a6b722" sha1="2c24327a890310c5e8086dc6821627108a88c62e" region="c123tmap:mask" offset="0" />
    <rom name="bu1_dat0.13s" size="131072" crc="e0a9d92f" sha1="15042e6d7b31bec08ccdf36e89fdb4b6fb62fa4b" region="data_rom" offset="0" />
    <rom name="bu1_dat1.13p" size="131072" crc="5fe54b73" sha1="a5d4895f0a4523be20de40ccaa74f8fad0d5df7d" region="data_rom" offset="1" />
    <rom name="bu_voi-1.bin" size="524288" crc="99d8a239" sha1="1ebc586048e757ac0ac68dc9cc171f4849e67cef" region="c140" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namcos2_roz" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <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="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5" />
    <port tag=":AN6" />
    <port tag=":AN7" />
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="good" emulation="good" savestate="supported" />
  </machine>
  <machine name="burnforco" sourcefile="namcos2.cpp" cloneof="burnforc" romof="burnforc">
    <description>Burning Force (Japan, old version)</description>
    <year>1989</year>
    <manufacturer>Namco</manufacturer>
    <rom name="bu1_mpr0.bin" size="131072" crc="096b73e2" sha1="ed96ca336dd0ce368f6b07cf1a80c55cf16919c9" region="maincpu" offset="0" />
    <rom name="bu1_mpr1.bin" size="131072" crc="7ead4cbf" sha1="ff8cf722e57fbe9e035cc542180806fe045206f5" region="maincpu" offset="1" />
    <rom name="bu1_spr0.bin" merge="bu1_spr0.bin" size="65536" crc="17022a21" sha1="331fb1a8e97f21bd5e0a5889fc960b1d187f1ee1" region="slave" offset="0" />
    <rom name="bu1_spr1.bin" merge="bu1_spr1.bin" size="65536" crc="5255f8a5" sha1="e2253b98a1b7b7c761ea71c201320711dc7d2e32" region="slave" offset="1" />
    <rom name="bu1_snd0.bin" merge="bu1_snd0.bin" size="131072" crc="fabb1150" sha1="61e3133adf8d593419f70a854ff91dd5011de3b3" region="audiocpu" offset="0" />
    <rom name="sys2c65c.bin" merge="sys2c65c.bin" size="32768" crc="a5b2a4ff" sha1="068bdfcc71a5e83706e8b23330691973c1c214dc" region="c65mcu:external" offset="0" />
    <rom name="bu_obj-0.bin" merge="bu_obj-0.bin" size="524288" crc="24c919a1" sha1="ddf5bfbf1bbe2a10d6708b618b77f1d6d7862372" region="sprite" offset="3" />
    <rom name="bu_obj-1.bin" merge="bu_obj-1.bin" size="524288" crc="5bcb519b" sha1="1d2979a4bed7e952ec77d3a5891a6412044d5f49" region="sprite" offset="2" />
    <rom name="bu_obj-2.bin" merge="bu_obj-2.bin" size="524288" crc="509dd5d0" sha1="68a9054fcde7b677f529ef4db6a8b29750649a2a" region="sprite" offset="1" />
    <rom name="bu_obj-3.bin" merge="bu_obj-3.bin" size="524288" crc="270a161e" sha1="e26092b6950e2adba34f0c5c08179b83fcd86949" region="sprite" offset="0" />
    <rom name="bu_chr-0.bin" merge="bu_chr-0.bin" size="131072" crc="c2109f73" sha1="5f09aa9afb027850f21175614c24071db8c754b5" region="c123tmap" offset="0" />
    <rom name="bu_chr-1.bin" merge="bu_chr-1.bin" size="131072" crc="67d6aa67" sha1="ac7791e4984c6e736ab12e538d856e4fc63383b4" region="c123tmap" offset="80000" />
    <rom name="bu_chr-2.bin" merge="bu_chr-2.bin" size="131072" crc="52846eff" sha1="f925512f382a51040401d5833015cce17b8eb1fd" region="c123tmap" offset="100000" />
    <rom name="bu_chr-3.bin" merge="bu_chr-3.bin" size="131072" crc="d1326d7f" sha1="fe2138ce42cf19a214b07f1e7f59cd313c4f7775" region="c123tmap" offset="180000" />
    <rom name="bu_chr-4.bin" merge="bu_chr-4.bin" size="131072" crc="81a66286" sha1="650273269cba96f223413ec04928408378170f62" region="c123tmap" offset="200000" />
    <rom name="bu_chr-5.bin" merge="bu_chr-5.bin" size="131072" crc="629aa67f" sha1="f626b2faf8a1eed1a59124e74fbc05cd99dfb1d9" region="c123tmap" offset="280000" />
    <rom name="bu_roz-0.bin" merge="bu_roz-0.bin" size="131072" crc="65fefc83" sha1="cf11e62476ca41f76b685011f94234769e37bf5f" region="s2roz" offset="0" />
    <rom name="bu_roz-1.bin" merge="bu_roz-1.bin" size="131072" crc="979580c2" sha1="cac8342fd4c41084ce6f578206a9c20d399babde" region="s2roz" offset="80000" />
    <rom name="bu_roz-2.bin" merge="bu_roz-2.bin" size="131072" crc="548b6ad8" sha1="170113dc6f61ad737f72f58a29ea61347f819ddb" region="s2roz" offset="100000" />
    <rom name="bu_roz-3.bin" merge="bu_roz-3.bin" size="131072" crc="a633cea0" sha1="c729679e95fcb73edd9a309b90c40e0e6a12777e" region="s2roz" offset="180000" />
    <rom name="bu_roz-4.bin" merge="bu_roz-4.bin" size="131072" crc="1b1f56a6" sha1="11164fce62724fdd3074abf1c364e299ad092b8e" region="s2roz" offset="200000" />
    <rom name="bu_roz-5.bin" merge="bu_roz-5.bin" size="131072" crc="4b864b0e" sha1="a0b23f49fc85d39bc9dc950ac763fe12454dcdb1" region="s2roz" offset="280000" />
    <rom name="bu_roz-6.bin" merge="bu_roz-6.bin" size="131072" crc="38bd25ba" sha1="8eb6ba969660ab62102ded2f0c39837fd90f3f7d" region="s2roz" offset="300000" />
    <rom name="bu_shape.bin" merge="bu_shape.bin" size="131072" crc="80a6b722" sha1="2c24327a890310c5e8086dc6821627108a88c62e" region="c123tmap:mask" offset="0" />
    <rom name="bu1_dat0.13s" merge="bu1_dat0.13s" size="131072" crc="e0a9d92f" sha1="15042e6d7b31bec08ccdf36e89fdb4b6fb62fa4b" region="data_rom" offset="0" />
    <rom name="bu1_dat1.13p" merge="bu1_dat1.13p" size="131072" crc="5fe54b73" sha1="a5d4895f0a4523be20de40ccaa74f8fad0d5df7d" region="data_rom" offset="1" />
    <rom name="bu_voi-1.bin" merge="bu_voi-1.bin" size="524288" crc="99d8a239" sha1="1ebc586048e757ac0ac68dc9cc171f4849e67cef" region="c140" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namcos2_roz" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <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="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5" />
    <port tag=":AN6" />
    <port tag=":AN7" />
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="good" emulation="good" savestate="supported" />
  </machine>
  <machine name="cosmogng" sourcefile="namcos2.cpp">
    <description>Cosmo Gang the Video (US)</description>
    <year>1991</year>
    <manufacturer>Namco</manufacturer>
    <rom name="co2mpr0.bin" size="131072" crc="2632c209" sha1="a03136c18eff4e3d69dda955a3c774f2829393ec" region="maincpu" offset="0" />
    <rom name="co2mpr1.bin" size="131072" crc="65840104" sha1="71dfd379a985779e11e9e321ee998df21d03c30e" region="maincpu" offset="1" />
    <rom name="co1spr0.bin" size="131072" crc="bba2c28f" sha1="5adf4eb9d24833e462a240253ab9ac0205cb6501" region="slave" offset="0" />
    <rom name="co1spr1.bin" size="131072" crc="c029b459" sha1="b92c0d24449b8db352bbbd782dc43af0640479e5" region="slave" offset="1" />
    <rom name="co2_s0" size="131072" crc="4ca59338" sha1="95916977ab4e0704216984ceed66df7b9e1fdf44" region="audiocpu" offset="0" />
    <rom name="sys2c65c.bin" size="32768" crc="a5b2a4ff" sha1="068bdfcc71a5e83706e8b23330691973c1c214dc" region="c65mcu:external" offset="0" />
    <rom name="co1obj0.bin" size="524288" crc="5df8ce0c" sha1="afb9fb6e048af5aed8976192b847c0674c5e5ce1" region="sprite" offset="3" />
    <rom name="co1obj1.bin" size="524288" crc="3d152497" sha1="70c6725cacf86ba4d4b9dbeed7a1e04df9301228" region="sprite" offset="2" />
    <rom name="co1obj2.bin" size="524288" crc="4e50b6ee" sha1="0fd4c19fa77ba6774237c760ac1096d4806248dd" region="sprite" offset="1" />
    <rom name="co1obj3.bin" size="524288" crc="7beed669" sha1="92e5eb2a8de3ff71c002807f31581a79a5db5422" region="sprite" offset="0" />
    <rom name="co1chr0.bin" size="524288" crc="ee375b3e" sha1="e7cc3a137450a79c6068c3bf2c15149f6f6dd18a" region="c123tmap" offset="0" />
    <rom name="co1chr1.bin" size="524288" crc="0149de65" sha1="36d42e56251c850e26ee2253cebf62682ac7516f" region="c123tmap" offset="80000" />
    <rom name="co1chr2.bin" size="524288" crc="93d565a0" sha1="c6e993dc77c5a30daee5de4363454e2ccf3bd02d" region="c123tmap" offset="100000" />
    <rom name="co1chr3.bin" size="524288" crc="4d971364" sha1="579f7e37bfa37b8b152ac44cdfe712c2ec2cda8b" region="c123tmap" offset="180000" />
    <rom name="co1roz0.bin" size="524288" crc="2bea6951" sha1="273e3e8ccb042ec794b1709d6626603c8a39a73a" region="s2roz" offset="0" />
    <rom name="co1sha0.bin" size="524288" crc="063a70cc" sha1="c3179d55d57c47d3fef49d45e45b88c4d8250548" region="c123tmap:mask" offset="0" />
    <rom name="co1dat0.13s" size="131072" crc="b53da2ae" sha1="a7fe63668d50928d5d2e2249a5f377c7e8dfc6a5" region="data_rom" offset="0" />
    <rom name="co1dat1.13p" size="131072" crc="d21ad10b" sha1="dcf2d4cc048ea57507952a9a35390af7de5cfe34" region="data_rom" offset="1" />
    <rom name="co2voi1.bin" size="524288" crc="5a301349" sha1="e333ea5955a66ac8d7c94cd50047efaf6fa95b15" region="c140" offset="0" />
    <rom name="co2voi2.bin" size="524288" crc="a27cb45a" sha1="08ccaaf43369e8358e31b213877829bdfd61479e" region="c140" offset="100000" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namcos2_roz" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="90" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <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="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5" />
    <port tag=":AN6" />
    <port tag=":AN7" />
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="good" emulation="good" savestate="supported" />
  </machine>
  <machine name="cosmogngj" sourcefile="namcos2.cpp" cloneof="cosmogng" romof="cosmogng">
    <description>Cosmo Gang the Video (Japan)</description>
    <year>1991</year>
    <manufacturer>Namco</manufacturer>
    <rom name="co1mpr0.bin" size="131072" crc="d1b4c8db" sha1="d14974edc458b95cca02defef073804f1af0f5de" region="maincpu" offset="0" />
    <rom name="co1mpr1.bin" size="131072" crc="2f391906" sha1="d97e58eecaca84127caa3bc55d6aa256628e35d7" region="maincpu" offset="1" />
    <rom name="co1spr0.bin" merge="co1spr0.bin" size="131072" crc="bba2c28f" sha1="5adf4eb9d24833e462a240253ab9ac0205cb6501" region="slave" offset="0" />
    <rom name="co1spr1.bin" merge="co1spr1.bin" size="131072" crc="c029b459" sha1="b92c0d24449b8db352bbbd782dc43af0640479e5" region="slave" offset="1" />
    <rom name="co1snd0.bin" size="131072" crc="6bfa619f" sha1="71e57adf320034d6cacd9f4a9e93891c8143542f" region="audiocpu" offset="0" />
    <rom name="sys2c65c.bin" merge="sys2c65c.bin" size="32768" crc="a5b2a4ff" sha1="068bdfcc71a5e83706e8b23330691973c1c214dc" region="c65mcu:external" offset="0" />
    <rom name="co1obj0.bin" merge="co1obj0.bin" size="524288" crc="5df8ce0c" sha1="afb9fb6e048af5aed8976192b847c0674c5e5ce1" region="sprite" offset="3" />
    <rom name="co1obj1.bin" merge="co1obj1.bin" size="524288" crc="3d152497" sha1="70c6725cacf86ba4d4b9dbeed7a1e04df9301228" region="sprite" offset="2" />
    <rom name="co1obj2.bin" merge="co1obj2.bin" size="524288" crc="4e50b6ee" sha1="0fd4c19fa77ba6774237c760ac1096d4806248dd" region="sprite" offset="1" />
    <rom name="co1obj3.bin" merge="co1obj3.bin" size="524288" crc="7beed669" sha1="92e5eb2a8de3ff71c002807f31581a79a5db5422" region="sprite" offset="0" />
    <rom name="co1chr0.bin" merge="co1chr0.bin" size="524288" crc="ee375b3e" sha1="e7cc3a137450a79c6068c3bf2c15149f6f6dd18a" region="c123tmap" offset="0" />
    <rom name="co1chr1.bin" merge="co1chr1.bin" size="524288" crc="0149de65" sha1="36d42e56251c850e26ee2253cebf62682ac7516f" region="c123tmap" offset="80000" />
    <rom name="co1chr2.bin" merge="co1chr2.bin" size="524288" crc="93d565a0" sha1="c6e993dc77c5a30daee5de4363454e2ccf3bd02d" region="c123tmap" offset="100000" />
    <rom name="co1chr3.bin" merge="co1chr3.bin" size="524288" crc="4d971364" sha1="579f7e37bfa37b8b152ac44cdfe712c2ec2cda8b" region="c123tmap" offset="180000" />
    <rom name="co1roz0.bin" merge="co1roz0.bin" size="524288" crc="2bea6951" sha1="273e3e8ccb042ec794b1709d6626603c8a39a73a" region="s2roz" offset="0" />
    <rom name="co1sha0.bin" merge="co1sha0.bin" size="524288" crc="063a70cc" sha1="c3179d55d57c47d3fef49d45e45b88c4d8250548" region="c123tmap:mask" offset="0" />
    <rom name="co1dat0.13s" merge="co1dat0.13s" size="131072" crc="b53da2ae" sha1="a7fe63668d50928d5d2e2249a5f377c7e8dfc6a5" region="data_rom" offset="0" />
    <rom name="co1dat1.13p" merge="co1dat1.13p" size="131072" crc="d21ad10b" sha1="dcf2d4cc048ea57507952a9a35390af7de5cfe34" region="data_rom" offset="1" />
    <rom name="co1voi1.bin" size="524288" crc="b5ba8f15" sha1="9e54b9ba1cd44353782adf337376dff9eec4e937" region="c140" offset="0" />
    <rom name="co1voi2.bin" size="524288" crc="b566b105" sha1="b5530b0f3dea0135f28419044aee923d855f382c" region="c140" offset="100000" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namcos2_roz" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="90" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <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="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5" />
    <port tag=":AN6" />
    <port tag=":AN7" />
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="good" emulation="good" savestate="supported" />
  </machine>
  <machine name="dirtfoxj" sourcefile="namcos2.cpp">
    <description>Dirt Fox (Japan)</description>
    <year>1989</year>
    <manufacturer>Namco</manufacturer>
    <rom name="df1_mpr0.bin" size="131072" crc="8386c820" sha1="a30f4e1b34d3a8294b42960fee6753c4a157e0a0" region="maincpu" offset="0" />
    <rom name="df1_mpr1.bin" size="131072" crc="51085728" sha1="04ce7bd625f50bdf8f204d89b873072e5f48de20" region="maincpu" offset="1" />
    <rom name="df1_spr0.bin" size="131072" crc="d4906585" sha1="b205663f60f682f2e645c2a0118c7bf14d2b0651" region="slave" offset="0" />
    <rom name="df1_spr1.bin" size="131072" crc="7d76cf57" sha1="cd13deb8131f87fd9bbf5caa8b3d6f88bc8d4d7d" region="slave" offset="1" />
    <rom name="df1_snd0.bin" size="131072" crc="66b4f3ab" sha1="b165b2b222c0ce62a16f09e4a0741ca8459b624d" region="audiocpu" offset="0" />
    <rom name="sys2c65c.bin" size="32768" crc="a5b2a4ff" sha1="068bdfcc71a5e83706e8b23330691973c1c214dc" region="c65mcu:external" offset="0" />
    <rom name="df1_obj0.bin" size="524288" crc="b6bd1a68" sha1="38677b54cd257411db499ba03b9176422797bf64" region="sprite" offset="3" />
    <rom name="df1_obj1.bin" size="524288" crc="05421dc1" sha1="d538bb33b1ec1a3ad0feaa75d69a7a327c7dc6fa" region="sprite" offset="2" />
    <rom name="df1_obj2.bin" size="524288" crc="9390633e" sha1="91d1a7f2c981c893e4c5d0c6c7199646b86bd1e0" region="sprite" offset="1" />
    <rom name="df1_obj3.bin" size="524288" crc="c8447b33" sha1="1f62af3a8b16915adf993ed675cba368f13d4acf" region="sprite" offset="0" />
    <rom name="df1_chr0.bin" size="131072" crc="4b10e4ed" sha1="b3c56f712b05837590d25dfa7535b0f63cbd61c5" region="c123tmap" offset="0" />
    <rom name="df1_chr1.bin" size="131072" crc="8f63f3d6" sha1="4432b611550e6890bc351a0db7a90deabe489824" region="c123tmap" offset="80000" />
    <rom name="df1_chr2.bin" size="131072" crc="5a1b852a" sha1="84cbfc04614ed85fdf0efe5ab10d1b6e86bea028" region="c123tmap" offset="100000" />
    <rom name="df1_chr3.bin" size="131072" crc="28570676" sha1="2a0c90839fda6153f6fe42a759d51293998034e2" region="c123tmap" offset="180000" />
    <rom name="df1_roz0.bin" size="262144" crc="a6129f94" sha1="5c6f36dce703d985704676948999c81374ac1856" region="s2roz" offset="0" />
    <rom name="df1_roz1.bin" size="262144" crc="c8e7ce73" sha1="7e113a56c6c115c251bf8b17d763c8955757edd2" region="s2roz" offset="80000" />
    <rom name="df1_roz2.bin" size="262144" crc="c598e923" sha1="67b8d74c7a44a896d842271842bb5d2b26d565be" region="s2roz" offset="100000" />
    <rom name="df1_roz3.bin" size="262144" crc="5a38b062" sha1="ed80b2abcd8d271a42426f8282a9d413c2329705" region="s2roz" offset="180000" />
    <rom name="df1_roz4.bin" size="262144" crc="e196d2e8" sha1="bc2756c37209766681b31fcef867462a888b2deb" region="s2roz" offset="200000" />
    <rom name="df1_roz5.bin" size="262144" crc="1f8a1a3c" sha1="e0c381685135857fb5b81e5e1259f1bec018e2c1" region="s2roz" offset="280000" />
    <rom name="df1_roz6.bin" size="262144" crc="7f3a1ed9" sha1="df62bc3a236046b73b296cb396f6e7ee6861de09" region="s2roz" offset="300000" />
    <rom name="df1_roz7.bin" size="262144" crc="dd546ae8" sha1="a5b50b4e8027027ec272ed5c71c7bff4b03e9f92" region="s2roz" offset="380000" />
    <rom name="df1_sha.bin" size="131072" crc="9a7c9a9b" sha1="06221ae8d3f6bebbb5a7ab2eaaf35b9922389115" region="c123tmap:mask" offset="0" />
    <rom name="df1_dat0.13s" size="262144" crc="f5851c85" sha1="e99c05891622cdaab394630b7b2678968e6761d7" region="data_rom" offset="0" />
    <rom name="df1_dat1.13p" size="262144" crc="1a31e46b" sha1="4be7115893b27d6a3dc38c97dcb41eafebb423cd" region="data_rom" offset="1" />
    <rom name="df1_voi1.bin" size="524288" crc="15053904" sha1="b8ca7e5e53249dbee8284ce1e5c0e6438e64b2cf" region="c140" offset="0" />
    <rom name="nvram" size="8192" crc="4b9f7b06" sha1="384496d2d80a48d31084dc316ebae3a5c1aa1ab9" region="nvram" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namcos2_roz" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="90" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <input players="1" coins="2">
      <control type="paddle" buttons="2" minimum="0" maximum="255" sensitivity="70" keydelta="50" />
      <control type="pedal" minimum="0" maximum="127" sensitivity="100" keydelta="15" />
    </input>
    <dipswitch name="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5">
      <analog mask="255" />
    </port>
    <port tag=":AN6">
      <analog mask="255" />
    </port>
    <port tag=":AN7">
      <analog mask="255" />
    </port>
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="good" emulation="good" savestate="supported" />
    <feature type="lan" status="unemulated" />
  </machine>
  <machine name="dsaber" sourcefile="namcos2.cpp">
    <description>Dragon Saber (World, DO2)</description>
    <year>1990</year>
    <manufacturer>Namco</manufacturer>
    <rom name="do2 mpr0.mpr0" size="131072" crc="a4c9ff34" sha1="bf9310f1ab2f45ec01d6fa19e7d2e1d2a802dd2a" region="maincpu" offset="0" />
    <rom name="do2 mpr1.mpr1" size="131072" crc="2a89e794" sha1="d9548e14a915b7bfab87292f03bdfd884438b49b" region="maincpu" offset="1" />
    <rom name="do1 spr0.spr0" size="65536" crc="013faf80" sha1="2cb086e9bb6a551e9fc185c40b976989f758cc57" region="slave" offset="0" />
    <rom name="do1 spr1.spr1" size="65536" crc="c36242bb" sha1="776f0ab4b2798bc7fc293e27a455675c01ff3132" region="slave" offset="1" />
    <rom name="do1 snd0.snd0" size="131072" crc="af5b1ff8" sha1="fc2a104788f081e4d2ddd22c586e541d6c5b5d69" region="audiocpu" offset="0" />
    <rom name="do1 snd1.snd1" size="131072" crc="c4ca6f3f" sha1="829a053451be07b296fb4d97818d59eb1e68c807" region="audiocpu" offset="20000" />
    <rom name="sys2c65c.bin" size="32768" crc="a5b2a4ff" sha1="068bdfcc71a5e83706e8b23330691973c1c214dc" region="c65mcu:external" offset="0" />
    <rom name="do obj-0a.obj0" size="524288" crc="f08c6648" sha1="ac5221ba159f2390060cbbb7d9cd8148c7bb4a02" region="sprite" offset="3" />
    <rom name="do obj-1a.obj1" size="524288" crc="34e0810d" sha1="679d9b82879cff5197a5098e5dc724c85373b9dc" region="sprite" offset="2" />
    <rom name="do obj-2a.obj2" size="524288" crc="bccdabf3" sha1="d079d89083ac6e71ac8926792d0d7cdcebc848a9" region="sprite" offset="1" />
    <rom name="do obj-3a.obj3" size="524288" crc="2a60a4b8" sha1="5923e08121ad27629bd917d890e037e888e6d356" region="sprite" offset="0" />
    <rom name="do chr-0a.chr0" size="524288" crc="c6058df6" sha1="13bacad6d593aa5533161e410e22f351c77f29c4" region="c123tmap" offset="0" />
    <rom name="do chr-1a.chr1" size="524288" crc="67aaab36" sha1="3abb7e226badcfe016325d42c40f06ee020124e3" region="c123tmap" offset="80000" />
    <rom name="roz0.bin" size="524288" crc="32aab758" sha1="a3220c2a02b9d8bdd95004d36d2aa5ddf57adfbb" region="s2roz" offset="0" />
    <rom name="shape.bin" size="524288" crc="698e7a3e" sha1="4d41bf0242626ca1448d1f650c84b5987a7f6597" region="c123tmap:mask" offset="0" />
    <rom name="do1 dat0.13s" size="131072" crc="3e53331f" sha1="3dd4c133f587361f30ab1b890f5b05749d5838e3" region="data_rom" offset="0" />
    <rom name="do1 dat1.13p" size="131072" crc="d5427f11" sha1="af8d8153dc60044616a6b0571831c53c09fefda1" region="data_rom" offset="1" />
    <rom name="do voi-1a.voice1" size="524288" crc="dadf6a57" sha1="caba21fc6b62d140f6d8231411ce82ae0ad2837a" region="c140" offset="0" />
    <rom name="do voi-2a.voice2" size="524288" crc="81078e01" sha1="adc70506b21b9a12eadd2f3fd1e920c2eb27c36e" region="c140" offset="100000" />
    <rom name="pal16l8a.4g" size="260" crc="660e1655" sha1="ffb43238c5ffa3fa831975bc3cde72334c4c2540" region="plds" offset="0" />
    <rom name="pal16l8a.5f" size="260" crc="18f43c22" sha1="72849c5b842678bb9037541d26d4c99cdf879982" region="plds" offset="200" />
    <rom name="pal12l10.8d" size="64" crc="e2379249" sha1="ad4cdf2e0fd1304a135022eeafa2f61c5f5789cd" region="plds" offset="400" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namcos2_roz" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="90" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <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="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5" />
    <port tag=":AN6" />
    <port tag=":AN7" />
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="good" emulation="good" savestate="supported" />
  </machine>
  <machine name="dsabera" sourcefile="namcos2.cpp" cloneof="dsaber" romof="dsaber">
    <description>Dragon Saber (World, older?)</description>
    <year>1990</year>
    <manufacturer>Namco</manufacturer>
    <rom name="mpr0.bin" size="131072" crc="45309ddc" sha1="53b63046b0e5178695c998a0956667f4cf4204f2" region="maincpu" offset="0" />
    <rom name="mpr1.bin" size="131072" crc="cbfc4cba" sha1="2037119f28af2b6a4af9e2019506ad7fccfa3113" region="maincpu" offset="1" />
    <rom name="do1 spr0.spr0" merge="do1 spr0.spr0" size="65536" crc="013faf80" sha1="2cb086e9bb6a551e9fc185c40b976989f758cc57" region="slave" offset="0" />
    <rom name="do1 spr1.spr1" merge="do1 spr1.spr1" size="65536" crc="c36242bb" sha1="776f0ab4b2798bc7fc293e27a455675c01ff3132" region="slave" offset="1" />
    <rom name="do1 snd0.snd0" merge="do1 snd0.snd0" size="131072" crc="af5b1ff8" sha1="fc2a104788f081e4d2ddd22c586e541d6c5b5d69" region="audiocpu" offset="0" />
    <rom name="do1 snd1.snd1" merge="do1 snd1.snd1" size="131072" crc="c4ca6f3f" sha1="829a053451be07b296fb4d97818d59eb1e68c807" region="audiocpu" offset="20000" />
    <rom name="sys2c65c.bin" merge="sys2c65c.bin" size="32768" crc="a5b2a4ff" sha1="068bdfcc71a5e83706e8b23330691973c1c214dc" region="c65mcu:external" offset="0" />
    <rom name="do obj-0a.obj0" merge="do obj-0a.obj0" size="524288" crc="f08c6648" sha1="ac5221ba159f2390060cbbb7d9cd8148c7bb4a02" region="sprite" offset="3" />
    <rom name="do obj-1a.obj1" merge="do obj-1a.obj1" size="524288" crc="34e0810d" sha1="679d9b82879cff5197a5098e5dc724c85373b9dc" region="sprite" offset="2" />
    <rom name="do obj-2a.obj2" merge="do obj-2a.obj2" size="524288" crc="bccdabf3" sha1="d079d89083ac6e71ac8926792d0d7cdcebc848a9" region="sprite" offset="1" />
    <rom name="do obj-3a.obj3" merge="do obj-3a.obj3" size="524288" crc="2a60a4b8" sha1="5923e08121ad27629bd917d890e037e888e6d356" region="sprite" offset="0" />
    <rom name="do chr-0a.chr0" merge="do chr-0a.chr0" size="524288" crc="c6058df6" sha1="13bacad6d593aa5533161e410e22f351c77f29c4" region="c123tmap" offset="0" />
    <rom name="do chr-1a.chr1" merge="do chr-1a.chr1" size="524288" crc="67aaab36" sha1="3abb7e226badcfe016325d42c40f06ee020124e3" region="c123tmap" offset="80000" />
    <rom name="roz0.bin" merge="roz0.bin" size="524288" crc="32aab758" sha1="a3220c2a02b9d8bdd95004d36d2aa5ddf57adfbb" region="s2roz" offset="0" />
    <rom name="shape.bin" merge="shape.bin" size="524288" crc="698e7a3e" sha1="4d41bf0242626ca1448d1f650c84b5987a7f6597" region="c123tmap:mask" offset="0" />
    <rom name="do1 dat0.13s" merge="do1 dat0.13s" size="131072" crc="3e53331f" sha1="3dd4c133f587361f30ab1b890f5b05749d5838e3" region="data_rom" offset="0" />
    <rom name="do1 dat1.13p" merge="do1 dat1.13p" size="131072" crc="d5427f11" sha1="af8d8153dc60044616a6b0571831c53c09fefda1" region="data_rom" offset="1" />
    <rom name="do voi-1a.voice1" merge="do voi-1a.voice1" size="524288" crc="dadf6a57" sha1="caba21fc6b62d140f6d8231411ce82ae0ad2837a" region="c140" offset="0" />
    <rom name="do voi-2a.voice2" merge="do voi-2a.voice2" size="524288" crc="81078e01" sha1="adc70506b21b9a12eadd2f3fd1e920c2eb27c36e" region="c140" offset="100000" />
    <rom name="pal16l8a.4g" merge="pal16l8a.4g" size="260" crc="660e1655" sha1="ffb43238c5ffa3fa831975bc3cde72334c4c2540" region="plds" offset="0" />
    <rom name="pal16l8a.5f" merge="pal16l8a.5f" size="260" crc="18f43c22" sha1="72849c5b842678bb9037541d26d4c99cdf879982" region="plds" offset="200" />
    <rom name="pal12l10.8d" merge="pal12l10.8d" size="64" crc="e2379249" sha1="ad4cdf2e0fd1304a135022eeafa2f61c5f5789cd" region="plds" offset="400" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namcos2_roz" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="90" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <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="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5" />
    <port tag=":AN6" />
    <port tag=":AN7" />
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="good" emulation="good" savestate="supported" />
  </machine>
  <machine name="dsaberj" sourcefile="namcos2.cpp" cloneof="dsaber" romof="dsaber">
    <description>Dragon Saber (Japan, Rev B)</description>
    <year>1990</year>
    <manufacturer>Namco</manufacturer>
    <rom name="do1 mpr0b.mor0" size="131072" crc="2898e791" sha1="9f4fd4899897cfb7c8f918abc2070e1ac4169f5d" region="maincpu" offset="0" />
    <rom name="do1 mpr1b.mpr1" size="131072" crc="5fa9778e" sha1="3beeb73a42e6afdf866a88618aa03fe8934ec2aa" region="maincpu" offset="1" />
    <rom name="do1 spr0.spr0" merge="do1 spr0.spr0" size="65536" crc="013faf80" sha1="2cb086e9bb6a551e9fc185c40b976989f758cc57" region="slave" offset="0" />
    <rom name="do1 spr1.spr1" merge="do1 spr1.spr1" size="65536" crc="c36242bb" sha1="776f0ab4b2798bc7fc293e27a455675c01ff3132" region="slave" offset="1" />
    <rom name="do1 snd0.snd0" merge="do1 snd0.snd0" size="131072" crc="af5b1ff8" sha1="fc2a104788f081e4d2ddd22c586e541d6c5b5d69" region="audiocpu" offset="0" />
    <rom name="do1 snd1.snd1" merge="do1 snd1.snd1" size="131072" crc="c4ca6f3f" sha1="829a053451be07b296fb4d97818d59eb1e68c807" region="audiocpu" offset="20000" />
    <rom name="sys2c65c.bin" merge="sys2c65c.bin" size="32768" crc="a5b2a4ff" sha1="068bdfcc71a5e83706e8b23330691973c1c214dc" region="c65mcu:external" offset="0" />
    <rom name="do obj-0a.obj0" merge="do obj-0a.obj0" size="524288" crc="f08c6648" sha1="ac5221ba159f2390060cbbb7d9cd8148c7bb4a02" region="sprite" offset="3" />
    <rom name="do obj-1a.obj1" merge="do obj-1a.obj1" size="524288" crc="34e0810d" sha1="679d9b82879cff5197a5098e5dc724c85373b9dc" region="sprite" offset="2" />
    <rom name="do obj-2a.obj2" merge="do obj-2a.obj2" size="524288" crc="bccdabf3" sha1="d079d89083ac6e71ac8926792d0d7cdcebc848a9" region="sprite" offset="1" />
    <rom name="do obj-3a.obj3" merge="do obj-3a.obj3" size="524288" crc="2a60a4b8" sha1="5923e08121ad27629bd917d890e037e888e6d356" region="sprite" offset="0" />
    <rom name="do chr-0a.chr0" merge="do chr-0a.chr0" size="524288" crc="c6058df6" sha1="13bacad6d593aa5533161e410e22f351c77f29c4" region="c123tmap" offset="0" />
    <rom name="do chr-1a.chr1" merge="do chr-1a.chr1" size="524288" crc="67aaab36" sha1="3abb7e226badcfe016325d42c40f06ee020124e3" region="c123tmap" offset="80000" />
    <rom name="roz0.bin" merge="roz0.bin" size="524288" crc="32aab758" sha1="a3220c2a02b9d8bdd95004d36d2aa5ddf57adfbb" region="s2roz" offset="0" />
    <rom name="shape.bin" merge="shape.bin" size="524288" crc="698e7a3e" sha1="4d41bf0242626ca1448d1f650c84b5987a7f6597" region="c123tmap:mask" offset="0" />
    <rom name="do1 dat0.13s" merge="do1 dat0.13s" size="131072" crc="3e53331f" sha1="3dd4c133f587361f30ab1b890f5b05749d5838e3" region="data_rom" offset="0" />
    <rom name="do1 dat1.13p" merge="do1 dat1.13p" size="131072" crc="d5427f11" sha1="af8d8153dc60044616a6b0571831c53c09fefda1" region="data_rom" offset="1" />
    <rom name="do voi-1a.voice1" merge="do voi-1a.voice1" size="524288" crc="dadf6a57" sha1="caba21fc6b62d140f6d8231411ce82ae0ad2837a" region="c140" offset="0" />
    <rom name="do voi-2a.voice2" merge="do voi-2a.voice2" size="524288" crc="81078e01" sha1="adc70506b21b9a12eadd2f3fd1e920c2eb27c36e" region="c140" offset="100000" />
    <rom name="pal16l8a.4g" merge="pal16l8a.4g" size="260" crc="660e1655" sha1="ffb43238c5ffa3fa831975bc3cde72334c4c2540" region="plds" offset="0" />
    <rom name="pal16l8a.5f" merge="pal16l8a.5f" size="260" crc="18f43c22" sha1="72849c5b842678bb9037541d26d4c99cdf879982" region="plds" offset="200" />
    <rom name="pal12l10.8d" merge="pal12l10.8d" size="64" crc="e2379249" sha1="ad4cdf2e0fd1304a135022eeafa2f61c5f5789cd" region="plds" offset="400" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namcos2_roz" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="90" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <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="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5" />
    <port tag=":AN6" />
    <port tag=":AN7" />
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="good" emulation="good" savestate="supported" />
  </machine>
  <machine name="finalap2" sourcefile="namcos2.cpp">
    <description>Final Lap 2</description>
    <year>1990</year>
    <manufacturer>Namco</manufacturer>
    <rom name="fls2mp0b" size="131072" crc="97b48aae" sha1="03774b642c5a8186e443ad4138a9e86a931a2199" region="maincpu" offset="0" />
    <rom name="fls2mp1b" size="131072" crc="c9f3e0e7" sha1="4127e373239e4ca31b5fa8b71d8f10b7d7ed93c2" region="maincpu" offset="1" />
    <rom name="fls2sp0b" size="131072" crc="8bf15d9c" sha1="b6c14a9d06e99d03636fd6eb2163a18e2bbcc4b1" region="slave" offset="0" />
    <rom name="fls2sp1b" size="131072" crc="c1a31086" sha1="55317b72a219ffbfe00bf62ad2a635790d56f84e" region="slave" offset="1" />
    <rom name="flss0" size="131072" crc="c07cc10a" sha1="012f19a8014a77fdf0409241c0223b2c0c247357" region="audiocpu" offset="0" />
    <rom name="sys2c65c.bin" size="32768" crc="a5b2a4ff" sha1="068bdfcc71a5e83706e8b23330691973c1c214dc" region="c65mcu:external" offset="0" />
    <rom name="fl2obj0" size="524288" crc="3657dd7a" sha1="8f286ec0642b09ff42bf0dbd784ae257d4ab278a" region="sprite" offset="3" />
    <rom name="fl2obj2" size="524288" crc="8ac933fd" sha1="b158df2ec55f49ec05861075c8d7bd265361dab0" region="sprite" offset="2" />
    <rom name="fl2obj4" size="524288" crc="e7b989e6" sha1="485e8148510edd1645f5b4fbbc9a53e8bf1c3e5f" region="sprite" offset="1" />
    <rom name="fl2obj6" size="524288" crc="4936583d" sha1="0145e89fdb5db28cb8f8ce59572729e83d8fad7c" region="sprite" offset="0" />
    <rom name="fl2obj1" size="524288" crc="3cebf419" sha1="bfdf1b768920e55850173a5bcd1007608e1a4f56" region="sprite" offset="200003" />
    <rom name="fl2obj3" size="524288" crc="0959ed55" sha1="00e640d449cb47da0e65baa798743395c7a1f632" region="sprite" offset="200002" />
    <rom name="fl2obj5" size="524288" crc="d74ae0d3" sha1="96c9798378da7bdc127ed7d02a4dd14dfd142550" region="sprite" offset="200001" />
    <rom name="fl2obj7" size="524288" crc="5ca68c93" sha1="fa326992338843ccfa458a5b85ba58537da666d0" region="sprite" offset="200000" />
    <rom name="fls2chr0" size="262144" crc="7bbda499" sha1="cf6ff072a40063cbe41eae1f60b29447a0020926" region="c123tmap" offset="0" />
    <rom name="fls2chr1" size="262144" crc="ac8940e5" sha1="449687d38cf830445df713ed4d675ed94ca5b375" region="c123tmap" offset="40000" />
    <rom name="fls2chr2" size="262144" crc="1756173d" sha1="c912163979098387aea9a0580e9ca55c1f7275f3" region="c123tmap" offset="80000" />
    <rom name="fls2chr3" size="262144" crc="69032785" sha1="cfcd12bea730f724444188c206adcdb5e755eb7d" region="c123tmap" offset="c0000" />
    <rom name="fls2chr4" size="262144" crc="8216cf42" sha1="79820435584d769b63649b554574486dbcd6f468" region="c123tmap" offset="100000" />
    <rom name="fls2chr5" size="262144" crc="dc3e8e1c" sha1="a7968cfa0ca2639364507b42526f10cf1b2000f4" region="c123tmap" offset="140000" />
    <rom name="fls2chr6" size="262144" crc="1ef4bdde" sha1="ceb36c021450efa4cb0fee278fa0b9d65f7d1f05" region="c123tmap" offset="180000" />
    <rom name="fls2chr7" size="262144" crc="53dafcde" sha1="f9d9460349b34bda95b8c206af7ce2347c951214" region="c123tmap" offset="1c0000" />
    <rom name="fls2sha" size="262144" crc="f7b40a85" sha1="a458a1cc0dae757fe8a15cb5f5ae46d3c033df00" region="c123tmap:mask" offset="0" />
    <rom name="fls2dat0.13s" size="262144" crc="f1af432c" sha1="c514261a49ceb5c3ba0246519ba5d02e9a20d950" region="data_rom" offset="0" />
    <rom name="fls2dat1.13p" size="262144" crc="8719533e" sha1="98d2767da6f7f67da7af15e8cfed95adb04b7427" region="data_rom" offset="1" />
    <rom name="fl1-3.5b" size="256" crc="d179d99a" sha1="4e64f284c74d2b77f893bd28aaa6489084056aa2" region="c45_road:clut" offset="0" />
    <rom name="flsvoi1" size="524288" crc="590be52f" sha1="9ef2728dd533979b6019b422fc4961a6085428b4" region="c140" offset="0" />
    <rom name="flsvoi2" size="524288" crc="204b3c27" sha1="80cd13bfe2a4b3039b4a120b905674e46b8b3b9c" region="c140" offset="100000" />
    <rom name="finalap2.nv" size="8192" crc="c7ae5d0a" sha1="9527e44accec0ec9d1990138d1b0bfc71957cc8a" region="nvram" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namco_c45_road" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <input players="1" coins="2">
      <control type="paddle" buttons="1" minimum="0" maximum="255" sensitivity="50" keydelta="10" />
      <control type="pedal" minimum="0" maximum="255" sensitivity="100" keydelta="15" />
    </input>
    <dipswitch name="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="PortB 0x01" tag="MCUB" mask="1">
      <dipvalue name="H" value="1" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Car Type(A)" tag="MCUB" mask="2">
      <dipvalue name="McLaren/Williams" value="2" default="yes" />
      <dipvalue name="Lotus/March" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="MCUC" mask="64">
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x01" tag="MCUH" mask="1">
      <dipvalue name="H" value="1" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Automatic Car Select" tag="MCUH" mask="2">
      <dipvalue name="No" value="2" default="yes" />
      <dipvalue name="Yes" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x04" tag="MCUH" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Enable Onscreen Diagnostics" tag="MCUH" mask="8">
      <dipvalue name="No" value="8" default="yes" />
      <dipvalue name="Yes" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x10" tag="MCUH" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x40" tag="MCUH" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Car Type(B)" tag="MCUH" mask="128">
      <dipvalue name="McLaren/March" value="0" />
      <dipvalue name="Williams/Lotus" value="128" default="yes" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5">
      <analog mask="255" />
    </port>
    <port tag=":AN6">
      <analog mask="255" />
    </port>
    <port tag=":AN7">
      <analog mask="255" />
    </port>
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="imperfect" emulation="good" savestate="supported" />
    <feature type="graphics" status="imperfect" />
    <feature type="sound" status="imperfect" />
    <feature type="lan" status="unemulated" />
  </machine>
  <machine name="finalap2j" sourcefile="namcos2.cpp" cloneof="finalap2" romof="finalap2">
    <description>Final Lap 2 (Japan)</description>
    <year>1990</year>
    <manufacturer>Namco</manufacturer>
    <rom name="fls1_mp0.bin" size="131072" crc="05ea8090" sha1="edd3d8780e9f849f45fff1593821aed6b7711a57" region="maincpu" offset="0" />
    <rom name="fls1_mp1.bin" size="131072" crc="fb189f50" sha1="9436aea727adf9e11e8061d0ded4e4b00df90b70" region="maincpu" offset="1" />
    <rom name="fls2sp0b" merge="fls2sp0b" size="131072" crc="8bf15d9c" sha1="b6c14a9d06e99d03636fd6eb2163a18e2bbcc4b1" region="slave" offset="0" />
    <rom name="fls2sp1b" merge="fls2sp1b" size="131072" crc="c1a31086" sha1="55317b72a219ffbfe00bf62ad2a635790d56f84e" region="slave" offset="1" />
    <rom name="flss0" merge="flss0" size="131072" crc="c07cc10a" sha1="012f19a8014a77fdf0409241c0223b2c0c247357" region="audiocpu" offset="0" />
    <rom name="sys2c65c.bin" merge="sys2c65c.bin" size="32768" crc="a5b2a4ff" sha1="068bdfcc71a5e83706e8b23330691973c1c214dc" region="c65mcu:external" offset="0" />
    <rom name="fl2obj0" merge="fl2obj0" size="524288" crc="3657dd7a" sha1="8f286ec0642b09ff42bf0dbd784ae257d4ab278a" region="sprite" offset="3" />
    <rom name="fl2obj2" merge="fl2obj2" size="524288" crc="8ac933fd" sha1="b158df2ec55f49ec05861075c8d7bd265361dab0" region="sprite" offset="2" />
    <rom name="fl2obj4" merge="fl2obj4" size="524288" crc="e7b989e6" sha1="485e8148510edd1645f5b4fbbc9a53e8bf1c3e5f" region="sprite" offset="1" />
    <rom name="fl2obj6" merge="fl2obj6" size="524288" crc="4936583d" sha1="0145e89fdb5db28cb8f8ce59572729e83d8fad7c" region="sprite" offset="0" />
    <rom name="fl2obj1" merge="fl2obj1" size="524288" crc="3cebf419" sha1="bfdf1b768920e55850173a5bcd1007608e1a4f56" region="sprite" offset="200003" />
    <rom name="fl2obj3" merge="fl2obj3" size="524288" crc="0959ed55" sha1="00e640d449cb47da0e65baa798743395c7a1f632" region="sprite" offset="200002" />
    <rom name="fl2obj5" merge="fl2obj5" size="524288" crc="d74ae0d3" sha1="96c9798378da7bdc127ed7d02a4dd14dfd142550" region="sprite" offset="200001" />
    <rom name="fl2obj7" merge="fl2obj7" size="524288" crc="5ca68c93" sha1="fa326992338843ccfa458a5b85ba58537da666d0" region="sprite" offset="200000" />
    <rom name="fls2chr0" merge="fls2chr0" size="262144" crc="7bbda499" sha1="cf6ff072a40063cbe41eae1f60b29447a0020926" status="baddump" region="c123tmap" offset="0" />
    <rom name="fls2chr1" merge="fls2chr1" size="262144" crc="ac8940e5" sha1="449687d38cf830445df713ed4d675ed94ca5b375" status="baddump" region="c123tmap" offset="40000" />
    <rom name="fls2chr2" merge="fls2chr2" size="262144" crc="1756173d" sha1="c912163979098387aea9a0580e9ca55c1f7275f3" status="baddump" region="c123tmap" offset="80000" />
    <rom name="fls2chr3" merge="fls2chr3" size="262144" crc="69032785" sha1="cfcd12bea730f724444188c206adcdb5e755eb7d" status="baddump" region="c123tmap" offset="c0000" />
    <rom name="fls2chr4" merge="fls2chr4" size="262144" crc="8216cf42" sha1="79820435584d769b63649b554574486dbcd6f468" status="baddump" region="c123tmap" offset="100000" />
    <rom name="fls2chr5" merge="fls2chr5" size="262144" crc="dc3e8e1c" sha1="a7968cfa0ca2639364507b42526f10cf1b2000f4" status="baddump" region="c123tmap" offset="140000" />
    <rom name="fls2chr6" merge="fls2chr6" size="262144" crc="1ef4bdde" sha1="ceb36c021450efa4cb0fee278fa0b9d65f7d1f05" status="baddump" region="c123tmap" offset="180000" />
    <rom name="fls2chr7" merge="fls2chr7" size="262144" crc="53dafcde" sha1="f9d9460349b34bda95b8c206af7ce2347c951214" status="baddump" region="c123tmap" offset="1c0000" />
    <rom name="fls2sha" merge="fls2sha" size="262144" crc="f7b40a85" sha1="a458a1cc0dae757fe8a15cb5f5ae46d3c033df00" status="baddump" region="c123tmap:mask" offset="0" />
    <rom name="fls2dat0.13s" merge="fls2dat0.13s" size="262144" crc="f1af432c" sha1="c514261a49ceb5c3ba0246519ba5d02e9a20d950" region="data_rom" offset="0" />
    <rom name="fls2dat1.13p" merge="fls2dat1.13p" size="262144" crc="8719533e" sha1="98d2767da6f7f67da7af15e8cfed95adb04b7427" region="data_rom" offset="1" />
    <rom name="fl1-3.5b" merge="fl1-3.5b" size="256" crc="d179d99a" sha1="4e64f284c74d2b77f893bd28aaa6489084056aa2" region="c45_road:clut" offset="0" />
    <rom name="flsvoi1" merge="flsvoi1" size="524288" crc="590be52f" sha1="9ef2728dd533979b6019b422fc4961a6085428b4" region="c140" offset="0" />
    <rom name="flsvoi2" merge="flsvoi2" size="524288" crc="204b3c27" sha1="80cd13bfe2a4b3039b4a120b905674e46b8b3b9c" region="c140" offset="100000" />
    <rom name="finalap2.nv" merge="finalap2.nv" size="8192" crc="c7ae5d0a" sha1="9527e44accec0ec9d1990138d1b0bfc71957cc8a" region="nvram" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namco_c45_road" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <input players="1" coins="2">
      <control type="paddle" buttons="1" minimum="0" maximum="255" sensitivity="50" keydelta="10" />
      <control type="pedal" minimum="0" maximum="255" sensitivity="100" keydelta="15" />
    </input>
    <dipswitch name="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="PortB 0x01" tag="MCUB" mask="1">
      <dipvalue name="H" value="1" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Car Type(A)" tag="MCUB" mask="2">
      <dipvalue name="McLaren/Williams" value="2" default="yes" />
      <dipvalue name="Lotus/March" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="MCUC" mask="64">
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x01" tag="MCUH" mask="1">
      <dipvalue name="H" value="1" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Automatic Car Select" tag="MCUH" mask="2">
      <dipvalue name="No" value="2" default="yes" />
      <dipvalue name="Yes" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x04" tag="MCUH" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Enable Onscreen Diagnostics" tag="MCUH" mask="8">
      <dipvalue name="No" value="8" default="yes" />
      <dipvalue name="Yes" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x10" tag="MCUH" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x40" tag="MCUH" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Car Type(B)" tag="MCUH" mask="128">
      <dipvalue name="McLaren/March" value="0" />
      <dipvalue name="Williams/Lotus" value="128" default="yes" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5">
      <analog mask="255" />
    </port>
    <port tag=":AN6">
      <analog mask="255" />
    </port>
    <port tag=":AN7">
      <analog mask="255" />
    </port>
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="imperfect" emulation="good" savestate="supported" />
    <feature type="graphics" status="imperfect" />
    <feature type="sound" status="imperfect" />
    <feature type="lan" status="unemulated" />
  </machine>
  <machine name="finalap3" sourcefile="namcos2.cpp">
    <description>Final Lap 3 (World, Rev C)</description>
    <year>1992</year>
    <manufacturer>Namco</manufacturer>
    <rom name="flt2_mpr0c.11d" size="131072" crc="9ff361ff" sha1="0a197f5a3e9a03455cd5afe6979587baf757973f" region="maincpu" offset="0" />
    <rom name="flt2_mpr1c.13d" size="131072" crc="17efb7f2" sha1="74940950b8b1a3353a130846937c9f651be3f335" region="maincpu" offset="1" />
    <rom name="flt1_sp0.11k" size="131072" crc="e804ced1" sha1="b31e1fddd202ba503b28455a270e8d45a348dc2e" region="slave" offset="0" />
    <rom name="flt1_sp1.13k" size="131072" crc="3a2b24ee" sha1="e4f16f30516dab13cc8b1cb6c80ec1df129f8851" region="slave" offset="1" />
    <rom name="flt1_snd0.7j" size="131072" crc="60b72aed" sha1="f12e157ae5e9f373ba1d75012b869b1c4ad9fb00" region="audiocpu" offset="0" />
    <rom name="flt_obj-0.4c" size="524288" crc="eab19ec6" sha1="2859e88b94aa873f3b6ba22790f2211f3e172dd1" region="sprite" offset="3" />
    <rom name="flt_obj-2.4a" size="524288" crc="2a3b7ded" sha1="455d9d6cf7d497687f93af899fc20bbff6129391" region="sprite" offset="2" />
    <rom name="flt_obj-4.8c" size="524288" crc="84aa500c" sha1="087c0089478a270154f50f3b0f001428e80d74c7" region="sprite" offset="1" />
    <rom name="flt_obj-6.8a" size="524288" crc="33118e63" sha1="126cc034909e05da953a1a67d6c0f18f5304b407" region="sprite" offset="0" />
    <rom name="flt_obj-1.2c" size="524288" crc="4ef37a51" sha1="2f43691cfcd852773ae5e1d879f556f232bae877" region="sprite" offset="200003" />
    <rom name="flt_obj-3.2a" size="524288" crc="b86dc7cd" sha1="25402d7111c1277a618b313d1244c1a567ce458a" region="sprite" offset="200002" />
    <rom name="flt_obj-5.5c" size="524288" crc="6a53e603" sha1="6087c694e0e30a98c84227991d9c2e9c39c3e9ca" region="sprite" offset="200001" />
    <rom name="flt_obj-7.6a" size="524288" crc="b52a85e2" sha1="1eea10eb20ae56309397238a52e9ea0756912412" region="sprite" offset="200000" />
    <rom name="flt2_chr-0.11n" size="262144" crc="5954f270" sha1="6f26365d89f38d4ab477908f32823e06f1a84e09" region="c123tmap" offset="0" />
    <rom name="fltchr-1.11p" size="262144" crc="2e68d13c" sha1="46bb0628da1f97e0f6865f37e53a01d2e8391255" region="c123tmap" offset="40000" />
    <rom name="flt2_chr-2.11r" size="262144" crc="98f3b190" sha1="4858dab070c0c46d37148312664c6a616765c240" region="c123tmap" offset="80000" />
    <rom name="fltchr-3.11s" size="262144" crc="e9b05a1f" sha1="6b7e08f4f535fb99692920612f751a49c3cd529e" region="c123tmap" offset="c0000" />
    <rom name="fltchr-4.9n" size="262144" crc="5ae43767" sha1="f3e24dd5ba2cffffd616ddee628e423aa0aec1d2" region="c123tmap" offset="100000" />
    <rom name="fltchr-5.9p" size="262144" crc="b5f4e780" sha1="a7d64d150121eda5d82f5651a06a11683220577a" region="c123tmap" offset="140000" />
    <rom name="fltchr-6.9r" size="262144" crc="4b0baea2" sha1="a75ba5294f06ddbe170988073b8f4a74a7cbcee1" region="c123tmap" offset="180000" />
    <rom name="fltchr-7.9s" size="262144" crc="85db9e94" sha1="918f414c1dd51f7451a9a491ba1d60f5f9a38c3e" region="c123tmap" offset="1c0000" />
    <rom name="flt2_sha.7n" size="262144" crc="6986565b" sha1="df95f2ad5d1e938551d33153f2dcc4711ffd0eba" region="c123tmap:mask" offset="0" />
    <rom name="flt1_d0.13s" size="131072" crc="80004966" sha1="112b2a9b0ea792d5dbff1b9cf904da788aeede29" region="data_rom" offset="0" />
    <rom name="flt1_d1.13p" size="131072" crc="a2e93e8c" sha1="9c8a5431a79153a70eb6939d16e0a5a6be235e75" region="data_rom" offset="1" />
    <rom name="fl1_3.5b" size="256" crc="d179d99a" sha1="4e64f284c74d2b77f893bd28aaa6489084056aa2" region="c45_road:clut" offset="0" />
    <rom name="flt_voi-1.3m" size="524288" crc="4fc7c0ba" sha1="bbfd1764fd79087bba5e6199e8916c28bed4d3f4" region="c140" offset="0" />
    <rom name="flt_voi-2.3l" size="524288" crc="409c62df" sha1="0c2f088168f1f92f2f767ea47522c0e8f4a10265" region="c140" offset="100000" />
    <rom name="04544191.6r" size="8192" crc="90db1bf6" sha1="dbb9e50a8efc3b4012fcf587cc87da9ef42a1b80" region="user2" offset="0" />
    <rom name="finalap3.nv" size="8192" crc="efbc6274" sha1="f542012e467027b7bd5d7102096ff91d8c9adee3" region="nvram" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namco_c45_road" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc68" />
    <device_ref name="m37450" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c68mcu:mcu" name="Mitsubishi M37450" clock="8192000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <input players="1" coins="2">
      <control type="paddle" buttons="1" minimum="0" maximum="255" sensitivity="50" keydelta="10" />
      <control type="pedal" minimum="0" maximum="255" sensitivity="100" keydelta="15" />
    </input>
    <dipswitch name="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="PortB 0x01" tag="MCUB" mask="1">
      <dipvalue name="H" value="1" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Car Type(A)" tag="MCUB" mask="2">
      <dipvalue name="McLaren/Williams" value="2" default="yes" />
      <dipvalue name="Lotus/March" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="MCUC" mask="64">
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x01" tag="MCUH" mask="1">
      <dipvalue name="H" value="1" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Automatic Car Select" tag="MCUH" mask="2">
      <dipvalue name="No" value="2" default="yes" />
      <dipvalue name="Yes" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x04" tag="MCUH" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Enable Onscreen Diagnostics" tag="MCUH" mask="8">
      <dipvalue name="No" value="8" default="yes" />
      <dipvalue name="Yes" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x10" tag="MCUH" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x40" tag="MCUH" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Car Type(B)" tag="MCUH" mask="128">
      <dipvalue name="McLaren/March" value="0" />
      <dipvalue name="Williams/Lotus" value="128" default="yes" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5">
      <analog mask="255" />
    </port>
    <port tag=":AN6">
      <analog mask="255" />
    </port>
    <port tag=":AN7">
      <analog mask="255" />
    </port>
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="imperfect" emulation="good" savestate="supported" />
    <feature type="graphics" status="imperfect" />
    <feature type="sound" status="imperfect" />
    <feature type="lan" status="unemulated" />
  </machine>
  <machine name="finalap3a" sourcefile="namcos2.cpp" cloneof="finalap3" romof="finalap3">
    <description>Final Lap 3 (World, set 2)</description>
    <year>1992</year>
    <manufacturer>Namco</manufacturer>
    <rom name="flt2-mp0.11d" size="131072" crc="22082168" sha1="d3090a91bda70fb46d3b7846d32db36c1f42d5cc" region="maincpu" offset="0" />
    <rom name="flt2-mp1.13d" size="131072" crc="2ec21977" sha1="fe8ded6402da710255e09cdb22ba1ef5acd78518" region="maincpu" offset="1" />
    <rom name="flt1_sp0.11k" merge="flt1_sp0.11k" size="131072" crc="e804ced1" sha1="b31e1fddd202ba503b28455a270e8d45a348dc2e" region="slave" offset="0" />
    <rom name="flt1_sp1.13k" merge="flt1_sp1.13k" size="131072" crc="3a2b24ee" sha1="e4f16f30516dab13cc8b1cb6c80ec1df129f8851" region="slave" offset="1" />
    <rom name="flt1_snd0.7j" merge="flt1_snd0.7j" size="131072" crc="60b72aed" sha1="f12e157ae5e9f373ba1d75012b869b1c4ad9fb00" region="audiocpu" offset="0" />
    <rom name="flt_obj-0.4c" merge="flt_obj-0.4c" size="524288" crc="eab19ec6" sha1="2859e88b94aa873f3b6ba22790f2211f3e172dd1" region="sprite" offset="3" />
    <rom name="flt_obj-2.4a" merge="flt_obj-2.4a" size="524288" crc="2a3b7ded" sha1="455d9d6cf7d497687f93af899fc20bbff6129391" region="sprite" offset="2" />
    <rom name="flt_obj-4.8c" merge="flt_obj-4.8c" size="524288" crc="84aa500c" sha1="087c0089478a270154f50f3b0f001428e80d74c7" region="sprite" offset="1" />
    <rom name="flt_obj-6.8a" merge="flt_obj-6.8a" size="524288" crc="33118e63" sha1="126cc034909e05da953a1a67d6c0f18f5304b407" region="sprite" offset="0" />
    <rom name="flt_obj-1.2c" merge="flt_obj-1.2c" size="524288" crc="4ef37a51" sha1="2f43691cfcd852773ae5e1d879f556f232bae877" region="sprite" offset="200003" />
    <rom name="flt_obj-3.2a" merge="flt_obj-3.2a" size="524288" crc="b86dc7cd" sha1="25402d7111c1277a618b313d1244c1a567ce458a" region="sprite" offset="200002" />
    <rom name="flt_obj-5.5c" merge="flt_obj-5.5c" size="524288" crc="6a53e603" sha1="6087c694e0e30a98c84227991d9c2e9c39c3e9ca" region="sprite" offset="200001" />
    <rom name="flt_obj-7.6a" merge="flt_obj-7.6a" size="524288" crc="b52a85e2" sha1="1eea10eb20ae56309397238a52e9ea0756912412" region="sprite" offset="200000" />
    <rom name="flt2_chr-0.11n" merge="flt2_chr-0.11n" size="262144" crc="5954f270" sha1="6f26365d89f38d4ab477908f32823e06f1a84e09" region="c123tmap" offset="0" />
    <rom name="fltchr-1.11p" merge="fltchr-1.11p" size="262144" crc="2e68d13c" sha1="46bb0628da1f97e0f6865f37e53a01d2e8391255" region="c123tmap" offset="40000" />
    <rom name="flt2_chr-2.11r" merge="flt2_chr-2.11r" size="262144" crc="98f3b190" sha1="4858dab070c0c46d37148312664c6a616765c240" region="c123tmap" offset="80000" />
    <rom name="fltchr-3.11s" merge="fltchr-3.11s" size="262144" crc="e9b05a1f" sha1="6b7e08f4f535fb99692920612f751a49c3cd529e" region="c123tmap" offset="c0000" />
    <rom name="fltchr-4.9n" merge="fltchr-4.9n" size="262144" crc="5ae43767" sha1="f3e24dd5ba2cffffd616ddee628e423aa0aec1d2" region="c123tmap" offset="100000" />
    <rom name="fltchr-5.9p" merge="fltchr-5.9p" size="262144" crc="b5f4e780" sha1="a7d64d150121eda5d82f5651a06a11683220577a" region="c123tmap" offset="140000" />
    <rom name="fltchr-6.9r" merge="fltchr-6.9r" size="262144" crc="4b0baea2" sha1="a75ba5294f06ddbe170988073b8f4a74a7cbcee1" region="c123tmap" offset="180000" />
    <rom name="fltchr-7.9s" merge="fltchr-7.9s" size="262144" crc="85db9e94" sha1="918f414c1dd51f7451a9a491ba1d60f5f9a38c3e" region="c123tmap" offset="1c0000" />
    <rom name="flt2_sha.7n" merge="flt2_sha.7n" size="262144" crc="6986565b" sha1="df95f2ad5d1e938551d33153f2dcc4711ffd0eba" region="c123tmap:mask" offset="0" />
    <rom name="flt1_d0.13s" merge="flt1_d0.13s" size="131072" crc="80004966" sha1="112b2a9b0ea792d5dbff1b9cf904da788aeede29" region="data_rom" offset="0" />
    <rom name="flt1_d1.13p" merge="flt1_d1.13p" size="131072" crc="a2e93e8c" sha1="9c8a5431a79153a70eb6939d16e0a5a6be235e75" region="data_rom" offset="1" />
    <rom name="fl1_3.5b" merge="fl1_3.5b" size="256" crc="d179d99a" sha1="4e64f284c74d2b77f893bd28aaa6489084056aa2" region="c45_road:clut" offset="0" />
    <rom name="flt_voi-1.3m" merge="flt_voi-1.3m" size="524288" crc="4fc7c0ba" sha1="bbfd1764fd79087bba5e6199e8916c28bed4d3f4" region="c140" offset="0" />
    <rom name="flt_voi-2.3l" merge="flt_voi-2.3l" size="524288" crc="409c62df" sha1="0c2f088168f1f92f2f767ea47522c0e8f4a10265" region="c140" offset="100000" />
    <rom name="04544191.6r" merge="04544191.6r" size="8192" crc="90db1bf6" sha1="dbb9e50a8efc3b4012fcf587cc87da9ef42a1b80" region="user2" offset="0" />
    <rom name="341.bin" size="131072" crc="8c90ca97" sha1="dce2a680a5bc213f2f48d4baffc86ea27fe90209" region="unknown" offset="0" />
    <rom name="finalap3.nv" merge="finalap3.nv" size="8192" crc="efbc6274" sha1="f542012e467027b7bd5d7102096ff91d8c9adee3" region="nvram" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namco_c45_road" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc68" />
    <device_ref name="m37450" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c68mcu:mcu" name="Mitsubishi M37450" clock="8192000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <input players="1" coins="2">
      <control type="paddle" buttons="1" minimum="0" maximum="255" sensitivity="50" keydelta="10" />
      <control type="pedal" minimum="0" maximum="255" sensitivity="100" keydelta="15" />
    </input>
    <dipswitch name="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="PortB 0x01" tag="MCUB" mask="1">
      <dipvalue name="H" value="1" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Car Type(A)" tag="MCUB" mask="2">
      <dipvalue name="McLaren/Williams" value="2" default="yes" />
      <dipvalue name="Lotus/March" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="MCUC" mask="64">
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x01" tag="MCUH" mask="1">
      <dipvalue name="H" value="1" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Automatic Car Select" tag="MCUH" mask="2">
      <dipvalue name="No" value="2" default="yes" />
      <dipvalue name="Yes" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x04" tag="MCUH" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Enable Onscreen Diagnostics" tag="MCUH" mask="8">
      <dipvalue name="No" value="8" default="yes" />
      <dipvalue name="Yes" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x10" tag="MCUH" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x40" tag="MCUH" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Car Type(B)" tag="MCUH" mask="128">
      <dipvalue name="McLaren/March" value="0" />
      <dipvalue name="Williams/Lotus" value="128" default="yes" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5">
      <analog mask="255" />
    </port>
    <port tag=":AN6">
      <analog mask="255" />
    </port>
    <port tag=":AN7">
      <analog mask="255" />
    </port>
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="imperfect" emulation="good" savestate="supported" />
    <feature type="graphics" status="imperfect" />
    <feature type="sound" status="imperfect" />
    <feature type="lan" status="unemulated" />
  </machine>
  <machine name="finalap3bl" sourcefile="namcos2.cpp" cloneof="finalap3" romof="finalap3">
    <description>Final Lap 3 (bootleg)</description>
    <year>1992</year>
    <manufacturer>Namco</manufacturer>
    <rom name="fl3-mp0.11d" size="131072" crc="af11f52e" sha1="7be160bc4babe780399747efdca0f61a8b4fca93" region="maincpu" offset="0" />
    <rom name="fl3-mp1.13d" size="131072" crc="da9b1b48" sha1="58b15a29759e511367d994a5ef1fae3f5cd4fa82" region="maincpu" offset="1" />
    <rom name="flt1sp0" merge="flt1_sp0.11k" size="131072" crc="e804ced1" sha1="b31e1fddd202ba503b28455a270e8d45a348dc2e" region="slave" offset="0" />
    <rom name="flt1sp1" merge="flt1_sp1.13k" size="131072" crc="3a2b24ee" sha1="e4f16f30516dab13cc8b1cb6c80ec1df129f8851" region="slave" offset="1" />
    <rom name="flt1_snd0.7j" merge="flt1_snd0.7j" size="131072" crc="60b72aed" sha1="f12e157ae5e9f373ba1d75012b869b1c4ad9fb00" region="audiocpu" offset="0" />
    <rom name="fltobj0" merge="flt_obj-0.4c" size="524288" crc="eab19ec6" sha1="2859e88b94aa873f3b6ba22790f2211f3e172dd1" region="sprite" offset="3" />
    <rom name="fltobj2" merge="flt_obj-2.4a" size="524288" crc="2a3b7ded" sha1="455d9d6cf7d497687f93af899fc20bbff6129391" region="sprite" offset="2" />
    <rom name="fltobj4" merge="flt_obj-4.8c" size="524288" crc="84aa500c" sha1="087c0089478a270154f50f3b0f001428e80d74c7" region="sprite" offset="1" />
    <rom name="fltobj6" merge="flt_obj-6.8a" size="524288" crc="33118e63" sha1="126cc034909e05da953a1a67d6c0f18f5304b407" region="sprite" offset="0" />
    <rom name="fltobj1" merge="flt_obj-1.2c" size="524288" crc="4ef37a51" sha1="2f43691cfcd852773ae5e1d879f556f232bae877" region="sprite" offset="200003" />
    <rom name="fltobj3" merge="flt_obj-3.2a" size="524288" crc="b86dc7cd" sha1="25402d7111c1277a618b313d1244c1a567ce458a" region="sprite" offset="200002" />
    <rom name="fltobj5" merge="flt_obj-5.5c" size="524288" crc="6a53e603" sha1="6087c694e0e30a98c84227991d9c2e9c39c3e9ca" region="sprite" offset="200001" />
    <rom name="fltobj7" merge="flt_obj-7.6a" size="524288" crc="b52a85e2" sha1="1eea10eb20ae56309397238a52e9ea0756912412" region="sprite" offset="200000" />
    <rom name="flt2_chr-0.bin" merge="flt2_chr-0.11n" size="262144" crc="5954f270" sha1="6f26365d89f38d4ab477908f32823e06f1a84e09" region="c123tmap" offset="0" />
    <rom name="fltchr-1.11p" merge="fltchr-1.11p" size="262144" crc="2e68d13c" sha1="46bb0628da1f97e0f6865f37e53a01d2e8391255" region="c123tmap" offset="40000" />
    <rom name="flt2_chr-2.bin" merge="flt2_chr-2.11r" size="262144" crc="98f3b190" sha1="4858dab070c0c46d37148312664c6a616765c240" region="c123tmap" offset="80000" />
    <rom name="fltchr-3.11s" merge="fltchr-3.11s" size="262144" crc="e9b05a1f" sha1="6b7e08f4f535fb99692920612f751a49c3cd529e" region="c123tmap" offset="c0000" />
    <rom name="fltchr-4.9n" merge="fltchr-4.9n" size="262144" crc="5ae43767" sha1="f3e24dd5ba2cffffd616ddee628e423aa0aec1d2" region="c123tmap" offset="100000" />
    <rom name="fltchr-5.9p" merge="fltchr-5.9p" size="262144" crc="b5f4e780" sha1="a7d64d150121eda5d82f5651a06a11683220577a" region="c123tmap" offset="140000" />
    <rom name="fltchr-6.9r" merge="fltchr-6.9r" size="262144" crc="4b0baea2" sha1="a75ba5294f06ddbe170988073b8f4a74a7cbcee1" region="c123tmap" offset="180000" />
    <rom name="fltchr-7.9s" merge="fltchr-7.9s" size="262144" crc="85db9e94" sha1="918f414c1dd51f7451a9a491ba1d60f5f9a38c3e" region="c123tmap" offset="1c0000" />
    <rom name="flt2_sha.bin" merge="flt2_sha.7n" size="262144" crc="6986565b" sha1="df95f2ad5d1e938551d33153f2dcc4711ffd0eba" region="c123tmap:mask" offset="0" />
    <rom name="flt1d0.13s" merge="flt1_d0.13s" size="131072" crc="80004966" sha1="112b2a9b0ea792d5dbff1b9cf904da788aeede29" region="data_rom" offset="0" />
    <rom name="flt1d1.13p" merge="flt1_d1.13p" size="131072" crc="a2e93e8c" sha1="9c8a5431a79153a70eb6939d16e0a5a6be235e75" region="data_rom" offset="1" />
    <rom name="fl1-3.5b" merge="fl1_3.5b" size="256" crc="d179d99a" sha1="4e64f284c74d2b77f893bd28aaa6489084056aa2" region="c45_road:clut" offset="0" />
    <rom name="fltvoi1" merge="flt_voi-1.3m" size="524288" crc="4fc7c0ba" sha1="bbfd1764fd79087bba5e6199e8916c28bed4d3f4" region="c140" offset="0" />
    <rom name="fltvoi2" merge="flt_voi-2.3l" size="524288" crc="409c62df" sha1="0c2f088168f1f92f2f767ea47522c0e8f4a10265" region="c140" offset="100000" />
    <rom name="04544191.6r" merge="04544191.6r" size="8192" crc="90db1bf6" sha1="dbb9e50a8efc3b4012fcf587cc87da9ef42a1b80" region="user2" offset="0" />
    <rom name="finalap3.nv" merge="finalap3.nv" size="8192" crc="efbc6274" sha1="f542012e467027b7bd5d7102096ff91d8c9adee3" region="nvram" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namco_c45_road" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc68" />
    <device_ref name="m37450" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c68mcu:mcu" name="Mitsubishi M37450" clock="8192000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <input players="1" coins="2">
      <control type="paddle" buttons="1" minimum="0" maximum="255" sensitivity="50" keydelta="10" />
      <control type="pedal" minimum="0" maximum="255" sensitivity="100" keydelta="15" />
    </input>
    <dipswitch name="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="PortB 0x01" tag="MCUB" mask="1">
      <dipvalue name="H" value="1" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Car Type(A)" tag="MCUB" mask="2">
      <dipvalue name="McLaren/Williams" value="2" default="yes" />
      <dipvalue name="Lotus/March" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="MCUC" mask="64">
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x01" tag="MCUH" mask="1">
      <dipvalue name="H" value="1" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Automatic Car Select" tag="MCUH" mask="2">
      <dipvalue name="No" value="2" default="yes" />
      <dipvalue name="Yes" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x04" tag="MCUH" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Enable Onscreen Diagnostics" tag="MCUH" mask="8">
      <dipvalue name="No" value="8" default="yes" />
      <dipvalue name="Yes" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x10" tag="MCUH" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x40" tag="MCUH" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Car Type(B)" tag="MCUH" mask="128">
      <dipvalue name="McLaren/March" value="0" />
      <dipvalue name="Williams/Lotus" value="128" default="yes" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5">
      <analog mask="255" />
    </port>
    <port tag=":AN6">
      <analog mask="255" />
    </port>
    <port tag=":AN7">
      <analog mask="255" />
    </port>
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="preliminary" emulation="preliminary" savestate="supported" />
    <feature type="graphics" status="imperfect" />
    <feature type="sound" status="imperfect" />
    <feature type="lan" status="unemulated" />
  </machine>
  <machine name="finalap3j" sourcefile="namcos2.cpp" cloneof="finalap3" romof="finalap3">
    <description>Final Lap 3 (Japan)</description>
    <year>1992</year>
    <manufacturer>Namco</manufacturer>
    <rom name="flt_mp0.11d" size="131072" crc="2f2a997a" sha1="02c805b0727d55bd7782d3352d3563c490694fdb" region="maincpu" offset="0" />
    <rom name="flt_mp1.13d" size="131072" crc="b505ca0b" sha1="2dd6c264806a32466df78a0bc1f44e2e2796f81e" region="maincpu" offset="1" />
    <rom name="flt1_sp0.11k" merge="flt1_sp0.11k" size="131072" crc="e804ced1" sha1="b31e1fddd202ba503b28455a270e8d45a348dc2e" region="slave" offset="0" />
    <rom name="flt1_sp1.13k" merge="flt1_sp1.13k" size="131072" crc="3a2b24ee" sha1="e4f16f30516dab13cc8b1cb6c80ec1df129f8851" region="slave" offset="1" />
    <rom name="flt1_snd0.7j" merge="flt1_snd0.7j" size="131072" crc="60b72aed" sha1="f12e157ae5e9f373ba1d75012b869b1c4ad9fb00" region="audiocpu" offset="0" />
    <rom name="flt_obj-0.4c" merge="flt_obj-0.4c" size="524288" crc="eab19ec6" sha1="2859e88b94aa873f3b6ba22790f2211f3e172dd1" region="sprite" offset="3" />
    <rom name="flt_obj-2.4a" merge="flt_obj-2.4a" size="524288" crc="2a3b7ded" sha1="455d9d6cf7d497687f93af899fc20bbff6129391" region="sprite" offset="2" />
    <rom name="flt_obj-4.8c" merge="flt_obj-4.8c" size="524288" crc="84aa500c" sha1="087c0089478a270154f50f3b0f001428e80d74c7" region="sprite" offset="1" />
    <rom name="flt_obj-6.8a" merge="flt_obj-6.8a" size="524288" crc="33118e63" sha1="126cc034909e05da953a1a67d6c0f18f5304b407" region="sprite" offset="0" />
    <rom name="flt_obj-1.2c" merge="flt_obj-1.2c" size="524288" crc="4ef37a51" sha1="2f43691cfcd852773ae5e1d879f556f232bae877" region="sprite" offset="200003" />
    <rom name="flt_obj-3.2a" merge="flt_obj-3.2a" size="524288" crc="b86dc7cd" sha1="25402d7111c1277a618b313d1244c1a567ce458a" region="sprite" offset="200002" />
    <rom name="flt_obj-5.5c" merge="flt_obj-5.5c" size="524288" crc="6a53e603" sha1="6087c694e0e30a98c84227991d9c2e9c39c3e9ca" region="sprite" offset="200001" />
    <rom name="flt_obj-7.6a" merge="flt_obj-7.6a" size="524288" crc="b52a85e2" sha1="1eea10eb20ae56309397238a52e9ea0756912412" region="sprite" offset="200000" />
    <rom name="fltchr-0.11n" size="262144" crc="97ed5b62" sha1="ce076ae71c6b2950be2a303829072d59732315df" region="c123tmap" offset="0" />
    <rom name="fltchr-1.11p" merge="fltchr-1.11p" size="262144" crc="2e68d13c" sha1="46bb0628da1f97e0f6865f37e53a01d2e8391255" region="c123tmap" offset="40000" />
    <rom name="fltchr-2.11r" size="262144" crc="43c3abf8" sha1="de66bcdb3e419725b7e7d9ae0c95e13ee99ec5c9" region="c123tmap" offset="80000" />
    <rom name="fltchr-3.11s" merge="fltchr-3.11s" size="262144" crc="e9b05a1f" sha1="6b7e08f4f535fb99692920612f751a49c3cd529e" region="c123tmap" offset="c0000" />
    <rom name="fltchr-4.9n" merge="fltchr-4.9n" size="262144" crc="5ae43767" sha1="f3e24dd5ba2cffffd616ddee628e423aa0aec1d2" region="c123tmap" offset="100000" />
    <rom name="fltchr-5.9p" merge="fltchr-5.9p" size="262144" crc="b5f4e780" sha1="a7d64d150121eda5d82f5651a06a11683220577a" region="c123tmap" offset="140000" />
    <rom name="fltchr-6.9r" merge="fltchr-6.9r" size="262144" crc="4b0baea2" sha1="a75ba5294f06ddbe170988073b8f4a74a7cbcee1" region="c123tmap" offset="180000" />
    <rom name="fltchr-7.9s" merge="fltchr-7.9s" size="262144" crc="85db9e94" sha1="918f414c1dd51f7451a9a491ba1d60f5f9a38c3e" region="c123tmap" offset="1c0000" />
    <rom name="flt_sha.7n" size="262144" crc="211bbd83" sha1="17502830d1af1e2cfbc17e2f3bb303f2a0c27e68" region="c123tmap:mask" offset="0" />
    <rom name="flt1_d0.13s" merge="flt1_d0.13s" size="131072" crc="80004966" sha1="112b2a9b0ea792d5dbff1b9cf904da788aeede29" region="data_rom" offset="0" />
    <rom name="flt1_d1.13p" merge="flt1_d1.13p" size="131072" crc="a2e93e8c" sha1="9c8a5431a79153a70eb6939d16e0a5a6be235e75" region="data_rom" offset="1" />
    <rom name="fl1_3.5b" merge="fl1_3.5b" size="256" crc="d179d99a" sha1="4e64f284c74d2b77f893bd28aaa6489084056aa2" region="c45_road:clut" offset="0" />
    <rom name="flt_voi-1.3m" merge="flt_voi-1.3m" size="524288" crc="4fc7c0ba" sha1="bbfd1764fd79087bba5e6199e8916c28bed4d3f4" region="c140" offset="0" />
    <rom name="flt_voi-2.3l" merge="flt_voi-2.3l" size="524288" crc="409c62df" sha1="0c2f088168f1f92f2f767ea47522c0e8f4a10265" region="c140" offset="100000" />
    <rom name="04544191.6r" merge="04544191.6r" size="8192" crc="90db1bf6" sha1="dbb9e50a8efc3b4012fcf587cc87da9ef42a1b80" region="user2" offset="0" />
    <rom name="finalap3.nv" merge="finalap3.nv" size="8192" crc="efbc6274" sha1="f542012e467027b7bd5d7102096ff91d8c9adee3" region="nvram" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namco_c45_road" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc68" />
    <device_ref name="m37450" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c68mcu:mcu" name="Mitsubishi M37450" clock="8192000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <input players="1" coins="2">
      <control type="paddle" buttons="1" minimum="0" maximum="255" sensitivity="50" keydelta="10" />
      <control type="pedal" minimum="0" maximum="255" sensitivity="100" keydelta="15" />
    </input>
    <dipswitch name="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="PortB 0x01" tag="MCUB" mask="1">
      <dipvalue name="H" value="1" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Car Type(A)" tag="MCUB" mask="2">
      <dipvalue name="McLaren/Williams" value="2" default="yes" />
      <dipvalue name="Lotus/March" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="MCUC" mask="64">
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x01" tag="MCUH" mask="1">
      <dipvalue name="H" value="1" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Automatic Car Select" tag="MCUH" mask="2">
      <dipvalue name="No" value="2" default="yes" />
      <dipvalue name="Yes" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x04" tag="MCUH" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Enable Onscreen Diagnostics" tag="MCUH" mask="8">
      <dipvalue name="No" value="8" default="yes" />
      <dipvalue name="Yes" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x10" tag="MCUH" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x40" tag="MCUH" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Car Type(B)" tag="MCUH" mask="128">
      <dipvalue name="McLaren/March" value="0" />
      <dipvalue name="Williams/Lotus" value="128" default="yes" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5">
      <analog mask="255" />
    </port>
    <port tag=":AN6">
      <analog mask="255" />
    </port>
    <port tag=":AN7">
      <analog mask="255" />
    </port>
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="imperfect" emulation="good" savestate="supported" />
    <feature type="graphics" status="imperfect" />
    <feature type="sound" status="imperfect" />
    <feature type="lan" status="unemulated" />
  </machine>
  <machine name="finalap3jc" sourcefile="namcos2.cpp" cloneof="finalap3" romof="finalap3">
    <description>Final Lap 3 (Japan, Rev C)</description>
    <year>1992</year>
    <manufacturer>Namco</manufacturer>
    <rom name="flt1_mp0c.11d" size="131072" crc="ebe1bff8" sha1="dbfb2ba770dbbaa44d8b83c05365a97ddd18908d" region="maincpu" offset="0" />
    <rom name="flt1_mp1c.13d" size="131072" crc="61099bb8" sha1="c0e5a1bf15f5746d58ee8c510459fe76dde5a5a9" region="maincpu" offset="1" />
    <rom name="flt1_sp0.11k" merge="flt1_sp0.11k" size="131072" crc="e804ced1" sha1="b31e1fddd202ba503b28455a270e8d45a348dc2e" region="slave" offset="0" />
    <rom name="flt1_sp1.13k" merge="flt1_sp1.13k" size="131072" crc="3a2b24ee" sha1="e4f16f30516dab13cc8b1cb6c80ec1df129f8851" region="slave" offset="1" />
    <rom name="flt1_snd0.7j" merge="flt1_snd0.7j" size="131072" crc="60b72aed" sha1="f12e157ae5e9f373ba1d75012b869b1c4ad9fb00" region="audiocpu" offset="0" />
    <rom name="flt_obj-0.4c" merge="flt_obj-0.4c" size="524288" crc="eab19ec6" sha1="2859e88b94aa873f3b6ba22790f2211f3e172dd1" region="sprite" offset="3" />
    <rom name="flt_obj-2.4a" merge="flt_obj-2.4a" size="524288" crc="2a3b7ded" sha1="455d9d6cf7d497687f93af899fc20bbff6129391" region="sprite" offset="2" />
    <rom name="flt_obj-4.8c" merge="flt_obj-4.8c" size="524288" crc="84aa500c" sha1="087c0089478a270154f50f3b0f001428e80d74c7" region="sprite" offset="1" />
    <rom name="flt_obj-6.8a" merge="flt_obj-6.8a" size="524288" crc="33118e63" sha1="126cc034909e05da953a1a67d6c0f18f5304b407" region="sprite" offset="0" />
    <rom name="flt_obj-1.2c" merge="flt_obj-1.2c" size="524288" crc="4ef37a51" sha1="2f43691cfcd852773ae5e1d879f556f232bae877" region="sprite" offset="200003" />
    <rom name="flt_obj-3.2a" merge="flt_obj-3.2a" size="524288" crc="b86dc7cd" sha1="25402d7111c1277a618b313d1244c1a567ce458a" region="sprite" offset="200002" />
    <rom name="flt_obj-5.5c" merge="flt_obj-5.5c" size="524288" crc="6a53e603" sha1="6087c694e0e30a98c84227991d9c2e9c39c3e9ca" region="sprite" offset="200001" />
    <rom name="flt_obj-7.6a" merge="flt_obj-7.6a" size="524288" crc="b52a85e2" sha1="1eea10eb20ae56309397238a52e9ea0756912412" region="sprite" offset="200000" />
    <rom name="flt_chr-0.11n" size="262144" crc="97ed5b62" sha1="ce076ae71c6b2950be2a303829072d59732315df" region="c123tmap" offset="0" />
    <rom name="flt_chr-1.11p" merge="fltchr-1.11p" size="262144" crc="2e68d13c" sha1="46bb0628da1f97e0f6865f37e53a01d2e8391255" region="c123tmap" offset="40000" />
    <rom name="flt_chr-2.11r" size="262144" crc="43c3abf8" sha1="de66bcdb3e419725b7e7d9ae0c95e13ee99ec5c9" region="c123tmap" offset="80000" />
    <rom name="flt_chr-3.11s" merge="fltchr-3.11s" size="262144" crc="e9b05a1f" sha1="6b7e08f4f535fb99692920612f751a49c3cd529e" region="c123tmap" offset="c0000" />
    <rom name="flt_chr-4.9n" merge="fltchr-4.9n" size="262144" crc="5ae43767" sha1="f3e24dd5ba2cffffd616ddee628e423aa0aec1d2" region="c123tmap" offset="100000" />
    <rom name="flt_chr-5.9p" merge="fltchr-5.9p" size="262144" crc="b5f4e780" sha1="a7d64d150121eda5d82f5651a06a11683220577a" region="c123tmap" offset="140000" />
    <rom name="flt_chr-6.9r" merge="fltchr-6.9r" size="262144" crc="4b0baea2" sha1="a75ba5294f06ddbe170988073b8f4a74a7cbcee1" region="c123tmap" offset="180000" />
    <rom name="flt_chr-7.9s" merge="fltchr-7.9s" size="262144" crc="85db9e94" sha1="918f414c1dd51f7451a9a491ba1d60f5f9a38c3e" region="c123tmap" offset="1c0000" />
    <rom name="flt_sha.7n" size="262144" crc="211bbd83" sha1="17502830d1af1e2cfbc17e2f3bb303f2a0c27e68" region="c123tmap:mask" offset="0" />
    <rom name="flt1_d0.13s" merge="flt1_d0.13s" size="131072" crc="80004966" sha1="112b2a9b0ea792d5dbff1b9cf904da788aeede29" region="data_rom" offset="0" />
    <rom name="flt1_d1.13p" merge="flt1_d1.13p" size="131072" crc="a2e93e8c" sha1="9c8a5431a79153a70eb6939d16e0a5a6be235e75" region="data_rom" offset="1" />
    <rom name="fl1_3.5b" merge="fl1_3.5b" size="256" crc="d179d99a" sha1="4e64f284c74d2b77f893bd28aaa6489084056aa2" region="c45_road:clut" offset="0" />
    <rom name="flt_voi-1.3m" merge="flt_voi-1.3m" size="524288" crc="4fc7c0ba" sha1="bbfd1764fd79087bba5e6199e8916c28bed4d3f4" region="c140" offset="0" />
    <rom name="flt_voi-2.3l" merge="flt_voi-2.3l" size="524288" crc="409c62df" sha1="0c2f088168f1f92f2f767ea47522c0e8f4a10265" region="c140" offset="100000" />
    <rom name="04544191.6r" merge="04544191.6r" size="8192" crc="90db1bf6" sha1="dbb9e50a8efc3b4012fcf587cc87da9ef42a1b80" region="user2" offset="0" />
    <rom name="finalap3.nv" merge="finalap3.nv" size="8192" crc="efbc6274" sha1="f542012e467027b7bd5d7102096ff91d8c9adee3" region="nvram" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namco_c45_road" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc68" />
    <device_ref name="m37450" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c68mcu:mcu" name="Mitsubishi M37450" clock="8192000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <input players="1" coins="2">
      <control type="paddle" buttons="1" minimum="0" maximum="255" sensitivity="50" keydelta="10" />
      <control type="pedal" minimum="0" maximum="255" sensitivity="100" keydelta="15" />
    </input>
    <dipswitch name="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="PortB 0x01" tag="MCUB" mask="1">
      <dipvalue name="H" value="1" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Car Type(A)" tag="MCUB" mask="2">
      <dipvalue name="McLaren/Williams" value="2" default="yes" />
      <dipvalue name="Lotus/March" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="MCUC" mask="64">
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x01" tag="MCUH" mask="1">
      <dipvalue name="H" value="1" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Automatic Car Select" tag="MCUH" mask="2">
      <dipvalue name="No" value="2" default="yes" />
      <dipvalue name="Yes" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x04" tag="MCUH" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Enable Onscreen Diagnostics" tag="MCUH" mask="8">
      <dipvalue name="No" value="8" default="yes" />
      <dipvalue name="Yes" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x10" tag="MCUH" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x40" tag="MCUH" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Car Type(B)" tag="MCUH" mask="128">
      <dipvalue name="McLaren/March" value="0" />
      <dipvalue name="Williams/Lotus" value="128" default="yes" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5">
      <analog mask="255" />
    </port>
    <port tag=":AN6">
      <analog mask="255" />
    </port>
    <port tag=":AN7">
      <analog mask="255" />
    </port>
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="imperfect" emulation="good" savestate="supported" />
    <feature type="graphics" status="imperfect" />
    <feature type="sound" status="imperfect" />
    <feature type="lan" status="unemulated" />
  </machine>
  <machine name="finallap" sourcefile="namcos2.cpp">
    <description>Final Lap (Rev E)</description>
    <year>1987</year>
    <manufacturer>Namco</manufacturer>
    <rom name="fl2mp0e" size="65536" crc="ed805674" sha1="1d3f391a736303677c69438e5dd0919d0df9aec7" region="maincpu" offset="0" />
    <rom name="fl2mp1e" size="65536" crc="4c1d523b" sha1="2aa096008f115c0c45bc930c8c7d514e824686f1" region="maincpu" offset="1" />
    <rom name="fl1-sp0" size="65536" crc="2c5ff15d" sha1="762b49016e8688a3b323b85bc4009b1745f86a3f" region="slave" offset="0" />
    <rom name="fl1-sp1" size="65536" crc="ea9d1a2e" sha1="37f96306c49475bf45157f768c9173a057bade20" region="slave" offset="1" />
    <rom name="fl1-s0b" size="131072" crc="f5d76989" sha1="05c45ccc60fe833cee04f8300620bea5fecc110f" region="audiocpu" offset="0" />
    <rom name="obj-0b" size="524288" crc="c6986523" sha1="1a4b0e95ade6314850b6e44f2debda0ab6e91397" region="sprite" offset="200003" />
    <rom name="obj-1b" size="524288" crc="6af7d284" sha1="c74f975c301ff15040be1b38359624ec9c83ac76" region="sprite" offset="200002" />
    <rom name="obj-2b" size="524288" crc="de45ca8d" sha1="f476ff1719f60d721d55fd1e40e465f48e7ed019" region="sprite" offset="200001" />
    <rom name="obj-3b" size="524288" crc="dba830a2" sha1="5bd899b39458978dd419bf01082782a02b2d9c20" region="sprite" offset="200000" />
    <rom name="fl1-c0" size="131072" crc="cd9d2966" sha1="39671f846542ba6ae47764674509127cf73e3d71" region="c123tmap" offset="0" />
    <rom name="fl1-c1" size="131072" crc="b0efec87" sha1="6d042f35942c2bdbf5aeb31358d3837ee9c8e5fa" region="c123tmap" offset="80000" />
    <rom name="fl1-c2" size="131072" crc="263b8e31" sha1="e2665edd89f7bb8c699e61df6de6a2e8e0698092" region="c123tmap" offset="100000" />
    <rom name="fl1-c3" size="131072" crc="c2c56743" sha1="3f338599ffd2e13452cdc3dbf3697fd8aa04bcd2" region="c123tmap" offset="180000" />
    <rom name="fl2-c4" size="131072" crc="83c77a50" sha1="a3c19de25819586bdecae46326836090e80a92ee" region="c123tmap" offset="200000" />
    <rom name="fl1-c5" size="131072" crc="ab89da77" sha1="5cbead4289269a832c0d44d0ded79b58fcc4cc17" region="c123tmap" offset="280000" />
    <rom name="fl2-c6" size="131072" crc="239bd9a0" sha1="729abe89bea31b4e21161c69579df775b1cba6fe" region="c123tmap" offset="300000" />
    <rom name="fl2-sha" size="131072" crc="5fda0b6d" sha1="92c0410e159977ea73a8e8c0cb1321c3056f6c2f" region="c123tmap:mask" offset="0" />
    <rom name="fl1-3.5b" size="256" crc="d179d99a" sha1="4e64f284c74d2b77f893bd28aaa6489084056aa2" region="c45_road:clut" offset="0" />
    <rom name="fl1-v1" size="131072" crc="86b21996" sha1="833ffde729199c81e472fb88ed5b7f4ce08a83d6" region="c140" offset="0" />
    <rom name="fl1-v2" size="131072" crc="6a164647" sha1="3162457beccccdb416994ebd32fb83b13eb719e0" region="c140" offset="100000" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namco_c45_road" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <input players="1" coins="2">
      <control type="paddle" buttons="1" minimum="0" maximum="255" sensitivity="50" keydelta="10" />
      <control type="pedal" minimum="0" maximum="255" sensitivity="100" keydelta="15" />
    </input>
    <dipswitch name="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="PortB 0x01" tag="MCUB" mask="1">
      <dipvalue name="H" value="1" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Car Type(A)" tag="MCUB" mask="2">
      <dipvalue name="McLaren/Williams" value="2" default="yes" />
      <dipvalue name="Lotus/March" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="MCUC" mask="64">
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x01" tag="MCUH" mask="1">
      <dipvalue name="H" value="1" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Automatic Car Select" tag="MCUH" mask="2">
      <dipvalue name="No" value="2" default="yes" />
      <dipvalue name="Yes" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x04" tag="MCUH" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Enable Onscreen Diagnostics" tag="MCUH" mask="8">
      <dipvalue name="No" value="8" default="yes" />
      <dipvalue name="Yes" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x10" tag="MCUH" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x40" tag="MCUH" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Car Type(B)" tag="MCUH" mask="128">
      <dipvalue name="McLaren/March" value="0" />
      <dipvalue name="Williams/Lotus" value="128" default="yes" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5">
      <analog mask="255" />
    </port>
    <port tag=":AN6">
      <analog mask="255" />
    </port>
    <port tag=":AN7">
      <analog mask="255" />
    </port>
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="imperfect" emulation="good" savestate="supported" />
    <feature type="graphics" status="imperfect" />
    <feature type="sound" status="imperfect" />
    <feature type="lan" status="unemulated" />
  </machine>
  <machine name="finallapc" sourcefile="namcos2.cpp" cloneof="finallap" romof="finallap">
    <description>Final Lap (Rev C)</description>
    <year>1987</year>
    <manufacturer>Namco</manufacturer>
    <rom name="fl2-mp0c" size="65536" crc="f667f2c9" sha1="79096bd600c001b21020ddf468e55c34dad9f1eb" region="maincpu" offset="0" />
    <rom name="fl2-mp1c" size="65536" crc="b8615d33" sha1="f72ce75047cf41d47684d6657aa3bd1b00f68056" region="maincpu" offset="1" />
    <rom name="fl1-sp0" merge="fl1-sp0" size="65536" crc="2c5ff15d" sha1="762b49016e8688a3b323b85bc4009b1745f86a3f" region="slave" offset="0" />
    <rom name="fl1-sp1" merge="fl1-sp1" size="65536" crc="ea9d1a2e" sha1="37f96306c49475bf45157f768c9173a057bade20" region="slave" offset="1" />
    <rom name="fl1-s0" size="131072" crc="1f8ff494" sha1="10a90291159e29a905c6d438aa2bc98ccf906a69" region="audiocpu" offset="0" />
    <rom name="obj-0b" merge="obj-0b" size="524288" crc="c6986523" sha1="1a4b0e95ade6314850b6e44f2debda0ab6e91397" region="sprite" offset="200003" />
    <rom name="obj-1b" merge="obj-1b" size="524288" crc="6af7d284" sha1="c74f975c301ff15040be1b38359624ec9c83ac76" region="sprite" offset="200002" />
    <rom name="obj-2b" merge="obj-2b" size="524288" crc="de45ca8d" sha1="f476ff1719f60d721d55fd1e40e465f48e7ed019" region="sprite" offset="200001" />
    <rom name="obj-3b" merge="obj-3b" size="524288" crc="dba830a2" sha1="5bd899b39458978dd419bf01082782a02b2d9c20" region="sprite" offset="200000" />
    <rom name="fl1-c0" merge="fl1-c0" size="131072" crc="cd9d2966" sha1="39671f846542ba6ae47764674509127cf73e3d71" region="c123tmap" offset="0" />
    <rom name="fl1-c1" merge="fl1-c1" size="131072" crc="b0efec87" sha1="6d042f35942c2bdbf5aeb31358d3837ee9c8e5fa" region="c123tmap" offset="80000" />
    <rom name="fl1-c2" merge="fl1-c2" size="131072" crc="263b8e31" sha1="e2665edd89f7bb8c699e61df6de6a2e8e0698092" region="c123tmap" offset="100000" />
    <rom name="fl1-c3" merge="fl1-c3" size="131072" crc="c2c56743" sha1="3f338599ffd2e13452cdc3dbf3697fd8aa04bcd2" region="c123tmap" offset="180000" />
    <rom name="fl2-c4" merge="fl2-c4" size="131072" crc="83c77a50" sha1="a3c19de25819586bdecae46326836090e80a92ee" region="c123tmap" offset="200000" />
    <rom name="fl1-c5" merge="fl1-c5" size="131072" crc="ab89da77" sha1="5cbead4289269a832c0d44d0ded79b58fcc4cc17" region="c123tmap" offset="280000" />
    <rom name="fl2-c6" merge="fl2-c6" size="131072" crc="239bd9a0" sha1="729abe89bea31b4e21161c69579df775b1cba6fe" region="c123tmap" offset="300000" />
    <rom name="fl2-sha" merge="fl2-sha" size="131072" crc="5fda0b6d" sha1="92c0410e159977ea73a8e8c0cb1321c3056f6c2f" region="c123tmap:mask" offset="0" />
    <rom name="fl1-3.5b" merge="fl1-3.5b" size="256" crc="d179d99a" sha1="4e64f284c74d2b77f893bd28aaa6489084056aa2" region="c45_road:clut" offset="0" />
    <rom name="fl1-v1" merge="fl1-v1" size="131072" crc="86b21996" sha1="833ffde729199c81e472fb88ed5b7f4ce08a83d6" region="c140" offset="0" />
    <rom name="fl1-v2" merge="fl1-v2" size="131072" crc="6a164647" sha1="3162457beccccdb416994ebd32fb83b13eb719e0" region="c140" offset="100000" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namco_c45_road" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <input players="1" coins="2">
      <control type="paddle" buttons="1" minimum="0" maximum="255" sensitivity="50" keydelta="10" />
      <control type="pedal" minimum="0" maximum="255" sensitivity="100" keydelta="15" />
    </input>
    <dipswitch name="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="PortB 0x01" tag="MCUB" mask="1">
      <dipvalue name="H" value="1" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Car Type(A)" tag="MCUB" mask="2">
      <dipvalue name="McLaren/Williams" value="2" default="yes" />
      <dipvalue name="Lotus/March" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="MCUC" mask="64">
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x01" tag="MCUH" mask="1">
      <dipvalue name="H" value="1" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Automatic Car Select" tag="MCUH" mask="2">
      <dipvalue name="No" value="2" default="yes" />
      <dipvalue name="Yes" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x04" tag="MCUH" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Enable Onscreen Diagnostics" tag="MCUH" mask="8">
      <dipvalue name="No" value="8" default="yes" />
      <dipvalue name="Yes" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x10" tag="MCUH" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x40" tag="MCUH" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Car Type(B)" tag="MCUH" mask="128">
      <dipvalue name="McLaren/March" value="0" />
      <dipvalue name="Williams/Lotus" value="128" default="yes" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5">
      <analog mask="255" />
    </port>
    <port tag=":AN6">
      <analog mask="255" />
    </port>
    <port tag=":AN7">
      <analog mask="255" />
    </port>
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="imperfect" emulation="good" savestate="supported" />
    <feature type="graphics" status="imperfect" />
    <feature type="sound" status="imperfect" />
    <feature type="lan" status="unemulated" />
  </machine>
  <machine name="finallapd" sourcefile="namcos2.cpp" cloneof="finallap" romof="finallap">
    <description>Final Lap (Rev D)</description>
    <year>1987</year>
    <manufacturer>Namco</manufacturer>
    <rom name="fl2-mp0d" size="65536" crc="3576d3aa" sha1="4928cfc5c929de8cc5ec12ea87c678188d314c39" region="maincpu" offset="0" />
    <rom name="fl2-mp1d" size="65536" crc="22d3906d" sha1="63f3076eeefca57daf427633f82fdea353a52da2" region="maincpu" offset="1" />
    <rom name="fl1-sp0" merge="fl1-sp0" size="65536" crc="2c5ff15d" sha1="762b49016e8688a3b323b85bc4009b1745f86a3f" region="slave" offset="0" />
    <rom name="fl1-sp1" merge="fl1-sp1" size="65536" crc="ea9d1a2e" sha1="37f96306c49475bf45157f768c9173a057bade20" region="slave" offset="1" />
    <rom name="fl1-s0b" merge="fl1-s0b" size="131072" crc="f5d76989" sha1="05c45ccc60fe833cee04f8300620bea5fecc110f" region="audiocpu" offset="0" />
    <rom name="obj-0b" merge="obj-0b" size="524288" crc="c6986523" sha1="1a4b0e95ade6314850b6e44f2debda0ab6e91397" region="sprite" offset="200003" />
    <rom name="obj-1b" merge="obj-1b" size="524288" crc="6af7d284" sha1="c74f975c301ff15040be1b38359624ec9c83ac76" region="sprite" offset="200002" />
    <rom name="obj-2b" merge="obj-2b" size="524288" crc="de45ca8d" sha1="f476ff1719f60d721d55fd1e40e465f48e7ed019" region="sprite" offset="200001" />
    <rom name="obj-3b" merge="obj-3b" size="524288" crc="dba830a2" sha1="5bd899b39458978dd419bf01082782a02b2d9c20" region="sprite" offset="200000" />
    <rom name="fl1-c0" merge="fl1-c0" size="131072" crc="cd9d2966" sha1="39671f846542ba6ae47764674509127cf73e3d71" region="c123tmap" offset="0" />
    <rom name="fl1-c1" merge="fl1-c1" size="131072" crc="b0efec87" sha1="6d042f35942c2bdbf5aeb31358d3837ee9c8e5fa" region="c123tmap" offset="80000" />
    <rom name="fl1-c2" merge="fl1-c2" size="131072" crc="263b8e31" sha1="e2665edd89f7bb8c699e61df6de6a2e8e0698092" region="c123tmap" offset="100000" />
    <rom name="fl1-c3" merge="fl1-c3" size="131072" crc="c2c56743" sha1="3f338599ffd2e13452cdc3dbf3697fd8aa04bcd2" region="c123tmap" offset="180000" />
    <rom name="fl2-c4" merge="fl2-c4" size="131072" crc="83c77a50" sha1="a3c19de25819586bdecae46326836090e80a92ee" region="c123tmap" offset="200000" />
    <rom name="fl1-c5" merge="fl1-c5" size="131072" crc="ab89da77" sha1="5cbead4289269a832c0d44d0ded79b58fcc4cc17" region="c123tmap" offset="280000" />
    <rom name="fl2-c6" merge="fl2-c6" size="131072" crc="239bd9a0" sha1="729abe89bea31b4e21161c69579df775b1cba6fe" region="c123tmap" offset="300000" />
    <rom name="fl2-sha" merge="fl2-sha" size="131072" crc="5fda0b6d" sha1="92c0410e159977ea73a8e8c0cb1321c3056f6c2f" region="c123tmap:mask" offset="0" />
    <rom name="fl1-3.5b" merge="fl1-3.5b" size="256" crc="d179d99a" sha1="4e64f284c74d2b77f893bd28aaa6489084056aa2" region="c45_road:clut" offset="0" />
    <rom name="fl1-v1" merge="fl1-v1" size="131072" crc="86b21996" sha1="833ffde729199c81e472fb88ed5b7f4ce08a83d6" region="c140" offset="0" />
    <rom name="fl1-v2" merge="fl1-v2" size="131072" crc="6a164647" sha1="3162457beccccdb416994ebd32fb83b13eb719e0" region="c140" offset="100000" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namco_c45_road" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <input players="1" coins="2">
      <control type="paddle" buttons="1" minimum="0" maximum="255" sensitivity="50" keydelta="10" />
      <control type="pedal" minimum="0" maximum="255" sensitivity="100" keydelta="15" />
    </input>
    <dipswitch name="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="PortB 0x01" tag="MCUB" mask="1">
      <dipvalue name="H" value="1" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Car Type(A)" tag="MCUB" mask="2">
      <dipvalue name="McLaren/Williams" value="2" default="yes" />
      <dipvalue name="Lotus/March" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="MCUC" mask="64">
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x01" tag="MCUH" mask="1">
      <dipvalue name="H" value="1" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Automatic Car Select" tag="MCUH" mask="2">
      <dipvalue name="No" value="2" default="yes" />
      <dipvalue name="Yes" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x04" tag="MCUH" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Enable Onscreen Diagnostics" tag="MCUH" mask="8">
      <dipvalue name="No" value="8" default="yes" />
      <dipvalue name="Yes" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x10" tag="MCUH" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x40" tag="MCUH" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Car Type(B)" tag="MCUH" mask="128">
      <dipvalue name="McLaren/March" value="0" />
      <dipvalue name="Williams/Lotus" value="128" default="yes" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5">
      <analog mask="255" />
    </port>
    <port tag=":AN6">
      <analog mask="255" />
    </port>
    <port tag=":AN7">
      <analog mask="255" />
    </port>
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="imperfect" emulation="good" savestate="supported" />
    <feature type="graphics" status="imperfect" />
    <feature type="sound" status="imperfect" />
    <feature type="lan" status="unemulated" />
  </machine>
  <machine name="finallapjb" sourcefile="namcos2.cpp" cloneof="finallap" romof="finallap">
    <description>Final Lap (Japan, Rev B)</description>
    <year>1987</year>
    <manufacturer>Namco</manufacturer>
    <rom name="fl1_mp0b.bin" size="65536" crc="870a482a" sha1="776afe0206385732f9bcad4a75399ad7cc8fcda1" region="maincpu" offset="0" />
    <rom name="fl1_mp1b.bin" size="65536" crc="af52c991" sha1="23d440cc0f53872739fce1d0837ef906a5e75f98" region="maincpu" offset="1" />
    <rom name="fl1-sp0" merge="fl1-sp0" size="65536" crc="2c5ff15d" sha1="762b49016e8688a3b323b85bc4009b1745f86a3f" region="slave" offset="0" />
    <rom name="fl1-sp1" merge="fl1-sp1" size="65536" crc="ea9d1a2e" sha1="37f96306c49475bf45157f768c9173a057bade20" region="slave" offset="1" />
    <rom name="fl1-s0" size="131072" crc="1f8ff494" sha1="10a90291159e29a905c6d438aa2bc98ccf906a69" region="audiocpu" offset="0" />
    <rom name="obj-0b" merge="obj-0b" size="524288" crc="c6986523" sha1="1a4b0e95ade6314850b6e44f2debda0ab6e91397" region="sprite" offset="200003" />
    <rom name="obj-1b" merge="obj-1b" size="524288" crc="6af7d284" sha1="c74f975c301ff15040be1b38359624ec9c83ac76" region="sprite" offset="200002" />
    <rom name="obj-2b" merge="obj-2b" size="524288" crc="de45ca8d" sha1="f476ff1719f60d721d55fd1e40e465f48e7ed019" region="sprite" offset="200001" />
    <rom name="obj-3b" merge="obj-3b" size="524288" crc="dba830a2" sha1="5bd899b39458978dd419bf01082782a02b2d9c20" region="sprite" offset="200000" />
    <rom name="fl1-c0" merge="fl1-c0" size="131072" crc="cd9d2966" sha1="39671f846542ba6ae47764674509127cf73e3d71" region="c123tmap" offset="0" />
    <rom name="fl1-c1" merge="fl1-c1" size="131072" crc="b0efec87" sha1="6d042f35942c2bdbf5aeb31358d3837ee9c8e5fa" region="c123tmap" offset="80000" />
    <rom name="fl1-c2" merge="fl1-c2" size="131072" crc="263b8e31" sha1="e2665edd89f7bb8c699e61df6de6a2e8e0698092" region="c123tmap" offset="100000" />
    <rom name="fl1-c3" merge="fl1-c3" size="131072" crc="c2c56743" sha1="3f338599ffd2e13452cdc3dbf3697fd8aa04bcd2" region="c123tmap" offset="180000" />
    <rom name="fl1-c4" size="131072" crc="cdc1de2e" sha1="701dcc4fc25e7b6118947a5accabd43c0475ebe9" region="c123tmap" offset="200000" />
    <rom name="fl1-c5" merge="fl1-c5" size="131072" crc="ab89da77" sha1="5cbead4289269a832c0d44d0ded79b58fcc4cc17" region="c123tmap" offset="280000" />
    <rom name="fl1-c6" size="131072" crc="8e78a3c3" sha1="d1cd7fad038d52430f933b3ee2440554d2aeade9" region="c123tmap" offset="300000" />
    <rom name="fl1_sha.bin" size="131072" crc="b7e1c7a3" sha1="b82f9b340d95b80a12286647adba8c139b4d081a" region="c123tmap:mask" offset="0" />
    <rom name="fl1-3.5b" merge="fl1-3.5b" size="256" crc="d179d99a" sha1="4e64f284c74d2b77f893bd28aaa6489084056aa2" region="c45_road:clut" offset="0" />
    <rom name="fl1-v1" merge="fl1-v1" size="131072" crc="86b21996" sha1="833ffde729199c81e472fb88ed5b7f4ce08a83d6" region="c140" offset="0" />
    <rom name="fl1-v2" merge="fl1-v2" size="131072" crc="6a164647" sha1="3162457beccccdb416994ebd32fb83b13eb719e0" region="c140" offset="100000" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namco_c45_road" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <input players="1" coins="2">
      <control type="paddle" buttons="1" minimum="0" maximum="255" sensitivity="50" keydelta="10" />
      <control type="pedal" minimum="0" maximum="255" sensitivity="100" keydelta="15" />
    </input>
    <dipswitch name="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="PortB 0x01" tag="MCUB" mask="1">
      <dipvalue name="H" value="1" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Car Type(A)" tag="MCUB" mask="2">
      <dipvalue name="McLaren/Williams" value="2" default="yes" />
      <dipvalue name="Lotus/March" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="MCUC" mask="64">
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x01" tag="MCUH" mask="1">
      <dipvalue name="H" value="1" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Automatic Car Select" tag="MCUH" mask="2">
      <dipvalue name="No" value="2" default="yes" />
      <dipvalue name="Yes" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x04" tag="MCUH" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Enable Onscreen Diagnostics" tag="MCUH" mask="8">
      <dipvalue name="No" value="8" default="yes" />
      <dipvalue name="Yes" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x10" tag="MCUH" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x40" tag="MCUH" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Car Type(B)" tag="MCUH" mask="128">
      <dipvalue name="McLaren/March" value="0" />
      <dipvalue name="Williams/Lotus" value="128" default="yes" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5">
      <analog mask="255" />
    </port>
    <port tag=":AN6">
      <analog mask="255" />
    </port>
    <port tag=":AN7">
      <analog mask="255" />
    </port>
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="imperfect" emulation="good" savestate="supported" />
    <feature type="graphics" status="imperfect" />
    <feature type="sound" status="imperfect" />
    <feature type="lan" status="unemulated" />
  </machine>
  <machine name="finallapjc" sourcefile="namcos2.cpp" cloneof="finallap" romof="finallap">
    <description>Final Lap (Japan, Rev C)</description>
    <year>1987</year>
    <manufacturer>Namco</manufacturer>
    <rom name="fl1_mp0c.bin" size="65536" crc="63cd7304" sha1="f9342a03b6e3c599946fec1690f34be2d0fe0307" region="maincpu" offset="0" />
    <rom name="fl1_mp1c.bin" size="65536" crc="cc9c5fb6" sha1="7da82f5c8c1574c92432ee003c8433b7dde9d393" region="maincpu" offset="1" />
    <rom name="fl1-sp0" merge="fl1-sp0" size="65536" crc="2c5ff15d" sha1="762b49016e8688a3b323b85bc4009b1745f86a3f" region="slave" offset="0" />
    <rom name="fl1-sp1" merge="fl1-sp1" size="65536" crc="ea9d1a2e" sha1="37f96306c49475bf45157f768c9173a057bade20" region="slave" offset="1" />
    <rom name="fl1-s0b" merge="fl1-s0b" size="131072" crc="f5d76989" sha1="05c45ccc60fe833cee04f8300620bea5fecc110f" region="audiocpu" offset="0" />
    <rom name="obj-0b" merge="obj-0b" size="524288" crc="c6986523" sha1="1a4b0e95ade6314850b6e44f2debda0ab6e91397" region="sprite" offset="200003" />
    <rom name="obj-1b" merge="obj-1b" size="524288" crc="6af7d284" sha1="c74f975c301ff15040be1b38359624ec9c83ac76" region="sprite" offset="200002" />
    <rom name="obj-2b" merge="obj-2b" size="524288" crc="de45ca8d" sha1="f476ff1719f60d721d55fd1e40e465f48e7ed019" region="sprite" offset="200001" />
    <rom name="obj-3b" merge="obj-3b" size="524288" crc="dba830a2" sha1="5bd899b39458978dd419bf01082782a02b2d9c20" region="sprite" offset="200000" />
    <rom name="fl1-c0" merge="fl1-c0" size="131072" crc="cd9d2966" sha1="39671f846542ba6ae47764674509127cf73e3d71" region="c123tmap" offset="0" />
    <rom name="fl1-c1" merge="fl1-c1" size="131072" crc="b0efec87" sha1="6d042f35942c2bdbf5aeb31358d3837ee9c8e5fa" region="c123tmap" offset="80000" />
    <rom name="fl1-c2" merge="fl1-c2" size="131072" crc="263b8e31" sha1="e2665edd89f7bb8c699e61df6de6a2e8e0698092" region="c123tmap" offset="100000" />
    <rom name="fl1-c3" merge="fl1-c3" size="131072" crc="c2c56743" sha1="3f338599ffd2e13452cdc3dbf3697fd8aa04bcd2" region="c123tmap" offset="180000" />
    <rom name="fl1-c4" size="131072" crc="cdc1de2e" sha1="701dcc4fc25e7b6118947a5accabd43c0475ebe9" region="c123tmap" offset="200000" />
    <rom name="fl1-c5" merge="fl1-c5" size="131072" crc="ab89da77" sha1="5cbead4289269a832c0d44d0ded79b58fcc4cc17" region="c123tmap" offset="280000" />
    <rom name="fl1-c6" size="131072" crc="8e78a3c3" sha1="d1cd7fad038d52430f933b3ee2440554d2aeade9" region="c123tmap" offset="300000" />
    <rom name="fl1_sha.bin" size="131072" crc="b7e1c7a3" sha1="b82f9b340d95b80a12286647adba8c139b4d081a" region="c123tmap:mask" offset="0" />
    <rom name="fl1-3.5b" merge="fl1-3.5b" size="256" crc="d179d99a" sha1="4e64f284c74d2b77f893bd28aaa6489084056aa2" region="c45_road:clut" offset="0" />
    <rom name="fl1-v1" merge="fl1-v1" size="131072" crc="86b21996" sha1="833ffde729199c81e472fb88ed5b7f4ce08a83d6" region="c140" offset="0" />
    <rom name="fl1-v2" merge="fl1-v2" size="131072" crc="6a164647" sha1="3162457beccccdb416994ebd32fb83b13eb719e0" region="c140" offset="100000" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namco_c45_road" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <input players="1" coins="2">
      <control type="paddle" buttons="1" minimum="0" maximum="255" sensitivity="50" keydelta="10" />
      <control type="pedal" minimum="0" maximum="255" sensitivity="100" keydelta="15" />
    </input>
    <dipswitch name="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="PortB 0x01" tag="MCUB" mask="1">
      <dipvalue name="H" value="1" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Car Type(A)" tag="MCUB" mask="2">
      <dipvalue name="McLaren/Williams" value="2" default="yes" />
      <dipvalue name="Lotus/March" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="MCUC" mask="64">
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x01" tag="MCUH" mask="1">
      <dipvalue name="H" value="1" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Automatic Car Select" tag="MCUH" mask="2">
      <dipvalue name="No" value="2" default="yes" />
      <dipvalue name="Yes" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x04" tag="MCUH" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Enable Onscreen Diagnostics" tag="MCUH" mask="8">
      <dipvalue name="No" value="8" default="yes" />
      <dipvalue name="Yes" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x10" tag="MCUH" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x40" tag="MCUH" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Car Type(B)" tag="MCUH" mask="128">
      <dipvalue name="McLaren/March" value="0" />
      <dipvalue name="Williams/Lotus" value="128" default="yes" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5">
      <analog mask="255" />
    </port>
    <port tag=":AN6">
      <analog mask="255" />
    </port>
    <port tag=":AN7">
      <analog mask="255" />
    </port>
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="imperfect" emulation="good" savestate="supported" />
    <feature type="graphics" status="imperfect" />
    <feature type="sound" status="imperfect" />
    <feature type="lan" status="unemulated" />
  </machine>
  <machine name="finehour" sourcefile="namcos2.cpp">
    <description>Finest Hour (Japan)</description>
    <year>1989</year>
    <manufacturer>Namco</manufacturer>
    <rom name="fh1_mp0.bin" size="131072" crc="355d9119" sha1="e8d834bbcfc9efa4bec9d5d38a0223bcea9e55de" region="maincpu" offset="0" />
    <rom name="fh1_mp1.bin" size="131072" crc="647eb621" sha1="441bcb492982db81ceb035cf81970eaa9cc1886c" region="maincpu" offset="1" />
    <rom name="fh1_sp0.bin" size="131072" crc="aa6289e9" sha1="d20a62481c3ea386a9eee952388d9cb7137e07de" region="slave" offset="0" />
    <rom name="fh1_sp1.bin" size="131072" crc="8532d5c7" sha1="b32416e444393c0ba685a9d11bb7fba7a53f63db" region="slave" offset="1" />
    <rom name="fh1_sd0.bin" size="131072" crc="059a9cfd" sha1="6b9ba6c270c90b382bd4c656e0ddca076a04a919" region="audiocpu" offset="0" />
    <rom name="sys2c65c.bin" size="32768" crc="a5b2a4ff" sha1="068bdfcc71a5e83706e8b23330691973c1c214dc" region="c65mcu:external" offset="0" />
    <rom name="fh1_ob0.bin" size="524288" crc="b1fd86f1" sha1="5504ca1a83c329a19d5632b9ac40cfa7e8ced304" region="sprite" offset="3" />
    <rom name="fh1_ob1.bin" size="524288" crc="519c44ce" sha1="f4b033d1caac1944a870d94a06a40aad332a75db" region="sprite" offset="2" />
    <rom name="fh1_ob2.bin" size="524288" crc="9c5de4fa" sha1="ead6e53d3fd7adc6f1cb4971a0858ff0098e9897" region="sprite" offset="1" />
    <rom name="fh1_ob3.bin" size="524288" crc="54d4edce" sha1="1cf090b215f62528d13a8de6936be96bfe7d343a" region="sprite" offset="0" />
    <rom name="fh1_ch0.bin" size="262144" crc="516900d1" sha1="f3d95fa4c060a37164a6e3a87b056d032f3d1f6c" region="c123tmap" offset="0" />
    <rom name="fh1_ch1.bin" size="262144" crc="964d06bd" sha1="bd9a30bde66f680fdc45cb8823fac9672075a7bb" region="c123tmap" offset="80000" />
    <rom name="fh1_ch2.bin" size="262144" crc="fbb9449e" sha1="291d4678e9972fd3ad2822bef90c57548d284482" region="c123tmap" offset="100000" />
    <rom name="fh1_ch3.bin" size="262144" crc="c18eda8a" sha1="5e0cba196716049f3045cfe3a3f9571f9be16992" region="c123tmap" offset="180000" />
    <rom name="fh1_ch4.bin" size="262144" crc="80dd188a" sha1="6d4f029983e98acee612c0f394675f7dd41208c7" region="c123tmap" offset="200000" />
    <rom name="fh1_ch5.bin" size="262144" crc="40969876" sha1="6f444e7fc658ce557d0f54498614a2c05e14f280" region="c123tmap" offset="280000" />
    <rom name="fh1_rz0.bin" size="131072" crc="6c96c5c1" sha1="a69321ccb17497671352ab5f4d8f331668f982d2" region="s2roz" offset="0" />
    <rom name="fh1_rz1.bin" size="131072" crc="44699eb9" sha1="9f289fccfd56692e0dda5331160a21b6ed824d7d" region="s2roz" offset="80000" />
    <rom name="fh1_rz2.bin" size="131072" crc="5ec14abf" sha1="088b4da0f20286e72c7e02a6708ce46823f40237" region="s2roz" offset="100000" />
    <rom name="fh1_rz3.bin" size="131072" crc="9f5a91b2" sha1="962d09eca92a146bfb754aba575309530658fddb" region="s2roz" offset="180000" />
    <rom name="fh1_rz4.bin" size="131072" crc="0b4379e6" sha1="3455211a9a3c8412609fdbb98aa8911db3a47e09" region="s2roz" offset="200000" />
    <rom name="fh1_rz5.bin" size="131072" crc="e034e560" sha1="3b5ccdd93e2729875305a7016b3b9de237526358" region="s2roz" offset="280000" />
    <rom name="fh1_sha.bin" size="262144" crc="15875eb0" sha1="9225df6b01897938488461ebf0717e6d7b81d562" region="c123tmap:mask" offset="0" />
    <rom name="fh1_dt0.13s" size="131072" crc="2441c26f" sha1="429c8f12f7bef3e62153ac8b9e00ea870db36a7b" region="data_rom" offset="0" />
    <rom name="fh1_dt1.13p" size="131072" crc="48154deb" sha1="d6fde316f90bc847f60fa8d997504da34337ffa4" region="data_rom" offset="1" />
    <rom name="fh1_dt2.13r" size="131072" crc="12453ba4" sha1="26ad0da6e56ece6f1ba0b0cf23d2fdae2ce24100" region="data_rom" offset="100000" />
    <rom name="fh1_dt3.13n" size="131072" crc="50bab9da" sha1="9c18e5fb810123f9d17042212e0878172e220d2a" region="data_rom" offset="100001" />
    <rom name="fh1_vo1.bin" size="524288" crc="07560fc7" sha1="76f3855f5a4567dc65d513e37072072c2a011e7e" region="c140" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namcos2_roz" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <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="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5" />
    <port tag=":AN6" />
    <port tag=":AN7" />
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="good" emulation="good" savestate="supported" />
  </machine>
  <machine name="fourtrax" sourcefile="namcos2.cpp">
    <description>Four Trax (World)</description>
    <year>1989</year>
    <manufacturer>Namco</manufacturer>
    <rom name="fx2_mp0.11d" size="131072" crc="f147cd6b" sha1="7cdadd68d55dd8fa9b19cbee1434d9266ae1f4b9" region="maincpu" offset="0" />
    <rom name="fx2_mp1.13d" size="131072" crc="8af4a309" sha1="538076359cfd08e99e42c05bcccd95df71856696" region="maincpu" offset="1" />
    <rom name="fx2_sp0.11k" size="131072" crc="48548e78" sha1="b3a9de8682fe63c1c3ecab3e3f9380a884efd4af" region="slave" offset="0" />
    <rom name="fx2_sp1.13k" size="131072" crc="d2861383" sha1="36be5a8c8a19f35f9a9bd3ef725a83c5e58ccbe0" region="slave" offset="1" />
    <rom name="fx1_sd0.7j" size="131072" crc="acccc934" sha1="98f1a823ba7e3f258a73d5780953f9339d438e1a" region="audiocpu" offset="0" />
    <rom name="sys2c65c.bin" size="32768" crc="a5b2a4ff" sha1="068bdfcc71a5e83706e8b23330691973c1c214dc" region="c65mcu:external" offset="0" />
    <rom name="fx_obj-0.4c" size="262144" crc="1aa60ffa" sha1="1fa625a52c763b8db718af14e9f3cc3e076ff83b" region="sprite" offset="3" />
    <rom name="fx_obj-1.3c" size="262144" crc="7509bc09" sha1="823d8d884afc685dda26c1256c2d241c7f626f9e" region="sprite" offset="100003" />
    <rom name="fx_obj-2.2c" size="262144" crc="243affc7" sha1="738d62960e79b95079b2208ec48fa0f3738c7611" region="sprite" offset="200003" />
    <rom name="fx_obj-3.1c" size="262144" crc="b7e5d17d" sha1="3d8ea7cbf33b595ddf739024e8d0fccd5f9e073b" region="sprite" offset="300003" />
    <rom name="fx_obj-4.4a" size="262144" crc="30add52a" sha1="ff782d9dca96967233e435c3dd7d69ffde45db43" region="sprite" offset="2" />
    <rom name="fx_obj-5.3a" size="262144" crc="e3cd2776" sha1="6155e9ad90b8a885125c8a76e9c068247e7693ae" region="sprite" offset="100002" />
    <rom name="fx_obj-6.2a" size="262144" crc="a2d5ce4a" sha1="bbe9df3914632a573a95fcba76442404d149fb9d" region="sprite" offset="200002" />
    <rom name="fx_obj-7.1a" size="262144" crc="4d91c929" sha1="97470a4ad7b28df83c632bfc8c309b24701275fe" region="sprite" offset="300002" />
    <rom name="fx_obj-8.8c" size="262144" crc="b165acab" sha1="86bd2cc22e25ddbf73e62426762aa72205868660" region="sprite" offset="1" />
    <rom name="fx_obj-9.7c" size="262144" crc="90f0735b" sha1="2adbe72c6547075c0cc0386789cc1b8c1a0bc84f" region="sprite" offset="100001" />
    <rom name="fx_obj-10.6c" size="262144" crc="7a01e86f" sha1="5fde10e53cb192df0f3873cd6d59c725430948f5" region="sprite" offset="200001" />
    <rom name="fx_obj-11.5c" size="262144" crc="514b3fe5" sha1="19562ba2ac04a16d335bdc81b34d929f7ff9161c" region="sprite" offset="300001" />
    <rom name="fx_obj-12.8a" size="262144" crc="f5e23b78" sha1="99896bd7c6663e3f57cb5d206964b81b5d64c8b6" region="sprite" offset="0" />
    <rom name="fx_obj-13.7a" size="262144" crc="04a25007" sha1="0c33450b0d6907754dbf1914849d1630baa824bd" region="sprite" offset="100000" />
    <rom name="fx_obj-14.6a" size="262144" crc="c1658c77" sha1="ec689d0e5cf95085c193aa8949c6ec6e7243338b" region="sprite" offset="200000" />
    <rom name="fx_obj-15.5a" size="262144" crc="2bc909b3" sha1="29c668d6d12ccdee25e97373bc4786894858d463" region="sprite" offset="300000" />
    <rom name="fx_chr-0.11n" size="131072" crc="6658c1c3" sha1="64b5466e0f94cf5f3cb92915a26331748f67041a" region="c123tmap" offset="0" />
    <rom name="fx_chr-1.11p" size="131072" crc="3a888943" sha1="6540b417003045dfa1401a1ff04ac55b86cc177f" region="c123tmap" offset="80000" />
    <rom name="fx2_chr-2.11r" size="131072" crc="fdf1e86b" sha1="91a61c10a9e92f8bbc26ffc9cb72deb31378a843" region="c123tmap" offset="100000" />
    <rom name="fx_chr-3.11s" size="131072" crc="47fa7e61" sha1="cc2eed81ddb4f942dd7a07e474760e4608eb4da0" region="c123tmap" offset="180000" />
    <rom name="fx_chr-4.9n" size="131072" crc="c720c5f5" sha1="f68f369bbefe01c770314ea597dd88587638c62a" region="c123tmap" offset="200000" />
    <rom name="fx_chr-5.9p" size="131072" crc="9eacdbc8" sha1="ca4061afc9e61eeb543f2a3740812abf6a1049bc" region="c123tmap" offset="280000" />
    <rom name="fx_chr-6.9r" size="131072" crc="c3dba42e" sha1="2b5a8fabec11ccd44156ecfccf86fc713845d262" region="c123tmap" offset="300000" />
    <rom name="fx_chr-7.9s" size="131072" crc="c009f3ae" sha1="394beed29bda97f4f5ba532bc0bd22177154746b" region="c123tmap" offset="380000" />
    <rom name="fx_sha.7n" size="131072" crc="f7aa4af7" sha1="b18ffda9e35beb0f072825e2899691be370f33b1" region="c123tmap:mask" offset="0" />
    <rom name="fx_dat0.13s" size="262144" crc="63abf69b" sha1="6776991eeff434bf9720f49ad6e62c37fc7ddf40" region="data_rom" offset="0" />
    <rom name="fx_dat1.13p" size="262144" crc="725bed14" sha1="bbf886ac7f8c2c7857bc0b5d7f8fc7e63e8e9559" region="data_rom" offset="1" />
    <rom name="fx_dat2.13r" size="262144" crc="71e4a5a0" sha1="a0188c920a43c5e69e25464627094b6b6ed26a59" region="data_rom" offset="100000" />
    <rom name="fx_dat3.13n" size="262144" crc="605725f7" sha1="b94ce0ec37f879a5e46a097058cb2dd57e2281f1" region="data_rom" offset="100001" />
    <rom name="fx1_1.5b" size="256" crc="85ffd753" sha1="7dbc8c295204877f41289141a146aa4f5f9f9c96" region="c45_road:clut" offset="0" />
    <rom name="fx_voi-1.3m" size="524288" crc="6173364f" sha1="cc426f49b7e87b11f1f51e8e10db7cad87ffb44d" region="c140" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namco_c45_road" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <input players="1" coins="2">
      <control type="paddle" buttons="1" minimum="0" maximum="255" sensitivity="75" keydelta="50" />
      <control type="pedal" minimum="0" maximum="255" sensitivity="100" keydelta="15" />
    </input>
    <dipswitch name="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="PortB 0x01" tag="MCUB" mask="1">
      <dipvalue name="H" value="1" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortB 0x02" tag="MCUB" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortB 0x04" tag="MCUB" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortB 0x08" tag="MCUB" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortB 0x10" tag="MCUB" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortB 0x20" tag="MCUB" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortC 0x01" tag="MCUC" mask="1">
      <dipvalue name="H" value="1" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortC 0x02" tag="MCUC" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortC 0x04" tag="MCUC" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortC 0x08" tag="MCUC" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x01" tag="MCUH" mask="1">
      <dipvalue name="H" value="1" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x02" tag="MCUH" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x04" tag="MCUH" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x08 (onscreen diagnostics)" tag="MCUH" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x10" tag="MCUH" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x40" tag="MCUH" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x80" tag="MCUH" mask="128">
      <dipvalue name="H" value="128" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5">
      <analog mask="255" />
    </port>
    <port tag=":AN6">
      <analog mask="255" />
    </port>
    <port tag=":AN7">
      <analog mask="255" />
    </port>
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="imperfect" emulation="good" savestate="supported" />
    <feature type="graphics" status="imperfect" />
    <feature type="sound" status="imperfect" />
    <feature type="lan" status="unemulated" />
  </machine>
  <machine name="fourtraxa" sourcefile="namcos2.cpp" cloneof="fourtrax" romof="fourtrax">
    <description>Four Trax (US?, censored banners)</description>
    <year>1989</year>
    <manufacturer>Namco (Atari license?)</manufacturer>
    <rom name="fx4_mpr-0a.11d" merge="fx2_mp0.11d" size="131072" crc="f147cd6b" sha1="7cdadd68d55dd8fa9b19cbee1434d9266ae1f4b9" region="maincpu" offset="0" />
    <rom name="fx4_mpr-1a.13d" size="131072" crc="d1138c85" sha1="32bf68ae36f72b84f3c3df28425147b6aaac1edf" region="maincpu" offset="1" />
    <rom name="fx1_sp0.11k" merge="fx2_sp0.11k" size="131072" crc="48548e78" sha1="b3a9de8682fe63c1c3ecab3e3f9380a884efd4af" region="slave" offset="0" />
    <rom name="fx1_sp1.13k" merge="fx2_sp1.13k" size="131072" crc="d2861383" sha1="36be5a8c8a19f35f9a9bd3ef725a83c5e58ccbe0" region="slave" offset="1" />
    <rom name="fx1_sd0.7j" merge="fx1_sd0.7j" size="131072" crc="acccc934" sha1="98f1a823ba7e3f258a73d5780953f9339d438e1a" region="audiocpu" offset="0" />
    <rom name="sys2c65c.bin" merge="sys2c65c.bin" size="32768" crc="a5b2a4ff" sha1="068bdfcc71a5e83706e8b23330691973c1c214dc" region="c65mcu:external" offset="0" />
    <rom name="fx_obj-0.4c" merge="fx_obj-0.4c" size="262144" crc="1aa60ffa" sha1="1fa625a52c763b8db718af14e9f3cc3e076ff83b" region="sprite" offset="3" />
    <rom name="fx_obj-1.3c" merge="fx_obj-1.3c" size="262144" crc="7509bc09" sha1="823d8d884afc685dda26c1256c2d241c7f626f9e" region="sprite" offset="100003" />
    <rom name="fx_obj-2.2c" merge="fx_obj-2.2c" size="262144" crc="243affc7" sha1="738d62960e79b95079b2208ec48fa0f3738c7611" region="sprite" offset="200003" />
    <rom name="fx_obj-3.1c" merge="fx_obj-3.1c" size="262144" crc="b7e5d17d" sha1="3d8ea7cbf33b595ddf739024e8d0fccd5f9e073b" region="sprite" offset="300003" />
    <rom name="fx_obj-4.4a" merge="fx_obj-4.4a" size="262144" crc="30add52a" sha1="ff782d9dca96967233e435c3dd7d69ffde45db43" region="sprite" offset="2" />
    <rom name="fx_obj-5.3a" merge="fx_obj-5.3a" size="262144" crc="e3cd2776" sha1="6155e9ad90b8a885125c8a76e9c068247e7693ae" region="sprite" offset="100002" />
    <rom name="fx_obj-6.2a" merge="fx_obj-6.2a" size="262144" crc="a2d5ce4a" sha1="bbe9df3914632a573a95fcba76442404d149fb9d" region="sprite" offset="200002" />
    <rom name="fx_obj-7.1a" merge="fx_obj-7.1a" size="262144" crc="4d91c929" sha1="97470a4ad7b28df83c632bfc8c309b24701275fe" region="sprite" offset="300002" />
    <rom name="fx_obj-8.8c" merge="fx_obj-8.8c" size="262144" crc="b165acab" sha1="86bd2cc22e25ddbf73e62426762aa72205868660" region="sprite" offset="1" />
    <rom name="fx_obj-9.7c" merge="fx_obj-9.7c" size="262144" crc="90f0735b" sha1="2adbe72c6547075c0cc0386789cc1b8c1a0bc84f" region="sprite" offset="100001" />
    <rom name="fx_obj-10.6c" merge="fx_obj-10.6c" size="262144" crc="7a01e86f" sha1="5fde10e53cb192df0f3873cd6d59c725430948f5" region="sprite" offset="200001" />
    <rom name="fx_obj-11.5c" merge="fx_obj-11.5c" size="262144" crc="514b3fe5" sha1="19562ba2ac04a16d335bdc81b34d929f7ff9161c" region="sprite" offset="300001" />
    <rom name="fx_obj-12.8a" merge="fx_obj-12.8a" size="262144" crc="f5e23b78" sha1="99896bd7c6663e3f57cb5d206964b81b5d64c8b6" region="sprite" offset="0" />
    <rom name="fx_obj-13.7a" merge="fx_obj-13.7a" size="262144" crc="04a25007" sha1="0c33450b0d6907754dbf1914849d1630baa824bd" region="sprite" offset="100000" />
    <rom name="fx_obj-14.6a" merge="fx_obj-14.6a" size="262144" crc="c1658c77" sha1="ec689d0e5cf95085c193aa8949c6ec6e7243338b" region="sprite" offset="200000" />
    <rom name="fx_obj-15.5a" merge="fx_obj-15.5a" size="262144" crc="2bc909b3" sha1="29c668d6d12ccdee25e97373bc4786894858d463" region="sprite" offset="300000" />
    <rom name="fx_chr-0.11n" merge="fx_chr-0.11n" size="131072" crc="6658c1c3" sha1="64b5466e0f94cf5f3cb92915a26331748f67041a" region="c123tmap" offset="0" />
    <rom name="fx_chr-1.11p" merge="fx_chr-1.11p" size="131072" crc="3a888943" sha1="6540b417003045dfa1401a1ff04ac55b86cc177f" region="c123tmap" offset="80000" />
    <rom name="fx4_chr-2a.11r" size="131072" crc="a5d1ab10" sha1="8624ef0911c57155b46e184d10cb122d4a41a2de" region="c123tmap" offset="100000" />
    <rom name="fx_chr-3.11s" merge="fx_chr-3.11s" size="131072" crc="47fa7e61" sha1="cc2eed81ddb4f942dd7a07e474760e4608eb4da0" region="c123tmap" offset="180000" />
    <rom name="fx_chr-4.9n" merge="fx_chr-4.9n" size="131072" crc="c720c5f5" sha1="f68f369bbefe01c770314ea597dd88587638c62a" region="c123tmap" offset="200000" />
    <rom name="fx_chr-5.9p" merge="fx_chr-5.9p" size="131072" crc="9eacdbc8" sha1="ca4061afc9e61eeb543f2a3740812abf6a1049bc" region="c123tmap" offset="280000" />
    <rom name="fx_chr-6.9r" merge="fx_chr-6.9r" size="131072" crc="c3dba42e" sha1="2b5a8fabec11ccd44156ecfccf86fc713845d262" region="c123tmap" offset="300000" />
    <rom name="fx_chr-7.9s" merge="fx_chr-7.9s" size="131072" crc="c009f3ae" sha1="394beed29bda97f4f5ba532bc0bd22177154746b" region="c123tmap" offset="380000" />
    <rom name="fx_sha.7n" merge="fx_sha.7n" size="131072" crc="f7aa4af7" sha1="b18ffda9e35beb0f072825e2899691be370f33b1" region="c123tmap:mask" offset="0" />
    <rom name="fx_dat0.13s" merge="fx_dat0.13s" size="262144" crc="63abf69b" sha1="6776991eeff434bf9720f49ad6e62c37fc7ddf40" region="data_rom" offset="0" />
    <rom name="fx_dat1.13p" merge="fx_dat1.13p" size="262144" crc="725bed14" sha1="bbf886ac7f8c2c7857bc0b5d7f8fc7e63e8e9559" region="data_rom" offset="1" />
    <rom name="fx_dat2.13r" merge="fx_dat2.13r" size="262144" crc="71e4a5a0" sha1="a0188c920a43c5e69e25464627094b6b6ed26a59" region="data_rom" offset="100000" />
    <rom name="fx_dat3.13n" merge="fx_dat3.13n" size="262144" crc="605725f7" sha1="b94ce0ec37f879a5e46a097058cb2dd57e2281f1" region="data_rom" offset="100001" />
    <rom name="fx1_1.5b" merge="fx1_1.5b" size="256" crc="85ffd753" sha1="7dbc8c295204877f41289141a146aa4f5f9f9c96" region="c45_road:clut" offset="0" />
    <rom name="fx_voi-1.3m" merge="fx_voi-1.3m" size="524288" crc="6173364f" sha1="cc426f49b7e87b11f1f51e8e10db7cad87ffb44d" region="c140" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namco_c45_road" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <input players="1" coins="2">
      <control type="paddle" buttons="1" minimum="0" maximum="255" sensitivity="75" keydelta="50" />
      <control type="pedal" minimum="0" maximum="255" sensitivity="100" keydelta="15" />
    </input>
    <dipswitch name="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="PortB 0x01" tag="MCUB" mask="1">
      <dipvalue name="H" value="1" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortB 0x02" tag="MCUB" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortB 0x04" tag="MCUB" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortB 0x08" tag="MCUB" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortB 0x10" tag="MCUB" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortB 0x20" tag="MCUB" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortC 0x01" tag="MCUC" mask="1">
      <dipvalue name="H" value="1" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortC 0x02" tag="MCUC" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortC 0x04" tag="MCUC" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortC 0x08" tag="MCUC" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x01" tag="MCUH" mask="1">
      <dipvalue name="H" value="1" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x02" tag="MCUH" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x04" tag="MCUH" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x08 (onscreen diagnostics)" tag="MCUH" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x10" tag="MCUH" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x40" tag="MCUH" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x80" tag="MCUH" mask="128">
      <dipvalue name="H" value="128" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5">
      <analog mask="255" />
    </port>
    <port tag=":AN6">
      <analog mask="255" />
    </port>
    <port tag=":AN7">
      <analog mask="255" />
    </port>
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="imperfect" emulation="good" savestate="supported" />
    <feature type="graphics" status="imperfect" />
    <feature type="sound" status="imperfect" />
    <feature type="lan" status="unemulated" />
  </machine>
  <machine name="fourtraxj" sourcefile="namcos2.cpp" cloneof="fourtrax" romof="fourtrax">
    <description>Four Trax (Japan)</description>
    <year>1989</year>
    <manufacturer>Namco</manufacturer>
    <rom name="fx1_mp0.11d" size="131072" crc="35a690b1" sha1="0e5157d0b1b54aaac22f725e712bb61104f199e3" region="maincpu" offset="0" />
    <rom name="fx1_mp1.13d" size="131072" crc="005bda8b" sha1="2f258a30ff307e06b715321e48b3b649bce6648a" region="maincpu" offset="1" />
    <rom name="fx1_sp0.11k" merge="fx2_sp0.11k" size="131072" crc="48548e78" sha1="b3a9de8682fe63c1c3ecab3e3f9380a884efd4af" region="slave" offset="0" />
    <rom name="fx1_sp1.13k" merge="fx2_sp1.13k" size="131072" crc="d2861383" sha1="36be5a8c8a19f35f9a9bd3ef725a83c5e58ccbe0" region="slave" offset="1" />
    <rom name="fx1_sd0.7j" merge="fx1_sd0.7j" size="131072" crc="acccc934" sha1="98f1a823ba7e3f258a73d5780953f9339d438e1a" region="audiocpu" offset="0" />
    <rom name="sys2c65c.bin" merge="sys2c65c.bin" size="32768" crc="a5b2a4ff" sha1="068bdfcc71a5e83706e8b23330691973c1c214dc" region="c65mcu:external" offset="0" />
    <rom name="fx_obj-0.4c" merge="fx_obj-0.4c" size="262144" crc="1aa60ffa" sha1="1fa625a52c763b8db718af14e9f3cc3e076ff83b" region="sprite" offset="3" />
    <rom name="fx_obj-1.3c" merge="fx_obj-1.3c" size="262144" crc="7509bc09" sha1="823d8d884afc685dda26c1256c2d241c7f626f9e" region="sprite" offset="100003" />
    <rom name="fx_obj-2.2c" merge="fx_obj-2.2c" size="262144" crc="243affc7" sha1="738d62960e79b95079b2208ec48fa0f3738c7611" region="sprite" offset="200003" />
    <rom name="fx_obj-3.1c" merge="fx_obj-3.1c" size="262144" crc="b7e5d17d" sha1="3d8ea7cbf33b595ddf739024e8d0fccd5f9e073b" region="sprite" offset="300003" />
    <rom name="fx_obj-4.4a" merge="fx_obj-4.4a" size="262144" crc="30add52a" sha1="ff782d9dca96967233e435c3dd7d69ffde45db43" region="sprite" offset="2" />
    <rom name="fx_obj-5.3a" merge="fx_obj-5.3a" size="262144" crc="e3cd2776" sha1="6155e9ad90b8a885125c8a76e9c068247e7693ae" region="sprite" offset="100002" />
    <rom name="fx_obj-6.2a" merge="fx_obj-6.2a" size="262144" crc="a2d5ce4a" sha1="bbe9df3914632a573a95fcba76442404d149fb9d" region="sprite" offset="200002" />
    <rom name="fx_obj-7.1a" merge="fx_obj-7.1a" size="262144" crc="4d91c929" sha1="97470a4ad7b28df83c632bfc8c309b24701275fe" region="sprite" offset="300002" />
    <rom name="fx_obj-8.8c" merge="fx_obj-8.8c" size="262144" crc="b165acab" sha1="86bd2cc22e25ddbf73e62426762aa72205868660" region="sprite" offset="1" />
    <rom name="fx_obj-9.7c" merge="fx_obj-9.7c" size="262144" crc="90f0735b" sha1="2adbe72c6547075c0cc0386789cc1b8c1a0bc84f" region="sprite" offset="100001" />
    <rom name="fx_obj-10.6c" merge="fx_obj-10.6c" size="262144" crc="7a01e86f" sha1="5fde10e53cb192df0f3873cd6d59c725430948f5" region="sprite" offset="200001" />
    <rom name="fx_obj-11.5c" merge="fx_obj-11.5c" size="262144" crc="514b3fe5" sha1="19562ba2ac04a16d335bdc81b34d929f7ff9161c" region="sprite" offset="300001" />
    <rom name="fx_obj-12.8a" merge="fx_obj-12.8a" size="262144" crc="f5e23b78" sha1="99896bd7c6663e3f57cb5d206964b81b5d64c8b6" region="sprite" offset="0" />
    <rom name="fx_obj-13.7a" merge="fx_obj-13.7a" size="262144" crc="04a25007" sha1="0c33450b0d6907754dbf1914849d1630baa824bd" region="sprite" offset="100000" />
    <rom name="fx_obj-14.6a" merge="fx_obj-14.6a" size="262144" crc="c1658c77" sha1="ec689d0e5cf95085c193aa8949c6ec6e7243338b" region="sprite" offset="200000" />
    <rom name="fx_obj-15.5a" merge="fx_obj-15.5a" size="262144" crc="2bc909b3" sha1="29c668d6d12ccdee25e97373bc4786894858d463" region="sprite" offset="300000" />
    <rom name="fx_chr-0.11n" merge="fx_chr-0.11n" size="131072" crc="6658c1c3" sha1="64b5466e0f94cf5f3cb92915a26331748f67041a" region="c123tmap" offset="0" />
    <rom name="fx_chr-1.11p" merge="fx_chr-1.11p" size="131072" crc="3a888943" sha1="6540b417003045dfa1401a1ff04ac55b86cc177f" region="c123tmap" offset="80000" />
    <rom name="fx_chr-2.11r" size="131072" crc="179e4ec6" sha1="2936ef847c5a9e527f7198f65a21eee7ac36891c" region="c123tmap" offset="100000" />
    <rom name="fx_chr-3.11s" merge="fx_chr-3.11s" size="131072" crc="47fa7e61" sha1="cc2eed81ddb4f942dd7a07e474760e4608eb4da0" region="c123tmap" offset="180000" />
    <rom name="fx_chr-4.9n" merge="fx_chr-4.9n" size="131072" crc="c720c5f5" sha1="f68f369bbefe01c770314ea597dd88587638c62a" region="c123tmap" offset="200000" />
    <rom name="fx_chr-5.9p" merge="fx_chr-5.9p" size="131072" crc="9eacdbc8" sha1="ca4061afc9e61eeb543f2a3740812abf6a1049bc" region="c123tmap" offset="280000" />
    <rom name="fx_chr-6.9r" merge="fx_chr-6.9r" size="131072" crc="c3dba42e" sha1="2b5a8fabec11ccd44156ecfccf86fc713845d262" region="c123tmap" offset="300000" />
    <rom name="fx_chr-7.9s" merge="fx_chr-7.9s" size="131072" crc="c009f3ae" sha1="394beed29bda97f4f5ba532bc0bd22177154746b" region="c123tmap" offset="380000" />
    <rom name="fx_sha.7n" merge="fx_sha.7n" size="131072" crc="f7aa4af7" sha1="b18ffda9e35beb0f072825e2899691be370f33b1" region="c123tmap:mask" offset="0" />
    <rom name="fx_dat0.13s" merge="fx_dat0.13s" size="262144" crc="63abf69b" sha1="6776991eeff434bf9720f49ad6e62c37fc7ddf40" region="data_rom" offset="0" />
    <rom name="fx_dat1.13p" merge="fx_dat1.13p" size="262144" crc="725bed14" sha1="bbf886ac7f8c2c7857bc0b5d7f8fc7e63e8e9559" region="data_rom" offset="1" />
    <rom name="fx_dat2.13r" merge="fx_dat2.13r" size="262144" crc="71e4a5a0" sha1="a0188c920a43c5e69e25464627094b6b6ed26a59" region="data_rom" offset="100000" />
    <rom name="fx_dat3.13n" merge="fx_dat3.13n" size="262144" crc="605725f7" sha1="b94ce0ec37f879a5e46a097058cb2dd57e2281f1" region="data_rom" offset="100001" />
    <rom name="fx1_1.5b" merge="fx1_1.5b" size="256" crc="85ffd753" sha1="7dbc8c295204877f41289141a146aa4f5f9f9c96" region="c45_road:clut" offset="0" />
    <rom name="fx_voi-1.3m" merge="fx_voi-1.3m" size="524288" crc="6173364f" sha1="cc426f49b7e87b11f1f51e8e10db7cad87ffb44d" region="c140" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namco_c45_road" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <input players="1" coins="2">
      <control type="paddle" buttons="1" minimum="0" maximum="255" sensitivity="75" keydelta="50" />
      <control type="pedal" minimum="0" maximum="255" sensitivity="100" keydelta="15" />
    </input>
    <dipswitch name="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="PortB 0x01" tag="MCUB" mask="1">
      <dipvalue name="H" value="1" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortB 0x02" tag="MCUB" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortB 0x04" tag="MCUB" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortB 0x08" tag="MCUB" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortB 0x10" tag="MCUB" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortB 0x20" tag="MCUB" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortC 0x01" tag="MCUC" mask="1">
      <dipvalue name="H" value="1" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortC 0x02" tag="MCUC" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortC 0x04" tag="MCUC" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortC 0x08" tag="MCUC" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x01" tag="MCUH" mask="1">
      <dipvalue name="H" value="1" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x02" tag="MCUH" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x04" tag="MCUH" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x08 (onscreen diagnostics)" tag="MCUH" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x10" tag="MCUH" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x40" tag="MCUH" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="PortH 0x80" tag="MCUH" mask="128">
      <dipvalue name="H" value="128" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5">
      <analog mask="255" />
    </port>
    <port tag=":AN6">
      <analog mask="255" />
    </port>
    <port tag=":AN7">
      <analog mask="255" />
    </port>
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="imperfect" emulation="good" savestate="supported" />
    <feature type="graphics" status="imperfect" />
    <feature type="sound" status="imperfect" />
    <feature type="lan" status="unemulated" />
  </machine>
  <machine name="gollygho" sourcefile="namcos2.cpp">
    <description>Golly! Ghost!</description>
    <year>1990</year>
    <manufacturer>Namco</manufacturer>
    <rom name="gl2mpr0.11d" size="65536" crc="e5d48bb9" sha1="53e790b9f11a8befc6e3b79b7af2e97500562e20" region="maincpu" offset="0" />
    <rom name="gl2mpr1.13d" size="65536" crc="584ef971" sha1="6ebeba593f056823311181831824cc9ef26ef6ea" region="maincpu" offset="1" />
    <rom name="gl1spr0.11k" size="65536" crc="a108136f" sha1="5a90d9d77a0c98b590c8979df25821331c669c09" region="slave" offset="0" />
    <rom name="gl1spr1.13k" size="65536" crc="da8443b7" sha1="99bb873c253da65422b872783f28eb13993b0e2f" region="slave" offset="1" />
    <rom name="gl1snd0.7j" size="131072" crc="008bce72" sha1="4197a492639a80457fdb7851ffc95587dfd64320" region="audiocpu" offset="0" />
    <rom name="gl1edr0c.ic7" size="32768" crc="db60886f" sha1="a1183c058c0470a4ef8b0f69a3637b1640c5b5a4" region="c65mcu:external" offset="0" />
    <rom name="gl1obj0.5b" size="262144" crc="6809d267" sha1="8a0f636067974e51659bd05a3c17819c630d70e3" region="sprite" offset="3" />
    <rom name="gl1obj1.4b" size="262144" crc="ae4304d4" sha1="e3db507acf2ab9392060fc603bb95492d0251adc" region="sprite" offset="2" />
    <rom name="gl1obj2.5d" size="262144" crc="9f2e9eb0" sha1="d3b001286a5ede58860505bb2f48a755cc661f1f" region="sprite" offset="1" />
    <rom name="gl1obj3.4d" size="262144" crc="3a85f3c2" sha1="013148cc0174d39bb16a71cce01c0dc7044d2f42" region="sprite" offset="0" />
    <rom name="gl1chr0.11n" size="131072" crc="1a7c8abd" sha1="59ddc278c46e545bbc3d66e84810c40aaf703d9a" region="c123tmap" offset="0" />
    <rom name="gl1chr1.11p" size="131072" crc="36aa0fbc" sha1="47dc10e689843962b51097c6ca27e00a221d2b48" region="c123tmap" offset="20000" />
    <rom name="gl1chr2.11r" size="65536" crc="6c1964ba" sha1="1aec2ce598751f4f0ba575f4a944647e831f6a87" region="c123tmap" offset="40000" />
    <rom name="gl1sha0.7n" size="131072" crc="8886f6f5" sha1="3b311c5061449e1bbde1a1006fd967a6154326b8" region="c123tmap:mask" offset="0" />
    <rom name="04544191.6n" size="8192" crc="90db1bf6" sha1="dbb9e50a8efc3b4012fcf587cc87da9ef42a1b80" region="user2" offset="0" />
    <rom name="gl1voi1.3m" size="524288" crc="0eca0efb" sha1="4e8e1b3118ee0b76c34dd6631047080ba1fcf576" region="c140" offset="0" />
    <rom name="gollygho.nv" size="8192" crc="b7e67b9d" sha1="bb6e2d2cac1a2f3c26fa1327db0eb53b521005a3" region="nvram" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namcos2_roz" />
    <device_ref name="ym2151" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="180" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <input players="2" coins="2">
      <control type="lightgun" player="1" buttons="1" minimum="0" maximum="255" sensitivity="50" keydelta="8" reverse="yes" />
      <control type="lightgun" player="2" buttons="1" minimum="0" maximum="255" sensitivity="50" keydelta="8" reverse="yes" />
    </input>
    <dipswitch name="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0">
      <analog mask="255" />
    </port>
    <port tag=":AN1">
      <analog mask="255" />
    </port>
    <port tag=":AN2">
      <analog mask="255" />
    </port>
    <port tag=":AN3">
      <analog mask="255" />
    </port>
    <port tag=":AN4" />
    <port tag=":AN5" />
    <port tag=":AN6" />
    <port tag=":AN7" />
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="good" emulation="good" savestate="supported" />
  </machine>
  <machine name="kyukaidk" sourcefile="namcos2.cpp">
    <description>Kyuukai Douchuuki (Japan, new version (Rev B))</description>
    <year>1990</year>
    <manufacturer>Namco</manufacturer>
    <rom name="ky1_mp0b.bin" size="65536" crc="d1c992c8" sha1="f3d49159ca3cbec7b905e6d877b8b76d023dd621" region="maincpu" offset="0" />
    <rom name="ky1_mp1b.bin" size="65536" crc="723553af" sha1="ae611c699c276521a064b79c74fcc0ecd76a22cf" region="maincpu" offset="1" />
    <rom name="ky1_sp0.bin" size="65536" crc="4b4d2385" sha1="e67e97108c63f1236e80045474a45ede386170f8" region="slave" offset="0" />
    <rom name="ky1_sp1.bin" size="65536" crc="bd3368cd" sha1="4fc9d3f5182fd7db7e6003c15cdec1dbcdff5384" region="slave" offset="1" />
    <rom name="ky1_s0.bin" size="131072" crc="27aea3e9" sha1="c9ee7eaef1885fd8642595fa46833e1b473e66b5" region="audiocpu" offset="0" />
    <rom name="sys2c65c.bin" size="32768" crc="a5b2a4ff" sha1="068bdfcc71a5e83706e8b23330691973c1c214dc" region="c65mcu:external" offset="0" />
    <rom name="ky1_o0.bin" size="524288" crc="ebec5132" sha1="8d2dec3f1cd27c203899bb715a9983fff7ab820d" region="sprite" offset="3" />
    <rom name="ky1_o1.bin" size="524288" crc="fde7e5ae" sha1="e17822f885977e10b6d1524a3d97fa9640472f8a" region="sprite" offset="2" />
    <rom name="ky1_o2.bin" size="524288" crc="2a181698" sha1="bad62c6c59b4362d6815749b5622e321b6051ea4" region="sprite" offset="1" />
    <rom name="ky1_o3.bin" size="524288" crc="71fcd3a6" sha1="8f2ba9c1d4fabbac07d1c80dfc3580cc67594071" region="sprite" offset="0" />
    <rom name="ky1_c0.bin" size="131072" crc="7bd69a2d" sha1="21402395eaacd4c25e5f023ea48a206b818b9c25" region="c123tmap" offset="0" />
    <rom name="ky1_c1.bin" size="131072" crc="66a623fe" sha1="35404b3aa05263dda6be7c1903ea77677e3c58cb" region="c123tmap" offset="80000" />
    <rom name="ky1_c2.bin" size="131072" crc="e84b3dfd" sha1="742c88c187c14301afaabd0d2d8eba11185aaef1" region="c123tmap" offset="100000" />
    <rom name="ky1_c3.bin" size="131072" crc="69e67c86" sha1="c835ad3e6908acd96b299826c2caa61255958f8c" region="c123tmap" offset="180000" />
    <rom name="ky1_r0.bin" size="262144" crc="9213e8c4" sha1="178ea4db500adbc945bab0b6f1a014e89c077d77" region="s2roz" offset="0" />
    <rom name="ky1_r1.bin" size="262144" crc="97d1a641" sha1="d1708dcc668ad126ee34f7f84cbac9a56a617d7b" region="s2roz" offset="80000" />
    <rom name="ky1_r2.bin" size="262144" crc="39b58792" sha1="1c30a04a370f56d2b548bf19c551acc95316693b" region="s2roz" offset="100000" />
    <rom name="ky1_r3.bin" size="262144" crc="90c60d92" sha1="b581d5f4d6c353604e0c9bcb27252a44b1b4e91c" region="s2roz" offset="180000" />
    <rom name="ky1_sha.bin" size="131072" crc="380a20d7" sha1="9627d2e0192779d50bfb25d5c19976275818c310" region="c123tmap:mask" offset="0" />
    <rom name="ky1_d0.13s" size="131072" crc="c9cf399d" sha1="90cba42781b1e03ecc3f5b802d740ace6b88baaa" region="data_rom" offset="0" />
    <rom name="ky1_d1.13p" size="131072" crc="6d4f21b9" sha1="f234a785f61969be684d2a4aed59616f125d72fc" region="data_rom" offset="1" />
    <rom name="ky1_d2.13r" size="131072" crc="eb6d19c8" sha1="c9fdb33fe191d3c4d284db7cbb05d852551a998d" region="data_rom" offset="100000" />
    <rom name="ky1_d3.13n" size="131072" crc="95674701" sha1="9a8832837b9a3f8b75437717ea84d86261bfce59" region="data_rom" offset="100001" />
    <rom name="ky1_v1.bin" size="524288" crc="5ff81aec" sha1="0535eda474de0a4aa3b48649b04afe2b7a8619c9" region="c140" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namcos2_roz" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <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="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" />
      <dipvalue name="L" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5" />
    <port tag=":AN6" />
    <port tag=":AN7" />
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="good" emulation="good" savestate="supported" />
  </machine>
  <machine name="kyukaidko" sourcefile="namcos2.cpp" cloneof="kyukaidk" romof="kyukaidk">
    <description>Kyuukai Douchuuki (Japan, old version)</description>
    <year>1990</year>
    <manufacturer>Namco</manufacturer>
    <rom name="ky1_mp0.bin" size="65536" crc="01978a19" sha1="dac40f6629ee025733ac160d83523488c99794c7" region="maincpu" offset="0" />
    <rom name="ky1_mp1.bin" size="65536" crc="b40717a7" sha1="10a0e4eaa2502f51f34949007e6cc9d3bf031554" region="maincpu" offset="1" />
    <rom name="ky1_sp0.bin" merge="ky1_sp0.bin" size="65536" crc="4b4d2385" sha1="e67e97108c63f1236e80045474a45ede386170f8" region="slave" offset="0" />
    <rom name="ky1_sp1.bin" merge="ky1_sp1.bin" size="65536" crc="bd3368cd" sha1="4fc9d3f5182fd7db7e6003c15cdec1dbcdff5384" region="slave" offset="1" />
    <rom name="ky1_s0.bin" merge="ky1_s0.bin" size="131072" crc="27aea3e9" sha1="c9ee7eaef1885fd8642595fa46833e1b473e66b5" region="audiocpu" offset="0" />
    <rom name="sys2c65c.bin" merge="sys2c65c.bin" size="32768" crc="a5b2a4ff" sha1="068bdfcc71a5e83706e8b23330691973c1c214dc" region="c65mcu:external" offset="0" />
    <rom name="ky1_o0.bin" merge="ky1_o0.bin" size="524288" crc="ebec5132" sha1="8d2dec3f1cd27c203899bb715a9983fff7ab820d" region="sprite" offset="3" />
    <rom name="ky1_o1.bin" merge="ky1_o1.bin" size="524288" crc="fde7e5ae" sha1="e17822f885977e10b6d1524a3d97fa9640472f8a" region="sprite" offset="2" />
    <rom name="ky1_o2.bin" merge="ky1_o2.bin" size="524288" crc="2a181698" sha1="bad62c6c59b4362d6815749b5622e321b6051ea4" region="sprite" offset="1" />
    <rom name="ky1_o3.bin" merge="ky1_o3.bin" size="524288" crc="71fcd3a6" sha1="8f2ba9c1d4fabbac07d1c80dfc3580cc67594071" region="sprite" offset="0" />
    <rom name="ky1_c0.bin" merge="ky1_c0.bin" size="131072" crc="7bd69a2d" sha1="21402395eaacd4c25e5f023ea48a206b818b9c25" region="c123tmap" offset="0" />
    <rom name="ky1_c1.bin" merge="ky1_c1.bin" size="131072" crc="66a623fe" sha1="35404b3aa05263dda6be7c1903ea77677e3c58cb" region="c123tmap" offset="80000" />
    <rom name="ky1_c2.bin" merge="ky1_c2.bin" size="131072" crc="e84b3dfd" sha1="742c88c187c14301afaabd0d2d8eba11185aaef1" region="c123tmap" offset="100000" />
    <rom name="ky1_c3.bin" merge="ky1_c3.bin" size="131072" crc="69e67c86" sha1="c835ad3e6908acd96b299826c2caa61255958f8c" region="c123tmap" offset="180000" />
    <rom name="ky1_r0.bin" merge="ky1_r0.bin" size="262144" crc="9213e8c4" sha1="178ea4db500adbc945bab0b6f1a014e89c077d77" region="s2roz" offset="0" />
    <rom name="ky1_r1.bin" merge="ky1_r1.bin" size="262144" crc="97d1a641" sha1="d1708dcc668ad126ee34f7f84cbac9a56a617d7b" region="s2roz" offset="80000" />
    <rom name="ky1_r2.bin" merge="ky1_r2.bin" size="262144" crc="39b58792" sha1="1c30a04a370f56d2b548bf19c551acc95316693b" region="s2roz" offset="100000" />
    <rom name="ky1_r3.bin" merge="ky1_r3.bin" size="262144" crc="90c60d92" sha1="b581d5f4d6c353604e0c9bcb27252a44b1b4e91c" region="s2roz" offset="180000" />
    <rom name="ky1_sha.bin" merge="ky1_sha.bin" size="131072" crc="380a20d7" sha1="9627d2e0192779d50bfb25d5c19976275818c310" region="c123tmap:mask" offset="0" />
    <rom name="ky1_d0.13s" merge="ky1_d0.13s" size="131072" crc="c9cf399d" sha1="90cba42781b1e03ecc3f5b802d740ace6b88baaa" region="data_rom" offset="0" />
    <rom name="ky1_d1.13p" merge="ky1_d1.13p" size="131072" crc="6d4f21b9" sha1="f234a785f61969be684d2a4aed59616f125d72fc" region="data_rom" offset="1" />
    <rom name="ky1_d2.13r" merge="ky1_d2.13r" size="131072" crc="eb6d19c8" sha1="c9fdb33fe191d3c4d284db7cbb05d852551a998d" region="data_rom" offset="100000" />
    <rom name="ky1_d3.13n" merge="ky1_d3.13n" size="131072" crc="95674701" sha1="9a8832837b9a3f8b75437717ea84d86261bfce59" region="data_rom" offset="100001" />
    <rom name="ky1_v1.bin" merge="ky1_v1.bin" size="524288" crc="5ff81aec" sha1="0535eda474de0a4aa3b48649b04afe2b7a8619c9" region="c140" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namcos2_roz" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <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="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" />
      <dipvalue name="L" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5" />
    <port tag=":AN6" />
    <port tag=":AN7" />
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="good" emulation="good" savestate="supported" />
  </machine>
  <machine name="luckywld" sourcefile="namcos2.cpp">
    <description>Lucky &amp; Wild</description>
    <year>1992</year>
    <manufacturer>Namco</manufacturer>
    <rom name="lw2mp0.11d" size="131072" crc="368306bb" sha1="e529ff2cc8baed8fd9cb1c010ad0c9f46c5e5f97" region="maincpu" offset="0" />
    <rom name="lw2mp1.13d" size="131072" crc="9be3a4b8" sha1="238977abf558db6d91f9d8b289288bdb65715529" region="maincpu" offset="1" />
    <rom name="lw1sp0.11k" size="131072" crc="1eed12cb" sha1="a978c0da0157ec0b8a7ba7cb6b6732fe89bac615" region="slave" offset="0" />
    <rom name="lw1sp1.13k" size="131072" crc="535033bc" sha1="2ab10bc9adebd93e385e02f211c5705863a49c9a" region="slave" offset="1" />
    <rom name="lw1snd0.7j" size="131072" crc="cc83c6b6" sha1="6ac6848f7ac72feb756c5d76de9ea7d26814cb6e" region="audiocpu" offset="0" />
    <rom name="lw1obj0.3p" size="524288" crc="21485830" sha1="e55a1f6df90c17b9c49e2b08c423b9be86996659" region="c355spr" offset="0" />
    <rom name="lw1obj1.3w" size="524288" crc="d6437a82" sha1="0aad3242828ed7dce65db75cad196c44ddd55ba8" region="c355spr" offset="1" />
    <rom name="lw1obj2.3t" size="524288" crc="ceb6f516" sha1="943dfe3bcf71a4885ce0ff33aaf81b2a49cf0b70" region="c355spr" offset="2" />
    <rom name="lw1obj3.3y" size="524288" crc="5d32c7e9" sha1="d684b68afaeacbbc734d55c1a970dc94f3459972" region="c355spr" offset="3" />
    <rom name="lw1obj4.3s" size="524288" crc="0050458a" sha1="605ea055b1934f83ca5ffaa532d0ae85ca56aefa" region="c355spr" offset="200000" />
    <rom name="lw1obj5.3x" size="524288" crc="cbc08f46" sha1="2ece63a0544b39439255f0e0866a8675b3466643" region="c355spr" offset="200001" />
    <rom name="lw1obj6.3u" size="524288" crc="29740c88" sha1="4078a5084256653a9c8ff72a7e2c652b0fbca425" region="c355spr" offset="200002" />
    <rom name="lw1obj7.3z" size="524288" crc="8cbd62b4" sha1="c6605ae2629b34f036e440573b2bb68e26aced9b" region="c355spr" offset="200003" />
    <rom name="lw1chr0.11n" size="524288" crc="a0da15fd" sha1="d772f712f0c150fdeb5aafb84f27a1495ad3492c" region="c123tmap" offset="0" />
    <rom name="lw1chr1.11p" size="524288" crc="89102445" sha1="74d4e51a3540f72cc90fad04c7f0622930e0f854" region="c123tmap" offset="80000" />
    <rom name="lw1chr2.11r" size="524288" crc="c749b778" sha1="f1e30f5269eced00a09af40717634ec65e64f06b" region="c123tmap" offset="100000" />
    <rom name="lw1chr3.11s" size="524288" crc="d76f9578" sha1="07ac3331c0dead612e305f850aceab4f31fa89f8" region="c123tmap" offset="180000" />
    <rom name="lw1chr4.9n" size="524288" crc="2f8ab45e" sha1="2c7e5597ebf020aa88349c6d5a419ba0eee2db90" region="c123tmap" offset="200000" />
    <rom name="lw1chr5.9p" size="524288" crc="c9acbe61" sha1="3a42ec1fcdf994bd9a309fdb48da01af4afb0a3f" region="c123tmap" offset="280000" />
    <rom name="lw1roz1.23c" size="524288" crc="74e98793" sha1="973dce838d9fbdf112429ab20edcdfbf07c3a9dc" region="c169roz" offset="80000" />
    <rom name="lw1roz2.23e" size="524288" crc="1ef46d82" sha1="2234585875bccdff74fa3f66d2d25d4b419c3bfe" region="c169roz" offset="0" />
    <rom name="lw1roz0.23b" size="524288" crc="a14079c9" sha1="631f9b63488fd3194ebb41c9c7ec39d576b098d7" region="c169roz" offset="1c0000" />
    <rom name="lw1sha0.7n" size="524288" crc="e3a65196" sha1="c983a6d16dc10f0acd5f4ef5e148271f46ffbf28" region="c123tmap:mask" offset="0" />
    <rom name="lw1rzs0.20z" size="524288" crc="a1071537" sha1="bb8a97b82066d7838471e258d1c3c716ede7572c" region="c169roz:mask" offset="0" />
    <rom name="lw1dat0.13s" size="524288" crc="5d387d47" sha1="e40ef52d1403fa630294d736f35a6924fa4e762e" region="data_rom" offset="0" />
    <rom name="lw1dat1.13p" size="524288" crc="7ba94476" sha1="cd4a964050e706f783450ace277e67586bf69e61" region="data_rom" offset="1" />
    <rom name="lw1dat2.13r" size="524288" crc="eeba7c62" sha1="6468518d3a5499b3f9a066488d83252cfc804d69" region="data_rom" offset="100000" />
    <rom name="lw1dat3.13n" size="524288" crc="ec3b36ea" sha1="734549ada73a687377134051fa906b489ffd0dc4" region="data_rom" offset="100001" />
    <rom name="lw1voi1.3m" size="524288" crc="b3e57993" sha1="ff7071fc2e2c00f0cf819860c2a9be353474920a" region="c140" offset="0" />
    <rom name="lw1voi2.3l" size="524288" crc="cd8b86a2" sha1="54bbc91e995ea0c33874ce6fe5c3f014e173da07" region="c140" offset="100000" />
    <rom name="lw1ld8.10w" size="256" crc="29058c73" sha1="4916d6bdb7f78e6803698cab32d1586ea457dfc8" region="c45_road:clut" offset="0" />
    <rom name="luckywld.nv" size="8192" crc="0c185d2a" sha1="6a4876361731df423515a0f3b37ba1496d6b1964" region="nvram" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namcoc68" />
    <device_ref name="m37450" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="namco_c355spr" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namco_c45_road" />
    <device_ref name="ym2151" />
    <device_ref name="namco_c169roz" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c68mcu:mcu" name="Mitsubishi M37450" clock="8192000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <input players="2" coins="2">
      <control type="lightgun" player="1" buttons="1" minimum="0" maximum="255" sensitivity="50" keydelta="8" />
      <control type="paddle" player="1" minimum="0" maximum="255" sensitivity="100" keydelta="20" />
      <control type="pedal" player="1" minimum="0" maximum="127" sensitivity="100" keydelta="15" />
      <control type="lightgun" player="2" buttons="1" minimum="0" maximum="255" sensitivity="50" keydelta="8" />
    </input>
    <dipswitch name="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Show Winners Don't Use Drugs" tag="DSW" mask="64">
      <dipvalue name="No" value="0" />
      <dipvalue name="Yes" value="64" default="yes" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1">
      <analog mask="255" />
    </port>
    <port tag=":AN2">
      <analog mask="255" />
    </port>
    <port tag=":AN3">
      <analog mask="255" />
    </port>
    <port tag=":AN4">
      <analog mask="255" />
    </port>
    <port tag=":AN5">
      <analog mask="255" />
    </port>
    <port tag=":AN6">
      <analog mask="255" />
    </port>
    <port tag=":AN7">
      <analog mask="255" />
    </port>
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="good" emulation="good" savestate="supported" />
  </machine>
  <machine name="luckywldj" sourcefile="namcos2.cpp" cloneof="luckywld" romof="luckywld">
    <description>Lucky &amp; Wild (Japan)</description>
    <year>1992</year>
    <manufacturer>Namco</manufacturer>
    <rom name="lw1mpr0.11d" size="131072" crc="7dce8ba6" sha1="6cd307e5d88038eda6e061113d7ef2c059da915e" region="maincpu" offset="0" />
    <rom name="lw1mpr1.13d" size="131072" crc="ce3b0f37" sha1="e9edb953eae21465ea231de9d6f2e7f1072c4440" region="maincpu" offset="1" />
    <rom name="lw1sp0.11k" merge="lw1sp0.11k" size="131072" crc="1eed12cb" sha1="a978c0da0157ec0b8a7ba7cb6b6732fe89bac615" region="slave" offset="0" />
    <rom name="lw1sp1.13k" merge="lw1sp1.13k" size="131072" crc="535033bc" sha1="2ab10bc9adebd93e385e02f211c5705863a49c9a" region="slave" offset="1" />
    <rom name="lw1snd0.7j" merge="lw1snd0.7j" size="131072" crc="cc83c6b6" sha1="6ac6848f7ac72feb756c5d76de9ea7d26814cb6e" region="audiocpu" offset="0" />
    <rom name="lw1obj0.3p" merge="lw1obj0.3p" size="524288" crc="21485830" sha1="e55a1f6df90c17b9c49e2b08c423b9be86996659" region="c355spr" offset="0" />
    <rom name="lw1obj1.3w" merge="lw1obj1.3w" size="524288" crc="d6437a82" sha1="0aad3242828ed7dce65db75cad196c44ddd55ba8" region="c355spr" offset="1" />
    <rom name="lw1obj2.3t" merge="lw1obj2.3t" size="524288" crc="ceb6f516" sha1="943dfe3bcf71a4885ce0ff33aaf81b2a49cf0b70" region="c355spr" offset="2" />
    <rom name="lw1obj3.3y" merge="lw1obj3.3y" size="524288" crc="5d32c7e9" sha1="d684b68afaeacbbc734d55c1a970dc94f3459972" region="c355spr" offset="3" />
    <rom name="lw1obj4.3s" merge="lw1obj4.3s" size="524288" crc="0050458a" sha1="605ea055b1934f83ca5ffaa532d0ae85ca56aefa" region="c355spr" offset="200000" />
    <rom name="lw1obj5.3x" merge="lw1obj5.3x" size="524288" crc="cbc08f46" sha1="2ece63a0544b39439255f0e0866a8675b3466643" region="c355spr" offset="200001" />
    <rom name="lw1obj6.3u" merge="lw1obj6.3u" size="524288" crc="29740c88" sha1="4078a5084256653a9c8ff72a7e2c652b0fbca425" region="c355spr" offset="200002" />
    <rom name="lw1obj7.3z" merge="lw1obj7.3z" size="524288" crc="8cbd62b4" sha1="c6605ae2629b34f036e440573b2bb68e26aced9b" region="c355spr" offset="200003" />
    <rom name="lw1chr0.11n" merge="lw1chr0.11n" size="524288" crc="a0da15fd" sha1="d772f712f0c150fdeb5aafb84f27a1495ad3492c" region="c123tmap" offset="0" />
    <rom name="lw1chr1.11p" merge="lw1chr1.11p" size="524288" crc="89102445" sha1="74d4e51a3540f72cc90fad04c7f0622930e0f854" region="c123tmap" offset="80000" />
    <rom name="lw1chr2.11r" merge="lw1chr2.11r" size="524288" crc="c749b778" sha1="f1e30f5269eced00a09af40717634ec65e64f06b" region="c123tmap" offset="100000" />
    <rom name="lw1chr3.11s" merge="lw1chr3.11s" size="524288" crc="d76f9578" sha1="07ac3331c0dead612e305f850aceab4f31fa89f8" region="c123tmap" offset="180000" />
    <rom name="lw1chr4.9n" merge="lw1chr4.9n" size="524288" crc="2f8ab45e" sha1="2c7e5597ebf020aa88349c6d5a419ba0eee2db90" region="c123tmap" offset="200000" />
    <rom name="lw1chr5.9p" merge="lw1chr5.9p" size="524288" crc="c9acbe61" sha1="3a42ec1fcdf994bd9a309fdb48da01af4afb0a3f" region="c123tmap" offset="280000" />
    <rom name="lw1roz1.23c" merge="lw1roz1.23c" size="524288" crc="74e98793" sha1="973dce838d9fbdf112429ab20edcdfbf07c3a9dc" region="c169roz" offset="80000" />
    <rom name="lw1roz2.23e" merge="lw1roz2.23e" size="524288" crc="1ef46d82" sha1="2234585875bccdff74fa3f66d2d25d4b419c3bfe" region="c169roz" offset="0" />
    <rom name="lw1roz0.23b" merge="lw1roz0.23b" size="524288" crc="a14079c9" sha1="631f9b63488fd3194ebb41c9c7ec39d576b098d7" region="c169roz" offset="1c0000" />
    <rom name="lw1sha0.7n" merge="lw1sha0.7n" size="524288" crc="e3a65196" sha1="c983a6d16dc10f0acd5f4ef5e148271f46ffbf28" region="c123tmap:mask" offset="0" />
    <rom name="lw1rzs0.20z" merge="lw1rzs0.20z" size="524288" crc="a1071537" sha1="bb8a97b82066d7838471e258d1c3c716ede7572c" region="c169roz:mask" offset="0" />
    <rom name="lw1dat0.13s" merge="lw1dat0.13s" size="524288" crc="5d387d47" sha1="e40ef52d1403fa630294d736f35a6924fa4e762e" region="data_rom" offset="0" />
    <rom name="lw1dat1.13p" merge="lw1dat1.13p" size="524288" crc="7ba94476" sha1="cd4a964050e706f783450ace277e67586bf69e61" region="data_rom" offset="1" />
    <rom name="lw1dat2.13r" merge="lw1dat2.13r" size="524288" crc="eeba7c62" sha1="6468518d3a5499b3f9a066488d83252cfc804d69" region="data_rom" offset="100000" />
    <rom name="lw1dat3.13n" merge="lw1dat3.13n" size="524288" crc="ec3b36ea" sha1="734549ada73a687377134051fa906b489ffd0dc4" region="data_rom" offset="100001" />
    <rom name="lw1voi1.3m" merge="lw1voi1.3m" size="524288" crc="b3e57993" sha1="ff7071fc2e2c00f0cf819860c2a9be353474920a" region="c140" offset="0" />
    <rom name="lw1voi2.3l" merge="lw1voi2.3l" size="524288" crc="cd8b86a2" sha1="54bbc91e995ea0c33874ce6fe5c3f014e173da07" region="c140" offset="100000" />
    <rom name="lw1ld8.10w" merge="lw1ld8.10w" size="256" crc="29058c73" sha1="4916d6bdb7f78e6803698cab32d1586ea457dfc8" region="c45_road:clut" offset="0" />
    <rom name="luckywld.nv" merge="luckywld.nv" size="8192" crc="0c185d2a" sha1="6a4876361731df423515a0f3b37ba1496d6b1964" region="nvram" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namcoc68" />
    <device_ref name="m37450" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="namco_c355spr" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namco_c45_road" />
    <device_ref name="ym2151" />
    <device_ref name="namco_c169roz" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c68mcu:mcu" name="Mitsubishi M37450" clock="8192000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <input players="2" coins="2">
      <control type="lightgun" player="1" buttons="1" minimum="0" maximum="255" sensitivity="50" keydelta="8" />
      <control type="paddle" player="1" minimum="0" maximum="255" sensitivity="100" keydelta="20" />
      <control type="pedal" player="1" minimum="0" maximum="127" sensitivity="100" keydelta="15" />
      <control type="lightgun" player="2" buttons="1" minimum="0" maximum="255" sensitivity="50" keydelta="8" />
    </input>
    <dipswitch name="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Show Winners Don't Use Drugs" tag="DSW" mask="64">
      <dipvalue name="No" value="0" />
      <dipvalue name="Yes" value="64" default="yes" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1">
      <analog mask="255" />
    </port>
    <port tag=":AN2">
      <analog mask="255" />
    </port>
    <port tag=":AN3">
      <analog mask="255" />
    </port>
    <port tag=":AN4">
      <analog mask="255" />
    </port>
    <port tag=":AN5">
      <analog mask="255" />
    </port>
    <port tag=":AN6">
      <analog mask="255" />
    </port>
    <port tag=":AN7">
      <analog mask="255" />
    </port>
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="good" emulation="good" savestate="supported" />
  </machine>
  <machine name="marvland" sourcefile="namcos2.cpp">
    <description>Marvel Land (US, prototype?)</description>
    <year>1989</year>
    <manufacturer>Namco</manufacturer>
    <rom name="mv2_mpr0" size="131072" crc="d8b14fee" sha1="8b5615106426efad45c651f1d6b9a6e3238bc242" region="maincpu" offset="0" />
    <rom name="mv2_mpr1" size="131072" crc="29ff2738" sha1="9f493f32ae1c4e7ef48d7e208c63a222636bda06" region="maincpu" offset="1" />
    <rom name="mv2_spr0" size="65536" crc="aa418f29" sha1="413798d9c1d98cfcadb045a5436aaee61ce6718f" region="slave" offset="0" />
    <rom name="mv2_spr1" size="65536" crc="dbd94def" sha1="56a8d7acd483bc4d12c8bc5b7e90ffdb132be670" region="slave" offset="1" />
    <rom name="mv2_snd0" size="131072" crc="a5b99162" sha1="cafe8d1dae1e981c7ff9b70076b3e1d52cd806f7" region="audiocpu" offset="0" />
    <rom name="sys2c65c.bin" size="32768" crc="a5b2a4ff" sha1="068bdfcc71a5e83706e8b23330691973c1c214dc" region="c65mcu:external" offset="0" />
    <rom name="mv1-obj0.bin" size="262144" crc="73a29361" sha1="fc8ac9a063c1f18ae619ddca3062491774c86040" region="sprite" offset="3" />
    <rom name="mv1-obj1.bin" size="262144" crc="abbe4a99" sha1="7f8df4b40236b97a0dce984698308647d5803244" region="sprite" offset="2" />
    <rom name="mv1-obj2.bin" size="262144" crc="753659e0" sha1="2662acf7bec528c7ac4181f62154581e304eea82" region="sprite" offset="1" />
    <rom name="mv1-obj3.bin" size="262144" crc="d1ce7339" sha1="a89a0ef39b6ac3fdaf6a2b3c04fd048827fcdb13" region="sprite" offset="0" />
    <rom name="mv1-chr0.bin" size="262144" crc="1c7e8b4f" sha1="b9d61895d9c9302c5cb5f7bb7f045b2014c12317" region="c123tmap" offset="0" />
    <rom name="mv1-chr1.bin" size="262144" crc="01e4cafd" sha1="27c911d6d4501233094826cf1b4b809b832d6d9f" region="c123tmap" offset="80000" />
    <rom name="mv1-chr2.bin" size="262144" crc="198fcc6f" sha1="b28f97d58fb2365843bbc3764cb59bfb9d5dfd92" region="c123tmap" offset="100000" />
    <rom name="mv1-chr3.bin" size="262144" crc="ed6f22a5" sha1="62ab2a2746abbbed533a5b519bbb0d603030cdca" region="c123tmap" offset="180000" />
    <rom name="mv1-roz0.bin" size="131072" crc="7381a5a9" sha1="0515630f124725adfd21575b390209833bb6a6ef" region="s2roz" offset="0" />
    <rom name="mv1-roz1.bin" size="131072" crc="e899482e" sha1="caa511baba1805c485503353efdade9e218f2ba5" region="s2roz" offset="80000" />
    <rom name="mv1-roz2.bin" size="131072" crc="de141290" sha1="c1daa6c01ba592138cffef02edfa0928f2232079" region="s2roz" offset="100000" />
    <rom name="mv1-roz3.bin" size="131072" crc="e310324d" sha1="936c7aeace677ed51a720e4ae96cdac0f4984a9b" region="s2roz" offset="180000" />
    <rom name="mv1-roz4.bin" size="131072" crc="48ddc5a9" sha1="c524b18d7b4526227d5b99d7e4a4582ce2ecd373" region="s2roz" offset="200000" />
    <rom name="mv1-sha.bin" size="262144" crc="a47db5d3" sha1="110e26412aa84f229773049112709be457b7a6ff" region="c123tmap:mask" offset="0" />
    <rom name="mv2_dat0.13s" size="131072" crc="62e6318b" sha1="5c26bc054298f2a0980f7e82ba1844bc9f5eff98" region="data_rom" offset="0" />
    <rom name="mv2_dat1.13p" size="131072" crc="8a6902ca" sha1="272e8699b872b3a50d72090b43c57493e6642bfe" region="data_rom" offset="1" />
    <rom name="mv2_dat2.13r" size="131072" crc="f5c6408c" sha1="568fb08d0763dc91674d708fa2d15ca952956145" region="data_rom" offset="100000" />
    <rom name="mv2_dat3.13n" size="131072" crc="6df76955" sha1="fcfb520399acdd3776f66944121d6980552d3100" region="data_rom" offset="100001" />
    <rom name="mv1-voi1.bin" size="524288" crc="de5cac09" sha1="2d73e54c4f159e52db2c403a59d6c137cce6f53e" status="baddump" region="c140" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namcos2_roz" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <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="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5" />
    <port tag=":AN6" />
    <port tag=":AN7" />
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="imperfect" emulation="good" savestate="supported" />
    <feature type="sound" status="imperfect" />
  </machine>
  <machine name="marvlandj" sourcefile="namcos2.cpp" cloneof="marvland" romof="marvland">
    <description>Marvel Land (Japan)</description>
    <year>1989</year>
    <manufacturer>Namco</manufacturer>
    <rom name="mv1-mpr0.bin" size="65536" crc="8369120f" sha1="58cf481bf97f74a91ecc5ff77696528441b41b04" region="maincpu" offset="0" />
    <rom name="mv1-mpr1.bin" size="65536" crc="6d5442cc" sha1="8cdaf6e1ec735740ace78393df2d867a213a4725" region="maincpu" offset="1" />
    <rom name="mv1-spr0.bin" size="65536" crc="c3909925" sha1="bf76cb77c38787574bf75caf868700316894895c" region="slave" offset="0" />
    <rom name="mv1-spr1.bin" size="65536" crc="1c5599f5" sha1="6bdf11da4e2a56c6bb6011977b045d9537d0597f" region="slave" offset="1" />
    <rom name="mv1-snd0.bin" size="131072" crc="51b8ccd7" sha1="5aacb020c12d9a3c43c098f3abd8358bc18acc64" region="audiocpu" offset="0" />
    <rom name="sys2c65c.bin" merge="sys2c65c.bin" size="32768" crc="a5b2a4ff" sha1="068bdfcc71a5e83706e8b23330691973c1c214dc" region="c65mcu:external" offset="0" />
    <rom name="mv1-obj0.bin" merge="mv1-obj0.bin" size="262144" crc="73a29361" sha1="fc8ac9a063c1f18ae619ddca3062491774c86040" region="sprite" offset="3" />
    <rom name="mv1-obj1.bin" merge="mv1-obj1.bin" size="262144" crc="abbe4a99" sha1="7f8df4b40236b97a0dce984698308647d5803244" region="sprite" offset="2" />
    <rom name="mv1-obj2.bin" merge="mv1-obj2.bin" size="262144" crc="753659e0" sha1="2662acf7bec528c7ac4181f62154581e304eea82" region="sprite" offset="1" />
    <rom name="mv1-obj3.bin" merge="mv1-obj3.bin" size="262144" crc="d1ce7339" sha1="a89a0ef39b6ac3fdaf6a2b3c04fd048827fcdb13" region="sprite" offset="0" />
    <rom name="mv1-chr0.bin" merge="mv1-chr0.bin" size="262144" crc="1c7e8b4f" sha1="b9d61895d9c9302c5cb5f7bb7f045b2014c12317" region="c123tmap" offset="0" />
    <rom name="mv1-chr1.bin" merge="mv1-chr1.bin" size="262144" crc="01e4cafd" sha1="27c911d6d4501233094826cf1b4b809b832d6d9f" region="c123tmap" offset="80000" />
    <rom name="mv1-chr2.bin" merge="mv1-chr2.bin" size="262144" crc="198fcc6f" sha1="b28f97d58fb2365843bbc3764cb59bfb9d5dfd92" region="c123tmap" offset="100000" />
    <rom name="mv1-chr3.bin" merge="mv1-chr3.bin" size="262144" crc="ed6f22a5" sha1="62ab2a2746abbbed533a5b519bbb0d603030cdca" region="c123tmap" offset="180000" />
    <rom name="mv1-roz0.bin" merge="mv1-roz0.bin" size="131072" crc="7381a5a9" sha1="0515630f124725adfd21575b390209833bb6a6ef" region="s2roz" offset="0" />
    <rom name="mv1-roz1.bin" merge="mv1-roz1.bin" size="131072" crc="e899482e" sha1="caa511baba1805c485503353efdade9e218f2ba5" region="s2roz" offset="80000" />
    <rom name="mv1-roz2.bin" merge="mv1-roz2.bin" size="131072" crc="de141290" sha1="c1daa6c01ba592138cffef02edfa0928f2232079" region="s2roz" offset="100000" />
    <rom name="mv1-roz3.bin" merge="mv1-roz3.bin" size="131072" crc="e310324d" sha1="936c7aeace677ed51a720e4ae96cdac0f4984a9b" region="s2roz" offset="180000" />
    <rom name="mv1-roz4.bin" merge="mv1-roz4.bin" size="131072" crc="48ddc5a9" sha1="c524b18d7b4526227d5b99d7e4a4582ce2ecd373" region="s2roz" offset="200000" />
    <rom name="mv1-sha.bin" merge="mv1-sha.bin" size="262144" crc="a47db5d3" sha1="110e26412aa84f229773049112709be457b7a6ff" region="c123tmap:mask" offset="0" />
    <rom name="mv1-dat0.13s" size="131072" crc="e15f412e" sha1="d3ff006d4577540a690c912e94897a1b638ac265" region="data_rom" offset="0" />
    <rom name="mv1-dat1.13p" size="131072" crc="73e1545a" sha1="a04034e56fef69fb2a2eb88f2f392c376e52d00d" region="data_rom" offset="1" />
    <rom name="mv1-voi1.bin" merge="mv1-voi1.bin" size="524288" crc="de5cac09" sha1="2d73e54c4f159e52db2c403a59d6c137cce6f53e" region="c140" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namcos2_roz" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <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="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5" />
    <port tag=":AN6" />
    <port tag=":AN7" />
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="good" emulation="good" savestate="supported" />
  </machine>
  <machine name="metlhawk" sourcefile="namcos2.cpp">
    <description>Metal Hawk (Rev C)</description>
    <year>1988</year>
    <manufacturer>Namco</manufacturer>
    <rom name="mh2mp0c.11d" size="131072" crc="cd7dae6e" sha1="73600e44923446ce5a6aa692aebfc1ba5a6491bc" region="maincpu" offset="0" />
    <rom name="mh2mp1c.13d" size="131072" crc="e52199fd" sha1="0c626b89f2dd9fb91654b759f2a902a28268ac84" region="maincpu" offset="1" />
    <rom name="mh1sp0f.11k" size="65536" crc="2c141fea" sha1="b767bbb69843df9916a042cae5a8ff745e30b9d3" region="slave" offset="0" />
    <rom name="mh1sp1f.13k" size="65536" crc="8ccf98e0" sha1="c4a0b573553fd609751e6f227f7ee3f28f78f589" region="slave" offset="1" />
    <rom name="mh1s0.7j" size="131072" crc="79e054cf" sha1="934a15a1bdb2751f28cc23471d1c5e5b9af80815" region="audiocpu" offset="0" />
    <rom name="sys2c65c.bin" size="32768" crc="a5b2a4ff" sha1="068bdfcc71a5e83706e8b23330691973c1c214dc" region="c65mcu:external" offset="0" />
    <rom name="mhobj-0.5d" size="262144" crc="52ae6620" sha1="0d08109db975d26caa06ac47b71ac8d26a993f9c" region="sprite" offset="0" />
    <rom name="mhobj-1.5b" size="262144" crc="2c2a1291" sha1="b644586cf623f9a113dbf3a8d951e62507e93179" region="sprite" offset="1" />
    <rom name="mhobj-2.6d" size="262144" crc="6221b927" sha1="caa106a47bc9e24fb90752175dc5156f7249d12a" region="sprite" offset="2" />
    <rom name="mhobj-3.6b" size="262144" crc="fd09f2f1" sha1="4ef5aef0fab89699cb6007103c286c54bd91b66e" region="sprite" offset="3" />
    <rom name="mhobj-4.5c" size="262144" crc="e3590e1a" sha1="9afffa54a63e676f5d78a01c76ca50cd795dd6e9" region="sprite" offset="200000" />
    <rom name="mhobj-5.5a" size="262144" crc="b85c0d07" sha1="e1ae542c0e884ef454ba57ecdfd007b85f2dc59d" region="sprite" offset="200001" />
    <rom name="mhobj-6.6c" size="262144" crc="90c4523d" sha1="c6f84da3187ebb747445b1b7499acf5adc0f39d8" region="sprite" offset="200002" />
    <rom name="mhobj-7.6a" size="262144" crc="f00edb39" sha1="08b9037a014dc35ac53df6cd552adf8b36efad12" region="sprite" offset="200003" />
    <rom name="mhchr-0.11n" size="131072" crc="e2da1b14" sha1="95adcd7814fc77ad8b6c208c8da86b1557c5ec22" region="c123tmap" offset="0" />
    <rom name="mhchr-1.11p" size="131072" crc="023c78f9" sha1="d11fa58c2429fa1db2081e7d653a01577d0850ac" region="c123tmap" offset="80000" />
    <rom name="mhchr-2.11r" size="131072" crc="ece47e91" sha1="a07e056f85a9207d6cc8e844a1afe6622bfe5f9b" region="c123tmap" offset="100000" />
    <rom name="mh1c3.11s" size="131072" crc="9303aa7f" sha1="1c7ed8d16a706f47bbd2970afd36b467ce19e9ee" region="c123tmap" offset="180000" />
    <rom name="mhr0z-0.2d" size="262144" crc="30ade98f" sha1="6bf3d2f729e9f5e2c3f1a69845afbbfcafbf2d56" region="c169roz" offset="0" />
    <rom name="mhr0z-1.2c" size="262144" crc="a7fff42a" sha1="5e13a11b8277842f6e1ae3a7f772f51ab07d0bfe" region="c169roz" offset="40000" />
    <rom name="mhr0z-2.2b" size="262144" crc="6abec820" sha1="bcacda96f6e69046dc59125374f169753ddda683" region="c169roz" offset="80000" />
    <rom name="mhr0z-3.2a" size="262144" crc="d53cec6d" sha1="433112d199c92fbc5df90d5b2d7b2e46665d144a" region="c169roz" offset="c0000" />
    <rom name="mhr0z-4.3d" size="262144" crc="922213e2" sha1="cbb6ac73c1a48b328c2c1e5999f6d4f194bbaa76" region="c169roz" offset="100000" />
    <rom name="mhr0z-5.3c" size="262144" crc="78418a54" sha1="af5bbc0c2643a25000c8f25bbdd773bfe08ae362" region="c169roz" offset="140000" />
    <rom name="mhr0z-6.3b" size="262144" crc="6c74977e" sha1="ccdc1922a3e759eec0b68d1a7fde271dde54d9b2" region="c169roz" offset="180000" />
    <rom name="mhr0z-7.3a" size="262144" crc="68a19cbd" sha1="99759f7a670e41d92aba36c68fd66d74250445a3" region="c169roz" offset="1c0000" />
    <rom name="mh1sha.7n" size="131072" crc="6ac22294" sha1="6b2cd7589691e6d01f16b162db7c928767750bd3" region="c123tmap:mask" offset="0" />
    <rom name="mh-rzsh.bin" size="262144" crc="5090b1cf" sha1="b814f8309a6133c6ece5f20161ebd02a981da66f" region="c169roz:mask" offset="0" />
    <rom name="mh1d0.13s" size="131072" crc="8b178ac7" sha1="210d31baf0aaba1af5efc15ec05714123f669030" region="data_rom" offset="0" />
    <rom name="mh1d1.13p" size="131072" crc="10684fd6" sha1="1e39d32dcf7ab9a146aa01f47e2737142874eede" region="data_rom" offset="1" />
    <rom name="mhvoi-1.bin" size="524288" crc="2723d137" sha1="f67334f8e456ae9e6aee39f0cf5e73449838f37f" region="c140" offset="0" />
    <rom name="mhvoi-2.bin" size="524288" crc="dbc92d91" sha1="a8c50f607d5283c8bd9688d2149b811e7ddb77dd" region="c140" offset="100000" />
    <rom name="mh5762.7p" size="8192" crc="90db1bf6" sha1="dbb9e50a8efc3b4012fcf587cc87da9ef42a1b80" region="user2" offset="0" />
    <rom name="ampal16l8a-sys87b-1.4g" size="260" status="nodump" region="plds" offset="0" />
    <rom name="ampal16l8a-sys87b-2.5e" size="260" status="nodump" region="plds" offset="200" />
    <rom name="pal12l10-sys87b-3.8d" size="64" crc="d3ae64a6" sha1="8e56f447908246e84d5a79df1a1cd3d5c8a040fb" region="plds" offset="400" />
    <rom name="metlhawk.nv" size="8192" crc="547cb0dc" sha1="965ce5f8a42f5268cda2e77e4be115ccf57f1952" region="nvram" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namco_c169roz" />
    <device_ref name="ym2151" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="90" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <input players="2" coins="2">
      <control type="stick" player="1" buttons="2" minimum="32" maximum="224" sensitivity="100" keydelta="16" />
      <control type="stick" player="2" minimum="32" maximum="224" sensitivity="100" keydelta="16" reverse="yes" />
    </input>
    <dipswitch name="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5">
      <analog mask="255" />
    </port>
    <port tag=":AN6">
      <analog mask="255" />
    </port>
    <port tag=":AN7">
      <analog mask="255" />
    </port>
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="good" emulation="good" savestate="supported" />
  </machine>
  <machine name="metlhawkj" sourcefile="namcos2.cpp" cloneof="metlhawk" romof="metlhawk">
    <description>Metal Hawk (Japan, Rev F)</description>
    <year>1988</year>
    <manufacturer>Namco</manufacturer>
    <rom name="mh1mpr0f.11d" size="131072" crc="e22dfb6e" sha1="41a8d30081bc7206aae655626dcef01e8f744905" region="maincpu" offset="0" />
    <rom name="mh1mpr1f.13d" size="131072" crc="d139a7b7" sha1="ba68221ca6f91ab619e9b2c478d8988abfc86c8c" region="maincpu" offset="1" />
    <rom name="mh1sp0f.11k" merge="mh1sp0f.11k" size="65536" crc="2c141fea" sha1="b767bbb69843df9916a042cae5a8ff745e30b9d3" region="slave" offset="0" />
    <rom name="mh1sp1f.13k" merge="mh1sp1f.13k" size="65536" crc="8ccf98e0" sha1="c4a0b573553fd609751e6f227f7ee3f28f78f589" region="slave" offset="1" />
    <rom name="mh1s0.7j" merge="mh1s0.7j" size="131072" crc="79e054cf" sha1="934a15a1bdb2751f28cc23471d1c5e5b9af80815" region="audiocpu" offset="0" />
    <rom name="sys2c65c.bin" merge="sys2c65c.bin" size="32768" crc="a5b2a4ff" sha1="068bdfcc71a5e83706e8b23330691973c1c214dc" region="c65mcu:external" offset="0" />
    <rom name="mhobj-0.5d" merge="mhobj-0.5d" size="262144" crc="52ae6620" sha1="0d08109db975d26caa06ac47b71ac8d26a993f9c" region="sprite" offset="0" />
    <rom name="mhobj-1.5b" merge="mhobj-1.5b" size="262144" crc="2c2a1291" sha1="b644586cf623f9a113dbf3a8d951e62507e93179" region="sprite" offset="1" />
    <rom name="mhobj-2.6d" merge="mhobj-2.6d" size="262144" crc="6221b927" sha1="caa106a47bc9e24fb90752175dc5156f7249d12a" region="sprite" offset="2" />
    <rom name="mhobj-3.6b" merge="mhobj-3.6b" size="262144" crc="fd09f2f1" sha1="4ef5aef0fab89699cb6007103c286c54bd91b66e" region="sprite" offset="3" />
    <rom name="mhobj-4.5c" merge="mhobj-4.5c" size="262144" crc="e3590e1a" sha1="9afffa54a63e676f5d78a01c76ca50cd795dd6e9" region="sprite" offset="200000" />
    <rom name="mhobj-5.5a" merge="mhobj-5.5a" size="262144" crc="b85c0d07" sha1="e1ae542c0e884ef454ba57ecdfd007b85f2dc59d" region="sprite" offset="200001" />
    <rom name="mhobj-6.6c" merge="mhobj-6.6c" size="262144" crc="90c4523d" sha1="c6f84da3187ebb747445b1b7499acf5adc0f39d8" region="sprite" offset="200002" />
    <rom name="mhobj-7.6a" merge="mhobj-7.6a" size="262144" crc="f00edb39" sha1="08b9037a014dc35ac53df6cd552adf8b36efad12" region="sprite" offset="200003" />
    <rom name="mhchr-0.11n" merge="mhchr-0.11n" size="131072" crc="e2da1b14" sha1="95adcd7814fc77ad8b6c208c8da86b1557c5ec22" region="c123tmap" offset="0" />
    <rom name="mhchr-1.11p" merge="mhchr-1.11p" size="131072" crc="023c78f9" sha1="d11fa58c2429fa1db2081e7d653a01577d0850ac" region="c123tmap" offset="80000" />
    <rom name="mhchr-2.11r" merge="mhchr-2.11r" size="131072" crc="ece47e91" sha1="a07e056f85a9207d6cc8e844a1afe6622bfe5f9b" region="c123tmap" offset="100000" />
    <rom name="mh1c3.11s" merge="mh1c3.11s" size="131072" crc="9303aa7f" sha1="1c7ed8d16a706f47bbd2970afd36b467ce19e9ee" region="c123tmap" offset="180000" />
    <rom name="mhr0z-0.2d" merge="mhr0z-0.2d" size="262144" crc="30ade98f" sha1="6bf3d2f729e9f5e2c3f1a69845afbbfcafbf2d56" region="c169roz" offset="0" />
    <rom name="mhr0z-1.2c" merge="mhr0z-1.2c" size="262144" crc="a7fff42a" sha1="5e13a11b8277842f6e1ae3a7f772f51ab07d0bfe" region="c169roz" offset="40000" />
    <rom name="mhr0z-2.2b" merge="mhr0z-2.2b" size="262144" crc="6abec820" sha1="bcacda96f6e69046dc59125374f169753ddda683" region="c169roz" offset="80000" />
    <rom name="mhr0z-3.2a" merge="mhr0z-3.2a" size="262144" crc="d53cec6d" sha1="433112d199c92fbc5df90d5b2d7b2e46665d144a" region="c169roz" offset="c0000" />
    <rom name="mhr0z-4.3d" merge="mhr0z-4.3d" size="262144" crc="922213e2" sha1="cbb6ac73c1a48b328c2c1e5999f6d4f194bbaa76" region="c169roz" offset="100000" />
    <rom name="mhr0z-5.3c" merge="mhr0z-5.3c" size="262144" crc="78418a54" sha1="af5bbc0c2643a25000c8f25bbdd773bfe08ae362" region="c169roz" offset="140000" />
    <rom name="mhr0z-6.3b" merge="mhr0z-6.3b" size="262144" crc="6c74977e" sha1="ccdc1922a3e759eec0b68d1a7fde271dde54d9b2" region="c169roz" offset="180000" />
    <rom name="mhr0z-7.3a" merge="mhr0z-7.3a" size="262144" crc="68a19cbd" sha1="99759f7a670e41d92aba36c68fd66d74250445a3" region="c169roz" offset="1c0000" />
    <rom name="mh1sha.7n" merge="mh1sha.7n" size="131072" crc="6ac22294" sha1="6b2cd7589691e6d01f16b162db7c928767750bd3" region="c123tmap:mask" offset="0" />
    <rom name="mh-rzsh.bin" merge="mh-rzsh.bin" size="262144" crc="5090b1cf" sha1="b814f8309a6133c6ece5f20161ebd02a981da66f" region="c169roz:mask" offset="0" />
    <rom name="mh1d0.13s" merge="mh1d0.13s" size="131072" crc="8b178ac7" sha1="210d31baf0aaba1af5efc15ec05714123f669030" region="data_rom" offset="0" />
    <rom name="mh1d1.13p" merge="mh1d1.13p" size="131072" crc="10684fd6" sha1="1e39d32dcf7ab9a146aa01f47e2737142874eede" region="data_rom" offset="1" />
    <rom name="mhvoi-1.bin" merge="mhvoi-1.bin" size="524288" crc="2723d137" sha1="f67334f8e456ae9e6aee39f0cf5e73449838f37f" region="c140" offset="0" />
    <rom name="mhvoi-2.bin" merge="mhvoi-2.bin" size="524288" crc="dbc92d91" sha1="a8c50f607d5283c8bd9688d2149b811e7ddb77dd" region="c140" offset="100000" />
    <rom name="mh5762.7p" merge="mh5762.7p" size="8192" crc="90db1bf6" sha1="dbb9e50a8efc3b4012fcf587cc87da9ef42a1b80" region="user2" offset="0" />
    <rom name="ampal16l8a-sys87b-1.4g" size="260" status="nodump" region="plds" offset="0" />
    <rom name="ampal16l8a-sys87b-2.5e" size="260" status="nodump" region="plds" offset="200" />
    <rom name="pal12l10-sys87b-3.8d" merge="pal12l10-sys87b-3.8d" size="64" crc="d3ae64a6" sha1="8e56f447908246e84d5a79df1a1cd3d5c8a040fb" region="plds" offset="400" />
    <rom name="metlhawk.nv" merge="metlhawk.nv" size="8192" crc="547cb0dc" sha1="965ce5f8a42f5268cda2e77e4be115ccf57f1952" region="nvram" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namco_c169roz" />
    <device_ref name="ym2151" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="90" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <input players="2" coins="2">
      <control type="stick" player="1" buttons="2" minimum="32" maximum="224" sensitivity="100" keydelta="16" />
      <control type="stick" player="2" minimum="32" maximum="224" sensitivity="100" keydelta="16" reverse="yes" />
    </input>
    <dipswitch name="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5">
      <analog mask="255" />
    </port>
    <port tag=":AN6">
      <analog mask="255" />
    </port>
    <port tag=":AN7">
      <analog mask="255" />
    </port>
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="good" emulation="good" savestate="supported" />
  </machine>
  <machine name="mirninja" sourcefile="namcos2.cpp">
    <description>Mirai Ninja (Japan)</description>
    <year>1988</year>
    <manufacturer>Namco</manufacturer>
    <rom name="mn_mpr0e.bin" size="65536" crc="fa75f977" sha1="15f8ce9417d663ea659e2c35d5b318c5e275f997" region="maincpu" offset="0" />
    <rom name="mn_mpr1e.bin" size="65536" crc="58ddd464" sha1="1b0c0023f7130c8b4cdc207ed32582f107953b51" region="maincpu" offset="1" />
    <rom name="mn1_spr0.bin" size="65536" crc="3f1a17be" sha1="0d6a4e26235f44db4ad217b859c3d215f4e9b423" region="slave" offset="0" />
    <rom name="mn1_spr1.bin" size="65536" crc="2bc66f60" sha1="7b778ee3a24f57d43c9bcffbdb77cf8be2463c2d" region="slave" offset="1" />
    <rom name="mn_snd0.bin" size="131072" crc="6aa1ae84" sha1="2186f93c4ccc4c202fa14d80b440060237659fc5" region="audiocpu" offset="0" />
    <rom name="sys2c65b.bin" size="32768" crc="e9f2922a" sha1="5767d2f85e1eb3de19192e73b02221f28b1fbb83" region="c65mcu:external" offset="0" />
    <rom name="mn_obj0.bin" size="131072" crc="6bd1e290" sha1="11e5f7adef0d7a519246c6d88f9371e49a6b49e9" region="sprite" offset="3" />
    <rom name="mn_obj1.bin" size="131072" crc="5e8503be" sha1="e03e13e70932b65e1bd560f685eda107f00a8bb6" region="sprite" offset="2" />
    <rom name="mn_obj2.bin" size="131072" crc="a96d9b45" sha1="5ad32ef08c38bff368590e0549c4b4552af5c2c8" region="sprite" offset="1" />
    <rom name="mn_obj3.bin" size="131072" crc="0086ef8b" sha1="cd282868e9f05a305816cec6043d31bfa26314b3" region="sprite" offset="0" />
    <rom name="mn_obj4.bin" size="131072" crc="b3f48755" sha1="d3b4a0b5d9939dad9b63a85e86afe5aa26dc9849" region="sprite" offset="200003" />
    <rom name="mn_obj5.bin" size="131072" crc="c21e995b" sha1="03022f11f314f1a6a568cf75850117c98b7c0ce1" region="sprite" offset="200002" />
    <rom name="mn_obj6.bin" size="131072" crc="a052c582" sha1="eadf07df0e7e13c6e51672860aad4c22b5dcc853" region="sprite" offset="200001" />
    <rom name="mn_obj7.bin" size="131072" crc="1854c6f5" sha1="f49d18655d05ea9abf1dded17abc61855dba61ef" region="sprite" offset="200000" />
    <rom name="mn_chr0.bin" size="131072" crc="4f66df26" sha1="7ca1215cb33b9c0898fc17721618a3129d751722" region="c123tmap" offset="0" />
    <rom name="mn_chr1.bin" size="131072" crc="f5de5ea7" sha1="58ba4a5cca631e53b685db342697625c9c9ea50c" region="c123tmap" offset="80000" />
    <rom name="mn_chr2.bin" size="131072" crc="9ff61924" sha1="27537743b2df32eb492ec933faabd149e3283256" region="c123tmap" offset="100000" />
    <rom name="mn_chr3.bin" size="131072" crc="ba208bf5" sha1="924478a44155707b79698518901fba4e21485740" region="c123tmap" offset="180000" />
    <rom name="mn_chr4.bin" size="131072" crc="0ef00aff" sha1="01bf3753d11a3e5ea41fd205d4384f6949ad1c01" region="c123tmap" offset="200000" />
    <rom name="mn_chr5.bin" size="131072" crc="4cd9d377" sha1="188e1a88dbd4f6aedd6fbe5e22d4f3a0a88dec3a" region="c123tmap" offset="280000" />
    <rom name="mn_chr6.bin" size="131072" crc="114aca76" sha1="d2c6bdfdd0e42cd0c6f99517321c2105e5fc780d" region="c123tmap" offset="300000" />
    <rom name="mn_chr7.bin" size="131072" crc="2d5705d3" sha1="690a50b3950a1cf9c27461aa3722c3f1f6a90c87" region="c123tmap" offset="380000" />
    <rom name="mn_roz0.bin" size="131072" crc="677a4f25" sha1="8ca64833189c75c3f4efd022dbddc54dc2632ec1" region="s2roz" offset="0" />
    <rom name="mn_roz1.bin" size="131072" crc="f00ae572" sha1="cd7f28b2ba03a0bb4d5702ffa36b1140560c9541" region="s2roz" offset="80000" />
    <rom name="mn_sha.bin" size="131072" crc="c28af90f" sha1="8b7f95375eb32c3e30c2a55b7f543235f56d3a13" region="c123tmap:mask" offset="0" />
    <rom name="mn1_dat0.13s" size="131072" crc="104bcca8" sha1="e8368d0dc51bf0653143bf2261d7ed5b54d92941" region="data_rom" offset="0" />
    <rom name="mn1_dat1.13p" size="131072" crc="d2a918fb" sha1="032b7a7bcc60c41325e7b35df9a932e68cdd0788" region="data_rom" offset="1" />
    <rom name="mn_voi1.bin" size="524288" crc="2ca3573c" sha1="b2af101730de4ccc68acc1ed143c21a8c81f64db" region="c140" offset="0" />
    <rom name="mn_voi2.bin" size="524288" crc="466c3b47" sha1="9c282ffda8b0620ae60789c81c6e36c086a9a335" region="c140" offset="100000" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namcos2_roz" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <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="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5" />
    <port tag=":AN6" />
    <port tag=":AN7" />
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="good" emulation="good" savestate="supported" />
  </machine>
  <machine name="ordyne" sourcefile="namcos2.cpp">
    <description>Ordyne (World)</description>
    <year>1988</year>
    <manufacturer>Namco</manufacturer>
    <rom name="or2_mp0.mpr0" size="131072" crc="31a1742b" sha1="6fbb6ca90829a8187dc256201e1e70bb583cb4fd" region="maincpu" offset="0" />
    <rom name="or2_mp1.mpr1" size="131072" crc="c80c6b73" sha1="183f894efe19d03d18546736ec53d24d32d24edb" region="maincpu" offset="1" />
    <rom name="or1_sp0.spr0" size="65536" crc="01ef6638" sha1="403abd548014b671658aa7d40414b09c095c831d" region="slave" offset="0" />
    <rom name="or1_sp1.spr1" size="65536" crc="b632adc3" sha1="3d301d4ce9bf835c0f4c8ef883dba3fc4e3a5f12" region="slave" offset="1" />
    <rom name="or1_sd.snd0" size="131072" crc="c41e5d22" sha1="7cb98d8068ddf92aadf0228b977df2ce1d866466" region="audiocpu" offset="0" />
    <rom name="sys2_c65b.3f" size="32768" crc="e9f2922a" sha1="5767d2f85e1eb3de19192e73b02221f28b1fbb83" region="c65mcu:external" offset="0" />
    <rom name="or_obj-0.obj0" size="131072" crc="67b2b9e4" sha1="4e589c28ed23224e40d3c68055ada0136cbf94cb" region="sprite" offset="3" />
    <rom name="or_obj-1.obj1" size="131072" crc="8a54fa5e" sha1="8f71a79dc3bdf8ea4f11cfc31338836ab0c695a5" region="sprite" offset="2" />
    <rom name="or_obj-2.obj2" size="131072" crc="a2c1cca0" sha1="f2e8b1b09751695c18bbfbdbe1765e3802833850" region="sprite" offset="1" />
    <rom name="or_obj-3.obj3" size="131072" crc="e0ad292c" sha1="15c1198134e5aa1ea399ad628f478b3440dd6111" region="sprite" offset="0" />
    <rom name="or_obj-4.obj4" size="131072" crc="7aefba59" sha1="99b827fabcd32dc665653b8aeda3498f97d5cebb" region="sprite" offset="200003" />
    <rom name="or_obj-5.obj5" size="131072" crc="e4025be9" sha1="64ac7f782d7143becffd0c6318008b2f764ae9a3" region="sprite" offset="200002" />
    <rom name="or_obj-6.obj6" size="131072" crc="e284c30c" sha1="f77a3cd81ac1d0fb06317db51b576f1aaa9bbec7" region="sprite" offset="200001" />
    <rom name="or_obj-7.obj7" size="131072" crc="262b7112" sha1="1f275eeb621d28a2efb3be9dad76606eeba78e8b" region="sprite" offset="200000" />
    <rom name="or_chr-0.chr0" size="131072" crc="e7c47934" sha1="c86791ea11a72cd2b59293dca74fa08ec86edc80" region="c123tmap" offset="0" />
    <rom name="or_chr-1.chr1" size="131072" crc="874b332d" sha1="307ce6ad8013dbd0528a8c5d736bff21a34c4318" region="c123tmap" offset="80000" />
    <rom name="or_chr-3.chr3" size="131072" crc="5471a834" sha1="91bd76eb6e03d6fdf636381a5ce1123291bd49ba" region="c123tmap" offset="180000" />
    <rom name="or_chr-5.chr5" size="131072" crc="a7d3a296" sha1="ad258825371548e719c7fa0fc5a4813bf34172d5" region="c123tmap" offset="280000" />
    <rom name="or_chr-6.chr6" size="131072" crc="3adc09c8" sha1="5302796c7a7f3621e2a068b5a3932f0020785836" region="c123tmap" offset="300000" />
    <rom name="or2_chr7.chr7" size="131072" crc="8c0d2ab7" sha1="5e0e61623fcbaac261763fbb42079f32d1ac963c" region="c123tmap" offset="380000" />
    <rom name="or_roz-0.roz0" size="131072" crc="c88a9e6b" sha1="58d73615d6d3446407dd192b7ae36dcdc1dced24" region="s2roz" offset="0" />
    <rom name="or_roz-1.roz1" size="131072" crc="c20cc749" sha1="93142454f428ec3386bc94f1b8f7300f8e0414bc" region="s2roz" offset="80000" />
    <rom name="or_roz-2.roz2" size="131072" crc="148c9866" sha1="e2cf7f76a6e0adc22e8b0c347cf5bb9d913b6b0c" region="s2roz" offset="100000" />
    <rom name="or_roz-3.roz3" size="131072" crc="4e727b7e" sha1="272ffb137bdfabef83d6180c8667ec7e08265ea6" region="s2roz" offset="180000" />
    <rom name="or_roz-4.roz4" size="131072" crc="17b04396" sha1="410dd04538f5d9d147dfefc658b0640a771e1032" region="s2roz" offset="200000" />
    <rom name="or_shape.shape" size="131072" crc="7aec9dee" sha1="2e774e4cff69173b4524d6b25a6a449ba5498a6a" region="c123tmap:mask" offset="0" />
    <rom name="or1_d0.13s" size="131072" crc="de214f7a" sha1="59883c7886b403306c30e51d7f49225483792650" region="data_rom" offset="0" />
    <rom name="or1_d1.13p" size="131072" crc="25e3e6c8" sha1="ad093f15edaea71f6c7226c6e4f3c2130d418013" region="data_rom" offset="1" />
    <rom name="or_voi1.voice1" size="524288" crc="369e0bca" sha1="2a921bb373dd043bd7b2a30e5e46ec3b8b3b5c8d" region="c140" offset="0" />
    <rom name="or_voi2.voice2" size="524288" crc="9f4cd7b5" sha1="10941dd5ab3846c0cb2543655944eaec742f8f21" region="c140" offset="100000" />
    <rom name="lh5762.6n" size="8192" crc="90db1bf6" sha1="dbb9e50a8efc3b4012fcf587cc87da9ef42a1b80" region="user2" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namcos2_roz" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="180" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <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="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5" />
    <port tag=":AN6" />
    <port tag=":AN7" />
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="good" emulation="good" savestate="supported" />
  </machine>
  <machine name="ordynej" sourcefile="namcos2.cpp" cloneof="ordyne" romof="ordyne">
    <description>Ordyne (Japan)</description>
    <year>1988</year>
    <manufacturer>Namco</manufacturer>
    <rom name="or1_mp0.mpr0" size="131072" crc="f5929ed3" sha1="7926c736904646e2918a708e33c7f9b4aa75d929" region="maincpu" offset="0" />
    <rom name="or1_mp1.mpr1" size="131072" crc="c1c8c1e2" sha1="153ebfdbc2bc73ea4f4628ebba4d90530b7ecd9d" region="maincpu" offset="1" />
    <rom name="or1_sp0.spr0" merge="or1_sp0.spr0" size="65536" crc="01ef6638" sha1="403abd548014b671658aa7d40414b09c095c831d" region="slave" offset="0" />
    <rom name="or1_sp1.spr1" merge="or1_sp1.spr1" size="65536" crc="b632adc3" sha1="3d301d4ce9bf835c0f4c8ef883dba3fc4e3a5f12" region="slave" offset="1" />
    <rom name="or1_sd.snd0" merge="or1_sd.snd0" size="131072" crc="c41e5d22" sha1="7cb98d8068ddf92aadf0228b977df2ce1d866466" region="audiocpu" offset="0" />
    <rom name="sys2_c65b.3f" merge="sys2_c65b.3f" size="32768" crc="e9f2922a" sha1="5767d2f85e1eb3de19192e73b02221f28b1fbb83" region="c65mcu:external" offset="0" />
    <rom name="or_obj-0.obj0" merge="or_obj-0.obj0" size="131072" crc="67b2b9e4" sha1="4e589c28ed23224e40d3c68055ada0136cbf94cb" region="sprite" offset="3" />
    <rom name="or_obj-1.obj1" merge="or_obj-1.obj1" size="131072" crc="8a54fa5e" sha1="8f71a79dc3bdf8ea4f11cfc31338836ab0c695a5" region="sprite" offset="2" />
    <rom name="or_obj-2.obj2" merge="or_obj-2.obj2" size="131072" crc="a2c1cca0" sha1="f2e8b1b09751695c18bbfbdbe1765e3802833850" region="sprite" offset="1" />
    <rom name="or_obj-3.obj3" merge="or_obj-3.obj3" size="131072" crc="e0ad292c" sha1="15c1198134e5aa1ea399ad628f478b3440dd6111" region="sprite" offset="0" />
    <rom name="or_obj-4.obj4" merge="or_obj-4.obj4" size="131072" crc="7aefba59" sha1="99b827fabcd32dc665653b8aeda3498f97d5cebb" region="sprite" offset="200003" />
    <rom name="or_obj-5.obj5" merge="or_obj-5.obj5" size="131072" crc="e4025be9" sha1="64ac7f782d7143becffd0c6318008b2f764ae9a3" region="sprite" offset="200002" />
    <rom name="or_obj-6.obj6" merge="or_obj-6.obj6" size="131072" crc="e284c30c" sha1="f77a3cd81ac1d0fb06317db51b576f1aaa9bbec7" region="sprite" offset="200001" />
    <rom name="or_obj-7.obj7" merge="or_obj-7.obj7" size="131072" crc="262b7112" sha1="1f275eeb621d28a2efb3be9dad76606eeba78e8b" region="sprite" offset="200000" />
    <rom name="or_chr-0.chr0" merge="or_chr-0.chr0" size="131072" crc="e7c47934" sha1="c86791ea11a72cd2b59293dca74fa08ec86edc80" region="c123tmap" offset="0" />
    <rom name="or_chr-1.chr1" merge="or_chr-1.chr1" size="131072" crc="874b332d" sha1="307ce6ad8013dbd0528a8c5d736bff21a34c4318" region="c123tmap" offset="80000" />
    <rom name="or_chr-3.chr3" merge="or_chr-3.chr3" size="131072" crc="5471a834" sha1="91bd76eb6e03d6fdf636381a5ce1123291bd49ba" region="c123tmap" offset="180000" />
    <rom name="or_chr-5.chr5" merge="or_chr-5.chr5" size="131072" crc="a7d3a296" sha1="ad258825371548e719c7fa0fc5a4813bf34172d5" region="c123tmap" offset="280000" />
    <rom name="or_chr-6.chr6" merge="or_chr-6.chr6" size="131072" crc="3adc09c8" sha1="5302796c7a7f3621e2a068b5a3932f0020785836" region="c123tmap" offset="300000" />
    <rom name="or_chr-7.chr7" size="131072" crc="f050a152" sha1="e8d868c15f6319a4d4434ba889f1dfd160056c23" region="c123tmap" offset="380000" />
    <rom name="or_roz-0.roz0" merge="or_roz-0.roz0" size="131072" crc="c88a9e6b" sha1="58d73615d6d3446407dd192b7ae36dcdc1dced24" region="s2roz" offset="0" />
    <rom name="or_roz-1.roz1" merge="or_roz-1.roz1" size="131072" crc="c20cc749" sha1="93142454f428ec3386bc94f1b8f7300f8e0414bc" region="s2roz" offset="80000" />
    <rom name="or_roz-2.roz2" merge="or_roz-2.roz2" size="131072" crc="148c9866" sha1="e2cf7f76a6e0adc22e8b0c347cf5bb9d913b6b0c" region="s2roz" offset="100000" />
    <rom name="or_roz-3.roz3" merge="or_roz-3.roz3" size="131072" crc="4e727b7e" sha1="272ffb137bdfabef83d6180c8667ec7e08265ea6" region="s2roz" offset="180000" />
    <rom name="or_roz-4.roz4" merge="or_roz-4.roz4" size="131072" crc="17b04396" sha1="410dd04538f5d9d147dfefc658b0640a771e1032" region="s2roz" offset="200000" />
    <rom name="or_shape.shape" merge="or_shape.shape" size="131072" crc="7aec9dee" sha1="2e774e4cff69173b4524d6b25a6a449ba5498a6a" region="c123tmap:mask" offset="0" />
    <rom name="or1_d0.13s" merge="or1_d0.13s" size="131072" crc="de214f7a" sha1="59883c7886b403306c30e51d7f49225483792650" region="data_rom" offset="0" />
    <rom name="or1_d1.13p" merge="or1_d1.13p" size="131072" crc="25e3e6c8" sha1="ad093f15edaea71f6c7226c6e4f3c2130d418013" region="data_rom" offset="1" />
    <rom name="or_voi1.voice1" merge="or_voi1.voice1" size="524288" crc="369e0bca" sha1="2a921bb373dd043bd7b2a30e5e46ec3b8b3b5c8d" region="c140" offset="0" />
    <rom name="or_voi2.voice2" merge="or_voi2.voice2" size="524288" crc="9f4cd7b5" sha1="10941dd5ab3846c0cb2543655944eaec742f8f21" region="c140" offset="100000" />
    <rom name="lh5762.6n" merge="lh5762.6n" size="8192" crc="90db1bf6" sha1="dbb9e50a8efc3b4012fcf587cc87da9ef42a1b80" region="user2" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namcos2_roz" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="180" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <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="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5" />
    <port tag=":AN6" />
    <port tag=":AN7" />
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="good" emulation="good" savestate="supported" />
  </machine>
  <machine name="ordyneje" sourcefile="namcos2.cpp" cloneof="ordyne" romof="ordyne">
    <description>Ordyne (Japan, English Version)</description>
    <year>1988</year>
    <manufacturer>Namco</manufacturer>
    <rom name="or1_mp0e.mpr0" size="131072" crc="5e2f9052" sha1="0bd5c2f3a1834beeddce5561833a36da9439d30c" region="maincpu" offset="0" />
    <rom name="or1_mp1e.mpr1" size="131072" crc="367a8fcf" sha1="af981338679939e99cd0733e7658a7d78c5e7ec3" region="maincpu" offset="1" />
    <rom name="or1_sp0.spr0" merge="or1_sp0.spr0" size="65536" crc="01ef6638" sha1="403abd548014b671658aa7d40414b09c095c831d" region="slave" offset="0" />
    <rom name="or1_sp1.spr1" merge="or1_sp1.spr1" size="65536" crc="b632adc3" sha1="3d301d4ce9bf835c0f4c8ef883dba3fc4e3a5f12" region="slave" offset="1" />
    <rom name="or1_sd.snd0" merge="or1_sd.snd0" size="131072" crc="c41e5d22" sha1="7cb98d8068ddf92aadf0228b977df2ce1d866466" region="audiocpu" offset="0" />
    <rom name="sys2_c65b.3f" merge="sys2_c65b.3f" size="32768" crc="e9f2922a" sha1="5767d2f85e1eb3de19192e73b02221f28b1fbb83" region="c65mcu:external" offset="0" />
    <rom name="or_obj-0.obj0" merge="or_obj-0.obj0" size="131072" crc="67b2b9e4" sha1="4e589c28ed23224e40d3c68055ada0136cbf94cb" region="sprite" offset="3" />
    <rom name="or_obj-1.obj1" merge="or_obj-1.obj1" size="131072" crc="8a54fa5e" sha1="8f71a79dc3bdf8ea4f11cfc31338836ab0c695a5" region="sprite" offset="2" />
    <rom name="or_obj-2.obj2" merge="or_obj-2.obj2" size="131072" crc="a2c1cca0" sha1="f2e8b1b09751695c18bbfbdbe1765e3802833850" region="sprite" offset="1" />
    <rom name="or_obj-3.obj3" merge="or_obj-3.obj3" size="131072" crc="e0ad292c" sha1="15c1198134e5aa1ea399ad628f478b3440dd6111" region="sprite" offset="0" />
    <rom name="or_obj-4.obj4" merge="or_obj-4.obj4" size="131072" crc="7aefba59" sha1="99b827fabcd32dc665653b8aeda3498f97d5cebb" region="sprite" offset="200003" />
    <rom name="or_obj-5.obj5" merge="or_obj-5.obj5" size="131072" crc="e4025be9" sha1="64ac7f782d7143becffd0c6318008b2f764ae9a3" region="sprite" offset="200002" />
    <rom name="or_obj-6.obj6" merge="or_obj-6.obj6" size="131072" crc="e284c30c" sha1="f77a3cd81ac1d0fb06317db51b576f1aaa9bbec7" region="sprite" offset="200001" />
    <rom name="or_obj-7.obj7" merge="or_obj-7.obj7" size="131072" crc="262b7112" sha1="1f275eeb621d28a2efb3be9dad76606eeba78e8b" region="sprite" offset="200000" />
    <rom name="or_chr-0.chr0" merge="or_chr-0.chr0" size="131072" crc="e7c47934" sha1="c86791ea11a72cd2b59293dca74fa08ec86edc80" region="c123tmap" offset="0" />
    <rom name="or_chr-1.chr1" merge="or_chr-1.chr1" size="131072" crc="874b332d" sha1="307ce6ad8013dbd0528a8c5d736bff21a34c4318" region="c123tmap" offset="80000" />
    <rom name="or_chr-3.chr3" merge="or_chr-3.chr3" size="131072" crc="5471a834" sha1="91bd76eb6e03d6fdf636381a5ce1123291bd49ba" region="c123tmap" offset="180000" />
    <rom name="or_chr-5.chr5" merge="or_chr-5.chr5" size="131072" crc="a7d3a296" sha1="ad258825371548e719c7fa0fc5a4813bf34172d5" region="c123tmap" offset="280000" />
    <rom name="or_chr-6.chr6" merge="or_chr-6.chr6" size="131072" crc="3adc09c8" sha1="5302796c7a7f3621e2a068b5a3932f0020785836" region="c123tmap" offset="300000" />
    <rom name="or1_ch7e.chr7" merge="or2_chr7.chr7" size="131072" crc="8c0d2ab7" sha1="5e0e61623fcbaac261763fbb42079f32d1ac963c" region="c123tmap" offset="380000" />
    <rom name="or_roz-0.roz0" merge="or_roz-0.roz0" size="131072" crc="c88a9e6b" sha1="58d73615d6d3446407dd192b7ae36dcdc1dced24" region="s2roz" offset="0" />
    <rom name="or_roz-1.roz1" merge="or_roz-1.roz1" size="131072" crc="c20cc749" sha1="93142454f428ec3386bc94f1b8f7300f8e0414bc" region="s2roz" offset="80000" />
    <rom name="or_roz-2.roz2" merge="or_roz-2.roz2" size="131072" crc="148c9866" sha1="e2cf7f76a6e0adc22e8b0c347cf5bb9d913b6b0c" region="s2roz" offset="100000" />
    <rom name="or_roz-3.roz3" merge="or_roz-3.roz3" size="131072" crc="4e727b7e" sha1="272ffb137bdfabef83d6180c8667ec7e08265ea6" region="s2roz" offset="180000" />
    <rom name="or_roz-4.roz4" merge="or_roz-4.roz4" size="131072" crc="17b04396" sha1="410dd04538f5d9d147dfefc658b0640a771e1032" region="s2roz" offset="200000" />
    <rom name="or_shape.shape" merge="or_shape.shape" size="131072" crc="7aec9dee" sha1="2e774e4cff69173b4524d6b25a6a449ba5498a6a" region="c123tmap:mask" offset="0" />
    <rom name="or1_d0.13s" merge="or1_d0.13s" size="131072" crc="de214f7a" sha1="59883c7886b403306c30e51d7f49225483792650" region="data_rom" offset="0" />
    <rom name="or1_d1.13p" merge="or1_d1.13p" size="131072" crc="25e3e6c8" sha1="ad093f15edaea71f6c7226c6e4f3c2130d418013" region="data_rom" offset="1" />
    <rom name="or_voi1.voice1" merge="or_voi1.voice1" size="524288" crc="369e0bca" sha1="2a921bb373dd043bd7b2a30e5e46ec3b8b3b5c8d" region="c140" offset="0" />
    <rom name="or_voi2.voice2" merge="or_voi2.voice2" size="524288" crc="9f4cd7b5" sha1="10941dd5ab3846c0cb2543655944eaec742f8f21" region="c140" offset="100000" />
    <rom name="lh5762.6n" merge="lh5762.6n" size="8192" crc="90db1bf6" sha1="dbb9e50a8efc3b4012fcf587cc87da9ef42a1b80" region="user2" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namcos2_roz" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="180" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <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="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5" />
    <port tag=":AN6" />
    <port tag=":AN7" />
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="good" emulation="good" savestate="supported" />
  </machine>
  <machine name="phelios" sourcefile="namcos2.cpp">
    <description>Phelios</description>
    <year>1988</year>
    <manufacturer>Namco</manufacturer>
    <rom name="ps2_mpr0.mpr0" size="131072" crc="28f04e1a" sha1="06cb053f7281ec9cb59319a4aa1262c128b369c8" region="maincpu" offset="0" />
    <rom name="ps2_mpr1.mpr1" size="131072" crc="2546501a" sha1="288cdfdf16feb61c9b49ab660efdf48020583274" region="maincpu" offset="1" />
    <rom name="ps2_spr0.spr0" size="65536" crc="e9c6987e" sha1="325532b065999276e4629b10c27d7df083e81c33" region="slave" offset="0" />
    <rom name="ps2_spr1.spr1" size="65536" crc="02b074fb" sha1="4025c3dd83e26ac87de9f2f73753d1cb1211c1ae" region="slave" offset="1" />
    <rom name="ps2_snd0.snd0" size="131072" crc="da694838" sha1="e1a20aedd18c49dcd12717e8ce479a5a441c10e6" region="audiocpu" offset="0" />
    <rom name="sys2_c65c.3f" size="32768" crc="a5b2a4ff" sha1="068bdfcc71a5e83706e8b23330691973c1c214dc" region="c65mcu:external" offset="0" />
    <rom name="ps_obj-0.obj0" size="262144" crc="f323db2b" sha1="fa3c42c618da06af161ad3f8aa1283e9c4bd63c0" region="sprite" offset="3" />
    <rom name="ps_obj-1.obj1" size="262144" crc="faf7c2f5" sha1="d0d33eddaf5de2b639717db83a85f441d81a5924" region="sprite" offset="2" />
    <rom name="ps_obj-2.obj2" size="262144" crc="828178ba" sha1="d35ab8020ebaad0b4c0b24fa9edc2886b713a8ed" region="sprite" offset="1" />
    <rom name="ps_obj-3.obj3" size="262144" crc="e84771c8" sha1="17bede39d8b703005b288f3596c4aaca266fa06b" region="sprite" offset="0" />
    <rom name="ps_obj-4.obj4" size="262144" crc="81ea86c6" sha1="27400b4e1d53c47bc6b821439c294d879bf58ae4" region="sprite" offset="200003" />
    <rom name="ps_obj-5.obj5" size="262144" crc="aaebd51a" sha1="7acb88cfcaf7e7c41de171ed5952e1d0a13ef302" region="sprite" offset="200002" />
    <rom name="ps_obj-6.obj6" size="262144" crc="032ea497" sha1="89f4deed8fa076683abc1f2e961ceb920ab9848d" region="sprite" offset="200001" />
    <rom name="ps_obj-7.obj7" size="262144" crc="f6183b36" sha1="d1fec216e88f6a07f03d1e458a105548d0376ef3" region="sprite" offset="200000" />
    <rom name="ps_chr-0.chr0" size="131072" crc="668b6670" sha1="35bdac5478cee37b82a8a5367a2a08c70014131d" region="c123tmap" offset="0" />
    <rom name="ps_chr-1.chr1" size="131072" crc="80c30742" sha1="e9307b6a4a6a749a97f76355fb3785945e303289" region="c123tmap" offset="80000" />
    <rom name="ps_chr-2.chr2" size="131072" crc="f4e11bf7" sha1="4506fdc83956d7e58bee1a6661da9fe12f1317a9" region="c123tmap" offset="100000" />
    <rom name="ps_chr-3.chr3" size="131072" crc="97a93dc5" sha1="9e89271a0bcb201122465d8f3b980b490e1e7350" region="c123tmap" offset="180000" />
    <rom name="ps_chr-4.chr4" size="131072" crc="81d965bf" sha1="c7a2349c1ed34a5375d8643a3a373adffab554f4" region="c123tmap" offset="200000" />
    <rom name="ps_chr-5.chr5" size="131072" crc="8ca72d35" sha1="e3af2d3772468bd26b552a3f15c8a9dd562b1361" region="c123tmap" offset="280000" />
    <rom name="ps_chr-6.chr6" size="131072" crc="da3543a9" sha1="085ac3a7e71db8cc60fc343d3a6b009a81f751ee" region="c123tmap" offset="300000" />
    <rom name="ps_roz-0.roz0" size="131072" crc="68043d7e" sha1="ee81e0f3fc1cd0aa903ad670aa7832c972613a80" region="s2roz" offset="0" />
    <rom name="ps_roz-1.roz1" size="131072" crc="029802b4" sha1="b9966d13f80faa5befa43cfa9628afd6a4ff783e" region="s2roz" offset="80000" />
    <rom name="ps_roz-2.roz2" size="131072" crc="bf0b76dc" sha1="28f01dc16ee8818291f89cfc03b126c6cd7ced72" region="s2roz" offset="100000" />
    <rom name="ps_roz-3.roz3" size="131072" crc="9c821455" sha1="259f2cb4a7de69e751644511f66611392e60f59d" region="s2roz" offset="180000" />
    <rom name="ps_roz-4.roz4" size="131072" crc="63a39b7a" sha1="2fa8ced5beb7574cb4add0245f97282ce9149691" region="s2roz" offset="200000" />
    <rom name="ps_roz-5.roz5" size="131072" crc="fc5a99d0" sha1="e61d45347ec0ee6db27edd6da797e810052803a2" region="s2roz" offset="280000" />
    <rom name="ps_roz-6.roz6" size="131072" crc="a2a17587" sha1="44a58735e6efdfa815576ed134a1295db49430fb" region="s2roz" offset="300000" />
    <rom name="ps_shape.shape" size="131072" crc="58e26fcf" sha1="9edc3b54964f923ed07ee878520ccf3f188f04ad" region="c123tmap:mask" offset="0" />
    <rom name="ps2_dat0.13s" size="131072" crc="ee4194b0" sha1="a0c2a807db70164ed761e5ad04301e5ae1173e7a" region="data_rom" offset="0" />
    <rom name="ps2_dat1.13p" size="131072" crc="5b22d714" sha1="f6cb1fe661f7691269840245f06875845fd6eb33" region="data_rom" offset="1" />
    <rom name="ps_voi-1.voice1" size="524288" crc="f67376ed" sha1="b54257aad34c6ad03d5b040e6a5dda94a48b6780" region="c140" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namcos2_roz" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="90" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <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="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5" />
    <port tag=":AN6" />
    <port tag=":AN7" />
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="good" emulation="good" savestate="supported" />
  </machine>
  <machine name="pheliosj" sourcefile="namcos2.cpp" cloneof="phelios" romof="phelios">
    <description>Phelios (Japan)</description>
    <year>1988</year>
    <manufacturer>Namco</manufacturer>
    <rom name="ps1_mpr0.mpr0" size="131072" crc="bfbe96c6" sha1="e597fc66b058aca4f55c38fbaec0abcad4ed6547" region="maincpu" offset="0" />
    <rom name="ps1_mpr1.mpr1" size="131072" crc="f5c0f883" sha1="9fd8b05a568a024e049bedc3c1c1893cb5bd249f" region="maincpu" offset="1" />
    <rom name="ps1_spr0.spr0" merge="ps2_spr0.spr0" size="65536" crc="e9c6987e" sha1="325532b065999276e4629b10c27d7df083e81c33" region="slave" offset="0" />
    <rom name="ps1_spr1.spr1" merge="ps2_spr1.spr1" size="65536" crc="02b074fb" sha1="4025c3dd83e26ac87de9f2f73753d1cb1211c1ae" region="slave" offset="1" />
    <rom name="ps1_snd0.snd0" merge="ps2_snd0.snd0" size="131072" crc="da694838" sha1="e1a20aedd18c49dcd12717e8ce479a5a441c10e6" region="audiocpu" offset="0" />
    <rom name="sys2_c65c.3f" merge="sys2_c65c.3f" size="32768" crc="a5b2a4ff" sha1="068bdfcc71a5e83706e8b23330691973c1c214dc" region="c65mcu:external" offset="0" />
    <rom name="ps_obj-0.obj0" merge="ps_obj-0.obj0" size="262144" crc="f323db2b" sha1="fa3c42c618da06af161ad3f8aa1283e9c4bd63c0" region="sprite" offset="3" />
    <rom name="ps_obj-1.obj1" merge="ps_obj-1.obj1" size="262144" crc="faf7c2f5" sha1="d0d33eddaf5de2b639717db83a85f441d81a5924" region="sprite" offset="2" />
    <rom name="ps_obj-2.obj2" merge="ps_obj-2.obj2" size="262144" crc="828178ba" sha1="d35ab8020ebaad0b4c0b24fa9edc2886b713a8ed" region="sprite" offset="1" />
    <rom name="ps_obj-3.obj3" merge="ps_obj-3.obj3" size="262144" crc="e84771c8" sha1="17bede39d8b703005b288f3596c4aaca266fa06b" region="sprite" offset="0" />
    <rom name="ps_obj-4.obj4" merge="ps_obj-4.obj4" size="262144" crc="81ea86c6" sha1="27400b4e1d53c47bc6b821439c294d879bf58ae4" region="sprite" offset="200003" />
    <rom name="ps_obj-5.obj5" merge="ps_obj-5.obj5" size="262144" crc="aaebd51a" sha1="7acb88cfcaf7e7c41de171ed5952e1d0a13ef302" region="sprite" offset="200002" />
    <rom name="ps_obj-6.obj6" merge="ps_obj-6.obj6" size="262144" crc="032ea497" sha1="89f4deed8fa076683abc1f2e961ceb920ab9848d" region="sprite" offset="200001" />
    <rom name="ps_obj-7.obj7" merge="ps_obj-7.obj7" size="262144" crc="f6183b36" sha1="d1fec216e88f6a07f03d1e458a105548d0376ef3" region="sprite" offset="200000" />
    <rom name="ps_chr-0.chr0" merge="ps_chr-0.chr0" size="131072" crc="668b6670" sha1="35bdac5478cee37b82a8a5367a2a08c70014131d" region="c123tmap" offset="0" />
    <rom name="ps_chr-1.chr1" merge="ps_chr-1.chr1" size="131072" crc="80c30742" sha1="e9307b6a4a6a749a97f76355fb3785945e303289" region="c123tmap" offset="80000" />
    <rom name="ps_chr-2.chr2" merge="ps_chr-2.chr2" size="131072" crc="f4e11bf7" sha1="4506fdc83956d7e58bee1a6661da9fe12f1317a9" region="c123tmap" offset="100000" />
    <rom name="ps_chr-3.chr3" merge="ps_chr-3.chr3" size="131072" crc="97a93dc5" sha1="9e89271a0bcb201122465d8f3b980b490e1e7350" region="c123tmap" offset="180000" />
    <rom name="ps_chr-4.chr4" merge="ps_chr-4.chr4" size="131072" crc="81d965bf" sha1="c7a2349c1ed34a5375d8643a3a373adffab554f4" region="c123tmap" offset="200000" />
    <rom name="ps_chr-5.chr5" merge="ps_chr-5.chr5" size="131072" crc="8ca72d35" sha1="e3af2d3772468bd26b552a3f15c8a9dd562b1361" region="c123tmap" offset="280000" />
    <rom name="ps_chr-6.chr6" merge="ps_chr-6.chr6" size="131072" crc="da3543a9" sha1="085ac3a7e71db8cc60fc343d3a6b009a81f751ee" region="c123tmap" offset="300000" />
    <rom name="ps_roz-0.roz0" merge="ps_roz-0.roz0" size="131072" crc="68043d7e" sha1="ee81e0f3fc1cd0aa903ad670aa7832c972613a80" region="s2roz" offset="0" />
    <rom name="ps_roz-1.roz1" merge="ps_roz-1.roz1" size="131072" crc="029802b4" sha1="b9966d13f80faa5befa43cfa9628afd6a4ff783e" region="s2roz" offset="80000" />
    <rom name="ps_roz-2.roz2" merge="ps_roz-2.roz2" size="131072" crc="bf0b76dc" sha1="28f01dc16ee8818291f89cfc03b126c6cd7ced72" region="s2roz" offset="100000" />
    <rom name="ps_roz-3.roz3" merge="ps_roz-3.roz3" size="131072" crc="9c821455" sha1="259f2cb4a7de69e751644511f66611392e60f59d" region="s2roz" offset="180000" />
    <rom name="ps_roz-4.roz4" merge="ps_roz-4.roz4" size="131072" crc="63a39b7a" sha1="2fa8ced5beb7574cb4add0245f97282ce9149691" region="s2roz" offset="200000" />
    <rom name="ps_roz-5.roz5" merge="ps_roz-5.roz5" size="131072" crc="fc5a99d0" sha1="e61d45347ec0ee6db27edd6da797e810052803a2" region="s2roz" offset="280000" />
    <rom name="ps_roz-6.roz6" merge="ps_roz-6.roz6" size="131072" crc="a2a17587" sha1="44a58735e6efdfa815576ed134a1295db49430fb" region="s2roz" offset="300000" />
    <rom name="ps_shape.shape" merge="ps_shape.shape" size="131072" crc="58e26fcf" sha1="9edc3b54964f923ed07ee878520ccf3f188f04ad" region="c123tmap:mask" offset="0" />
    <rom name="ps1_dat0.13s" merge="ps2_dat0.13s" size="131072" crc="ee4194b0" sha1="a0c2a807db70164ed761e5ad04301e5ae1173e7a" region="data_rom" offset="0" />
    <rom name="ps1_dat1.13p" merge="ps2_dat1.13p" size="131072" crc="5b22d714" sha1="f6cb1fe661f7691269840245f06875845fd6eb33" region="data_rom" offset="1" />
    <rom name="ps_voi-1.voice1" merge="ps_voi-1.voice1" size="524288" crc="f67376ed" sha1="b54257aad34c6ad03d5b040e6a5dda94a48b6780" region="c140" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namcos2_roz" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="90" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <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="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5" />
    <port tag=":AN6" />
    <port tag=":AN7" />
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="good" emulation="good" savestate="supported" />
  </machine>
  <machine name="rthun2" sourcefile="namcos2.cpp">
    <description>Rolling Thunder 2</description>
    <year>1990</year>
    <manufacturer>Namco</manufacturer>
    <rom name="rts2_mpr0.11d" size="131072" crc="e09a3549" sha1="027fe87c98a497c50d12c810b9c7e7216f985dca" region="maincpu" offset="0" />
    <rom name="rts2_mpr1.13d" size="131072" crc="09573bff" sha1="b75e036419f95967d5d95c14f1e08aa0c2a05d8a" region="maincpu" offset="1" />
    <rom name="rts2_spr0.11k" size="65536" crc="54c22ac5" sha1="747df2362839e6af15bdbf3298f9ea1c6e25f76a" region="slave" offset="0" />
    <rom name="rts2_spr1.13k" size="65536" crc="060eb393" sha1="e8f7dd163df16747a74713a6cadd1d52c09b8036" region="slave" offset="1" />
    <rom name="rts1_snd0.7j" size="131072" crc="55b7562a" sha1="47b12206ec4a709769351f3f5b4a1c5ebb98b416" region="audiocpu" offset="0" />
    <rom name="rts1_snd1.7g" size="131072" crc="00445a4f" sha1="2e136e3c38e4a1b69f80a19e07555f3269b7beb1" region="audiocpu" offset="20000" />
    <rom name="sys2c65c.3f" size="32768" crc="a5b2a4ff" sha1="068bdfcc71a5e83706e8b23330691973c1c214dc" region="c65mcu:external" offset="0" />
    <rom name="rts_obj0.5b" size="524288" crc="e5cb82c1" sha1="2dc1922ecfd9e52af8c4a1edac1df343be64b499" region="sprite" offset="3" />
    <rom name="rts_obj1.4b" size="524288" crc="19ebe9fd" sha1="6d7991a52a707f710c809eb44f1dfa4873369c17" region="sprite" offset="2" />
    <rom name="rts_obj2.5d" size="524288" crc="455c4a2f" sha1="9d7944b41e98f990423d315365106890e2c5ae77" region="sprite" offset="1" />
    <rom name="rts_obj3.4d" size="524288" crc="fdcae8a9" sha1="a1e1057b3263ee9af9e2d861cf8879f51265805e" region="sprite" offset="0" />
    <rom name="rts_chr0.11n" size="524288" crc="6f0e9a68" sha1="873296778104eff11b828273abf7f6ca461c055a" region="c123tmap" offset="0" />
    <rom name="rts_chr1.11p" size="524288" crc="15e44adc" sha1="fead0b2d693f9b6267895d8339bb250f5c77fb4d" region="c123tmap" offset="80000" />
    <rom name="rts_roz0.1a" size="524288" crc="482d0554" sha1="95b99d1db5851b83b2af4deda2b61635a0562604" region="s2roz" offset="0" />
    <rom name="rts_sha0.7n" size="524288" crc="cf58fbbe" sha1="fbe3b2f0c3267b298993d6238d97b119e13e07f6" region="c123tmap:mask" offset="0" />
    <rom name="rts1_data0.13s" size="131072" crc="0baf44ee" sha1="5135d634f76893adb26a32976a69e2d47e2385c6" region="data_rom" offset="0" />
    <rom name="rts1_data1.13p" size="131072" crc="58a8daac" sha1="c13ae8fc25b748a006c6db5b4b7ae593738544e8" region="data_rom" offset="1" />
    <rom name="rts1_data2.13r" size="131072" crc="8e850a2a" sha1="e5230e80a23ca6d09c2c53f443ecf70cc74075d7" region="data_rom" offset="100000" />
    <rom name="rts_voi1.3m" size="524288" crc="e42027cd" sha1="fa3a81118c7f112289c27023236dec2e9cbc78b5" region="c140" offset="0" />
    <rom name="rts_voi2.3l" size="524288" crc="0c4c2b66" sha1="7723cbef755439a66d026015596fe1547ccd65b1" region="c140" offset="100000" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namcos2_roz" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <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="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5" />
    <port tag=":AN6" />
    <port tag=":AN7" />
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="good" emulation="good" savestate="supported" />
  </machine>
  <machine name="rthun2j" sourcefile="namcos2.cpp" cloneof="rthun2" romof="rthun2">
    <description>Rolling Thunder 2 (Japan)</description>
    <year>1990</year>
    <manufacturer>Namco</manufacturer>
    <rom name="rts1_mpr0.11d" size="131072" crc="2563b9ee" sha1="c6a4305f88ca5d796f3ba4f36af54fed51c16b75" region="maincpu" offset="0" />
    <rom name="rts1_mpr1.13d" size="131072" crc="14c4c564" sha1="a826176fef65c53518fdbc7b14c7a1a65c821c8c" region="maincpu" offset="1" />
    <rom name="rts1_spr0.11k" size="65536" crc="f8ef5150" sha1="92fddf08b97210afe8d47386fe73078ffc00bd90" region="slave" offset="0" />
    <rom name="rts1_spr1.13k" size="65536" crc="52ed3a48" sha1="21a9f0be29a7b121f1a8ca802af3a5ebf2c49cc0" region="slave" offset="1" />
    <rom name="rts1_snd0.7j" merge="rts1_snd0.7j" size="131072" crc="55b7562a" sha1="47b12206ec4a709769351f3f5b4a1c5ebb98b416" region="audiocpu" offset="0" />
    <rom name="rts1_snd1.7g" merge="rts1_snd1.7g" size="131072" crc="00445a4f" sha1="2e136e3c38e4a1b69f80a19e07555f3269b7beb1" region="audiocpu" offset="20000" />
    <rom name="sys2c65c.3f" merge="sys2c65c.3f" size="32768" crc="a5b2a4ff" sha1="068bdfcc71a5e83706e8b23330691973c1c214dc" region="c65mcu:external" offset="0" />
    <rom name="rts_obj0.5b" merge="rts_obj0.5b" size="524288" crc="e5cb82c1" sha1="2dc1922ecfd9e52af8c4a1edac1df343be64b499" region="sprite" offset="3" />
    <rom name="rts_obj1.4b" merge="rts_obj1.4b" size="524288" crc="19ebe9fd" sha1="6d7991a52a707f710c809eb44f1dfa4873369c17" region="sprite" offset="2" />
    <rom name="rts_obj2.5d" merge="rts_obj2.5d" size="524288" crc="455c4a2f" sha1="9d7944b41e98f990423d315365106890e2c5ae77" region="sprite" offset="1" />
    <rom name="rts_obj3.4d" merge="rts_obj3.4d" size="524288" crc="fdcae8a9" sha1="a1e1057b3263ee9af9e2d861cf8879f51265805e" region="sprite" offset="0" />
    <rom name="rts_chr0.11n" merge="rts_chr0.11n" size="524288" crc="6f0e9a68" sha1="873296778104eff11b828273abf7f6ca461c055a" region="c123tmap" offset="0" />
    <rom name="rts_chr1.11p" merge="rts_chr1.11p" size="524288" crc="15e44adc" sha1="fead0b2d693f9b6267895d8339bb250f5c77fb4d" region="c123tmap" offset="80000" />
    <rom name="rts_roz0.1a" merge="rts_roz0.1a" size="524288" crc="482d0554" sha1="95b99d1db5851b83b2af4deda2b61635a0562604" region="s2roz" offset="0" />
    <rom name="rts_sha0.7n" merge="rts_sha0.7n" size="524288" crc="cf58fbbe" sha1="fbe3b2f0c3267b298993d6238d97b119e13e07f6" region="c123tmap:mask" offset="0" />
    <rom name="rts1_data0.13s" merge="rts1_data0.13s" size="131072" crc="0baf44ee" sha1="5135d634f76893adb26a32976a69e2d47e2385c6" region="data_rom" offset="0" />
    <rom name="rts1_data1.13p" merge="rts1_data1.13p" size="131072" crc="58a8daac" sha1="c13ae8fc25b748a006c6db5b4b7ae593738544e8" region="data_rom" offset="1" />
    <rom name="rts1_data2.13r" merge="rts1_data2.13r" size="131072" crc="8e850a2a" sha1="e5230e80a23ca6d09c2c53f443ecf70cc74075d7" region="data_rom" offset="100000" />
    <rom name="rts_voi1.3m" merge="rts_voi1.3m" size="524288" crc="e42027cd" sha1="fa3a81118c7f112289c27023236dec2e9cbc78b5" region="c140" offset="0" />
    <rom name="rts_voi2.3l" merge="rts_voi2.3l" size="524288" crc="0c4c2b66" sha1="7723cbef755439a66d026015596fe1547ccd65b1" region="c140" offset="100000" />
    <rom name="pal12l10.8d" size="64" crc="d3ae64a6" sha1="8e56f447908246e84d5a79df1a1cd3d5c8a040fb" region="plds" offset="0" />
    <rom name="plhs18p8a.2p" size="329" crc="28c634a4" sha1="4df8ce2a3216a6b609921e102ec558efc8a735b9" region="plds" offset="200" />
    <rom name="plhs18p8a.4g" size="329" crc="1932dd5e" sha1="af6ee16fbd53c68c74dec4c3f6cb8e91b10e9249" region="plds" offset="400" />
    <rom name="plhs18p8a.5f" size="329" crc="ab2fd9c2" sha1="a70a00b00533bf1208c4c2633136e2fb01f77711" region="plds" offset="600" />
    <rom name="pal16l8.9d" size="260" status="nodump" region="plds" offset="800" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namcos2_roz" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <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="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5" />
    <port tag=":AN6" />
    <port tag=":AN7" />
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="good" emulation="good" savestate="supported" />
  </machine>
  <machine name="sgunner" sourcefile="namcos2.cpp">
    <description>Steel Gunner (Rev B)</description>
    <year>1990</year>
    <manufacturer>Namco</manufacturer>
    <rom name="sn2mpr0b.11d" size="131072" crc="4bb33394" sha1="0c93e851d2b7ecfdc63593569baae2ea51a8dbc8" region="maincpu" offset="0" />
    <rom name="sn2mpr1b.13d" size="131072" crc="d8b47334" sha1="7aec721a06121b39e15de41b7f90b1653e43b034" region="maincpu" offset="1" />
    <rom name="sn1spr0.11k" size="65536" crc="4638b512" sha1="8a075f9739870ca90d5f1ac01ece6c0efe2f5f1a" region="slave" offset="0" />
    <rom name="sn1spr1.13k" size="65536" crc="e8b1ee73" sha1="b459cb197807eb7cbc4ca34a1f52d7f46e23e37c" region="slave" offset="1" />
    <rom name="sn1_snd0.8j" size="131072" crc="bdf36d44" sha1="46ee7c1b320fec3296e2483d6a68a1f11bcf196d" region="audiocpu" offset="0" />
    <rom name="sys2c65c.bin" size="32768" crc="a5b2a4ff" sha1="068bdfcc71a5e83706e8b23330691973c1c214dc" region="c65mcu:external" offset="0" />
    <rom name="sn_obj0.8c" size="524288" crc="bbae38f7" sha1="7a40ade13307791f5c5d300882f9a38e18c411d6" region="c355spr" offset="0" />
    <rom name="sn_obj1.12c" size="524288" crc="4dfacb51" sha1="1b5ae37f7ee12b791ce80422bd7472aa38c41ddd" region="c355spr" offset="1" />
    <rom name="sn_obj2.10c" size="524288" crc="313a308f" sha1="0773a567cf649394cd6fcdd6fba0c4575220a582" region="c355spr" offset="2" />
    <rom name="sn_obj3.14c" size="524288" crc="d7c340f6" sha1="4215d9ef38aea2dbf14febedfadd658ce03bbcdf" region="c355spr" offset="3" />
    <rom name="sn_obj4.9c" size="524288" crc="82fdaa06" sha1="494cc639bbf4032bb83fc9ad5a1db9dae0d8714b" region="c355spr" offset="200000" />
    <rom name="sn_obj5.13c" size="524288" crc="8700a8a4" sha1="90909e089405546e9634183969974af4a8cdc9eb" region="c355spr" offset="200001" />
    <rom name="sn_obj6.11c" size="524288" crc="9c6504f7" sha1="0dc2960ec5b5ce75e06d0f84917286f360e98316" region="c355spr" offset="200002" />
    <rom name="sn_obj7.15c" size="524288" crc="cd1356c0" sha1="7a21f315442857716eac813adc29cc4f7e28bee8" region="c355spr" offset="200003" />
    <rom name="sn_chr0.11n" size="524288" crc="b433c37b" sha1="514dcffd0f20faae0f5297b68d8946cfbc54e493" region="c123tmap" offset="0" />
    <rom name="sn_chr1.11p" size="524288" crc="b7dd41f9" sha1="2119bca16cdb55df2416222b66272f681abd0359" region="c123tmap" offset="80000" />
    <rom name="sn_sha0.8n" size="524288" crc="01e20999" sha1="5f925b5b43aa8889e077f7854a89d0731052605d" region="c123tmap:mask" offset="0" />
    <rom name="sn1_dat0.13s" size="131072" crc="72bfeca8" sha1="88a2f8959d803611b2f2e219cb8ff085a37d01fe" region="data_rom" offset="0" />
    <rom name="sn1_dat1.13p" size="131072" crc="99b3e653" sha1="d7e29ad4e059f5d5e03386d903428c879d591459" region="data_rom" offset="1" />
    <rom name="sn_voi1.3m" size="524288" crc="464e616d" sha1="7279a2af64bdf76972bcf326611e6bff57a9cd39" region="c140" offset="0" />
    <rom name="sn_voi2.3l" size="524288" crc="8c3251b5" sha1="fa364c8462f490c636605262c5492a6a9b00e5b1" region="c140" offset="100000" />
    <rom name="sgunner.nv" size="8192" crc="106026f8" sha1="e4be6701d4eef6c18406593c6dee10644f29a15b" region="nvram" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="namco_c355spr" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="ym2151" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <input players="2" coins="2">
      <control type="lightgun" player="1" buttons="2" minimum="0" maximum="255" sensitivity="50" keydelta="8" />
      <control type="lightgun" player="2" buttons="2" minimum="0" maximum="255" sensitivity="50" keydelta="8" />
    </input>
    <dipswitch name="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4">
      <analog mask="255" />
    </port>
    <port tag=":AN5">
      <analog mask="255" />
    </port>
    <port tag=":AN6">
      <analog mask="255" />
    </port>
    <port tag=":AN7">
      <analog mask="255" />
    </port>
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="good" emulation="good" savestate="supported" />
  </machine>
  <machine name="sgunner2" sourcefile="namcos2.cpp">
    <description>Steel Gunner 2 (US)</description>
    <year>1991</year>
    <manufacturer>Namco</manufacturer>
    <rom name="sns2mpr0.bin" size="131072" crc="f1a44039" sha1="c8e73c786a69780d9c66c5d599713976d541e36c" region="maincpu" offset="0" />
    <rom name="sns2mpr1.bin" size="131072" crc="9184c4db" sha1="ef3208157d6e5278a99baca0b31f0d43e5ffd89a" region="maincpu" offset="1" />
    <rom name="sns_spr0.bin" size="65536" crc="e5e40ed0" sha1="7bd8cd9030ddb640613420388c26220d120a1244" region="slave" offset="0" />
    <rom name="sns_spr1.bin" size="65536" crc="3a85a5e9" sha1="8528520c9b0fa4a38fbf0e3935418403c6d055a2" region="slave" offset="1" />
    <rom name="sns_snd0.bin" size="131072" crc="f079cd32" sha1="da507390b3e56ba4ad0f6e877d5ac82009b7bd32" region="audiocpu" offset="0" />
    <rom name="sns_obj0.bin" size="524288" crc="c762445c" sha1="108170c9a5c82c23c1ac09f91195137ca05989f4" region="c355spr" offset="0" />
    <rom name="sns_obj1.bin" size="524288" crc="e9e379d8" sha1="01b5f5946e746a5265d230273c99a41910fd9e6f" region="c355spr" offset="1" />
    <rom name="sns_obj2.bin" size="524288" crc="0d076f6c" sha1="247da0514c3809350ce308334e601f1689a7449f" region="c355spr" offset="2" />
    <rom name="sns_obj3.bin" size="524288" crc="0fb01e8b" sha1="50190313da2ab673364e9d94e1b5b03e3c84f57c" region="c355spr" offset="3" />
    <rom name="sns_obj4.bin" size="524288" crc="0b1be894" sha1="aaa9fb2f11610458bf685a9124c4889acc63fdc5" region="c355spr" offset="200000" />
    <rom name="sns_obj5.bin" size="524288" crc="416b14e1" sha1="bb4bc871a9c5ebc28e15a16267dd446f494c922e" region="c355spr" offset="200001" />
    <rom name="sns_obj6.bin" size="524288" crc="c2e94ed2" sha1="213f57e1a4c8e8ba3c8cbd212431ff7a44d0ffc1" region="c355spr" offset="200002" />
    <rom name="sns_obj7.bin" size="524288" crc="fc1f26af" sha1="1f0c36587bc9f80a39b49b6fd43d1773b2f49361" region="c355spr" offset="200003" />
    <rom name="sns_chr0.bin" size="524288" crc="cdc42b61" sha1="20cdd5a81ce4612f9eecd8f057d2e22e5baeb216" region="c123tmap" offset="0" />
    <rom name="sns_chr1.bin" size="524288" crc="42d4cbb7" sha1="2ba52987b59f2ae327b341c696fb4a4bbdccb093" region="c123tmap" offset="80000" />
    <rom name="sns_chr2.bin" size="524288" crc="7dbaa14e" sha1="6df4fbe85560d2c1624ac2d6c80d6f7827954775" region="c123tmap" offset="100000" />
    <rom name="sns_chr3.bin" size="524288" crc="b562ff72" sha1="6b74bca0555e51d7b15fc5d8fe865900646acbc6" region="c123tmap" offset="180000" />
    <rom name="sns_sha0.bin" size="524288" crc="0374fd67" sha1="2f09536ef4f8e1aa719108e73642feb376d6efff" region="c123tmap:mask" offset="0" />
    <rom name="sns_dat0.13s" size="131072" crc="48295d93" sha1="2b314128d5ed7d30895967dbd2ecd8f1dfdc61ca" region="data_rom" offset="0" />
    <rom name="sns_dat1.13p" size="131072" crc="b44cc656" sha1="7126ef28bf174c6c560469fa6dc4cfb439811850" region="data_rom" offset="1" />
    <rom name="sns_dat2.13r" size="131072" crc="ca2ae645" sha1="8addc8ed8244d0ff4c03909e865e3f15934963f1" region="data_rom" offset="100000" />
    <rom name="sns_dat3.13n" size="131072" crc="203bb018" sha1="36e20ab81ed69a941e13518ff2ae52acd6b22a78" region="data_rom" offset="100001" />
    <rom name="sns_voi1.bin" size="524288" crc="219c97f7" sha1="d4b1d81e3d0e2585bc2fa305c0d80beef15b2a9f" region="c140" offset="0" />
    <rom name="sns_voi2.bin" size="524288" crc="562ec86b" sha1="c9874c7e1f38c5b38d21f45a82028651cf9089a5" region="c140" offset="100000" />
    <rom name="sgunner2.nv" size="8192" crc="57a521c6" sha1="d60b4f6f099b7f9fb1e575c5f9a74397986c6dac" region="nvram" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namcoc68" />
    <device_ref name="m37450" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="namco_c355spr" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="ym2151" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c68mcu:mcu" name="Mitsubishi M37450" clock="8192000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <input players="2" coins="2">
      <control type="lightgun" player="1" buttons="2" minimum="0" maximum="255" sensitivity="50" keydelta="8" />
      <control type="lightgun" player="2" buttons="2" minimum="0" maximum="255" sensitivity="50" keydelta="8" />
    </input>
    <dipswitch name="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4">
      <analog mask="255" />
    </port>
    <port tag=":AN5">
      <analog mask="255" />
    </port>
    <port tag=":AN6">
      <analog mask="255" />
    </port>
    <port tag=":AN7">
      <analog mask="255" />
    </port>
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="good" emulation="good" savestate="supported" />
  </machine>
  <machine name="sgunner2j" sourcefile="namcos2.cpp" cloneof="sgunner2" romof="sgunner2">
    <description>Steel Gunner 2 (Japan, Rev A)</description>
    <year>1991</year>
    <manufacturer>Namco</manufacturer>
    <rom name="sns1mpr0a.bin" size="131072" crc="e7216ad7" sha1="ebc8e31ee6909d89bc4f40889e80f3c8b46dcd85" region="maincpu" offset="0" />
    <rom name="sns1mpr1a.bin" size="131072" crc="6caef2ee" sha1="8003517ff8b74480147786af3abdc7a78ba9d379" region="maincpu" offset="1" />
    <rom name="sns_spr0.bin" merge="sns_spr0.bin" size="65536" crc="e5e40ed0" sha1="7bd8cd9030ddb640613420388c26220d120a1244" region="slave" offset="0" />
    <rom name="sns_spr1.bin" merge="sns_spr1.bin" size="65536" crc="3a85a5e9" sha1="8528520c9b0fa4a38fbf0e3935418403c6d055a2" region="slave" offset="1" />
    <rom name="sns_snd0.bin" merge="sns_snd0.bin" size="131072" crc="f079cd32" sha1="da507390b3e56ba4ad0f6e877d5ac82009b7bd32" region="audiocpu" offset="0" />
    <rom name="sns_obj0.bin" merge="sns_obj0.bin" size="524288" crc="c762445c" sha1="108170c9a5c82c23c1ac09f91195137ca05989f4" region="c355spr" offset="0" />
    <rom name="sns_obj1.bin" merge="sns_obj1.bin" size="524288" crc="e9e379d8" sha1="01b5f5946e746a5265d230273c99a41910fd9e6f" region="c355spr" offset="1" />
    <rom name="sns_obj2.bin" merge="sns_obj2.bin" size="524288" crc="0d076f6c" sha1="247da0514c3809350ce308334e601f1689a7449f" region="c355spr" offset="2" />
    <rom name="sns_obj3.bin" merge="sns_obj3.bin" size="524288" crc="0fb01e8b" sha1="50190313da2ab673364e9d94e1b5b03e3c84f57c" region="c355spr" offset="3" />
    <rom name="sns_obj4.bin" merge="sns_obj4.bin" size="524288" crc="0b1be894" sha1="aaa9fb2f11610458bf685a9124c4889acc63fdc5" region="c355spr" offset="200000" />
    <rom name="sns_obj5.bin" merge="sns_obj5.bin" size="524288" crc="416b14e1" sha1="bb4bc871a9c5ebc28e15a16267dd446f494c922e" region="c355spr" offset="200001" />
    <rom name="sns_obj6.bin" merge="sns_obj6.bin" size="524288" crc="c2e94ed2" sha1="213f57e1a4c8e8ba3c8cbd212431ff7a44d0ffc1" region="c355spr" offset="200002" />
    <rom name="sns_obj7.bin" merge="sns_obj7.bin" size="524288" crc="fc1f26af" sha1="1f0c36587bc9f80a39b49b6fd43d1773b2f49361" region="c355spr" offset="200003" />
    <rom name="sns_chr0.bin" merge="sns_chr0.bin" size="524288" crc="cdc42b61" sha1="20cdd5a81ce4612f9eecd8f057d2e22e5baeb216" region="c123tmap" offset="0" />
    <rom name="sns_chr1.bin" merge="sns_chr1.bin" size="524288" crc="42d4cbb7" sha1="2ba52987b59f2ae327b341c696fb4a4bbdccb093" region="c123tmap" offset="80000" />
    <rom name="sns_chr2.bin" merge="sns_chr2.bin" size="524288" crc="7dbaa14e" sha1="6df4fbe85560d2c1624ac2d6c80d6f7827954775" region="c123tmap" offset="100000" />
    <rom name="sns_chr3.bin" merge="sns_chr3.bin" size="524288" crc="b562ff72" sha1="6b74bca0555e51d7b15fc5d8fe865900646acbc6" region="c123tmap" offset="180000" />
    <rom name="sns_sha0.bin" merge="sns_sha0.bin" size="524288" crc="0374fd67" sha1="2f09536ef4f8e1aa719108e73642feb376d6efff" region="c123tmap:mask" offset="0" />
    <rom name="sns_dat0.13s" merge="sns_dat0.13s" size="131072" crc="48295d93" sha1="2b314128d5ed7d30895967dbd2ecd8f1dfdc61ca" region="data_rom" offset="0" />
    <rom name="sns_dat1.13p" merge="sns_dat1.13p" size="131072" crc="b44cc656" sha1="7126ef28bf174c6c560469fa6dc4cfb439811850" region="data_rom" offset="1" />
    <rom name="sns_dat2.13r" merge="sns_dat2.13r" size="131072" crc="ca2ae645" sha1="8addc8ed8244d0ff4c03909e865e3f15934963f1" region="data_rom" offset="100000" />
    <rom name="sns_dat3.13n" merge="sns_dat3.13n" size="131072" crc="203bb018" sha1="36e20ab81ed69a941e13518ff2ae52acd6b22a78" region="data_rom" offset="100001" />
    <rom name="sns_voi1.bin" merge="sns_voi1.bin" size="524288" crc="219c97f7" sha1="d4b1d81e3d0e2585bc2fa305c0d80beef15b2a9f" region="c140" offset="0" />
    <rom name="sns_voi2.bin" merge="sns_voi2.bin" size="524288" crc="562ec86b" sha1="c9874c7e1f38c5b38d21f45a82028651cf9089a5" region="c140" offset="100000" />
    <rom name="sgunner2j.nv" size="8192" crc="014bccf9" sha1="b6437fadf3e71df7a71fde9ec7ffc95fe6c057b3" region="nvram" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namcoc68" />
    <device_ref name="m37450" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="namco_c355spr" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="ym2151" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c68mcu:mcu" name="Mitsubishi M37450" clock="8192000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <input players="2" coins="2">
      <control type="lightgun" player="1" buttons="2" minimum="0" maximum="255" sensitivity="50" keydelta="8" />
      <control type="lightgun" player="2" buttons="2" minimum="0" maximum="255" sensitivity="50" keydelta="8" />
    </input>
    <dipswitch name="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4">
      <analog mask="255" />
    </port>
    <port tag=":AN5">
      <analog mask="255" />
    </port>
    <port tag=":AN6">
      <analog mask="255" />
    </port>
    <port tag=":AN7">
      <analog mask="255" />
    </port>
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="good" emulation="good" savestate="supported" />
  </machine>
  <machine name="sgunnerj" sourcefile="namcos2.cpp" cloneof="sgunner" romof="sgunner">
    <description>Steel Gunner (Japan)</description>
    <year>1990</year>
    <manufacturer>Namco</manufacturer>
    <rom name="sn1mpr0.11d" size="131072" crc="f60116d7" sha1="40357b469157c23f0f9d7feaa6a28617e65c0a30" region="maincpu" offset="0" />
    <rom name="sn1mpr1.13d" size="131072" crc="23942fc9" sha1="25adb572f3f010b5e171e3b9d63aef28588c7ca4" region="maincpu" offset="1" />
    <rom name="sn1spr0.11k" merge="sn1spr0.11k" size="65536" crc="4638b512" sha1="8a075f9739870ca90d5f1ac01ece6c0efe2f5f1a" region="slave" offset="0" />
    <rom name="sn1spr1.13k" merge="sn1spr1.13k" size="65536" crc="e8b1ee73" sha1="b459cb197807eb7cbc4ca34a1f52d7f46e23e37c" region="slave" offset="1" />
    <rom name="sn1_snd0.8j" merge="sn1_snd0.8j" size="131072" crc="bdf36d44" sha1="46ee7c1b320fec3296e2483d6a68a1f11bcf196d" region="audiocpu" offset="0" />
    <rom name="sys2c65c.bin" merge="sys2c65c.bin" size="32768" crc="a5b2a4ff" sha1="068bdfcc71a5e83706e8b23330691973c1c214dc" region="c65mcu:external" offset="0" />
    <rom name="sn_obj0.8c" merge="sn_obj0.8c" size="524288" crc="bbae38f7" sha1="7a40ade13307791f5c5d300882f9a38e18c411d6" region="c355spr" offset="0" />
    <rom name="sn_obj1.12c" merge="sn_obj1.12c" size="524288" crc="4dfacb51" sha1="1b5ae37f7ee12b791ce80422bd7472aa38c41ddd" region="c355spr" offset="1" />
    <rom name="sn_obj2.10c" merge="sn_obj2.10c" size="524288" crc="313a308f" sha1="0773a567cf649394cd6fcdd6fba0c4575220a582" region="c355spr" offset="2" />
    <rom name="sn_obj3.14c" merge="sn_obj3.14c" size="524288" crc="d7c340f6" sha1="4215d9ef38aea2dbf14febedfadd658ce03bbcdf" region="c355spr" offset="3" />
    <rom name="sn_obj4.9c" merge="sn_obj4.9c" size="524288" crc="82fdaa06" sha1="494cc639bbf4032bb83fc9ad5a1db9dae0d8714b" region="c355spr" offset="200000" />
    <rom name="sn_obj5.13c" merge="sn_obj5.13c" size="524288" crc="8700a8a4" sha1="90909e089405546e9634183969974af4a8cdc9eb" region="c355spr" offset="200001" />
    <rom name="sn_obj6.11c" merge="sn_obj6.11c" size="524288" crc="9c6504f7" sha1="0dc2960ec5b5ce75e06d0f84917286f360e98316" region="c355spr" offset="200002" />
    <rom name="sn_obj7.15c" merge="sn_obj7.15c" size="524288" crc="cd1356c0" sha1="7a21f315442857716eac813adc29cc4f7e28bee8" region="c355spr" offset="200003" />
    <rom name="sn_chr0.11n" merge="sn_chr0.11n" size="524288" crc="b433c37b" sha1="514dcffd0f20faae0f5297b68d8946cfbc54e493" region="c123tmap" offset="0" />
    <rom name="sn_chr1.11p" merge="sn_chr1.11p" size="524288" crc="b7dd41f9" sha1="2119bca16cdb55df2416222b66272f681abd0359" region="c123tmap" offset="80000" />
    <rom name="sn_sha0.8n" merge="sn_sha0.8n" size="524288" crc="01e20999" sha1="5f925b5b43aa8889e077f7854a89d0731052605d" region="c123tmap:mask" offset="0" />
    <rom name="sn1_dat0.13s" merge="sn1_dat0.13s" size="131072" crc="72bfeca8" sha1="88a2f8959d803611b2f2e219cb8ff085a37d01fe" region="data_rom" offset="0" />
    <rom name="sn1_dat1.13p" merge="sn1_dat1.13p" size="131072" crc="99b3e653" sha1="d7e29ad4e059f5d5e03386d903428c879d591459" region="data_rom" offset="1" />
    <rom name="sn_voi1.3m" merge="sn_voi1.3m" size="524288" crc="464e616d" sha1="7279a2af64bdf76972bcf326611e6bff57a9cd39" region="c140" offset="0" />
    <rom name="sn_voi2.3l" merge="sn_voi2.3l" size="524288" crc="8c3251b5" sha1="fa364c8462f490c636605262c5492a6a9b00e5b1" region="c140" offset="100000" />
    <rom name="sgunner.nv" merge="sgunner.nv" size="8192" crc="106026f8" sha1="e4be6701d4eef6c18406593c6dee10644f29a15b" region="nvram" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="namco_c355spr" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="ym2151" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <input players="2" coins="2">
      <control type="lightgun" player="1" buttons="2" minimum="0" maximum="255" sensitivity="50" keydelta="8" />
      <control type="lightgun" player="2" buttons="2" minimum="0" maximum="255" sensitivity="50" keydelta="8" />
    </input>
    <dipswitch name="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4">
      <analog mask="255" />
    </port>
    <port tag=":AN5">
      <analog mask="255" />
    </port>
    <port tag=":AN6">
      <analog mask="255" />
    </port>
    <port tag=":AN7">
      <analog mask="255" />
    </port>
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="good" emulation="good" savestate="supported" />
  </machine>
  <machine name="suzuk8h2" sourcefile="namcos2.cpp">
    <description>Suzuka 8 Hours 2 (World, Rev B)</description>
    <year>1993</year>
    <manufacturer>Namco</manufacturer>
    <rom name="ehs2_mp0b.11d" size="131072" crc="ade97f90" sha1="8674da5b72d9c9dc09004cb5458b4e87a2b33459" region="maincpu" offset="0" />
    <rom name="ehs2_mp1b.13d" size="131072" crc="19744a66" sha1="90a9699d988eca89633def190836bc3862b8e49e" region="maincpu" offset="1" />
    <rom name="ehs1-sp0.11k" size="131072" crc="9ca967bc" sha1="a4d19ae72d0d8e96c1fa5f7e9d8e002275e7be32" region="slave" offset="0" />
    <rom name="ehs1-sp1.13k" size="131072" crc="f25bfaaa" sha1="829936a9d19c4a8818684ce263e9ae5cbc7d5ca4" region="slave" offset="1" />
    <rom name="ehs1-snd0.7j" size="131072" crc="fc95993b" sha1="e8ecd6dc37634bdd030b8cea0b69818fba5a9388" region="audiocpu" offset="0" />
    <rom name="ehs1-obj0.3p" size="524288" crc="a0acf307" sha1="6d79d2dd00da4f8f0462245f42a9d88b6ad632b1" region="c355spr" offset="0" />
    <rom name="ehs1-obj1.3w" size="524288" crc="ca780b44" sha1="d16263851c165f5958b0a2ad1ba199058a8d56d5" region="c355spr" offset="1" />
    <rom name="ehs1-obj2.3t" size="524288" crc="83b45afe" sha1="10a4b88b36f8d037cbb611cb273613b1d45e8eb5" region="c355spr" offset="2" />
    <rom name="ehs1-obj3.3y" size="524288" crc="360c03a8" sha1="969b1a96833ab2db3d610a2b3793fc1e038b24d8" region="c355spr" offset="3" />
    <rom name="ehs1-obj4.3s" size="524288" crc="4e503ca5" sha1="248af1cba2cad2b6e3c53c7c7673165789c5f4d5" region="c355spr" offset="200000" />
    <rom name="ehs1-obj5.3x" size="524288" crc="5405f2d9" sha1="c2b592abf72f4de22a3863909be579820c8fe5b1" region="c355spr" offset="200001" />
    <rom name="ehs1-obj6.3j" size="524288" crc="f5fc8b23" sha1="d7cd4596cd6991db72c371d835051cc8001f30b3" region="c355spr" offset="200002" />
    <rom name="ehs1-obj7.3z" size="524288" crc="da6bf51b" sha1="b9b49b983f76989067c4763fd88bfa11bbf5d064" region="c355spr" offset="200003" />
    <rom name="ehs1-chr0.11n" size="524288" crc="844efe0d" sha1="032a2d268bbab60706d911ab42206b5329e1abba" region="c123tmap" offset="0" />
    <rom name="ehs1-chr1.11p" size="524288" crc="e8480a6d" sha1="247a7ab2f5270a87c6a05b12f01b884fb05dabd2" region="c123tmap" offset="80000" />
    <rom name="ehs1-chr2.11r" size="524288" crc="ace2d871" sha1="1a10f571268d83c70fe00fad2f1ce2b48fb764b1" region="c123tmap" offset="100000" />
    <rom name="ehs1-chr3.11s" size="524288" crc="c1680818" sha1="c8c9fd02b1155924fdc1e930fe176225a3b840a1" region="c123tmap" offset="180000" />
    <rom name="ehs1-chr4.9n" size="524288" crc="82e8c1d5" sha1="4c6d234a875f108623638960258a0cd530cab6da" region="c123tmap" offset="200000" />
    <rom name="ehs1-chr5.9p" size="524288" crc="9448537c" sha1="99b9215907ed8658f19bec1153dc1d48bbfd7753" region="c123tmap" offset="280000" />
    <rom name="ehs1-chr6.9r" size="524288" crc="2d1c01ad" sha1="1ed79e22b964fe648d22e43b78c1c3b5a7d5f8c8" region="c123tmap" offset="300000" />
    <rom name="ehs1-chr7.9s" size="524288" crc="18dd8676" sha1="59b9a07f4a980fd920a29b8a90ef54c8c3b53e97" region="c123tmap" offset="380000" />
    <rom name="ehs1-sha0.7n" size="524288" crc="0f0e2dbf" sha1="a4575fbdc868ba959d23204be7d659d40d8db4c2" region="c123tmap:mask" offset="0" />
    <rom name="ehs1-dat0.13s" size="524288" crc="12a202fb" sha1="dca1b88cb524d54a699d4f6003854cfc980e084b" region="data_rom" offset="0" />
    <rom name="ehs1-dat1.13p" size="524288" crc="91790905" sha1="988af294959dbb8636f808347b44897a133d3203" region="data_rom" offset="1" />
    <rom name="ehs1-dat2.13r" size="524288" crc="087da1f3" sha1="e9c4ba0383e883502c0f45ae6e6d5daba4eccb01" region="data_rom" offset="100000" />
    <rom name="ehs1-dat3.13n" size="524288" crc="85aecb3f" sha1="00ab6104dee0cd0fbdb0235b88b41e4d26794f98" region="data_rom" offset="100001" />
    <rom name="ehs1-landdt.10w" size="256" crc="cde7e8a6" sha1="860273daf2e649418746adf50a67ae33f9f3740c" region="c45_road:clut" offset="0" />
    <rom name="ehs1-voi1.3m" size="524288" crc="bf94eb42" sha1="61bb36550a58ffb8ad0ab8f5b51eddd7824ae8bc" region="c140" offset="0" />
    <rom name="ehs1-voi2.3l" size="524288" crc="0e427604" sha1="ebb15f53713c24731f6ebdc37ece88587cce5616" region="c140" offset="100000" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namcoc68" />
    <device_ref name="m37450" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="namco_c355spr" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namco_c45_road" />
    <device_ref name="ym2151" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c68mcu:mcu" name="Mitsubishi M37450" clock="8192000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <input players="1" coins="2">
      <control type="paddle" minimum="0" maximum="255" sensitivity="50" keydelta="100" />
      <control type="pedal" minimum="0" maximum="255" sensitivity="100" keydelta="15" />
    </input>
    <dipswitch name="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="System is Status Monitor" tag="DSW" mask="64">
      <dipvalue name="No" value="64" default="yes" />
      <dipvalue name="Yes" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5">
      <analog mask="255" />
    </port>
    <port tag=":AN6">
      <analog mask="255" />
    </port>
    <port tag=":AN7">
      <analog mask="255" />
    </port>
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="imperfect" emulation="good" savestate="supported" />
    <feature type="graphics" status="imperfect" />
    <feature type="sound" status="imperfect" />
    <feature type="lan" status="unemulated" />
  </machine>
  <machine name="suzuk8h2j" sourcefile="namcos2.cpp" cloneof="suzuk8h2" romof="suzuk8h2">
    <description>Suzuka 8 Hours 2 (Japan, Rev B)</description>
    <year>1993</year>
    <manufacturer>Namco</manufacturer>
    <rom name="ehs1_mp0b.11d" size="131072" crc="ae40d445" sha1="a6ce8eb691d2b20a120a2c8ce04dbc925fceaad5" region="maincpu" offset="0" />
    <rom name="ehs1_mp1b.13d" size="131072" crc="9d5b0d43" sha1="cc8d288bb91703221697484aa41417c041d6a77f" region="maincpu" offset="1" />
    <rom name="ehs1-sp0.11k" merge="ehs1-sp0.11k" size="131072" crc="9ca967bc" sha1="a4d19ae72d0d8e96c1fa5f7e9d8e002275e7be32" region="slave" offset="0" />
    <rom name="ehs1-sp1.13k" merge="ehs1-sp1.13k" size="131072" crc="f25bfaaa" sha1="829936a9d19c4a8818684ce263e9ae5cbc7d5ca4" region="slave" offset="1" />
    <rom name="ehs1-snd0.7j" merge="ehs1-snd0.7j" size="131072" crc="fc95993b" sha1="e8ecd6dc37634bdd030b8cea0b69818fba5a9388" region="audiocpu" offset="0" />
    <rom name="ehs1-obj0.3p" merge="ehs1-obj0.3p" size="524288" crc="a0acf307" sha1="6d79d2dd00da4f8f0462245f42a9d88b6ad632b1" region="c355spr" offset="0" />
    <rom name="ehs1-obj1.3w" merge="ehs1-obj1.3w" size="524288" crc="ca780b44" sha1="d16263851c165f5958b0a2ad1ba199058a8d56d5" region="c355spr" offset="1" />
    <rom name="ehs1-obj2.3t" merge="ehs1-obj2.3t" size="524288" crc="83b45afe" sha1="10a4b88b36f8d037cbb611cb273613b1d45e8eb5" region="c355spr" offset="2" />
    <rom name="ehs1-obj3.3y" merge="ehs1-obj3.3y" size="524288" crc="360c03a8" sha1="969b1a96833ab2db3d610a2b3793fc1e038b24d8" region="c355spr" offset="3" />
    <rom name="ehs1-obj4.3s" merge="ehs1-obj4.3s" size="524288" crc="4e503ca5" sha1="248af1cba2cad2b6e3c53c7c7673165789c5f4d5" region="c355spr" offset="200000" />
    <rom name="ehs1-obj5.3x" merge="ehs1-obj5.3x" size="524288" crc="5405f2d9" sha1="c2b592abf72f4de22a3863909be579820c8fe5b1" region="c355spr" offset="200001" />
    <rom name="ehs1-obj6.3j" merge="ehs1-obj6.3j" size="524288" crc="f5fc8b23" sha1="d7cd4596cd6991db72c371d835051cc8001f30b3" region="c355spr" offset="200002" />
    <rom name="ehs1-obj7.3z" merge="ehs1-obj7.3z" size="524288" crc="da6bf51b" sha1="b9b49b983f76989067c4763fd88bfa11bbf5d064" region="c355spr" offset="200003" />
    <rom name="ehs1-chr0.11n" merge="ehs1-chr0.11n" size="524288" crc="844efe0d" sha1="032a2d268bbab60706d911ab42206b5329e1abba" region="c123tmap" offset="0" />
    <rom name="ehs1-chr1.11p" merge="ehs1-chr1.11p" size="524288" crc="e8480a6d" sha1="247a7ab2f5270a87c6a05b12f01b884fb05dabd2" region="c123tmap" offset="80000" />
    <rom name="ehs1-chr2.11r" merge="ehs1-chr2.11r" size="524288" crc="ace2d871" sha1="1a10f571268d83c70fe00fad2f1ce2b48fb764b1" region="c123tmap" offset="100000" />
    <rom name="ehs1-chr3.11s" merge="ehs1-chr3.11s" size="524288" crc="c1680818" sha1="c8c9fd02b1155924fdc1e930fe176225a3b840a1" region="c123tmap" offset="180000" />
    <rom name="ehs1-chr4.9n" merge="ehs1-chr4.9n" size="524288" crc="82e8c1d5" sha1="4c6d234a875f108623638960258a0cd530cab6da" region="c123tmap" offset="200000" />
    <rom name="ehs1-chr5.9p" merge="ehs1-chr5.9p" size="524288" crc="9448537c" sha1="99b9215907ed8658f19bec1153dc1d48bbfd7753" region="c123tmap" offset="280000" />
    <rom name="ehs1-chr6.9r" merge="ehs1-chr6.9r" size="524288" crc="2d1c01ad" sha1="1ed79e22b964fe648d22e43b78c1c3b5a7d5f8c8" region="c123tmap" offset="300000" />
    <rom name="ehs1-chr7.9s" merge="ehs1-chr7.9s" size="524288" crc="18dd8676" sha1="59b9a07f4a980fd920a29b8a90ef54c8c3b53e97" region="c123tmap" offset="380000" />
    <rom name="ehs1-sha0.7n" merge="ehs1-sha0.7n" size="524288" crc="0f0e2dbf" sha1="a4575fbdc868ba959d23204be7d659d40d8db4c2" region="c123tmap:mask" offset="0" />
    <rom name="ehs1-dat0.13s" merge="ehs1-dat0.13s" size="524288" crc="12a202fb" sha1="dca1b88cb524d54a699d4f6003854cfc980e084b" region="data_rom" offset="0" />
    <rom name="ehs1-dat1.13p" merge="ehs1-dat1.13p" size="524288" crc="91790905" sha1="988af294959dbb8636f808347b44897a133d3203" region="data_rom" offset="1" />
    <rom name="ehs1-dat2.13r" merge="ehs1-dat2.13r" size="524288" crc="087da1f3" sha1="e9c4ba0383e883502c0f45ae6e6d5daba4eccb01" region="data_rom" offset="100000" />
    <rom name="ehs1-dat3.13n" merge="ehs1-dat3.13n" size="524288" crc="85aecb3f" sha1="00ab6104dee0cd0fbdb0235b88b41e4d26794f98" region="data_rom" offset="100001" />
    <rom name="ehs1-landdt.10w" merge="ehs1-landdt.10w" size="256" crc="cde7e8a6" sha1="860273daf2e649418746adf50a67ae33f9f3740c" region="c45_road:clut" offset="0" />
    <rom name="ehs1-voi1.3m" merge="ehs1-voi1.3m" size="524288" crc="bf94eb42" sha1="61bb36550a58ffb8ad0ab8f5b51eddd7824ae8bc" region="c140" offset="0" />
    <rom name="ehs1-voi2.3l" merge="ehs1-voi2.3l" size="524288" crc="0e427604" sha1="ebb15f53713c24731f6ebdc37ece88587cce5616" region="c140" offset="100000" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namcoc68" />
    <device_ref name="m37450" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="namco_c355spr" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namco_c45_road" />
    <device_ref name="ym2151" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c68mcu:mcu" name="Mitsubishi M37450" clock="8192000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <input players="1" coins="2">
      <control type="paddle" minimum="0" maximum="255" sensitivity="50" keydelta="100" />
      <control type="pedal" minimum="0" maximum="255" sensitivity="100" keydelta="15" />
    </input>
    <dipswitch name="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="System is Status Monitor" tag="DSW" mask="64">
      <dipvalue name="No" value="64" default="yes" />
      <dipvalue name="Yes" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5">
      <analog mask="255" />
    </port>
    <port tag=":AN6">
      <analog mask="255" />
    </port>
    <port tag=":AN7">
      <analog mask="255" />
    </port>
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="imperfect" emulation="good" savestate="supported" />
    <feature type="graphics" status="imperfect" />
    <feature type="sound" status="imperfect" />
    <feature type="lan" status="unemulated" />
  </machine>
  <machine name="suzuka8h" sourcefile="namcos2.cpp">
    <description>Suzuka 8 Hours (World, Rev C)</description>
    <year>1992</year>
    <manufacturer>Namco</manufacturer>
    <rom name="eh2-mp0c.bin" size="131072" crc="9b9271ac" sha1="92bb911a4f4705e5ee6962010b16e74aeeb78943" region="maincpu" offset="0" />
    <rom name="eh2-mp1c.bin" size="131072" crc="24fdd4bc" sha1="fd4eec21e24afe26281d41de7f9db6767ccf26a0" region="maincpu" offset="1" />
    <rom name="eh1-sp0.bin" size="131072" crc="4a8c4709" sha1="c08b618296088d6f4b4906817a0eea8d79448e98" region="slave" offset="0" />
    <rom name="eh1-sp1.bin" size="131072" crc="2256b14e" sha1="5bf45cf90d9b6ca349cdb26c68a80008880e107d" region="slave" offset="1" />
    <rom name="eh1-snd0.bin" size="131072" crc="36748d3c" sha1="30bf3310b513c7fcee28a908563459e154c5292a" region="audiocpu" offset="0" />
    <rom name="eh1-obj0.bin" size="524288" crc="864b6816" sha1="72d831b631afb2848578bd49cd7d3e12a78644b4" region="c355spr" offset="0" />
    <rom name="eh1-obj1.bin" size="524288" crc="d4921c35" sha1="fe1b3997c3298e58919fa5602b94bd121439d5bc" region="c355spr" offset="1" />
    <rom name="eh1-obj2.bin" size="524288" crc="966d3f19" sha1="997669cce56350cd7ed02eec0a88696469435490" region="c355spr" offset="2" />
    <rom name="eh1-obj3.bin" size="524288" crc="7d253cbe" sha1="8ff32b7807e233dd6ea6454e744bf6efacd27181" region="c355spr" offset="3" />
    <rom name="eh1-obj4.bin" size="524288" crc="cde13867" sha1="071d5ea4b11c78d671e30f43d8d09e9b8314a4db" region="c355spr" offset="200000" />
    <rom name="eh1-obj5.bin" size="524288" crc="9f210546" sha1="a86cb90788a0cf381b73771a9a95b5d876b43f83" region="c355spr" offset="200001" />
    <rom name="eh1-obj6.bin" size="524288" crc="6019fc8c" sha1="f3eb74fe0df2efbfeeaf4f8b43c93f104009da0b" region="c355spr" offset="200002" />
    <rom name="eh1-obj7.bin" size="524288" crc="0bd966b8" sha1="70d6b12139b2563a646da7d11c554f2f6ffb3559" region="c355spr" offset="200003" />
    <rom name="eh2-chr0.bin" size="524288" crc="b2450fd2" sha1="4aafb2c96b15e01364eb61ad0a71929c730e30a4" region="c123tmap" offset="0" />
    <rom name="eh2-chr1.bin" size="524288" crc="57204651" sha1="72cd7bd761a2b0fd12b3c3214098439d85438db8" region="c123tmap" offset="80000" />
    <rom name="eh1-chr2.bin" size="524288" crc="8150f644" sha1="bf41d43938dbae6fd3162caebe8ffd4ec4bbd169" region="c123tmap" offset="100000" />
    <rom name="eh2-sha0.bin" size="524288" crc="7f24619c" sha1="0d19ab621cb42c5315be9a6b56f6711fc46ffff7" region="c123tmap:mask" offset="0" />
    <rom name="eh1-d0.13s" size="262144" crc="b43e5dfa" sha1="7e24ee46169532cdb5c504239f7961f8d17e86e4" region="data_rom" offset="0" />
    <rom name="eh1-d1.13p" size="262144" crc="9825d5bf" sha1="720f0e90c69a2e0c48889d510a15102768226a67" region="data_rom" offset="1" />
    <rom name="eh1-d3.13n" size="262144" crc="f46d301f" sha1="70797fd584735844539553efcad53e11239ec10e" region="data_rom" offset="100001" />
    <rom name="ehs1_landdt.10w" size="256" crc="cde7e8a6" sha1="860273daf2e649418746adf50a67ae33f9f3740c" region="c45_road:clut" offset="0" />
    <rom name="eh1-voi1.bin" size="524288" crc="71e534d3" sha1="2981de315e660b878673b5d3816886e96f0556d6" region="c140" offset="0" />
    <rom name="eh1-voi2.bin" size="524288" crc="3e20df8e" sha1="7f1d57a5a73c45c69f0afd137a630bf07c4e7a9c" region="c140" offset="100000" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namcoc68" />
    <device_ref name="m37450" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="namco_c355spr" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namco_c45_road" />
    <device_ref name="ym2151" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c68mcu:mcu" name="Mitsubishi M37450" clock="8192000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <input players="1" coins="2">
      <control type="paddle" minimum="0" maximum="255" sensitivity="50" keydelta="100" />
      <control type="pedal" minimum="0" maximum="255" sensitivity="100" keydelta="15" />
    </input>
    <dipswitch name="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="System is Status Monitor" tag="DSW" mask="64">
      <dipvalue name="No" value="64" default="yes" />
      <dipvalue name="Yes" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5">
      <analog mask="255" />
    </port>
    <port tag=":AN6">
      <analog mask="255" />
    </port>
    <port tag=":AN7">
      <analog mask="255" />
    </port>
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="imperfect" emulation="good" savestate="supported" />
    <feature type="graphics" status="imperfect" />
    <feature type="sound" status="imperfect" />
    <feature type="lan" status="unemulated" />
  </machine>
  <machine name="suzuka8hj" sourcefile="namcos2.cpp" cloneof="suzuka8h" romof="suzuka8h">
    <description>Suzuka 8 Hours (Japan, Rev B)</description>
    <year>1992</year>
    <manufacturer>Namco</manufacturer>
    <rom name="eh1-mp0b.bin" size="131072" crc="2850f469" sha1="65142451db8ddbd1500f4bb5d5a6b2ede5871dd5" region="maincpu" offset="0" />
    <rom name="eh1-mp1b.bin" size="131072" crc="be83eb2c" sha1="f54ca4469050f734e4c2d7d681e3e51cc067f2c2" region="maincpu" offset="1" />
    <rom name="eh1-sp0.bin" merge="eh1-sp0.bin" size="131072" crc="4a8c4709" sha1="c08b618296088d6f4b4906817a0eea8d79448e98" region="slave" offset="0" />
    <rom name="eh1-sp1.bin" merge="eh1-sp1.bin" size="131072" crc="2256b14e" sha1="5bf45cf90d9b6ca349cdb26c68a80008880e107d" region="slave" offset="1" />
    <rom name="eh1-snd0.bin" merge="eh1-snd0.bin" size="131072" crc="36748d3c" sha1="30bf3310b513c7fcee28a908563459e154c5292a" region="audiocpu" offset="0" />
    <rom name="eh1-obj0.bin" merge="eh1-obj0.bin" size="524288" crc="864b6816" sha1="72d831b631afb2848578bd49cd7d3e12a78644b4" region="c355spr" offset="0" />
    <rom name="eh1-obj1.bin" merge="eh1-obj1.bin" size="524288" crc="d4921c35" sha1="fe1b3997c3298e58919fa5602b94bd121439d5bc" region="c355spr" offset="1" />
    <rom name="eh1-obj2.bin" merge="eh1-obj2.bin" size="524288" crc="966d3f19" sha1="997669cce56350cd7ed02eec0a88696469435490" region="c355spr" offset="2" />
    <rom name="eh1-obj3.bin" merge="eh1-obj3.bin" size="524288" crc="7d253cbe" sha1="8ff32b7807e233dd6ea6454e744bf6efacd27181" region="c355spr" offset="3" />
    <rom name="eh1-obj4.bin" merge="eh1-obj4.bin" size="524288" crc="cde13867" sha1="071d5ea4b11c78d671e30f43d8d09e9b8314a4db" region="c355spr" offset="200000" />
    <rom name="eh1-obj5.bin" merge="eh1-obj5.bin" size="524288" crc="9f210546" sha1="a86cb90788a0cf381b73771a9a95b5d876b43f83" region="c355spr" offset="200001" />
    <rom name="eh1-obj6.bin" merge="eh1-obj6.bin" size="524288" crc="6019fc8c" sha1="f3eb74fe0df2efbfeeaf4f8b43c93f104009da0b" region="c355spr" offset="200002" />
    <rom name="eh1-obj7.bin" merge="eh1-obj7.bin" size="524288" crc="0bd966b8" sha1="70d6b12139b2563a646da7d11c554f2f6ffb3559" region="c355spr" offset="200003" />
    <rom name="eh1-chr0.bin" size="524288" crc="bc90ebef" sha1="592ca134cc018e87214f72a97979cbf9425cfffd" region="c123tmap" offset="0" />
    <rom name="eh1-chr1.bin" size="524288" crc="61395018" sha1="4ffb8323b5671f99bb420881f84be58de7d79d07" region="c123tmap" offset="80000" />
    <rom name="eh1-chr2.bin" merge="eh1-chr2.bin" size="524288" crc="8150f644" sha1="bf41d43938dbae6fd3162caebe8ffd4ec4bbd169" region="c123tmap" offset="100000" />
    <rom name="eh1-sha0.bin" size="524288" crc="39585cf9" sha1="8cc18b5745ab2cf50d4df0a17fc1a57771db28ab" region="c123tmap:mask" offset="0" />
    <rom name="eh1-d0.13s" merge="eh1-d0.13s" size="262144" crc="b43e5dfa" sha1="7e24ee46169532cdb5c504239f7961f8d17e86e4" region="data_rom" offset="0" />
    <rom name="eh1-d1.13p" merge="eh1-d1.13p" size="262144" crc="9825d5bf" sha1="720f0e90c69a2e0c48889d510a15102768226a67" region="data_rom" offset="1" />
    <rom name="eh1-d3.13n" merge="eh1-d3.13n" size="262144" crc="f46d301f" sha1="70797fd584735844539553efcad53e11239ec10e" region="data_rom" offset="100001" />
    <rom name="ehs1_landdt.10w" merge="ehs1_landdt.10w" size="256" crc="cde7e8a6" sha1="860273daf2e649418746adf50a67ae33f9f3740c" region="c45_road:clut" offset="0" />
    <rom name="eh1-voi1.bin" merge="eh1-voi1.bin" size="524288" crc="71e534d3" sha1="2981de315e660b878673b5d3816886e96f0556d6" region="c140" offset="0" />
    <rom name="eh1-voi2.bin" merge="eh1-voi2.bin" size="524288" crc="3e20df8e" sha1="7f1d57a5a73c45c69f0afd137a630bf07c4e7a9c" region="c140" offset="100000" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namcoc68" />
    <device_ref name="m37450" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="namco_c355spr" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namco_c45_road" />
    <device_ref name="ym2151" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c68mcu:mcu" name="Mitsubishi M37450" clock="8192000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <input players="1" coins="2">
      <control type="paddle" minimum="0" maximum="255" sensitivity="50" keydelta="100" />
      <control type="pedal" minimum="0" maximum="255" sensitivity="100" keydelta="15" />
    </input>
    <dipswitch name="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="System is Status Monitor" tag="DSW" mask="64">
      <dipvalue name="No" value="64" default="yes" />
      <dipvalue name="Yes" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5">
      <analog mask="255" />
    </port>
    <port tag=":AN6">
      <analog mask="255" />
    </port>
    <port tag=":AN7">
      <analog mask="255" />
    </port>
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="imperfect" emulation="good" savestate="supported" />
    <feature type="graphics" status="imperfect" />
    <feature type="sound" status="imperfect" />
    <feature type="lan" status="unemulated" />
  </machine>
  <machine name="sws" sourcefile="namcos2.cpp">
    <description>Super World Stadium (Japan)</description>
    <year>1992</year>
    <manufacturer>Namco</manufacturer>
    <rom name="ss1_mpr0.11d" size="131072" crc="d12bd020" sha1="bae6250746ab1dbfffbf06a6099fa6aaa1680e98" region="maincpu" offset="0" />
    <rom name="ss1_mpr1.13d" size="131072" crc="e9ae14ce" sha1="76a82219c0f663637f5cfcd8607186a972e68218" region="maincpu" offset="1" />
    <rom name="sst1spr0.bin" size="131072" crc="9777ee2f" sha1="95b769402cea53c7f557aab97e0bea61edfd4a35" region="slave" offset="0" />
    <rom name="sst1spr1.bin" size="131072" crc="27a35c69" sha1="cb23a357f6f608cb9afdeca9ea11d123b69272ef" region="slave" offset="1" />
    <rom name="sst1snd0.bin" size="131072" crc="8fc45114" sha1="d0dc5c8af8733f1ac7cbe46f0f6cfbe188124d42" region="audiocpu" offset="0" />
    <rom name="ss1_obj0.5b" size="524288" crc="9bd6add1" sha1="34595987670d7f64ba18a840e98667b96ae5e4bf" region="sprite" offset="3" />
    <rom name="ss1_obj1.4b" size="524288" crc="a9db3d02" sha1="63ff1ebc3fe27cd58fda0133bade9ca177ad2d89" region="sprite" offset="2" />
    <rom name="ss1_obj2.5d" size="524288" crc="b4a73ced" sha1="9d8476fb3db7fd2fce124dab09094f0ce0057116" region="sprite" offset="1" />
    <rom name="ss1_obj3.4d" size="524288" crc="0a832b36" sha1="56879a208e106105b8c0add3c7f7a69ce1ecbd9a" region="sprite" offset="0" />
    <rom name="ss1_chr0.11n" size="524288" crc="ab0141de" sha1="b63f5a1ca23a56f8da71741f64d410a323ff277f" region="c123tmap" offset="0" />
    <rom name="ss_roz0.bin" size="524288" crc="40ce9a58" sha1="240433e4fe31d333bcc8890c0a8e9ac84086fb07" region="s2roz" offset="0" />
    <rom name="ss_roz1.bin" size="524288" crc="c98902ff" sha1="fef954e90552a09fa4c9a8e4acc18c1e0e762900" region="s2roz" offset="80000" />
    <rom name="ss1_roz2.1c" size="524288" crc="b603e1a1" sha1="bfe7ec0425c390390b3e3d17a9a57bca69346f98" region="s2roz" offset="100000" />
    <rom name="ss1_sha0.7n" size="524288" crc="fea6952c" sha1="3bf27ee1e7e4c5ee0d53f28d49ef063b3f8064ba" region="c123tmap:mask" offset="0" />
    <rom name="ss1_dat0.13s" size="262144" crc="6a360f91" sha1="22597c6bf7c597cf554a27182b4748de43a87b0a" region="data_rom" offset="0" />
    <rom name="ss1_dat1.13p" size="262144" crc="ab1e487d" sha1="b40ea6c28dd9adae4939f69fcbf53414ae4703c6" region="data_rom" offset="1" />
    <rom name="ss_voi1.bin" size="524288" crc="503e51b7" sha1="2e159fcc9bb0bef9a3476ae233bc8d61fabbb4bd" region="c140" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namcos2_roz" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc68" />
    <device_ref name="m37450" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c68mcu:mcu" name="Mitsubishi M37450" clock="8192000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <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="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5" />
    <port tag=":AN6" />
    <port tag=":AN7" />
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="good" emulation="good" savestate="supported" />
  </machine>
  <machine name="sws92" sourcefile="namcos2.cpp">
    <description>Super World Stadium '92 (Japan)</description>
    <year>1992</year>
    <manufacturer>Namco</manufacturer>
    <rom name="sss1mpr0.bin" size="131072" crc="dbea0210" sha1="573c170cb2b32ed9c0c711d5b7484850d860bf88" region="maincpu" offset="0" />
    <rom name="sss1mpr1.bin" size="131072" crc="b5e6469a" sha1="d07010fd9a1318a08cdf14fe99e0855ff42639cb" region="maincpu" offset="1" />
    <rom name="sst1spr0.bin" size="131072" crc="9777ee2f" sha1="95b769402cea53c7f557aab97e0bea61edfd4a35" region="slave" offset="0" />
    <rom name="sst1spr1.bin" size="131072" crc="27a35c69" sha1="cb23a357f6f608cb9afdeca9ea11d123b69272ef" region="slave" offset="1" />
    <rom name="sst1snd0.bin" size="131072" crc="8fc45114" sha1="d0dc5c8af8733f1ac7cbe46f0f6cfbe188124d42" region="audiocpu" offset="0" />
    <rom name="sss_obj0.bin" size="524288" crc="375e8f1f" sha1="b737bcceb498a66593d06ef102958bea90032106" region="sprite" offset="3" />
    <rom name="sss_obj1.bin" size="524288" crc="675c1014" sha1="b960a1f72cddc5e369ab7063678e5548b508e376" region="sprite" offset="2" />
    <rom name="sss_obj2.bin" size="524288" crc="bdc55f1c" sha1="fa4f454406eb7e21daed16fedba2adcdb0fb6247" region="sprite" offset="1" />
    <rom name="sss_obj3.bin" size="524288" crc="e32ac432" sha1="a8572adb38e72cb72b5d4ba8968a300c675465ba" region="sprite" offset="0" />
    <rom name="sss_chr0.bin" size="524288" crc="1d2876f2" sha1="00b3113ea3e4f316f5bf2d3164cfe98d326f66bd" region="c123tmap" offset="0" />
    <rom name="sss_chr6.bin" size="524288" crc="354f0ed2" sha1="ea6370a460ef4319b6425dc0c8de687a9edbccdb" region="c123tmap" offset="300000" />
    <rom name="sss_chr7.bin" size="524288" crc="4032f4c1" sha1="4d6e3391e03864abfa16002bb883b636b0f3e574" region="c123tmap" offset="380000" />
    <rom name="ss_roz0.bin" size="524288" crc="40ce9a58" sha1="240433e4fe31d333bcc8890c0a8e9ac84086fb07" region="s2roz" offset="0" />
    <rom name="ss_roz1.bin" size="524288" crc="c98902ff" sha1="fef954e90552a09fa4c9a8e4acc18c1e0e762900" region="s2roz" offset="80000" />
    <rom name="sss_roz2.bin" size="524288" crc="c9855c10" sha1="40a3fe1204f20b8295e790bc7cb6706fb46d4d51" region="s2roz" offset="100000" />
    <rom name="sss_sha0.bin" size="524288" crc="b71a731a" sha1="29eab0ad5618f54e6c790d20f7dc895afae6c709" region="c123tmap:mask" offset="0" />
    <rom name="sss1dat0.13s" size="262144" crc="db3e6aec" sha1="928960e3dc9c8225e695d12e9b18fbb7f151c151" region="data_rom" offset="0" />
    <rom name="sss1dat1.13p" size="262144" crc="463b5ba8" sha1="029dce2e7ee50181392b6ef409bbd192105fb065" region="data_rom" offset="1" />
    <rom name="ss_voi1.bin" size="524288" crc="503e51b7" sha1="2e159fcc9bb0bef9a3476ae233bc8d61fabbb4bd" region="c140" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namcos2_roz" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc68" />
    <device_ref name="m37450" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c68mcu:mcu" name="Mitsubishi M37450" clock="8192000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <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="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5" />
    <port tag=":AN6" />
    <port tag=":AN7" />
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="good" emulation="good" savestate="supported" />
  </machine>
  <machine name="sws92g" sourcefile="namcos2.cpp" cloneof="sws92" romof="sws92">
    <description>Super World Stadium '92 Gekitouban (Japan)</description>
    <year>1992</year>
    <manufacturer>Namco</manufacturer>
    <rom name="ssg1mpr0.bin" size="131072" crc="5596c535" sha1="e2fd8e158662058636b804d6ce7caba8658675c2" region="maincpu" offset="0" />
    <rom name="ssg1mpr1.bin" size="131072" crc="3289ef0c" sha1="028eb28d824332bc59a552c2a9e5013073bb0949" region="maincpu" offset="1" />
    <rom name="sst1spr0.bin" merge="sst1spr0.bin" size="131072" crc="9777ee2f" sha1="95b769402cea53c7f557aab97e0bea61edfd4a35" region="slave" offset="0" />
    <rom name="sst1spr1.bin" merge="sst1spr1.bin" size="131072" crc="27a35c69" sha1="cb23a357f6f608cb9afdeca9ea11d123b69272ef" region="slave" offset="1" />
    <rom name="sst1snd0.bin" merge="sst1snd0.bin" size="131072" crc="8fc45114" sha1="d0dc5c8af8733f1ac7cbe46f0f6cfbe188124d42" region="audiocpu" offset="0" />
    <rom name="sss_obj0.bin" merge="sss_obj0.bin" size="524288" crc="375e8f1f" sha1="b737bcceb498a66593d06ef102958bea90032106" region="sprite" offset="3" />
    <rom name="sss_obj1.bin" merge="sss_obj1.bin" size="524288" crc="675c1014" sha1="b960a1f72cddc5e369ab7063678e5548b508e376" region="sprite" offset="2" />
    <rom name="sss_obj2.bin" merge="sss_obj2.bin" size="524288" crc="bdc55f1c" sha1="fa4f454406eb7e21daed16fedba2adcdb0fb6247" region="sprite" offset="1" />
    <rom name="sss_obj3.bin" merge="sss_obj3.bin" size="524288" crc="e32ac432" sha1="a8572adb38e72cb72b5d4ba8968a300c675465ba" region="sprite" offset="0" />
    <rom name="sss_chr0.bin" merge="sss_chr0.bin" size="524288" crc="1d2876f2" sha1="00b3113ea3e4f316f5bf2d3164cfe98d326f66bd" region="c123tmap" offset="0" />
    <rom name="sss_chr6.bin" merge="sss_chr6.bin" size="524288" crc="354f0ed2" sha1="ea6370a460ef4319b6425dc0c8de687a9edbccdb" region="c123tmap" offset="300000" />
    <rom name="sss_chr7.bin" merge="sss_chr7.bin" size="524288" crc="4032f4c1" sha1="4d6e3391e03864abfa16002bb883b636b0f3e574" region="c123tmap" offset="380000" />
    <rom name="ss_roz0.bin" merge="ss_roz0.bin" size="524288" crc="40ce9a58" sha1="240433e4fe31d333bcc8890c0a8e9ac84086fb07" region="s2roz" offset="0" />
    <rom name="ss_roz1.bin" merge="ss_roz1.bin" size="524288" crc="c98902ff" sha1="fef954e90552a09fa4c9a8e4acc18c1e0e762900" region="s2roz" offset="80000" />
    <rom name="sss_roz2.bin" merge="sss_roz2.bin" size="524288" crc="c9855c10" sha1="40a3fe1204f20b8295e790bc7cb6706fb46d4d51" region="s2roz" offset="100000" />
    <rom name="sss_sha0.bin" merge="sss_sha0.bin" size="524288" crc="b71a731a" sha1="29eab0ad5618f54e6c790d20f7dc895afae6c709" region="c123tmap:mask" offset="0" />
    <rom name="sss1dat0.13s" merge="sss1dat0.13s" size="262144" crc="db3e6aec" sha1="928960e3dc9c8225e695d12e9b18fbb7f151c151" region="data_rom" offset="0" />
    <rom name="sss1dat1.13p" merge="sss1dat1.13p" size="262144" crc="463b5ba8" sha1="029dce2e7ee50181392b6ef409bbd192105fb065" region="data_rom" offset="1" />
    <rom name="ssg1dat2.13r" size="262144" crc="754128aa" sha1="459ffb08bcd905644d6019e5b25870dcb1e2b418" region="data_rom" offset="80000" />
    <rom name="ssg1dat3.13n" size="262144" crc="cb3fed01" sha1="68887d46fd07cd8fb67d58f37e74a6aefdae4328" region="data_rom" offset="80001" />
    <rom name="ss_voi1.bin" merge="ss_voi1.bin" size="524288" crc="503e51b7" sha1="2e159fcc9bb0bef9a3476ae233bc8d61fabbb4bd" region="c140" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namcos2_roz" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc68" />
    <device_ref name="m37450" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c68mcu:mcu" name="Mitsubishi M37450" clock="8192000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <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="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5" />
    <port tag=":AN6" />
    <port tag=":AN7" />
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="good" emulation="good" savestate="supported" />
  </machine>
  <machine name="sws93" sourcefile="namcos2.cpp">
    <description>Super World Stadium '93 (Japan)</description>
    <year>1993</year>
    <manufacturer>Namco</manufacturer>
    <rom name="sst1mpr0.bin" size="131072" crc="bd2679bc" sha1="6916d2bdeb99aea5779697c825acf9a5ade9cb08" region="maincpu" offset="0" />
    <rom name="sst1mpr1.bin" size="131072" crc="9132e220" sha1="dbeb9171c29c2fa33104adee8ff71b2635ae435b" region="maincpu" offset="1" />
    <rom name="sst1spr0.bin" size="131072" crc="9777ee2f" sha1="95b769402cea53c7f557aab97e0bea61edfd4a35" region="slave" offset="0" />
    <rom name="sst1spr1.bin" size="131072" crc="27a35c69" sha1="cb23a357f6f608cb9afdeca9ea11d123b69272ef" region="slave" offset="1" />
    <rom name="sst1snd0.bin" size="131072" crc="8fc45114" sha1="d0dc5c8af8733f1ac7cbe46f0f6cfbe188124d42" region="audiocpu" offset="0" />
    <rom name="sst_obj0.bin" size="524288" crc="4089dfd7" sha1="d37fb08d03a4d3f87b10a8e73bbb1817543396ff" region="sprite" offset="3" />
    <rom name="sst_obj1.bin" size="524288" crc="cfbc25c7" sha1="7b6459bda373d1025db6bc8df671d73d6c0963b9" region="sprite" offset="2" />
    <rom name="sst_obj2.bin" size="524288" crc="61ed3558" sha1="af1785e909f61db4ad1b250a7064ad07d886edd5" region="sprite" offset="1" />
    <rom name="sst_obj3.bin" size="524288" crc="0e3bc05d" sha1="9b7dd60074a17d75633c9e804d62e9a7a94e0698" region="sprite" offset="0" />
    <rom name="sst_chr0.bin" size="524288" crc="3397850d" sha1="2c06810bc3769b7d7d8d02a8f9aa27b0cbb06b6b" region="c123tmap" offset="0" />
    <rom name="sss_chr6.bin" size="524288" crc="354f0ed2" sha1="ea6370a460ef4319b6425dc0c8de687a9edbccdb" region="c123tmap" offset="300000" />
    <rom name="sst_chr7.bin" size="524288" crc="e0abb763" sha1="6c60a4986562bad0da6b7009a5f5165a81f801d7" region="c123tmap" offset="380000" />
    <rom name="ss_roz0.bin" size="524288" crc="40ce9a58" sha1="240433e4fe31d333bcc8890c0a8e9ac84086fb07" region="s2roz" offset="0" />
    <rom name="ss_roz1.bin" size="524288" crc="c98902ff" sha1="fef954e90552a09fa4c9a8e4acc18c1e0e762900" region="s2roz" offset="80000" />
    <rom name="sss_roz2.bin" size="524288" crc="c9855c10" sha1="40a3fe1204f20b8295e790bc7cb6706fb46d4d51" region="s2roz" offset="100000" />
    <rom name="sst_sha0.bin" size="524288" crc="4f64d4bd" sha1="0eb5311448cfd91b1e139b64b2f35b5179237e58" region="c123tmap:mask" offset="0" />
    <rom name="sst1dat0.13s" size="524288" crc="b99c9656" sha1="ac9e6bf46204dad70caf0d75614a20af0269a07f" region="data_rom" offset="0" />
    <rom name="sst1dat1.13p" size="524288" crc="60cf6281" sha1="c02a5bf8f4f94cbe8b0448c9457af53cd1c043d0" region="data_rom" offset="1" />
    <rom name="ss_voi1.bin" size="524288" crc="503e51b7" sha1="2e159fcc9bb0bef9a3476ae233bc8d61fabbb4bd" region="c140" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namcos2_roz" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc68" />
    <device_ref name="m37450" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c68mcu:mcu" name="Mitsubishi M37450" clock="8192000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="0" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <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="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5" />
    <port tag=":AN6" />
    <port tag=":AN7" />
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="good" emulation="good" savestate="supported" />
  </machine>
  <machine name="valkyrie" sourcefile="namcos2.cpp">
    <description>Valkyrie no Densetsu (Japan)</description>
    <year>1989</year>
    <manufacturer>Namco</manufacturer>
    <rom name="wd1mpr0.bin" size="131072" crc="94111a2e" sha1="bd0dfe362fc98c1e94422a898b4daf6a08ef7982" region="maincpu" offset="0" />
    <rom name="wd1mpr1.bin" size="131072" crc="57b5051c" sha1="de399381823251e2ee45f51c96be3e93ed763f94" region="maincpu" offset="1" />
    <rom name="wd1spr0.bin" size="65536" crc="b2398321" sha1="13b76d8756a5e47d7469f72ef5fd2837b3e24b3e" region="slave" offset="0" />
    <rom name="wd1spr1.bin" size="65536" crc="38dba897" sha1="22254186906b1accfb043172e6d0129d23d83b02" region="slave" offset="1" />
    <rom name="wd1snd0.bin" size="131072" crc="d0fbf58b" sha1="bc149eefcf5566a8e37ae60a62f5037a6e0f10bd" region="audiocpu" offset="0" />
    <rom name="sys2c65c.bin" size="32768" crc="a5b2a4ff" sha1="068bdfcc71a5e83706e8b23330691973c1c214dc" region="c65mcu:external" offset="0" />
    <rom name="wdobj0.bin" size="262144" crc="e8089451" sha1="f4d05df0015de01ec570f5f89ea11592204e4fe2" region="sprite" offset="3" />
    <rom name="wdobj1.bin" size="262144" crc="7ca65666" sha1="39d792abf5a1a5f3906cb6ab4626f4a5b20cb081" region="sprite" offset="2" />
    <rom name="wdobj2.bin" size="262144" crc="7c159407" sha1="ed5472eb9df7990b8d80ff5a587e41d138f48db8" region="sprite" offset="1" />
    <rom name="wdobj3.bin" size="262144" crc="649f8760" sha1="3ac7eac5197b4d377686d68d80ab29562768c202" region="sprite" offset="0" />
    <rom name="wdobj4.bin" size="262144" crc="7ca39ae7" sha1="3db34eb7f8c819c7b30c3b61b5a13b8f990b27f8" region="sprite" offset="200003" />
    <rom name="wdobj5.bin" size="262144" crc="9ead2444" sha1="0ba541b518be22460c267d35b050594b7cedb954" region="sprite" offset="200002" />
    <rom name="wdobj6.bin" size="262144" crc="9fa2ea21" sha1="89cefc286cf4de7f6e32dc6dc689835a21bea2ed" region="sprite" offset="200001" />
    <rom name="wdobj7.bin" size="262144" crc="66e07a36" sha1="2f84128bbdc9dcfd783d3a85cb47a92087e71272" region="sprite" offset="200000" />
    <rom name="wdchr0.bin" size="131072" crc="debb0116" sha1="ba4a9a166e22cf4930574eeadd127520ff7192b4" region="c123tmap" offset="0" />
    <rom name="wdchr1.bin" size="131072" crc="8a1431e8" sha1="ef3c81ea92f2541387760c24395ddf7a02f907f2" region="c123tmap" offset="80000" />
    <rom name="wdchr2.bin" size="131072" crc="62f75f69" sha1="bcfd34c3c450cd05eb6a080307dc962687ccc799" region="c123tmap" offset="100000" />
    <rom name="wdchr3.bin" size="131072" crc="cc43bbe7" sha1="9b01ac19feac60a68cd7ffcf3cab927cefa0e23a" region="c123tmap" offset="180000" />
    <rom name="wdchr4.bin" size="131072" crc="2f73d05e" sha1="76341fd8c5e4216430eb09ded38ac554b5777ee5" region="c123tmap" offset="200000" />
    <rom name="wdchr5.bin" size="131072" crc="b632b2ec" sha1="914cb9a0dd42067b93e47c8cf847d588f361854f" region="c123tmap" offset="280000" />
    <rom name="wdroz0.bin" size="131072" crc="f776bf66" sha1="2b134d5f9ede1205260a2109fdcd0d5c47b397ba" region="s2roz" offset="0" />
    <rom name="wdroz1.bin" size="131072" crc="c1a345c3" sha1="3d8c2ab457b81485014a83b4d9e8a80fe487ddef" region="s2roz" offset="80000" />
    <rom name="wdroz2.bin" size="131072" crc="28ffb44a" sha1="207343e76dd02cbfe7575edd9b18074f68bb6768" region="s2roz" offset="100000" />
    <rom name="wdroz3.bin" size="131072" crc="7e77b46d" sha1="db0ba244fb878120a4f06af4666ddc4cc430c97a" region="s2roz" offset="180000" />
    <rom name="wdshape.bin" size="131072" crc="3b5e0249" sha1="259bbabf57a8ad739c646c56aad6d0b92e10adcd" region="c123tmap:mask" offset="0" />
    <rom name="wd1dat0.13s" size="131072" crc="ea209f48" sha1="5e73a745dc2faaa4ce6c633d4072d41e9e494276" region="data_rom" offset="0" />
    <rom name="wd1dat1.13p" size="131072" crc="04b48ada" sha1="aa046f8856bdd5b56d481c2c12ad2808c6517a5f" region="data_rom" offset="1" />
    <rom name="wd1voi1.bin" size="262144" crc="f1ace193" sha1="dd13bdf4b99c6bf4e356d623ff2e3da72db331dd" region="c140" offset="0" />
    <rom name="wd1voi2.bin" size="131072" crc="e95c5cf3" sha1="4bfc7303bde23bcf6739c7877dd87671c33135bc" region="c140" offset="100000" />
    <device_ref name="m68000" />
    <device_ref name="timer" />
    <device_ref name="m68000" />
    <device_ref name="mc6809e" />
    <device_ref name="nvram" />
    <device_ref name="namco_c139" />
    <device_ref name="screen" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c140" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c148" />
    <device_ref name="namco_c116" />
    <device_ref name="gfxdecode" />
    <device_ref name="namcos2_sprite" />
    <device_ref name="namco_c123tmap" />
    <device_ref name="namcos2_roz" />
    <device_ref name="ym2151" />
    <device_ref name="namcoc65" />
    <device_ref name="hd63705" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="slave" name="Motorola MC68000" clock="12288000" />
    <chip type="cpu" tag="audiocpu" name="Motorola MC6809E" clock="2048000" />
    <chip type="cpu" tag="c65mcu:mcu" name="Hitachi HD63705" clock="2048000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c140" name="Namco C140" clock="21333" />
    <chip type="audio" tag="ymsnd" name="Yamaha YM2151 OPM" clock="3579545" />
    <display tag="screen" type="raster" rotate="90" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" />
    <sound channels="2" />
    <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="Video Display" tag="DSW" mask="1">
      <dipvalue name="Normal" value="1" default="yes" />
      <dipvalue name="Frozen" value="0" />
    </dipswitch>
    <dipswitch name="$2000-1" tag="DSW" mask="2">
      <dipvalue name="H" value="2" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-2" tag="DSW" mask="4">
      <dipvalue name="H" value="4" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-3" tag="DSW" mask="8">
      <dipvalue name="H" value="8" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-4" tag="DSW" mask="16">
      <dipvalue name="H" value="16" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-5" tag="DSW" mask="32">
      <dipvalue name="H" value="32" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="$2000-6" tag="DSW" mask="64">
      <dipvalue name="H" value="64" default="yes" />
      <dipvalue name="L" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":AN0" />
    <port tag=":AN1" />
    <port tag=":AN2" />
    <port tag=":AN3" />
    <port tag=":AN4" />
    <port tag=":AN5" />
    <port tag=":AN6" />
    <port tag=":AN7" />
    <port tag=":DSW" />
    <port tag=":MCUB" />
    <port tag=":MCUC" />
    <port tag=":MCUDI0" />
    <port tag=":MCUDI1" />
    <port tag=":MCUDI2" />
    <port tag=":MCUDI3" />
    <port tag=":MCUH" />
    <driver status="good" emulation="good" savestate="supported" />
  </machine>
  <machine name="namcoc68" sourcefile="src/mame/machine/namco68.cpp" isdevice="yes" runnable="no">
    <description>Namco C68 I/O</description>
    <rom name="c68.bin" size="32768" crc="ca64550a" sha1="38d1ad1b1287cadef0c999aff9357927315f8e6b" region="mcu" offset="0" />
    <device_ref name="m37450" />
    <chip type="cpu" tag=":mcu" name="Mitsubishi M37450" clock="0" />
  </machine>
  <machine name="namcoc65" sourcefile="src/mame/machine/namco65.cpp" isdevice="yes" runnable="no">
    <description>Namco C65 I/O</description>
    <rom name="sys2mcpu.bin" size="8192" crc="a342a97e" sha1="2c420d34dba21e409bf78ddca710fc7de65a6642" region="mcu" offset="0" />
    <device_ref name="hd63705" />
    <chip type="cpu" tag=":mcu" name="Hitachi HD63705" clock="0" />
  </machine>
</datafile>