<?xml version="1.0" encoding="utf-8"?>
<datafile>
  <header>
    <name>Namco S12</name>
    <description>Namco S12 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="aplarail" sourcefile="namcos12.cpp">
    <description>Attack Pla Rail (Japan, AP1/VER.A)</description>
    <year>1998</year>
    <manufacturer>Namco / Tomy</manufacturer>
    <rom name="ap1vera.2e" size="2097152" crc="386ffe26" sha1="27b4bb0f0b178b4236e18d7ef9d810d1afc99798" region="maincpu:rom" offset="0" />
    <rom name="ap1vera.2j" size="2097152" crc="cab954e1" sha1="3d3b8cfbb8160bb0c421af88137b9de7f8ea22bf" region="maincpu:rom" offset="1" />
    <rom name="ap1rom0.ic9" size="8388608" crc="c8042aad" sha1="48d4205535fd20ffc99a0caab6c5f9c66b7f64ed" region="bankedroms" offset="0" />
    <rom name="ap1rom1.ic10" size="8388608" crc="0f3210ec" sha1="d3e0782f01e952a27d4fbe2470159e92ba57a57a" region="bankedroms" offset="800000" />
    <rom name="ap1rom2.ic11" size="8388608" crc="9ef8382d" sha1="bb1e56a4911bfc9c4f763f35885da74a1c1e96c5" region="bankedroms" offset="1000000" />
    <rom name="ap1fl3l.ic7" size="2097152" crc="b52c2df6" sha1="9d07b546395486e7cae86d24c8a352d9e48d00d4" region="bankedroms" offset="1800000" />
    <rom name="ap1fl3h.ic8" size="2097152" crc="050af45d" sha1="4cd93222b9a2fbfad5c93b60cdb7ccd4d58678d5" region="bankedroms" offset="1800001" />
    <rom name="ap1fl4l.ic5" size="2097152" crc="9a4109e5" sha1="ba59caac5f5a80fc52c507d8a47f322a380aa9a1" region="bankedroms" offset="1c00000" />
    <rom name="ap1fl4h.ic6" size="2097152" crc="9a4109e5" sha1="ba59caac5f5a80fc52c507d8a47f322a380aa9a1" region="bankedroms" offset="1c00001" />
    <rom name="ap1vera.11s" size="524288" crc="126aaebc" sha1="3f5a709c38ca38753d7a93d81e59a7ed48515b92" region="sub" offset="0" />
    <rom name="ap1wave0.ic2" size="8388608" crc="003abebb" sha1="edd70a0cc2f8648d3cbd3457ee36aa3772f97d2e" region="c352" offset="0" />
    <rom name="asca1_io-a.ic2" size="262144" crc="77cdf69a" sha1="497af1059f85c07bea2dd0d303481623f6019dcf" region="iocpu" offset="0" />
    <rom name="at28c16" size="2048" crc="db1b63c5" sha1="01fc3386a2d1cb1bed1b7fd9bd2fd59e503832d3" region="at28c16" offset="0" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <device_ref name="h83334" />
    <device_ref name="h8_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer8_channel" />
    <device_ref name="h8_timer8_channel" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="cpu" tag="iocpu" name="Hitachi H8/3334" clock="14745600" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="1" coins="1" service="yes">
      <control type="stick" buttons="2" minimum="0" maximum="2047" sensitivity="100" keydelta="10" reverse="yes" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DIN0" />
    <port tag=":DIN1" />
    <port tag=":DSW" />
    <port tag=":IN01" />
    <port tag=":IN23" />
    <port tag=":LEVER">
      <analog mask="2047" />
    </port>
    <port tag=":SERVICE" />
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="aquarush" sourcefile="namcos12.cpp">
    <description>Aqua Rush (Japan, AQ1/VER.A1)</description>
    <year>1999</year>
    <manufacturer>Namco</manufacturer>
    <rom name="aq1vera.2l" size="2097152" crc="91eb9258" sha1="30e225eb551bfe1bed6b342dd6d597345d64b677" region="maincpu:rom" offset="0" />
    <rom name="aq1vera.2p" size="2097152" crc="a92f21aa" sha1="bde33f1f66aaa55031c6b2972b042eef87047cce" region="maincpu:rom" offset="1" />
    <rom name="aq1rom0.7" size="8388608" crc="3e64dd33" sha1="dce3bb84c3069bc202d04f24d7702158dd3194d4" region="bankedroms" offset="0" />
    <rom name="aq1rom1.8" size="8388608" crc="e4d415cf" sha1="bbd244adaf704d7daf7341ff3b0a92162927a59b" region="bankedroms" offset="800000" />
    <rom name="aq1vera.11s" size="524288" crc="78277e02" sha1="577ebb6d7ab5e304fb1dc1e7fd5649762e0d1786" region="sub" offset="0" />
    <rom name="aq1wave0.2" size="8388608" crc="0cf7278d" sha1="aee31e4d9b3522f42325071768803c542aa6de09" region="c352" offset="0" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="ehrgeiz" sourcefile="namcos12.cpp">
    <description>Ehrgeiz (World, EG2/VER.A)</description>
    <year>1998</year>
    <manufacturer>Square / Namco</manufacturer>
    <rom name="eg2vera.2e" size="2097152" crc="9174ec90" sha1="273bb9c9f0a7eb48470601a0eadf450908ac4d92" region="maincpu:rom" offset="0" />
    <rom name="eg2vera.2j" size="2097152" crc="a8388248" sha1="89eeb6095cc8c7ad6cdc8480cff6f688f07f64d7" region="maincpu:rom" offset="1" />
    <rom name="eg1rom0l.12" size="8388608" crc="fe11a48e" sha1="bdb2af5949bb4a324dab01489e9488aa5b9bd129" region="bankedroms" offset="0" />
    <rom name="eg1rom0u.11" size="8388608" crc="7cb90c25" sha1="0ff6f7bf8b7eb2e0706bd235fcb9a95ea639fae6" region="bankedroms" offset="1" />
    <rom name="eg1fl1l.9" size="2097152" crc="dd4cac2b" sha1="f49d0055303b3d8639e94f93bce6bf160cc99913" region="bankedroms" offset="1000000" />
    <rom name="eg1fl1u.10" size="2097152" crc="e3348407" sha1="829bf1be0f74fd385e325d774f1449e28aba1e4d" region="bankedroms" offset="1000001" />
    <rom name="eg1fl2l.7" size="2097152" crc="34493262" sha1="9dd5b1b25e7232460bf5ee5b339d9f536ec26979" region="bankedroms" offset="1400000" />
    <rom name="eg1fl2u.8" size="2097152" crc="4fb84f1d" sha1="714e0ef56871d7b4568bc6dda08bbb1c01dbba37" region="bankedroms" offset="1400001" />
    <rom name="eg1fl3l.5" size="2097152" crc="f9441f87" sha1="70944160620ba2fc80b4fc3a7b61c33622298a8b" region="bankedroms" offset="1800000" />
    <rom name="eg1fl3u.6" size="2097152" crc="cea397de" sha1="3791dbadb5699c805c27930e59c61af4d62f77f7" region="bankedroms" offset="1800001" />
    <rom name="eg1vera.11s" size="524288" crc="9e44645e" sha1="374eb4a4c09d6b5b7af5ff0efec16b4d2aacbe2b" region="sub" offset="0" />
    <rom name="eg1wave0.2" size="8388608" crc="961fe69f" sha1="0189a061959a8d94b9d2db627911264faf9f28fd" region="c352" offset="0" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="ehrgeizja" sourcefile="namcos12.cpp" cloneof="ehrgeiz" romof="ehrgeiz">
    <description>Ehrgeiz (Japan, EG1/VER.A)</description>
    <year>1998</year>
    <manufacturer>Square / Namco</manufacturer>
    <rom name="eg1vera.2l" size="2097152" crc="302d62cf" sha1="e2de280ae4475829398a6770aed8eab0ed35b1ce" region="maincpu:rom" offset="0" />
    <rom name="eg1vera.2p" size="2097152" crc="1d7fb3a1" sha1="dc038a639f89d7c8daaf987b728fde175fe4dbec" region="maincpu:rom" offset="1" />
    <rom name="eg1rom0l.12" merge="eg1rom0l.12" size="8388608" crc="fe11a48e" sha1="bdb2af5949bb4a324dab01489e9488aa5b9bd129" region="bankedroms" offset="0" />
    <rom name="eg1rom0u.11" merge="eg1rom0u.11" size="8388608" crc="7cb90c25" sha1="0ff6f7bf8b7eb2e0706bd235fcb9a95ea639fae6" region="bankedroms" offset="1" />
    <rom name="eg1fl1l.9" merge="eg1fl1l.9" size="2097152" crc="dd4cac2b" sha1="f49d0055303b3d8639e94f93bce6bf160cc99913" region="bankedroms" offset="1000000" />
    <rom name="eg1fl1u.10" merge="eg1fl1u.10" size="2097152" crc="e3348407" sha1="829bf1be0f74fd385e325d774f1449e28aba1e4d" region="bankedroms" offset="1000001" />
    <rom name="eg1fl2l.7" merge="eg1fl2l.7" size="2097152" crc="34493262" sha1="9dd5b1b25e7232460bf5ee5b339d9f536ec26979" region="bankedroms" offset="1400000" />
    <rom name="eg1fl2u.8" merge="eg1fl2u.8" size="2097152" crc="4fb84f1d" sha1="714e0ef56871d7b4568bc6dda08bbb1c01dbba37" region="bankedroms" offset="1400001" />
    <rom name="eg1fl3l.5" merge="eg1fl3l.5" size="2097152" crc="f9441f87" sha1="70944160620ba2fc80b4fc3a7b61c33622298a8b" region="bankedroms" offset="1800000" />
    <rom name="eg1fl3u.6" merge="eg1fl3u.6" size="2097152" crc="cea397de" sha1="3791dbadb5699c805c27930e59c61af4d62f77f7" region="bankedroms" offset="1800001" />
    <rom name="eg1vera.11s" merge="eg1vera.11s" size="524288" crc="9e44645e" sha1="374eb4a4c09d6b5b7af5ff0efec16b4d2aacbe2b" region="sub" offset="0" />
    <rom name="eg1wave0.2" merge="eg1wave0.2" size="8388608" crc="961fe69f" sha1="0189a061959a8d94b9d2db627911264faf9f28fd" region="c352" offset="0" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="ehrgeizua" sourcefile="namcos12.cpp" cloneof="ehrgeiz" romof="ehrgeiz">
    <description>Ehrgeiz (US, EG3/VER.A)</description>
    <year>1998</year>
    <manufacturer>Square / Namco</manufacturer>
    <rom name="eg3vera.2l" size="2097152" crc="64c00ff0" sha1="fc7980bc8d98c810aed2eb6b3265d150784dfc15" region="maincpu:rom" offset="0" />
    <rom name="eg3vera.2p" size="2097152" crc="e722c030" sha1="4669a7861c14d97048728989708a0fa3733f83a8" region="maincpu:rom" offset="1" />
    <rom name="eg1rom0l.12" merge="eg1rom0l.12" size="8388608" crc="fe11a48e" sha1="bdb2af5949bb4a324dab01489e9488aa5b9bd129" region="bankedroms" offset="0" />
    <rom name="eg1rom0u.11" merge="eg1rom0u.11" size="8388608" crc="7cb90c25" sha1="0ff6f7bf8b7eb2e0706bd235fcb9a95ea639fae6" region="bankedroms" offset="1" />
    <rom name="eg1fl1l.9" merge="eg1fl1l.9" size="2097152" crc="dd4cac2b" sha1="f49d0055303b3d8639e94f93bce6bf160cc99913" region="bankedroms" offset="1000000" />
    <rom name="eg1fl1u.10" merge="eg1fl1u.10" size="2097152" crc="e3348407" sha1="829bf1be0f74fd385e325d774f1449e28aba1e4d" region="bankedroms" offset="1000001" />
    <rom name="eg1fl2l.7" merge="eg1fl2l.7" size="2097152" crc="34493262" sha1="9dd5b1b25e7232460bf5ee5b339d9f536ec26979" region="bankedroms" offset="1400000" />
    <rom name="eg1fl2u.8" merge="eg1fl2u.8" size="2097152" crc="4fb84f1d" sha1="714e0ef56871d7b4568bc6dda08bbb1c01dbba37" region="bankedroms" offset="1400001" />
    <rom name="eg1fl3l.5" merge="eg1fl3l.5" size="2097152" crc="f9441f87" sha1="70944160620ba2fc80b4fc3a7b61c33622298a8b" region="bankedroms" offset="1800000" />
    <rom name="eg1fl3u.6" merge="eg1fl3u.6" size="2097152" crc="cea397de" sha1="3791dbadb5699c805c27930e59c61af4d62f77f7" region="bankedroms" offset="1800001" />
    <rom name="eg1vera.11s" merge="eg1vera.11s" size="524288" crc="9e44645e" sha1="374eb4a4c09d6b5b7af5ff0efec16b4d2aacbe2b" region="sub" offset="0" />
    <rom name="eg1wave0.2" merge="eg1wave0.2" size="8388608" crc="961fe69f" sha1="0189a061959a8d94b9d2db627911264faf9f28fd" region="c352" offset="0" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="fgtlayer" sourcefile="namcos12.cpp">
    <description>Fighting Layer (Japan, FTL1/VER.A)</description>
    <year>1998</year>
    <manufacturer>Arika / Namco</manufacturer>
    <rom name="ftl1vera.2e" size="2097152" crc="f4156e79" sha1="cedb917940be8c74fa4ddb48213ce6917444e306" region="maincpu:rom" offset="0" />
    <rom name="ftl1vera.2j" size="2097152" crc="c65b57c0" sha1="0051aa46d09fbe9d896ae5f534e21955373f1d46" region="maincpu:rom" offset="1" />
    <rom name="ftl1rom0.9" size="8388608" crc="e33ce365" sha1="f7e5b98d2e8e5f233265909477c84331f016ebfb" region="bankedroms" offset="0" />
    <rom name="ftl1rom1.10" size="8388608" crc="a1ec7d08" sha1="e693a0b16235c44d4165b2f53dc25d5288297c27" region="bankedroms" offset="800000" />
    <rom name="ftl1rom2.11" size="8388608" crc="204be858" sha1="95b22b678b7d11b0ec907698c18cebd84437c656" region="bankedroms" offset="1000000" />
    <rom name="ftl1fl3l.7" size="2097152" crc="e4fb01e1" sha1="c7883e86afb58412281a317bfdf62a21488421be" region="bankedroms" offset="1800000" />
    <rom name="ftl1fl3h.8" size="2097152" crc="67a5c56f" sha1="6f0a4f93b4975b24efb26c3dd47b791c92c55fbf" region="bankedroms" offset="1800001" />
    <rom name="ftl1fl4l.5" size="2097152" crc="8039242c" sha1="9c3f9637d7cd0c004c0c39aee815eed228ebad20" region="bankedroms" offset="1c00000" />
    <rom name="ftl1fl4h.6" size="2097152" crc="5ad59726" sha1="b3a68f7ba2052b99407a5423223202001f2a4f67" region="bankedroms" offset="1c00001" />
    <rom name="ftl1vera.11s" size="524288" crc="e3f957cd" sha1="1c7f2033025fb9c40654cff26d78697baf697c59" region="sub" offset="0" />
    <rom name="ftl1wave0.2" size="8388608" crc="ee009a2b" sha1="c332bf59917b2673d7acb864bf92d25d74a350b6" region="c352" offset="0" />
    <rom name="ftl1wave1.1" size="8388608" crc="a54a89cd" sha1="543b47c6442f7a78e26992b041235a91d719bb89" region="c352" offset="800000" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="g13knd" sourcefile="namcos12.cpp">
    <description>Golgo 13 Kiseki no Dandou (Japan, GLS1/VER.A)</description>
    <year>2000</year>
    <manufacturer>Eighting / Raizing / Namco</manufacturer>
    <rom name="gls1vera.2e" size="2097152" crc="904c39a7" sha1="e62a518657b639d31e390b8d1a36eee8a46ab179" region="maincpu:rom" offset="0" />
    <rom name="gls1vera.2j" size="2097152" crc="f8f9d6d2" sha1="ec02192f3874fea289d123fd6d828148c77fbf6d" region="maincpu:rom" offset="1" />
    <rom name="gls1rom0l.ic10" size="8388608" crc="91e04e7e" sha1="70603ec5c17d9074f7176e7214f7507a3e408578" region="bankedroms" offset="0" />
    <rom name="gls1rom0u.ic14" size="8388608" crc="29f67094" sha1="d17baa723bca5cadb483cd777d0ef25c29367426" region="bankedroms" offset="1" />
    <rom name="gls1rom1l.ic11" size="8388608" crc="fc69578f" sha1="20bcd687aeb3741893588b492f93531e58405c3e" region="bankedroms" offset="1000000" />
    <rom name="gls1rom1u.ic15" size="8388608" crc="db46d626" sha1="a623097fd17e99ee31c22ed62cb88aa9dc25721c" region="bankedroms" offset="1000001" />
    <rom name="gls1rom2l.ic12" size="8388608" crc="707cec76" sha1="59257acc0b5a7f86a895873fc679ea184d2c0a50" region="bankedroms" offset="2000000" />
    <rom name="gls1rom2u.ic16" size="8388608" crc="970abad0" sha1="fb41c379d28df2115baee967cc9645da869d2e2d" region="bankedroms" offset="2000001" />
    <rom name="gls1fl3l.ic4" size="2097152" crc="3a0ffd17" sha1="03c704012040b9b9c24453baa8dbfbb3aec82854" region="bankedroms" offset="3000000" />
    <rom name="gls1fl3u.ic5" size="2097152" crc="565567ff" sha1="36a26ed8fbba95dccbde6300363acb45d9c029b3" region="bankedroms" offset="3000001" />
    <rom name="gls1fl4l.ic6" size="2097152" crc="b4591cc0" sha1="8da1defb74957bd02324d5b2d3af406dc1f7061b" region="bankedroms" offset="3400000" />
    <rom name="gls1fl4u.ic7" size="2097152" crc="679d545c" sha1="b0e04cb123b4a15d935d773856e9cc954e81ba21" region="bankedroms" offset="3400001" />
    <rom name="gls1fl5l.ic8" size="2097152" crc="a5581533" sha1="58721d3acc1a740e616b721b400c6912f21d516f" region="bankedroms" offset="3800000" />
    <rom name="gls1fl5u.ic9" size="2097152" crc="a8b6832a" sha1="c0e392b7aa51dfcfce602fb0a46ccbc18074385c" region="bankedroms" offset="3800001" />
    <rom name="gls1vera.11s" size="524288" crc="a1e68d02" sha1="bcacea12531539776d5ad5d34b64f7f4a10a0b97" region="sub" offset="0" />
    <rom name="gls1wave0.ic1" size="8388608" crc="9de10ef5" sha1="c391998ed3d882d49d6dbe7079414a2bfd180b49" region="c352" offset="0" />
    <rom name="gls1wave1.ic13" size="8388608" crc="4c92b6bf" sha1="a463b5825f635efe402a6ea6c1ed8ecdc3d466e0" region="c352" offset="800000" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="1" coins="1">
      <control type="joy" buttons="3" ways="vertical2" />
      <control type="lightgun" minimum="31" maximum="478" sensitivity="100" keydelta="15" reverse="yes" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="IN1" mask="16384">
      <dipvalue name="Off" value="16384" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <port tag=":LIGHT0_X">
      <analog mask="65535" />
    </port>
    <port tag=":LIGHT0_Y">
      <analog mask="65535" />
    </port>
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="ghlpanic" sourcefile="namcos12.cpp">
    <description>Ghoul Panic (World, OB2/VER.A)</description>
    <year>1999</year>
    <manufacturer>Eighting / Raizing / Namco</manufacturer>
    <rom name="ob2vera.2e" size="2097152" crc="77162ae0" sha1="cdc0833756037562b49bb2ae02931b3b24d27329" region="maincpu:rom" offset="0" />
    <rom name="ob2vera.2j" size="2097152" crc="628f0830" sha1="a547880674d95b84acc9c05413cba4fd3a81e0cf" region="maincpu:rom" offset="1" />
    <rom name="ob1rom0l.ic12" size="4194304" crc="f8b6a599" sha1="2af3186242a8cbf14ab7532496a91041300527e9" region="bankedroms" offset="0" />
    <rom name="ob1rom0u.ic11" size="4194304" crc="0625db92" sha1="b63be6e41b2c6e2194f02f0c31da1f30c4e08232" region="bankedroms" offset="1" />
    <rom name="ob1vera.11s" size="524288" crc="f8c459f2" sha1="681520c891f5c8a0f321652d8834910310c88d1a" region="sub" offset="0" />
    <rom name="ob1wave.ic2" size="8388608" crc="e7bc7202" sha1="f0f598304866ebe62642eaac6b7d8709baa14fe1" region="c352" offset="0" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="lightgun" player="1" buttons="1" minimum="26" maximum="265" sensitivity="50" keydelta="15" />
      <control type="lightgun" player="2" buttons="1" minimum="26" maximum="265" sensitivity="50" keydelta="15" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <port tag=":LIGHT0_X">
      <analog mask="65535" />
    </port>
    <port tag=":LIGHT0_Y">
      <analog mask="65535" />
    </port>
    <port tag=":LIGHT1_X">
      <analog mask="65535" />
    </port>
    <port tag=":LIGHT1_Y">
      <analog mask="65535" />
    </port>
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="golgo13" sourcefile="namcos12.cpp">
    <description>Golgo 13 (Japan, GLG1/VER.A)</description>
    <year>1999</year>
    <manufacturer>Eighting / Raizing / Namco</manufacturer>
    <rom name="glg1vera.2l" size="2097152" crc="aa15abfe" sha1="e82b408746e01c50c5cb0dcef804974d1e97078a" region="maincpu:rom" offset="0" />
    <rom name="glg1vera.2p" size="2097152" crc="37a4cf90" sha1="b5470d44036e9de8220b669f71b50bcec42d9a18" region="maincpu:rom" offset="1" />
    <rom name="glg1rom0l.10" size="8388608" crc="2837524e" sha1="81d811c2cf8121854ed6046dc421cda7fcd44014" region="bankedroms" offset="0" />
    <rom name="glg1rom0u.14" size="8388608" crc="4482deff" sha1="03dcd12633b167d9af664ae826fc2c2ff096c0a6" region="bankedroms" offset="1" />
    <rom name="glg1rom1l.11" size="8388608" crc="080f3550" sha1="40a5257baeb366e32ff51f571efb12a556f93430" region="bankedroms" offset="1000000" />
    <rom name="glg1rom1u.15" size="8388608" crc="b49e8613" sha1="d25ede8046ce309d5a5515a2e44b6773fdd56333" region="bankedroms" offset="1000001" />
    <rom name="glg1rom2l.12" size="8388608" crc="e1a79a87" sha1="c3f31b1bc6a3b51361df0d89d3ff0717875fd800" region="bankedroms" offset="2000000" />
    <rom name="glg1rom2u.16" size="8388608" crc="cda22852" sha1="e609a55e0ec91b532469c3607dcc96456eec6a07" region="bankedroms" offset="2000001" />
    <rom name="glg1fl3l.4" size="2097152" crc="16ddc2cb" sha1="71460bd4ad35b3488dc1326fe2f600df40988e06" region="bankedroms" offset="3000000" />
    <rom name="glg1fl3u.5" size="2097152" crc="d90d72d1" sha1="0027389344862486c53cd0e1554b36eed65aa5b0" region="bankedroms" offset="3000001" />
    <rom name="glg1fl4l.6" size="2097152" crc="820d8133" sha1="2d780612055a0fa5de756cfa46ce7f134139e550" region="bankedroms" offset="3400000" />
    <rom name="glg1fl4u.7" size="2097152" crc="02d78160" sha1="2eafcbd3ba550acf7816074e6c7eee65f7d64859" region="bankedroms" offset="3400001" />
    <rom name="glg1fl5l.8" size="2097152" crc="090b2508" sha1="c3587aeab71f6a9dcc90bf2af496303e9d20eac8" region="bankedroms" offset="3800000" />
    <rom name="glg1fl5u.9" size="2097152" crc="2231a07c" sha1="480e17219101a0dae5cd64507e31cd7e711c95fa" region="bankedroms" offset="3800001" />
    <rom name="glg1vera.11s" size="524288" crc="5c33f240" sha1="ec8fc8d83466b28dfa35b93e16d8164883513b19" region="sub" offset="0" />
    <rom name="glg1wave0.1" size="8388608" crc="672d4f7c" sha1="16a7564a2c68840a438a33ac2381df4e70e1bb45" region="c352" offset="0" />
    <rom name="glg1wave1.13" size="8388608" crc="480b0a1a" sha1="341d5ec8ad0f3c0a121eeeec9466aaeec2bd1c74" region="c352" offset="800000" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="1" coins="1">
      <control type="joy" buttons="3" ways="vertical2" />
      <control type="lightgun" minimum="31" maximum="478" sensitivity="100" keydelta="15" reverse="yes" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="IN1" mask="16384">
      <dipvalue name="Off" value="16384" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <port tag=":LIGHT0_X">
      <analog mask="65535" />
    </port>
    <port tag=":LIGHT0_Y">
      <analog mask="65535" />
    </port>
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="gunbarl" sourcefile="namcos12.cpp" cloneof="ptblank2" romof="ptblank2">
    <description>Gunbarl (Japan, GNB4/VER.A)</description>
    <year>1999</year>
    <manufacturer>Namco</manufacturer>
    <rom name="gnb4vera.2l" size="2097152" crc="88c05cde" sha1="80d210b06c8eda19e37430fb34492885d9eec671" region="maincpu:rom" offset="0" />
    <rom name="gnb4vera.2p" size="2097152" crc="7d57437a" sha1="b4fc960b11e7dc9d3bde567f534635f264276e53" region="maincpu:rom" offset="1" />
    <rom name="gnb1prg0l.ic12" merge="gnb1prg0l.ic12" size="8388608" crc="78746037" sha1="d130ca1153a730e3c967945248f00662f9fab304" region="bankedroms" offset="0" />
    <rom name="gnb1prg0u.ic11" merge="gnb1prg0u.ic11" size="8388608" crc="697d3279" sha1="40302780f7494d9413888b2d1da38bd14a9a444f" region="bankedroms" offset="1" />
    <rom name="gnb_vera.11s" merge="gnb_vera.11s" size="524288" crc="d45a53eb" sha1="01eb4f659b29671d417c5d3684f15a5876f76009" region="sub" offset="0" />
    <rom name="gnb1waveb.ic2" merge="gnb1waveb.ic2" size="4194304" crc="4e19d9d6" sha1="0a92c987536999a789663a30c787950ab6995128" region="c352" offset="0" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="lightgun" player="1" buttons="1" minimum="44" maximum="283" sensitivity="50" keydelta="15" />
      <control type="lightgun" player="2" buttons="1" minimum="44" maximum="283" sensitivity="50" keydelta="15" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <port tag=":LIGHT0_X">
      <analog mask="65535" />
    </port>
    <port tag=":LIGHT0_Y">
      <analog mask="65535" />
    </port>
    <port tag=":LIGHT1_X">
      <analog mask="65535" />
    </port>
    <port tag=":LIGHT1_Y">
      <analog mask="65535" />
    </port>
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="kaiunqz" sourcefile="namcos12.cpp">
    <description>Kaiun Quiz (Japan, KW1/VER.A)</description>
    <year>1999</year>
    <manufacturer>Namco</manufacturer>
    <rom name="kw1vera.2l" size="2097152" crc="fd1d2324" sha1="eedb4627dfa17e9aac2c99592628f1fa7060edb5" region="maincpu:rom" offset="0" />
    <rom name="kw1vera.2p" size="2097152" crc="d8bdea6b" sha1="d32118846a1f43eecff7f56dcda03adf04975784" region="maincpu:rom" offset="1" />
    <rom name="kw1rom0l.12" size="8388608" crc="e0768f0b" sha1="3ffec7c789a95fcff7f06432723f155b99a20c42" region="bankedroms" offset="0" />
    <rom name="kw1rom0u.11" size="8388608" crc="04101a16" sha1="c2d79333ee382e2fea229bba23918fb5f88a25d4" region="bankedroms" offset="1" />
    <rom name="kw1rom1l.10" size="8388608" crc="6a4edfa6" sha1="a59fa28446b28db28b38368c794af71e673f69a2" region="bankedroms" offset="1000000" />
    <rom name="kw1rom1u.9" size="8388608" crc="e6150b0d" sha1="7dd1ba524246aea007e7bd6d3e7d457033b23a09" region="bankedroms" offset="1000001" />
    <rom name="kw1rom2l.7" size="8388608" crc="21c376e4" sha1="4b82494c1e13ebcea3c4e97803c0667be73bf6ae" region="bankedroms" offset="2000000" />
    <rom name="kw1rom2u.8" size="8388608" crc="d850c222" sha1="802c1782b323802eae871e2b9ccc5eae34277861" region="bankedroms" offset="2000001" />
    <rom name="kw1vera.11s" size="524288" crc="d863fafa" sha1="3c2bb38c24165e3a1a4d1d257fcfc019b63d5199" region="sub" offset="0" />
    <rom name="kw1wave0.2" size="8388608" crc="060e52ae" sha1="7ea95cae9d3c648163b225d0c7d365644be90241" region="c352" offset="0" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="preliminary" emulation="preliminary" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="kartduel" sourcefile="namcos12.cpp">
    <description>Kart Duel (Japan, KTD1/VER.A)</description>
    <year>2000</year>
    <manufacturer>Namco</manufacturer>
    <rom name="ktd1vera.2l" size="2097152" crc="0c207249" sha1="6c57de25d452226a25f658638d89b81257960741" region="maincpu:rom" offset="0" />
    <rom name="ktd1vera.2p" size="2097152" crc="f6e2581f" sha1="06eb108c2775290590dba75f964f26443a585d70" region="maincpu:rom" offset="1" />
    <rom name="kdt1rom0l.ic12" size="4194304" crc="8e2d5d9e" sha1="6f703e27a19740af4094004b783b3cc2974c3de0" status="baddump" region="bankedroms" offset="0" />
    <rom name="kdt1rom0u.ic11" size="4194304" crc="49ec5dbd" sha1="336db6d3e361938850a9234b6b64070dbdc36d45" status="baddump" region="bankedroms" offset="1" />
    <rom name="ktd1vera.11s" size="524288" crc="c2ff1971" sha1="32ee2afe08e92049d8139c9324a0ea1a3b7ee5a1" region="sub" offset="0" />
    <rom name="ktd1wave0.ic2" size="8388608" crc="c54d5539" sha1="17518dc76bb3627ca42bac665938bb11ea926396" region="c352" offset="0" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="preliminary" emulation="preliminary" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="lbgrande" sourcefile="namcos12.cpp">
    <description>Libero Grande (World, LG2/VER.A)</description>
    <year>1997</year>
    <manufacturer>Namco</manufacturer>
    <rom name="lg2vera.2l" size="2097152" crc="5ed6b152" sha1="fdab457862bd6e0a3178c9329bd0978b6aa3ae2f" region="maincpu:rom" offset="0" />
    <rom name="lg2vera.2p" size="2097152" crc="97c57149" sha1="bb9bc1ba3ea826eb1c987b11218c0afa0fc54bdc" region="maincpu:rom" offset="1" />
    <rom name="lg1rom0l.6" size="4194304" crc="c5df7f27" sha1="07c596efb2533b9adc579874b7e8ef7fcc7f73c3" region="bankedroms" offset="0" />
    <rom name="lg1rom0u.9" size="4194304" crc="74607817" sha1="448a9213fa566fdbab5d789df064da7dc946ba2c" region="bankedroms" offset="1" />
    <rom name="lg1fl3l.12" size="2097152" crc="c9947d3e" sha1="239b1f81ffac6a54b438082664124b6cf51a9b1c" region="bankedroms" offset="1800000" />
    <rom name="lg1fl3u.13" size="2097152" crc="f3d69f45" sha1="546f588f144e1a75eee4a6d0a6cef8a3f79f0238" region="bankedroms" offset="1800001" />
    <rom name="lg1vera.11s" size="524288" crc="de717a09" sha1="78f26ff630c50632916fa17fa870dcde7f13781d" region="sub" offset="0" />
    <rom name="lg1wave0.5" size="4194304" crc="4647fada" sha1="99f5e9ded0c83f1a0d3670f6380bc15c1380671e" region="c352" offset="0" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="lbgrandeja" sourcefile="namcos12.cpp" cloneof="lbgrande" romof="lbgrande">
    <description>Libero Grande (Japan, LG1/VER.A)</description>
    <year>1997</year>
    <manufacturer>Namco</manufacturer>
    <rom name="lg1vera.2l" size="2097152" crc="ff269bcd" sha1="f118b69ffe3ee1ad785c115c39d5166f3c546554" region="maincpu:rom" offset="0" />
    <rom name="lg1vera.2p" size="2097152" crc="46f9205c" sha1="662b8f910e4ccc1a0e9f3fef0992a92abbebebd0" region="maincpu:rom" offset="1" />
    <rom name="lg1rom0l.6" merge="lg1rom0l.6" size="4194304" crc="c5df7f27" sha1="07c596efb2533b9adc579874b7e8ef7fcc7f73c3" region="bankedroms" offset="0" />
    <rom name="lg1rom0u.9" merge="lg1rom0u.9" size="4194304" crc="74607817" sha1="448a9213fa566fdbab5d789df064da7dc946ba2c" region="bankedroms" offset="1" />
    <rom name="lg1fl3l.12" merge="lg1fl3l.12" size="2097152" crc="c9947d3e" sha1="239b1f81ffac6a54b438082664124b6cf51a9b1c" region="bankedroms" offset="1800000" />
    <rom name="lg1fl3u.13" merge="lg1fl3u.13" size="2097152" crc="f3d69f45" sha1="546f588f144e1a75eee4a6d0a6cef8a3f79f0238" region="bankedroms" offset="1800001" />
    <rom name="lg1vera.11s" merge="lg1vera.11s" size="524288" crc="de717a09" sha1="78f26ff630c50632916fa17fa870dcde7f13781d" region="sub" offset="0" />
    <rom name="lg1wave0.5" merge="lg1wave0.5" size="4194304" crc="4647fada" sha1="99f5e9ded0c83f1a0d3670f6380bc15c1380671e" region="c352" offset="0" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="preliminary" emulation="preliminary" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="mdhorse" sourcefile="namcos12.cpp">
    <description>Derby Quiz My Dream Horse (Japan, MDH1/VER.A2)</description>
    <year>1998</year>
    <manufacturer>MOSS / Namco</manufacturer>
    <rom name="mdh1vera.2l" size="2097152" crc="fbb567b2" sha1="899dccdfbc8dcbcdaf9b5df93e249a36f8cbf999" region="maincpu:rom" offset="0" />
    <rom name="mdh1vera.2p" size="2097152" crc="a0f182ab" sha1="70c789ea88248c1f810f9fdb3feaf808acbaa8cd" region="maincpu:rom" offset="1" />
    <rom name="mdh1rom0l" size="8388608" crc="ca5bf806" sha1="8c88b1f29c96a0696ac9428c411cde10faacce35" region="bankedroms" offset="0" />
    <rom name="mdh1rom0u" size="8388608" crc="315e9539" sha1="340fcd196f53f64b3f56ef73101eddc9e142d907" region="bankedroms" offset="1" />
    <rom name="mdh1rom1l" size="8388608" crc="9f610211" sha1="8459733c52d1c62033a4aeb9985b4a6e863a62d0" region="bankedroms" offset="1000000" />
    <rom name="mdh1rom1u" size="8388608" crc="a2e43560" sha1="b0657a22701c6f2098f210d59e4c9bc88593a750" region="bankedroms" offset="1000001" />
    <rom name="mdh1rom2l" size="8388608" crc="84840fa9" sha1="0f051db55b30f7dd473f4df9bb5e7d38c39dc785" region="bankedroms" offset="2000000" />
    <rom name="mdh1rom2u" size="8388608" crc="9490dafe" sha1="c1bd9343535876eac5369a86105013b4a7d731b3" region="bankedroms" offset="2000001" />
    <rom name="mdh1vera.11s" size="524288" crc="20d7ba29" sha1="95a056d1f1ac70dda8ced832b506076485348a33" region="sub" offset="0" />
    <rom name="mdh1wave0" size="8388608" crc="7b031123" sha1="7cbc1f71d259405f9f1ef26026d51abcb255b057" region="c352" offset="0" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="preliminary" emulation="preliminary" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="mrdrillr" sourcefile="namcos12.cpp">
    <description>Mr. Driller (US, DRI3/VER.A2)</description>
    <year>1999</year>
    <manufacturer>Namco</manufacturer>
    <rom name="dri3vera2.2l" size="2097152" crc="36b9eeab" sha1="85f5d57d4fc6160bfed49a08ad31a2cc2b4a38c5" region="maincpu:rom" offset="0" />
    <rom name="dri3vera2.2p" size="2097152" crc="811c00d5" sha1="627685078fceb023e8af1b7af5269f9b01a06dba" region="maincpu:rom" offset="1" />
    <rom name="dri1rom0l.6" size="4194304" crc="021bb2fa" sha1="bfe3e46e9728d5b5a692f432515267ff8b8255e7" region="bankedroms" offset="0" />
    <rom name="dri1rom0u.9" size="4194304" crc="5aae85ea" sha1="a54dcc050c12ed3d77efc328e366e99c392eb139" region="bankedroms" offset="1" />
    <rom name="dri1vera.11s" size="524288" crc="33ea9c0e" sha1="5018d7a1a45ec3133cd928435db8804f66321924" region="sub" offset="0" />
    <rom name="dri1wave0.5" size="8388608" crc="32928df1" sha1="79af92a2d24a0e3d5bfe1785776b0f86a93882ce" region="c352" offset="0" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="4" />
      <control type="joy" player="2" buttons="6" ways="4" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="mrdrillrj" sourcefile="namcos12.cpp" cloneof="mrdrillr" romof="mrdrillr">
    <description>Mr. Driller (Japan, DRI1/VER.A2)</description>
    <year>1999</year>
    <manufacturer>Namco</manufacturer>
    <rom name="dri1vera2.2l" size="2097152" crc="751ca21d" sha1="1c271bba83d387c797ce8daa43885bcb6e1a51a6" region="maincpu:rom" offset="0" />
    <rom name="dri1vera2.2p" size="2097152" crc="2a2b0704" sha1="5a8b40c6cf0adc43ca2ee0c576ec82f314aacd2c" region="maincpu:rom" offset="1" />
    <rom name="dri1rom0l.6" merge="dri1rom0l.6" size="4194304" crc="021bb2fa" sha1="bfe3e46e9728d5b5a692f432515267ff8b8255e7" region="bankedroms" offset="0" />
    <rom name="dri1rom0u.9" merge="dri1rom0u.9" size="4194304" crc="5aae85ea" sha1="a54dcc050c12ed3d77efc328e366e99c392eb139" region="bankedroms" offset="1" />
    <rom name="dri1vera.11s" merge="dri1vera.11s" size="524288" crc="33ea9c0e" sha1="5018d7a1a45ec3133cd928435db8804f66321924" region="sub" offset="0" />
    <rom name="dri1wave0.5" merge="dri1wave0.5" size="8388608" crc="32928df1" sha1="79af92a2d24a0e3d5bfe1785776b0f86a93882ce" region="c352" offset="0" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="4" />
      <control type="joy" player="2" buttons="6" ways="4" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="ohbakyuun" sourcefile="namcos12.cpp" cloneof="ghlpanic" romof="ghlpanic">
    <description>Oh! Bakyuuun (Japan, OB1/VER.A)</description>
    <year>1999</year>
    <manufacturer>Eighting / Raizing / Namco</manufacturer>
    <rom name="ob1vera.2l" size="2097152" crc="4cb3c25a" sha1="18679b9ae54f2b001316d9a55065c859df292c4c" region="maincpu:rom" offset="0" />
    <rom name="ob1vera.2p" size="2097152" crc="85abbe30" sha1="0edfa34c45bd95882639a7d3e43bc9df3bc23586" region="maincpu:rom" offset="1" />
    <rom name="ob1rom0l.ic12" merge="ob1rom0l.ic12" size="4194304" crc="f8b6a599" sha1="2af3186242a8cbf14ab7532496a91041300527e9" region="bankedroms" offset="0" />
    <rom name="ob1rom0u.ic11" merge="ob1rom0u.ic11" size="4194304" crc="0625db92" sha1="b63be6e41b2c6e2194f02f0c31da1f30c4e08232" region="bankedroms" offset="1" />
    <rom name="ob1vera.11s" merge="ob1vera.11s" size="524288" crc="f8c459f2" sha1="681520c891f5c8a0f321652d8834910310c88d1a" region="sub" offset="0" />
    <rom name="ob1wave.ic2" merge="ob1wave.ic2" size="8388608" crc="e7bc7202" sha1="f0f598304866ebe62642eaac6b7d8709baa14fe1" region="c352" offset="0" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="lightgun" player="1" buttons="1" minimum="26" maximum="265" sensitivity="50" keydelta="15" />
      <control type="lightgun" player="2" buttons="1" minimum="26" maximum="265" sensitivity="50" keydelta="15" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <port tag=":LIGHT0_X">
      <analog mask="65535" />
    </port>
    <port tag=":LIGHT0_Y">
      <analog mask="65535" />
    </port>
    <port tag=":LIGHT1_X">
      <analog mask="65535" />
    </port>
    <port tag=":LIGHT1_Y">
      <analog mask="65535" />
    </port>
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="pacapp" sourcefile="namcos12.cpp">
    <description>Paca Paca Passion (Japan, PPP1/VER.A2)</description>
    <year>1998</year>
    <manufacturer>Produce / Namco</manufacturer>
    <rom name="ppp1vera.2l" size="2097152" crc="6e74bd05" sha1="41a2e06538cea3bced2992f5858a3f0cd1c0b4aa" region="maincpu:rom" offset="0" />
    <rom name="ppp1vera.2p" size="2097152" crc="b7a2f724" sha1="820ae04ec416b8394a1d919279748bde3460cb96" region="maincpu:rom" offset="1" />
    <rom name="ppp1rom0l.6" size="4194304" crc="b152fdd8" sha1="23c5c07680a62e941a7b1a28897f986dd9399801" region="bankedroms" offset="0" />
    <rom name="ppp1rom0u.9" size="4194304" crc="c615c26e" sha1="db1aae37ebee2a74636415e4b1b0b17790a6a67e" region="bankedroms" offset="1" />
    <rom name="ppp1rom1l.7" size="4194304" crc="46eaedbd" sha1="afe3c966fcf083d89b45d44d871bed1b8caa3014" region="bankedroms" offset="800000" />
    <rom name="ppp1rom1u.10" size="4194304" crc="32f27dce" sha1="06de870b83c972403d96b8b9a8ee5a192a99451d" region="bankedroms" offset="800001" />
    <rom name="ppp1rom2l.8" size="4194304" crc="dca7e5ed" sha1="b43b6e086912009295ceae11d2d540733353d7b6" region="bankedroms" offset="1000000" />
    <rom name="ppp1rom2u.11" size="4194304" crc="cada7a0d" sha1="e8d927a4680911b77de1d906b5e0140697e9c67b" region="bankedroms" offset="1000001" />
    <rom name="ppp1vera.11s" size="524288" crc="22242317" sha1="e46bf3c594136168faedebbd59f53ff9a6ecf3c1" region="sub" offset="0" />
    <rom name="ppp1wave0.5" size="8388608" crc="184ccc7d" sha1="b74638cebef209638c625aac7e8c5b924f56a8bb" region="c352" offset="0" />
    <rom name="ppp1wave1.4" size="8388608" crc="cbcf74c5" sha1="a089277c9befc87b5bbe0d4e5b8187a4ad5ef143" region="c352" offset="800000" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="pacapp2" sourcefile="namcos12.cpp">
    <description>Paca Paca Passion 2 (Japan, PKS1/VER.A)</description>
    <year>1999</year>
    <manufacturer>Produce / Namco</manufacturer>
    <rom name="pks1vera.2l" size="2097152" crc="aec428d3" sha1="c13aecc6a367d6da501dce66fecbab5458ecac53" region="maincpu:rom" offset="0" />
    <rom name="pks1vera.2p" size="2097152" crc="289e6e8a" sha1="b8197355bee5660e8ff78a1c427c6d2b94a12b9d" region="maincpu:rom" offset="1" />
    <rom name="pks1rom0.ic7" size="8388608" crc="91f151fc" sha1="84b4c9b2a9ae5687e1cba5f0a0db96495956cbfe" region="bankedroms" offset="0" />
    <rom name="pks1rom1.ic8" size="8388608" crc="8195f981" sha1="1b9c2289e0975606ff52b9974778f82c9c29e955" region="bankedroms" offset="800000" />
    <rom name="pks1rom2.ic9" size="8388608" crc="fea93ddc" sha1="5f9c3f899a11797746d9c1077960f918aaca95f4" region="bankedroms" offset="1000000" />
    <rom name="pks1vera.11s" size="524288" crc="4942b588" sha1="b28eb64a7347259619e32fdd396770983e25a707" region="sub" offset="0" />
    <rom name="pks1wave0.ic2" size="8388608" crc="3ebd27c3" sha1="af874c3fb4cf1651075f307daefe7e3434769ecb" region="c352" offset="0" />
    <rom name="pks1wave1.ic1" size="8388608" crc="07e426b7" sha1="6dd038d4f2c95470f1ca09cfead83802e9480d02" region="c352" offset="800000" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="pacappsp" sourcefile="namcos12.cpp">
    <description>Paca Paca Passion Special (Japan, PSP1/VER.A)</description>
    <year>1999</year>
    <manufacturer>Produce / Namco</manufacturer>
    <rom name="psp1vera.2l" size="2097152" crc="4b6943af" sha1="63b21794719bc1fc075e9cc4f1c1783442860036" region="maincpu:rom" offset="0" />
    <rom name="psp1vera.2p" size="2097152" crc="91397f04" sha1="db3dd59edcdec10eb2fee74450c024a7ecffe1c9" region="maincpu:rom" offset="1" />
    <rom name="psp1rom0.ic7" size="8388608" crc="7c26ff47" sha1="f9d366ae9eb11e14875b611112bc82f7c7d391e0" region="bankedroms" offset="0" />
    <rom name="psp1rom1.ic8" size="8388608" crc="4b764fc3" sha1="92a7f0f1537f2f4d5a8b0218720978b576f78dad" region="bankedroms" offset="800000" />
    <rom name="psp1rom2.ic9" size="8388608" crc="a3fa6730" sha1="0126a77661c3add0bfec9f6ef15021e602b7a614" region="bankedroms" offset="1000000" />
    <rom name="psp1vera.11s" size="524288" crc="47b9ccab" sha1="15d4c5ac9ae7202df2d0ef84092679d190f2c45a" region="sub" offset="0" />
    <rom name="psp1wave0.ic2" size="8388608" crc="44b9a327" sha1="ab20d5371f7a8c3a7fbc21fcf54a93c1cd007cd2" region="c352" offset="0" />
    <rom name="psp1wave1.ic1" size="8388608" crc="c045b09c" sha1="1cfd7003771576f6574d91d862af1f76ceaed64f" region="c352" offset="800000" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="ptblank2" sourcefile="namcos12.cpp">
    <description>Point Blank 2 (GNB5/VER.A)</description>
    <year>1999</year>
    <manufacturer>Namco</manufacturer>
    <rom name="gnb5vera.2l" size="2097152" crc="4d0ef3b7" sha1="6c4077316fa90b734c4a4e0aa3eadd26e97bd6ce" region="maincpu:rom" offset="0" />
    <rom name="gnb5vera.2p" size="2097152" crc="5d1d19ff" sha1="4aa8ba7233d7f9bac759c98f53e637c1f3659c3f" region="maincpu:rom" offset="1" />
    <rom name="gnb1prg0l.ic12" size="8388608" crc="78746037" sha1="d130ca1153a730e3c967945248f00662f9fab304" region="bankedroms" offset="0" />
    <rom name="gnb1prg0u.ic11" size="8388608" crc="697d3279" sha1="40302780f7494d9413888b2d1da38bd14a9a444f" region="bankedroms" offset="1" />
    <rom name="gnb_vera.11s" size="524288" crc="d45a53eb" sha1="01eb4f659b29671d417c5d3684f15a5876f76009" region="sub" offset="0" />
    <rom name="gnb1waveb.ic2" size="4194304" crc="4e19d9d6" sha1="0a92c987536999a789663a30c787950ab6995128" region="c352" offset="0" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="lightgun" player="1" buttons="1" minimum="44" maximum="283" sensitivity="50" keydelta="15" />
      <control type="lightgun" player="2" buttons="1" minimum="44" maximum="283" sensitivity="50" keydelta="15" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <port tag=":LIGHT0_X">
      <analog mask="65535" />
    </port>
    <port tag=":LIGHT0_Y">
      <analog mask="65535" />
    </port>
    <port tag=":LIGHT1_X">
      <analog mask="65535" />
    </port>
    <port tag=":LIGHT1_Y">
      <analog mask="65535" />
    </port>
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="soulclbr" sourcefile="namcos12.cpp">
    <description>Soul Calibur (World, SOC14/VER.C)</description>
    <year>1998</year>
    <manufacturer>Namco</manufacturer>
    <rom name="soc14verc.2e" size="2097152" crc="c40e9614" sha1="dc20469f0d657423e472fdf5897852ab9fb8bb73" region="maincpu:rom" offset="0" />
    <rom name="soc14verc.2j" size="2097152" crc="80c41446" sha1="e5620a4f0ffba913169a779df73384b7ca8780b9" region="maincpu:rom" offset="1" />
    <rom name="soc1rom0.7" size="8388608" crc="cdc47b55" sha1="315ea6b819de5c4883aa400f1b9f4172637757bf" region="bankedroms" offset="0" />
    <rom name="soc1rom1.8" size="8388608" crc="30d2dd5a" sha1="1c0c467ba339e0241efb8d5c3b025a046b2ca676" region="bankedroms" offset="800000" />
    <rom name="soc1rom2.9" size="8388608" crc="dbb93955" sha1="624cd8ad94e8ae53206f798bff81784afe95e5f1" region="bankedroms" offset="1000000" />
    <rom name="soc1fl3.6" size="4194304" crc="24d94c38" sha1="0f9b9ab11dd4e02086d7b9104ce2f5d4e93cd696" region="bankedroms" offset="1800000" />
    <rom name="soc1fl4.5" size="4194304" crc="6212090e" sha1="ed5e50771180935a0c2e760e7369673098722201" region="bankedroms" offset="1c00000" />
    <rom name="soc1vera.11s" size="524288" crc="52aa206a" sha1="5abe9d6f800fa1b9623aa08b16e9b959b840e50b" region="sub" offset="0" />
    <rom name="soc1wave0.2" size="8388608" crc="c100618d" sha1="b87f88ee42ad9c5affa674e5f816d902143fed99" region="c352" offset="0" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="soulclbrja" sourcefile="namcos12.cpp" cloneof="soulclbr" romof="soulclbr">
    <description>Soul Calibur (Japan, SOC11/VER.A2)</description>
    <year>1998</year>
    <manufacturer>Namco</manufacturer>
    <rom name="soc1vera.2l" size="2097152" crc="37e0a203" sha1="3915b5e530c8e70a07aa8ccedeb66633ae5f670e" region="maincpu:rom" offset="0" />
    <rom name="soc1vera.2p" size="2097152" crc="7cd87a35" sha1="5a4837b6f6a49c88126a0ddbb8059a4da77127bc" region="maincpu:rom" offset="1" />
    <rom name="soc1rom0.7" merge="soc1rom0.7" size="8388608" crc="cdc47b55" sha1="315ea6b819de5c4883aa400f1b9f4172637757bf" region="bankedroms" offset="0" />
    <rom name="soc1rom1.8" merge="soc1rom1.8" size="8388608" crc="30d2dd5a" sha1="1c0c467ba339e0241efb8d5c3b025a046b2ca676" region="bankedroms" offset="800000" />
    <rom name="soc1rom2.9" merge="soc1rom2.9" size="8388608" crc="dbb93955" sha1="624cd8ad94e8ae53206f798bff81784afe95e5f1" region="bankedroms" offset="1000000" />
    <rom name="soc1fl3.6" merge="soc1fl3.6" size="4194304" crc="24d94c38" sha1="0f9b9ab11dd4e02086d7b9104ce2f5d4e93cd696" region="bankedroms" offset="1800000" />
    <rom name="soc1fl4.5" merge="soc1fl4.5" size="4194304" crc="6212090e" sha1="ed5e50771180935a0c2e760e7369673098722201" region="bankedroms" offset="1c00000" />
    <rom name="soc1vera.11s" merge="soc1vera.11s" size="524288" crc="52aa206a" sha1="5abe9d6f800fa1b9623aa08b16e9b959b840e50b" region="sub" offset="0" />
    <rom name="soc1wave0.2" merge="soc1wave0.2" size="8388608" crc="c100618d" sha1="b87f88ee42ad9c5affa674e5f816d902143fed99" region="c352" offset="0" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="soulclbrjb" sourcefile="namcos12.cpp" cloneof="soulclbr" romof="soulclbr">
    <description>Soul Calibur (Japan, SOC11/VER.B)</description>
    <year>1998</year>
    <manufacturer>Namco</manufacturer>
    <rom name="soc11verb.2e" size="2097152" crc="9660d996" sha1="6361abfd8b0d29848aabad6a5c517ba0d336359a" region="maincpu:rom" offset="0" />
    <rom name="soc11verb.2j" size="2097152" crc="49939880" sha1="a53fb8ecd71c8d59b0e08d6233ea658ae083bc6d" region="maincpu:rom" offset="1" />
    <rom name="soc1rom0.7" merge="soc1rom0.7" size="8388608" crc="cdc47b55" sha1="315ea6b819de5c4883aa400f1b9f4172637757bf" region="bankedroms" offset="0" />
    <rom name="soc1rom1.8" merge="soc1rom1.8" size="8388608" crc="30d2dd5a" sha1="1c0c467ba339e0241efb8d5c3b025a046b2ca676" region="bankedroms" offset="800000" />
    <rom name="soc1rom2.9" merge="soc1rom2.9" size="8388608" crc="dbb93955" sha1="624cd8ad94e8ae53206f798bff81784afe95e5f1" region="bankedroms" offset="1000000" />
    <rom name="soc1fl3.6" merge="soc1fl3.6" size="4194304" crc="24d94c38" sha1="0f9b9ab11dd4e02086d7b9104ce2f5d4e93cd696" region="bankedroms" offset="1800000" />
    <rom name="soc1fl4.5" merge="soc1fl4.5" size="4194304" crc="6212090e" sha1="ed5e50771180935a0c2e760e7369673098722201" region="bankedroms" offset="1c00000" />
    <rom name="soc1vera.11s" merge="soc1vera.11s" size="524288" crc="52aa206a" sha1="5abe9d6f800fa1b9623aa08b16e9b959b840e50b" region="sub" offset="0" />
    <rom name="soc1wave0.2" merge="soc1wave0.2" size="8388608" crc="c100618d" sha1="b87f88ee42ad9c5affa674e5f816d902143fed99" region="c352" offset="0" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="soulclbrjc" sourcefile="namcos12.cpp" cloneof="soulclbr" romof="soulclbr">
    <description>Soul Calibur (Japan, SOC11/VER.C)</description>
    <year>1998</year>
    <manufacturer>Namco</manufacturer>
    <rom name="soc11verc.2l" size="2097152" crc="f5e3679c" sha1="b426cfc7707a6772e6aabbaf4a19b7f008324d55" region="maincpu:rom" offset="0" />
    <rom name="soc11verc.2p" size="2097152" crc="7537719c" sha1="d83d4c762fa7fcfd5d84de550568e92999e5bdfb" region="maincpu:rom" offset="1" />
    <rom name="soc1rom0.7" merge="soc1rom0.7" size="8388608" crc="cdc47b55" sha1="315ea6b819de5c4883aa400f1b9f4172637757bf" region="bankedroms" offset="0" />
    <rom name="soc1rom1.8" merge="soc1rom1.8" size="8388608" crc="30d2dd5a" sha1="1c0c467ba339e0241efb8d5c3b025a046b2ca676" region="bankedroms" offset="800000" />
    <rom name="soc1rom2.9" merge="soc1rom2.9" size="8388608" crc="dbb93955" sha1="624cd8ad94e8ae53206f798bff81784afe95e5f1" region="bankedroms" offset="1000000" />
    <rom name="soc1fl3.6" merge="soc1fl3.6" size="4194304" crc="24d94c38" sha1="0f9b9ab11dd4e02086d7b9104ce2f5d4e93cd696" region="bankedroms" offset="1800000" />
    <rom name="soc1fl4.5" merge="soc1fl4.5" size="4194304" crc="6212090e" sha1="ed5e50771180935a0c2e760e7369673098722201" region="bankedroms" offset="1c00000" />
    <rom name="soc1vera.11s" merge="soc1vera.11s" size="524288" crc="52aa206a" sha1="5abe9d6f800fa1b9623aa08b16e9b959b840e50b" region="sub" offset="0" />
    <rom name="soc1wave0.2" merge="soc1wave0.2" size="8388608" crc="c100618d" sha1="b87f88ee42ad9c5affa674e5f816d902143fed99" region="c352" offset="0" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="soulclbrub" sourcefile="namcos12.cpp" cloneof="soulclbr" romof="soulclbr">
    <description>Soul Calibur (US, SOC13/VER.B)</description>
    <year>1998</year>
    <manufacturer>Namco</manufacturer>
    <rom name="soc13verb.2e" size="2097152" crc="ad7cfb1e" sha1="7d1e7fd0024e31780335690906846e91ba063003" region="maincpu:rom" offset="0" />
    <rom name="soc13verb.2j" size="2097152" crc="7449c045" sha1="1c7a8b659d0f12dded2a00bc83baeb392fd7a719" region="maincpu:rom" offset="1" />
    <rom name="soc1rom0.7" merge="soc1rom0.7" size="8388608" crc="cdc47b55" sha1="315ea6b819de5c4883aa400f1b9f4172637757bf" region="bankedroms" offset="0" />
    <rom name="soc1rom1.8" merge="soc1rom1.8" size="8388608" crc="30d2dd5a" sha1="1c0c467ba339e0241efb8d5c3b025a046b2ca676" region="bankedroms" offset="800000" />
    <rom name="soc1rom2.9" merge="soc1rom2.9" size="8388608" crc="dbb93955" sha1="624cd8ad94e8ae53206f798bff81784afe95e5f1" region="bankedroms" offset="1000000" />
    <rom name="soc1fl3.6" merge="soc1fl3.6" size="4194304" crc="24d94c38" sha1="0f9b9ab11dd4e02086d7b9104ce2f5d4e93cd696" region="bankedroms" offset="1800000" />
    <rom name="soc1fl4.5" merge="soc1fl4.5" size="4194304" crc="6212090e" sha1="ed5e50771180935a0c2e760e7369673098722201" region="bankedroms" offset="1c00000" />
    <rom name="soc1vera.11s" merge="soc1vera.11s" size="524288" crc="52aa206a" sha1="5abe9d6f800fa1b9623aa08b16e9b959b840e50b" region="sub" offset="0" />
    <rom name="soc1wave0.2" merge="soc1wave0.2" size="8388608" crc="c100618d" sha1="b87f88ee42ad9c5affa674e5f816d902143fed99" region="c352" offset="0" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="soulclbruc" sourcefile="namcos12.cpp" cloneof="soulclbr" romof="soulclbr">
    <description>Soul Calibur (US, SOC13/VER.C)</description>
    <year>1998</year>
    <manufacturer>Namco</manufacturer>
    <rom name="soc13verc.2l" size="2097152" crc="4ba962fb" sha1="e2b5e543d92a4157788482f3ab7c6b0e5ff30367" region="maincpu:rom" offset="0" />
    <rom name="soc13verc.2p" size="2097152" crc="140c40de" sha1="352faec0fff5a8422ee7c8db2e0c946b139be03f" region="maincpu:rom" offset="1" />
    <rom name="soc1rom0.7" merge="soc1rom0.7" size="8388608" crc="cdc47b55" sha1="315ea6b819de5c4883aa400f1b9f4172637757bf" region="bankedroms" offset="0" />
    <rom name="soc1rom1.8" merge="soc1rom1.8" size="8388608" crc="30d2dd5a" sha1="1c0c467ba339e0241efb8d5c3b025a046b2ca676" region="bankedroms" offset="800000" />
    <rom name="soc1rom2.9" merge="soc1rom2.9" size="8388608" crc="dbb93955" sha1="624cd8ad94e8ae53206f798bff81784afe95e5f1" region="bankedroms" offset="1000000" />
    <rom name="soc1fl3.6" merge="soc1fl3.6" size="4194304" crc="24d94c38" sha1="0f9b9ab11dd4e02086d7b9104ce2f5d4e93cd696" region="bankedroms" offset="1800000" />
    <rom name="soc1fl4.5" merge="soc1fl4.5" size="4194304" crc="6212090e" sha1="ed5e50771180935a0c2e760e7369673098722201" region="bankedroms" offset="1c00000" />
    <rom name="soc1vera.11s" merge="soc1vera.11s" size="524288" crc="52aa206a" sha1="5abe9d6f800fa1b9623aa08b16e9b959b840e50b" region="sub" offset="0" />
    <rom name="soc1wave0.2" merge="soc1wave0.2" size="8388608" crc="c100618d" sha1="b87f88ee42ad9c5affa674e5f816d902143fed99" region="c352" offset="0" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="soulclbrwb" sourcefile="namcos12.cpp" cloneof="soulclbr" romof="soulclbr">
    <description>Soul Calibur (World, SOC14/VER.B)</description>
    <year>1998</year>
    <manufacturer>Namco</manufacturer>
    <rom name="soc14verb.2l" size="2097152" crc="6af5c5f6" sha1="51d1e7d78d95cfc765cd219ed07b405cd920044b" region="maincpu:rom" offset="0" />
    <rom name="soc14verb.2p" size="2097152" crc="23e7a4c4" sha1="a97f36cafdeff9e26fbd24e54ab8ac8080763761" region="maincpu:rom" offset="1" />
    <rom name="soc1rom0.7" merge="soc1rom0.7" size="8388608" crc="cdc47b55" sha1="315ea6b819de5c4883aa400f1b9f4172637757bf" region="bankedroms" offset="0" />
    <rom name="soc1rom1.8" merge="soc1rom1.8" size="8388608" crc="30d2dd5a" sha1="1c0c467ba339e0241efb8d5c3b025a046b2ca676" region="bankedroms" offset="800000" />
    <rom name="soc1rom2.9" merge="soc1rom2.9" size="8388608" crc="dbb93955" sha1="624cd8ad94e8ae53206f798bff81784afe95e5f1" region="bankedroms" offset="1000000" />
    <rom name="soc1fl3.6" merge="soc1fl3.6" size="4194304" crc="24d94c38" sha1="0f9b9ab11dd4e02086d7b9104ce2f5d4e93cd696" region="bankedroms" offset="1800000" />
    <rom name="soc1fl4.5" merge="soc1fl4.5" size="4194304" crc="6212090e" sha1="ed5e50771180935a0c2e760e7369673098722201" region="bankedroms" offset="1c00000" />
    <rom name="soc1vera.11s" merge="soc1vera.11s" size="524288" crc="52aa206a" sha1="5abe9d6f800fa1b9623aa08b16e9b959b840e50b" region="sub" offset="0" />
    <rom name="soc1wave0.2" merge="soc1wave0.2" size="8388608" crc="c100618d" sha1="b87f88ee42ad9c5affa674e5f816d902143fed99" region="c352" offset="0" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="sws2000" sourcefile="namcos12.cpp">
    <description>Super World Stadium 2000 (Japan, SS01/VER.A)</description>
    <year>2000</year>
    <manufacturer>Namco</manufacturer>
    <rom name="ss01vera.2l" size="2097152" crc="6ddbdcaa" sha1="cff31d75e7780851b2c2c025ee34fd8990e2f502" region="maincpu:rom" offset="0" />
    <rom name="ss01vera.2p" size="2097152" crc="6ade7d28" sha1="3e8d7bc9a284324c4de0ac265872b613d108cb57" region="maincpu:rom" offset="1" />
    <rom name="ss01rom0.9" size="8388608" crc="c08cc59c" sha1="f2d8064491c98acbb40260d7f13d0f9b394c1383" region="bankedroms" offset="0" />
    <rom name="ss01rom1.10" size="8388608" crc="d4aa1dc6" sha1="68fcb60aadf35668d7d746da1e29d5d985e40aec" region="bankedroms" offset="800000" />
    <rom name="ss01rom2.11" size="8388608" crc="3371904a" sha1="58bbf98a44560bc021bac4bc513fe89deea85b50" region="bankedroms" offset="1000000" />
    <rom name="ss01fl3l.7" size="2097152" crc="35bad813" sha1="19ceffb78695c8c22b30659aad56ac237ffb56ac" region="bankedroms" offset="1800000" />
    <rom name="ss01fl3h.8" size="2097152" crc="a14828fc" sha1="fd8a052451f74f420f4a4a2b902e0c2e83e3239b" region="bankedroms" offset="1800001" />
    <rom name="ss01vera.11s" size="524288" crc="641e6584" sha1="dfc0ac21bea5b19dbce5d50fb681854889d756dc" region="sub" offset="0" />
    <rom name="ss01wave0.2" size="8388608" crc="1c5e2ff1" sha1="4f29dfd49f6b5c3ca3b758823d368051354bd673" region="c352" offset="0" />
    <rom name="ss01wave1.1" size="8388608" crc="5f4c8861" sha1="baee7182c32bc064d805de5a16948faf78941ac4" region="c352" offset="800000" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="preliminary" emulation="preliminary" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="sws2001" sourcefile="namcos12.cpp" cloneof="sws2000" romof="sws2000">
    <description>Super World Stadium 2001 (Japan, SS11/VER.A)</description>
    <year>2001</year>
    <manufacturer>Namco</manufacturer>
    <rom name="ss11vera.2l" size="2097152" crc="a7b4dbe5" sha1="1bcb8d127388e2ead9ca04b527779896c69daf7f" region="maincpu:rom" offset="0" />
    <rom name="ss11vera.2p" size="2097152" crc="3ef76b4e" sha1="34c21b6002d3f88aa3f4b4606c8aace24be92920" region="maincpu:rom" offset="1" />
    <rom name="ss01rom0.9" merge="ss01rom0.9" size="8388608" crc="c08cc59c" sha1="f2d8064491c98acbb40260d7f13d0f9b394c1383" region="bankedroms" offset="0" />
    <rom name="ss01rom1.10" merge="ss01rom1.10" size="8388608" crc="d4aa1dc6" sha1="68fcb60aadf35668d7d746da1e29d5d985e40aec" region="bankedroms" offset="800000" />
    <rom name="ss01rom2.11" merge="ss01rom2.11" size="8388608" crc="3371904a" sha1="58bbf98a44560bc021bac4bc513fe89deea85b50" region="bankedroms" offset="1000000" />
    <rom name="ss11fl1l.5" size="8388608" crc="0546a2b4" sha1="b61457c9c5136f94ace48e83de8043ce20ca4d99" region="bankedroms" offset="1800000" />
    <rom name="ss11fl1u.6" size="8388608" crc="b3de0b2c" sha1="a89d3a2eb0952a98cc4765af2897b94136ca58ad" region="bankedroms" offset="1800001" />
    <rom name="ss01vera.11s" merge="ss01vera.11s" size="524288" crc="641e6584" sha1="dfc0ac21bea5b19dbce5d50fb681854889d756dc" region="sub" offset="0" />
    <rom name="ss01wave0.2" merge="ss01wave0.2" size="8388608" crc="1c5e2ff1" sha1="4f29dfd49f6b5c3ca3b758823d368051354bd673" region="c352" offset="0" />
    <rom name="ss01wave1.1" merge="ss01wave1.1" size="8388608" crc="5f4c8861" sha1="baee7182c32bc064d805de5a16948faf78941ac4" region="c352" offset="800000" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8606bq" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8561cq" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8606BQ" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="preliminary" emulation="preliminary" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="sws98" sourcefile="namcos12.cpp">
    <description>Super World Stadium '98 (Japan, SS81/VER.A)</description>
    <year>1998</year>
    <manufacturer>Namco</manufacturer>
    <rom name="ss81vera.2l" size="2097152" crc="94b1f34c" sha1="0c8491fda366b5b2874e5f49959dccd11d372e46" region="maincpu:rom" offset="0" />
    <rom name="ss81vera.2p" size="2097152" crc="7d0ed33d" sha1="34342ce57b29ee15c6279c099bb145ac7ad262f3" region="maincpu:rom" offset="1" />
    <rom name="ss81fl1l.9" size="2097152" crc="b0b5dc77" sha1="abce4e6ae60858b7c7408d10975b7a1e0d183115" region="bankedroms" offset="1000000" />
    <rom name="ss81fl1u.10" size="2097152" crc="e526dba5" sha1="889fdfba17282eb05a3e254af81ee15c3e16acc4" region="bankedroms" offset="1000001" />
    <rom name="ss81fl2l.7" size="2097152" crc="2dc6f6b5" sha1="e6c7bb804d7d027acca5adb15b0bb95321905ff3" region="bankedroms" offset="1400000" />
    <rom name="ss81fl2u.8" size="2097152" crc="c8341c9f" sha1="b7c5a960a238e963c7ec5bdb0751a8730d3b09f7" region="bankedroms" offset="1400001" />
    <rom name="ss81fl3l.5" size="2097152" crc="ce5d2a96" sha1="08f3955e1ce949ce436f6f2f19fd42204682ae8c" region="bankedroms" offset="1800000" />
    <rom name="ss81fl3u.6" size="2097152" crc="02df4df8" sha1="01fd66c905cde9ca073dc4b6dbd826c5fe96b79b" region="bankedroms" offset="1800001" />
    <rom name="ss81vera.11s" size="524288" crc="c6bc5c31" sha1="c6ef46c3fa8a7749618126d360e614ea6c8d9c54" region="sub" offset="0" />
    <rom name="ss81wave0.2" size="8388608" crc="1c5e2ff1" sha1="4f29dfd49f6b5c3ca3b758823d368051354bd673" region="c352" offset="0" />
    <rom name="ss81wave1.1" size="8388608" crc="5f4c8861" sha1="baee7182c32bc064d805de5a16948faf78941ac4" region="c352" offset="800000" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="sws99" sourcefile="namcos12.cpp">
    <description>Super World Stadium '99 (Japan, SS91/VER.A3)</description>
    <year>1999</year>
    <manufacturer>Namco</manufacturer>
    <rom name="ss91vera.2e" size="2097152" crc="4dd928d7" sha1="d76c0f52d1a2cd101a6879e6ff57ed1c52b5e228" region="maincpu:rom" offset="0" />
    <rom name="ss91vera.2j" size="2097152" crc="40777a48" sha1="6e3052ddbe3943eb2418cd50102cead88b850240" region="maincpu:rom" offset="1" />
    <rom name="ss91rom0.9" size="8388608" crc="db5bc50d" sha1="b8b59f6db3a374277871c39b3657cb193525e558" region="bankedroms" offset="0" />
    <rom name="ss91rom1.10" size="8388608" crc="4d71f29f" sha1="3ccc8410d383bfd9fde44574ebb9c24a235cc734" region="bankedroms" offset="800000" />
    <rom name="ss91fl3l.7" size="2097152" crc="61efd65b" sha1="1e97d5cd51bf778995c3e568ac7e1d3514264d48" region="bankedroms" offset="1800000" />
    <rom name="ss91fl3h.8" size="2097152" crc="7f3c8c54" sha1="b473a503cc5d532922780139ab3cab974d3df65b" region="bankedroms" offset="1800001" />
    <rom name="ss91fl4l.5" size="2097152" crc="a6af9511" sha1="63f14f4fc2b210348e41cdfa552a7a7c86fb1b99" region="bankedroms" offset="1c00000" />
    <rom name="ss91fl4h.6" size="2097152" crc="be3730a4" sha1="48802229d31c1eef7f4173eb05060a328b702336" region="bankedroms" offset="1c00001" />
    <rom name="ss91vera.11s" size="524288" crc="c6bc5c31" sha1="c6ef46c3fa8a7749618126d360e614ea6c8d9c54" region="sub" offset="0" />
    <rom name="ss91wave0.2" size="8388608" crc="1c5e2ff1" sha1="4f29dfd49f6b5c3ca3b758823d368051354bd673" region="c352" offset="0" />
    <rom name="ss91wave1.1" size="8388608" crc="5f4c8861" sha1="baee7182c32bc064d805de5a16948faf78941ac4" region="c352" offset="800000" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="technodr" sourcefile="namcos12.cpp">
    <description>Techno Drive (Japan, TD2/VER.B)</description>
    <year>1998</year>
    <manufacturer>Namco</manufacturer>
    <rom name="th1verb.2l" size="2097152" crc="736fae08" sha1="099e648784f617cc3b5a57a5838b8fbb54cacca1" region="maincpu:rom" offset="0" />
    <rom name="th1verb.2p" size="2097152" crc="1fafb2d2" sha1="ea0617714dcd7636e21a10fa2665a6f9c0f0a93b" region="maincpu:rom" offset="1" />
    <rom name="th1rom0l.6" size="4194304" crc="f8274106" sha1="5c0b60c7440cfa01572b10ed564446d7f1a81a3a" region="bankedroms" offset="0" />
    <rom name="th1rom0u.9" size="4194304" crc="260ae0c5" sha1="2ecb82e069fa64b9d3f63d6193befae02f3140e4" region="bankedroms" offset="1" />
    <rom name="th1rom1l.7" size="4194304" crc="56d9b477" sha1="101b5acfbe5d292418f7fd8db642187f2b571d0b" region="bankedroms" offset="800000" />
    <rom name="th1rom1u.10" size="4194304" crc="a45d337e" sha1="10e230b61ab4c6aa386c68463badef0c4ba58f0e" region="bankedroms" offset="800001" />
    <rom name="th1fl3l.12" size="2097152" crc="c330116f" sha1="b12de5a82d6ebb5f893882b578e02af732231512" region="bankedroms" offset="1800000" />
    <rom name="th1fl3u.13" size="2097152" crc="cd4422c0" sha1="97a9788cf0c589477f77c5403cc715ce4980a7bd" region="bankedroms" offset="1800001" />
    <rom name="th1verb.11s" size="524288" crc="85806e2e" sha1="9e0a7e6924b72e7b5b1d0e72eeec10045984dd4b" region="sub" offset="0" />
    <rom name="th1wave0.5" size="4194304" crc="6cdd06fb" sha1="31bd0b359e3b93bd40c3416a4805d0523e7f54c3" region="c352" offset="0" />
    <rom name="th1wave1.4" size="4194304" crc="40fd413b" sha1="b7edf89b5fa196a0787646c73b9aa07fc062fc8b" region="c352" offset="400000" />
    <rom name="th1io-a.4f" size="262144" crc="1cbbce27" sha1="71d61d9218543e1b0b2a6c550a8ff2b7c6267257" region="iocpu" offset="0" />
    <rom name="at28c16" size="2048" crc="01227f45" sha1="fb4e6ebaa789e4dd2794607d149627ff17047076" region="at28c16" offset="0" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <device_ref name="h83334" />
    <device_ref name="h8_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer8_channel" />
    <device_ref name="h8_timer8_channel" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="cpu" tag="iocpu" name="Hitachi H8/3334" clock="14745600" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="1" coins="1">
      <control type="paddle" buttons="1" minimum="0" maximum="1023" sensitivity="100" keydelta="10" reverse="yes" />
      <control type="pedal" minimum="0" maximum="1023" sensitivity="100" keydelta="10" reverse="yes" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="IN01" mask="256">
      <dipvalue name="Off" value="256" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":BRAKE">
      <analog mask="1023" />
    </port>
    <port tag=":DIN0" />
    <port tag=":DIN1" />
    <port tag=":DSW" />
    <port tag=":GAS">
      <analog mask="1023" />
    </port>
    <port tag=":IN01" />
    <port tag=":IN23" />
    <port tag=":SERVICE" />
    <port tag=":STEER">
      <analog mask="1023" />
    </port>
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
    <feature type="printer" status="unemulated" />
  </machine>
  <machine name="tekken3" sourcefile="namcos12.cpp">
    <description>Tekken 3 (World, TET2/VER.E1)</description>
    <year>1996</year>
    <manufacturer>Namco</manufacturer>
    <rom name="tet2vere1.2e" size="2097152" crc="7ded5461" sha1="3a5638c6ad40bfde6e12fdfd6d469f6ea5e9f4fb" region="maincpu:rom" offset="0" />
    <rom name="tet2vere1.2j" size="2097152" crc="25c96e1e" sha1="554d1e42886d6a6c9c5857e9cbd5d7c37d7a6e67" region="maincpu:rom" offset="1" />
    <rom name="tet1rom0l.6" size="4194304" crc="2886bb32" sha1="08ad9da2df25ad8c933a812ac238c81135072929" region="bankedroms" offset="0" />
    <rom name="tet1rom0u.9" size="4194304" crc="c5705b92" sha1="20df20c8d18eb4712d565a3df9a8d9270dee6aaa" region="bankedroms" offset="1" />
    <rom name="tet1rom1l.7" size="4194304" crc="0397d283" sha1="ebafcd14cdb2601214129a84fc6830846f5cd274" region="bankedroms" offset="800000" />
    <rom name="tet1rom1u.10" size="4194304" crc="502ba5cd" sha1="19c1282245c6dbfc945c0bd0f3918968c3e5c3ed" region="bankedroms" offset="800001" />
    <rom name="tet1rom2l.8" size="4194304" crc="e03b1c24" sha1="8579b95a8fd06b7d2893ff88b228fd794162dff1" region="bankedroms" offset="1000000" />
    <rom name="tet1rom2u.11" size="4194304" crc="75eb2ab3" sha1="dee43884e542391903f6aaae2c166e7921a86fb4" region="bankedroms" offset="1000001" />
    <rom name="tet1fl3l.12" size="2097152" crc="45513073" sha1="8a36f58ee2d292b50e00c6bf275f9def358032d8" region="bankedroms" offset="1800000" />
    <rom name="tet1fl3u.13" size="2097152" crc="1917d993" sha1="cabc44514a3e62a18a7f8f883603241447d6948b" region="bankedroms" offset="1800001" />
    <rom name="tet1verb.11s" size="524288" crc="c92b98d1" sha1="8ae6fba8c5b6b9a2ab9541eac8553b282f35750d" region="sub" offset="0" />
    <rom name="tet1wave0.5" size="4194304" crc="77ba7975" sha1="fe9434dcf0fb232c85efaaae1b4b13d36099620a" region="c352" offset="0" />
    <rom name="tet1wave1.4" size="4194304" crc="ffeba79f" sha1="941412bbe9d0305d9a23c224c1bb774c4321f6df" region="c352" offset="400000" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="tekken3a" sourcefile="namcos12.cpp" cloneof="tekken3" romof="tekken3">
    <description>Tekken 3 (World, TET2/VER.A)</description>
    <year>1996</year>
    <manufacturer>Namco</manufacturer>
    <rom name="tet2vera.2e" size="2097152" crc="7270f157" sha1="e73c5970e58f9e8c5696f4e3b15908fbec6c21ce" region="maincpu:rom" offset="0" />
    <rom name="tet2vera.2j" size="2097152" crc="94ceb446" sha1="c730eb5c770991ae3ae0b9ba63681ce037e46746" region="maincpu:rom" offset="1" />
    <rom name="tet1rom0l.6" merge="tet1rom0l.6" size="4194304" crc="2886bb32" sha1="08ad9da2df25ad8c933a812ac238c81135072929" region="bankedroms" offset="0" />
    <rom name="tet1rom0u.9" merge="tet1rom0u.9" size="4194304" crc="c5705b92" sha1="20df20c8d18eb4712d565a3df9a8d9270dee6aaa" region="bankedroms" offset="1" />
    <rom name="tet1rom1l.7" merge="tet1rom1l.7" size="4194304" crc="0397d283" sha1="ebafcd14cdb2601214129a84fc6830846f5cd274" region="bankedroms" offset="800000" />
    <rom name="tet1rom1u.10" merge="tet1rom1u.10" size="4194304" crc="502ba5cd" sha1="19c1282245c6dbfc945c0bd0f3918968c3e5c3ed" region="bankedroms" offset="800001" />
    <rom name="tet1rom2l.8" merge="tet1rom2l.8" size="4194304" crc="e03b1c24" sha1="8579b95a8fd06b7d2893ff88b228fd794162dff1" region="bankedroms" offset="1000000" />
    <rom name="tet1rom2u.11" merge="tet1rom2u.11" size="4194304" crc="75eb2ab3" sha1="dee43884e542391903f6aaae2c166e7921a86fb4" region="bankedroms" offset="1000001" />
    <rom name="tet1verafl3l.12" size="2097152" crc="64fa1f83" sha1="5bc8b4657826ead19827f63d04f67597970d5337" region="bankedroms" offset="1800000" />
    <rom name="tet1verafl3u.13" size="2097152" crc="32a2516b" sha1="6f4e4fc1b11d17a867d3e7bdfdd351438390a5a2" region="bankedroms" offset="1800001" />
    <rom name="tet1vera.11s" size="524288" crc="a74dfe7f" sha1="854096a6f12ee9073fb1f38e41c8e6e0725a7521" region="sub" offset="0" />
    <rom name="tet1wave0.5" merge="tet1wave0.5" size="4194304" crc="77ba7975" sha1="fe9434dcf0fb232c85efaaae1b4b13d36099620a" region="c352" offset="0" />
    <rom name="tet1wave1.4" merge="tet1wave1.4" size="4194304" crc="ffeba79f" sha1="941412bbe9d0305d9a23c224c1bb774c4321f6df" region="c352" offset="400000" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="tekken3b" sourcefile="namcos12.cpp" cloneof="tekken3" romof="tekken3">
    <description>Tekken 3 (World, TET2/VER.B)</description>
    <year>1996</year>
    <manufacturer>Namco</manufacturer>
    <rom name="tet2verb.2e" size="2097152" crc="a6cbc434" sha1="859d84e6e9a52c2cdd54a2a0bb8104169eb19c07" region="maincpu:rom" offset="0" />
    <rom name="tet2verb.2j" size="2097152" crc="c8f95ec5" sha1="7f34c42e1fbc35118e8476cdb78fbdb9564001de" region="maincpu:rom" offset="1" />
    <rom name="tet1rom0l.6" merge="tet1rom0l.6" size="4194304" crc="2886bb32" sha1="08ad9da2df25ad8c933a812ac238c81135072929" region="bankedroms" offset="0" />
    <rom name="tet1rom0u.9" merge="tet1rom0u.9" size="4194304" crc="c5705b92" sha1="20df20c8d18eb4712d565a3df9a8d9270dee6aaa" region="bankedroms" offset="1" />
    <rom name="tet1rom1l.7" merge="tet1rom1l.7" size="4194304" crc="0397d283" sha1="ebafcd14cdb2601214129a84fc6830846f5cd274" region="bankedroms" offset="800000" />
    <rom name="tet1rom1u.10" merge="tet1rom1u.10" size="4194304" crc="502ba5cd" sha1="19c1282245c6dbfc945c0bd0f3918968c3e5c3ed" region="bankedroms" offset="800001" />
    <rom name="tet1rom2l.8" merge="tet1rom2l.8" size="4194304" crc="e03b1c24" sha1="8579b95a8fd06b7d2893ff88b228fd794162dff1" region="bankedroms" offset="1000000" />
    <rom name="tet1rom2u.11" merge="tet1rom2u.11" size="4194304" crc="75eb2ab3" sha1="dee43884e542391903f6aaae2c166e7921a86fb4" region="bankedroms" offset="1000001" />
    <rom name="tet1fl3l.12" merge="tet1fl3l.12" size="2097152" crc="45513073" sha1="8a36f58ee2d292b50e00c6bf275f9def358032d8" region="bankedroms" offset="1800000" />
    <rom name="tet1fl3u.13" merge="tet1fl3u.13" size="2097152" crc="1917d993" sha1="cabc44514a3e62a18a7f8f883603241447d6948b" region="bankedroms" offset="1800001" />
    <rom name="tet1verb.11s" merge="tet1verb.11s" size="524288" crc="c92b98d1" sha1="8ae6fba8c5b6b9a2ab9541eac8553b282f35750d" region="sub" offset="0" />
    <rom name="tet1wave0.5" merge="tet1wave0.5" size="4194304" crc="77ba7975" sha1="fe9434dcf0fb232c85efaaae1b4b13d36099620a" region="c352" offset="0" />
    <rom name="tet1wave1.4" merge="tet1wave1.4" size="4194304" crc="ffeba79f" sha1="941412bbe9d0305d9a23c224c1bb774c4321f6df" region="c352" offset="400000" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="tekken3ja" sourcefile="namcos12.cpp" cloneof="tekken3" romof="tekken3">
    <description>Tekken 3 (Japan, TET1/VER.A)</description>
    <year>1996</year>
    <manufacturer>Namco</manufacturer>
    <rom name="tet1vera.2e" size="2097152" crc="98fe53b4" sha1="0d3380f368908a21cb1e4cea353687d3f6295d79" region="maincpu:rom" offset="0" />
    <rom name="tet1vera.2j" size="2097152" crc="4dc6bb4a" sha1="1a0ae22410fb6f7757d21fdaf713893ca4e177fe" region="maincpu:rom" offset="1" />
    <rom name="tet1rom0l.6" merge="tet1rom0l.6" size="4194304" crc="2886bb32" sha1="08ad9da2df25ad8c933a812ac238c81135072929" region="bankedroms" offset="0" />
    <rom name="tet1rom0u.9" merge="tet1rom0u.9" size="4194304" crc="c5705b92" sha1="20df20c8d18eb4712d565a3df9a8d9270dee6aaa" region="bankedroms" offset="1" />
    <rom name="tet1rom1l.7" merge="tet1rom1l.7" size="4194304" crc="0397d283" sha1="ebafcd14cdb2601214129a84fc6830846f5cd274" region="bankedroms" offset="800000" />
    <rom name="tet1rom1u.10" merge="tet1rom1u.10" size="4194304" crc="502ba5cd" sha1="19c1282245c6dbfc945c0bd0f3918968c3e5c3ed" region="bankedroms" offset="800001" />
    <rom name="tet1rom2l.8" merge="tet1rom2l.8" size="4194304" crc="e03b1c24" sha1="8579b95a8fd06b7d2893ff88b228fd794162dff1" region="bankedroms" offset="1000000" />
    <rom name="tet1rom2u.11" merge="tet1rom2u.11" size="4194304" crc="75eb2ab3" sha1="dee43884e542391903f6aaae2c166e7921a86fb4" region="bankedroms" offset="1000001" />
    <rom name="tet1verafl3l.12" size="2097152" crc="64fa1f83" sha1="5bc8b4657826ead19827f63d04f67597970d5337" region="bankedroms" offset="1800000" />
    <rom name="tet1verafl3u.13" size="2097152" crc="32a2516b" sha1="6f4e4fc1b11d17a867d3e7bdfdd351438390a5a2" region="bankedroms" offset="1800001" />
    <rom name="tet1vera.11s" size="524288" crc="a74dfe7f" sha1="854096a6f12ee9073fb1f38e41c8e6e0725a7521" region="sub" offset="0" />
    <rom name="tet1wave0.5" merge="tet1wave0.5" size="4194304" crc="77ba7975" sha1="fe9434dcf0fb232c85efaaae1b4b13d36099620a" region="c352" offset="0" />
    <rom name="tet1wave1.4" merge="tet1wave1.4" size="4194304" crc="ffeba79f" sha1="941412bbe9d0305d9a23c224c1bb774c4321f6df" region="c352" offset="400000" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="tekken3je1" sourcefile="namcos12.cpp" cloneof="tekken3" romof="tekken3">
    <description>Tekken 3 (Japan, TET1/VER.E1)</description>
    <year>1996</year>
    <manufacturer>Namco</manufacturer>
    <rom name="tet1vere1.2e" size="2097152" crc="8b01113b" sha1="45fdfd58293641ed16bc59c633a85a9cf64ccbaf" region="maincpu:rom" offset="0" />
    <rom name="tet1vere1.2j" size="2097152" crc="df4c96fb" sha1="2e223045bf5b80ccf615106e869760c5b7aa8d44" region="maincpu:rom" offset="1" />
    <rom name="tet1rom0l.6" merge="tet1rom0l.6" size="4194304" crc="2886bb32" sha1="08ad9da2df25ad8c933a812ac238c81135072929" region="bankedroms" offset="0" />
    <rom name="tet1rom0u.9" merge="tet1rom0u.9" size="4194304" crc="c5705b92" sha1="20df20c8d18eb4712d565a3df9a8d9270dee6aaa" region="bankedroms" offset="1" />
    <rom name="tet1rom1l.7" merge="tet1rom1l.7" size="4194304" crc="0397d283" sha1="ebafcd14cdb2601214129a84fc6830846f5cd274" region="bankedroms" offset="800000" />
    <rom name="tet1rom1u.10" merge="tet1rom1u.10" size="4194304" crc="502ba5cd" sha1="19c1282245c6dbfc945c0bd0f3918968c3e5c3ed" region="bankedroms" offset="800001" />
    <rom name="tet1rom2l.8" merge="tet1rom2l.8" size="4194304" crc="e03b1c24" sha1="8579b95a8fd06b7d2893ff88b228fd794162dff1" region="bankedroms" offset="1000000" />
    <rom name="tet1rom2u.11" merge="tet1rom2u.11" size="4194304" crc="75eb2ab3" sha1="dee43884e542391903f6aaae2c166e7921a86fb4" region="bankedroms" offset="1000001" />
    <rom name="tet1fl3l.12" merge="tet1fl3l.12" size="2097152" crc="45513073" sha1="8a36f58ee2d292b50e00c6bf275f9def358032d8" region="bankedroms" offset="1800000" />
    <rom name="tet1fl3u.13" merge="tet1fl3u.13" size="2097152" crc="1917d993" sha1="cabc44514a3e62a18a7f8f883603241447d6948b" region="bankedroms" offset="1800001" />
    <rom name="tet1verb.11s" merge="tet1verb.11s" size="524288" crc="c92b98d1" sha1="8ae6fba8c5b6b9a2ab9541eac8553b282f35750d" region="sub" offset="0" />
    <rom name="tet1wave0.5" merge="tet1wave0.5" size="4194304" crc="77ba7975" sha1="fe9434dcf0fb232c85efaaae1b4b13d36099620a" region="c352" offset="0" />
    <rom name="tet1wave1.4" merge="tet1wave1.4" size="4194304" crc="ffeba79f" sha1="941412bbe9d0305d9a23c224c1bb774c4321f6df" region="c352" offset="400000" />
    <rom name="cl1-iob.ic5" size="262144" crc="abb90360" sha1="d938b1e1ae596d0ab1007352f61b0b800363c762" region="cabinet_io" offset="0" />
    <rom name="cl1-leda.ic5" size="262144" crc="43602a58" sha1="64156ded8c43dbbe84b5d6ae13a068c8b18e8aed" region="cabinet_io" offset="0" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="tekken3ua" sourcefile="namcos12.cpp" cloneof="tekken3" romof="tekken3">
    <description>Tekken 3 (US, TET3/VER.A)</description>
    <year>1996</year>
    <manufacturer>Namco</manufacturer>
    <rom name="tet3vera.2e" size="2097152" crc="2fb6fac2" sha1="518f74f09fa879cc1507c6afa2dd922b38cecd55" region="maincpu:rom" offset="0" />
    <rom name="tet3vera.2j" size="2097152" crc="968af792" sha1="6187128d5ca07fd394f674b8dda0c190e6cd7f9d" region="maincpu:rom" offset="1" />
    <rom name="tet1rom0l.6" merge="tet1rom0l.6" size="4194304" crc="2886bb32" sha1="08ad9da2df25ad8c933a812ac238c81135072929" region="bankedroms" offset="0" />
    <rom name="tet1rom0u.9" merge="tet1rom0u.9" size="4194304" crc="c5705b92" sha1="20df20c8d18eb4712d565a3df9a8d9270dee6aaa" region="bankedroms" offset="1" />
    <rom name="tet1rom1l.7" merge="tet1rom1l.7" size="4194304" crc="0397d283" sha1="ebafcd14cdb2601214129a84fc6830846f5cd274" region="bankedroms" offset="800000" />
    <rom name="tet1rom1u.10" merge="tet1rom1u.10" size="4194304" crc="502ba5cd" sha1="19c1282245c6dbfc945c0bd0f3918968c3e5c3ed" region="bankedroms" offset="800001" />
    <rom name="tet1rom2l.8" merge="tet1rom2l.8" size="4194304" crc="e03b1c24" sha1="8579b95a8fd06b7d2893ff88b228fd794162dff1" region="bankedroms" offset="1000000" />
    <rom name="tet1rom2u.11" merge="tet1rom2u.11" size="4194304" crc="75eb2ab3" sha1="dee43884e542391903f6aaae2c166e7921a86fb4" region="bankedroms" offset="1000001" />
    <rom name="tet1verafl3l.12" size="2097152" crc="64fa1f83" sha1="5bc8b4657826ead19827f63d04f67597970d5337" region="bankedroms" offset="1800000" />
    <rom name="tet1verafl3u.13" size="2097152" crc="32a2516b" sha1="6f4e4fc1b11d17a867d3e7bdfdd351438390a5a2" region="bankedroms" offset="1800001" />
    <rom name="tet1vera.11s" size="524288" crc="a74dfe7f" sha1="854096a6f12ee9073fb1f38e41c8e6e0725a7521" region="sub" offset="0" />
    <rom name="tet1wave0.5" merge="tet1wave0.5" size="4194304" crc="77ba7975" sha1="fe9434dcf0fb232c85efaaae1b4b13d36099620a" region="c352" offset="0" />
    <rom name="tet1wave1.4" merge="tet1wave1.4" size="4194304" crc="ffeba79f" sha1="941412bbe9d0305d9a23c224c1bb774c4321f6df" region="c352" offset="400000" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="tekken3ud" sourcefile="namcos12.cpp" cloneof="tekken3" romof="tekken3">
    <description>Tekken 3 (US, TET3/VER.D)</description>
    <year>1996</year>
    <manufacturer>Namco</manufacturer>
    <rom name="tet3verd.2e" size="2097152" crc="9056a8d1" sha1="08269de80361672f1a193e5cdcd0d4571b746a85" region="maincpu:rom" offset="0" />
    <rom name="tet3verd.2j" size="2097152" crc="60ae06f4" sha1="898355cc6bae4745b6b9913e34d50fe2a00f1c2c" region="maincpu:rom" offset="1" />
    <rom name="tet1rom0l.6" merge="tet1rom0l.6" size="4194304" crc="2886bb32" sha1="08ad9da2df25ad8c933a812ac238c81135072929" region="bankedroms" offset="0" />
    <rom name="tet1rom0u.9" merge="tet1rom0u.9" size="4194304" crc="c5705b92" sha1="20df20c8d18eb4712d565a3df9a8d9270dee6aaa" region="bankedroms" offset="1" />
    <rom name="tet1rom1l.7" merge="tet1rom1l.7" size="4194304" crc="0397d283" sha1="ebafcd14cdb2601214129a84fc6830846f5cd274" region="bankedroms" offset="800000" />
    <rom name="tet1rom1u.10" merge="tet1rom1u.10" size="4194304" crc="502ba5cd" sha1="19c1282245c6dbfc945c0bd0f3918968c3e5c3ed" region="bankedroms" offset="800001" />
    <rom name="tet1rom2l.8" merge="tet1rom2l.8" size="4194304" crc="e03b1c24" sha1="8579b95a8fd06b7d2893ff88b228fd794162dff1" region="bankedroms" offset="1000000" />
    <rom name="tet1rom2u.11" merge="tet1rom2u.11" size="4194304" crc="75eb2ab3" sha1="dee43884e542391903f6aaae2c166e7921a86fb4" region="bankedroms" offset="1000001" />
    <rom name="tet1fl3l.12" merge="tet1fl3l.12" size="2097152" crc="45513073" sha1="8a36f58ee2d292b50e00c6bf275f9def358032d8" region="bankedroms" offset="1800000" />
    <rom name="tet1fl3u.13" merge="tet1fl3u.13" size="2097152" crc="1917d993" sha1="cabc44514a3e62a18a7f8f883603241447d6948b" region="bankedroms" offset="1800001" />
    <rom name="tet1verb.11s" merge="tet1verb.11s" size="524288" crc="c92b98d1" sha1="8ae6fba8c5b6b9a2ab9541eac8553b282f35750d" region="sub" offset="0" />
    <rom name="tet1wave0.5" merge="tet1wave0.5" size="4194304" crc="77ba7975" sha1="fe9434dcf0fb232c85efaaae1b4b13d36099620a" region="c352" offset="0" />
    <rom name="tet1wave1.4" merge="tet1wave1.4" size="4194304" crc="ffeba79f" sha1="941412bbe9d0305d9a23c224c1bb774c4321f6df" region="c352" offset="400000" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="tektagt" sourcefile="namcos12.cpp">
    <description>Tekken Tag Tournament (World, TEG2/VER.C1, set 1)</description>
    <year>1999</year>
    <manufacturer>Namco</manufacturer>
    <rom name="teg2verc1.2e" size="2097152" crc="c6da0717" sha1="9e01ae64710d85eb9899d6fa6fd0a2152aee8c11" region="maincpu:rom" offset="0" />
    <rom name="teg2verc1.2j" size="2097152" crc="25a1d2ff" sha1="529a11a1bbb8655534d7ec371f1c09e9e387ed11" region="maincpu:rom" offset="1" />
    <rom name="teg1rom0e.9" size="8388608" crc="c962a373" sha1="d662dbd89ef62c5ac3150a018fc2d35ef2ee94ac" region="bankedroms" offset="0" />
    <rom name="teg1rom0o.13" size="8388608" crc="badb7dcf" sha1="8c0bf7f6351c5a2a0996df371a901cf90c68cd8c" region="bankedroms" offset="2" />
    <rom name="teg1rom1e.10" size="8388608" crc="b3d56124" sha1="4df20c74ba63f7362caf15e9b8949fab655704fb" region="bankedroms" offset="1000000" />
    <rom name="teg1rom1o.14" size="8388608" crc="2434ceb6" sha1="f19f1599acbd6fd48793a2ee5a500ca817d9df56" region="bankedroms" offset="1000002" />
    <rom name="teg1rom2e.11" size="8388608" crc="6e5c3428" sha1="e3cdb60a4445406877b2e273385f34bfb0974220" region="bankedroms" offset="2000000" />
    <rom name="teg1rom2o.15" size="8388608" crc="21ce9dfa" sha1="f27e8210ee236c327aa3e1ce4dd408abc6580a1b" region="bankedroms" offset="2000002" />
    <rom name="teg_flel.4" size="2097152" crc="88b3823c" sha1="6f31acb642c57daccbfdb87b790037e261c8c73c" region="bankedroms" offset="3000000" />
    <rom name="teg_fleu.5" size="2097152" crc="36df0867" sha1="6bec8560ad4c122dc909daa83aa9089ba5b281f7" region="bankedroms" offset="3000001" />
    <rom name="teg_flol.6" size="2097152" crc="03a76765" sha1="ae35ae28375f2a3e52d72b77ec09750c326cc269" region="bankedroms" offset="3000002" />
    <rom name="teg_flou.7" size="2097152" crc="6d6947d1" sha1="2f307bc4070fadb510c0473bc91d917b2d845ca5" region="bankedroms" offset="3000003" />
    <rom name="teg1.11s" size="524288" crc="67d0c469" sha1="da164702fc21b9f46a9e32c89e7b1d36070ddf79" region="sub" offset="0" />
    <rom name="teg1wave0.1" size="8388608" crc="4bd99104" sha1="f76b0576cc28fe49d3c1c402988b933933e52e15" region="c352" offset="0" />
    <rom name="teg1wave1.12" size="8388608" crc="dbc74fff" sha1="601b7e7361ea744b34e3fa1fc39d88641de7f4c6" region="c352" offset="800000" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="tektagtc1" sourcefile="namcos12.cpp" cloneof="tektagt" romof="tektagt">
    <description>Tekken Tag Tournament (World, TEG2/VER.C1, set 2)</description>
    <year>1999</year>
    <manufacturer>Namco</manufacturer>
    <rom name="teg2ver_c1.2e" size="2097152" crc="c0800960" sha1="80fc8910ebb2399b3be3c9ea87cc1d9283b42676" region="maincpu:rom" offset="0" />
    <rom name="teg2ver_c1.2j" size="2097152" crc="c0476713" sha1="e51e4f3cd20ad6838fb05aaede0ab288e145e7a2" region="maincpu:rom" offset="1" />
    <rom name="teg2roml0" size="4194304" crc="cf984e85" sha1="4d8296998b5f225b3f20bfdcb092a64b6e1fa76e" region="bankedroms" offset="0" />
    <rom name="teg2roml00.ic13" size="4194304" crc="927723a5" sha1="075aaca1700c9134496eb9a73cbe325ddc74eae1" region="bankedroms" offset="2" />
    <rom name="teg2romh0" size="4194304" crc="ea088657" sha1="fbacca78832f68a310bafd06188d645e3424e0ed" region="bankedroms" offset="800000" />
    <rom name="teg2romh00" size="4194304" crc="a85aa306" sha1="07318133c7c48cb61590ed0eceb519a8cc1ca781" region="bankedroms" offset="800002" />
    <rom name="teg2roml1" size="4194304" crc="8552f0ef" sha1="45ed0dacdad94e708260a98b9cd47861543d2b7a" region="bankedroms" offset="1000000" />
    <rom name="teg2roml10.ic14" size="4194304" crc="13eb424b" sha1="59d6c77136050de1e7250e6627636d5b178bb8a8" region="bankedroms" offset="1000002" />
    <rom name="teg2romh1" size="4194304" crc="86eb5abe" sha1="66a3807a18d81e8291baf56533694f60e31a6367" region="bankedroms" offset="1800000" />
    <rom name="teg2romh10" size="4194304" crc="25131a87" sha1="77fa236c4879a59323bc2dac26c195b7c47f812c" region="bankedroms" offset="1800002" />
    <rom name="teg2roml2" size="4194304" crc="abdfc6ca" sha1="70033becd29ea15611be2fc099a43712181bcbec" region="bankedroms" offset="2000000" />
    <rom name="teg2roml20.ic15" size="4194304" crc="ed5ec7f7" sha1="c91085a64ced95ee6618303987de61893e069742" region="bankedroms" offset="2000002" />
    <rom name="teg2romh2" size="4194304" crc="8c03b301" sha1="f395a4685e2deb8f7e9afc18ce15fa0d392b0cfa" region="bankedroms" offset="2800000" />
    <rom name="teg2romh20" size="4194304" crc="c873c362" sha1="d95451a7477b716c0d75ba04e1d8df3d8a4e10dd" region="bankedroms" offset="2800002" />
    <rom name="teg2rf4" size="4194304" crc="612f6a37" sha1="bd9597ef802e3c46f891f0ef523a3e0b0fe22672" region="bankedroms" offset="3000000" />
    <rom name="teg2rf6" size="4194304" crc="0c9292ce" sha1="664c6ccf18042ed8ebc29b1781ae7454acb05ba1" region="bankedroms" offset="3000002" />
    <rom name="teg1.11s" merge="teg1.11s" size="524288" crc="67d0c469" sha1="da164702fc21b9f46a9e32c89e7b1d36070ddf79" region="sub" offset="0" />
    <rom name="teg2wavel0.ic12" size="4194304" crc="1865336f" sha1="deda6d129daf709b0316f6260e67613fbf849e57" region="c352" offset="0" />
    <rom name="teg2wavel1" size="4194304" crc="f5ab70e6" sha1="cdb62d8eb92ca961be684caf768d1961d98ece22" region="c352" offset="400000" />
    <rom name="teg2waveh0" size="4194304" crc="bc0325bf" sha1="77059c300a9d53d0e97bb898a06c58076078d7d2" region="c352" offset="800000" />
    <rom name="teg2waveh1" size="4194304" crc="6c654921" sha1="3849157b30b4b459956b823511551abda2e4b6e5" region="c352" offset="c00000" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="tektagtja" sourcefile="namcos12.cpp" cloneof="tektagt" romof="tektagt">
    <description>Tekken Tag Tournament (Japan, TEG1/VER.A3)</description>
    <year>1999</year>
    <manufacturer>Namco</manufacturer>
    <rom name="teg1vera.2e" size="2097152" crc="17c4bf36" sha1="abf2dfb3e35344cf4449ade6e63b36c590d9c131" region="maincpu:rom" offset="0" />
    <rom name="teg1vera.2j" size="2097152" crc="97cd9524" sha1="8031cb465db378a6d9db9b132cf1169b94cba7dc" region="maincpu:rom" offset="1" />
    <rom name="teg1rom0e.9" merge="teg1rom0e.9" size="8388608" crc="c962a373" sha1="d662dbd89ef62c5ac3150a018fc2d35ef2ee94ac" region="bankedroms" offset="0" />
    <rom name="teg1rom0o.13" merge="teg1rom0o.13" size="8388608" crc="badb7dcf" sha1="8c0bf7f6351c5a2a0996df371a901cf90c68cd8c" region="bankedroms" offset="2" />
    <rom name="teg1rom1e.10" merge="teg1rom1e.10" size="8388608" crc="b3d56124" sha1="4df20c74ba63f7362caf15e9b8949fab655704fb" region="bankedroms" offset="1000000" />
    <rom name="teg1rom1o.14" merge="teg1rom1o.14" size="8388608" crc="2434ceb6" sha1="f19f1599acbd6fd48793a2ee5a500ca817d9df56" region="bankedroms" offset="1000002" />
    <rom name="teg1rom2e.11" merge="teg1rom2e.11" size="8388608" crc="6e5c3428" sha1="e3cdb60a4445406877b2e273385f34bfb0974220" region="bankedroms" offset="2000000" />
    <rom name="teg1rom2o.15" merge="teg1rom2o.15" size="8388608" crc="21ce9dfa" sha1="f27e8210ee236c327aa3e1ce4dd408abc6580a1b" region="bankedroms" offset="2000002" />
    <rom name="teg1flel.4" size="2097152" status="nodump" region="bankedroms" offset="3000000" />
    <rom name="teg1fleu.5" size="2097152" status="nodump" region="bankedroms" offset="3000001" />
    <rom name="teg1flol.6" size="2097152" status="nodump" region="bankedroms" offset="3000002" />
    <rom name="teg1flou.7" size="2097152" status="nodump" region="bankedroms" offset="3000003" />
    <rom name="teg1.11s" merge="teg1.11s" size="524288" crc="67d0c469" sha1="da164702fc21b9f46a9e32c89e7b1d36070ddf79" region="sub" offset="0" />
    <rom name="teg1wave0.1" merge="teg1wave0.1" size="8388608" crc="4bd99104" sha1="f76b0576cc28fe49d3c1c402988b933933e52e15" region="c352" offset="0" />
    <rom name="teg1wave1.12" merge="teg1wave1.12" size="8388608" crc="dbc74fff" sha1="601b7e7361ea744b34e3fa1fc39d88641de7f4c6" region="c352" offset="800000" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="preliminary" emulation="preliminary" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="tektagtjb" sourcefile="namcos12.cpp" cloneof="tektagt" romof="tektagt">
    <description>Tekken Tag Tournament (Japan, TEG1/VER.B)</description>
    <year>1999</year>
    <manufacturer>Namco</manufacturer>
    <rom name="teg1verb.2e" size="2097152" crc="ca6c305f" sha1="264a85566b74f544fe63a01332d92c65d23b6608" region="maincpu:rom" offset="0" />
    <rom name="teg1verb.2j" size="2097152" crc="5413e2ed" sha1="d453f7932654d8258c67eb7fe3639d71db7e414c" region="maincpu:rom" offset="1" />
    <rom name="teg1rom0e.9" merge="teg1rom0e.9" size="8388608" crc="c962a373" sha1="d662dbd89ef62c5ac3150a018fc2d35ef2ee94ac" region="bankedroms" offset="0" />
    <rom name="teg1rom0o.13" merge="teg1rom0o.13" size="8388608" crc="badb7dcf" sha1="8c0bf7f6351c5a2a0996df371a901cf90c68cd8c" region="bankedroms" offset="2" />
    <rom name="teg1rom1e.10" merge="teg1rom1e.10" size="8388608" crc="b3d56124" sha1="4df20c74ba63f7362caf15e9b8949fab655704fb" region="bankedroms" offset="1000000" />
    <rom name="teg1rom1o.14" merge="teg1rom1o.14" size="8388608" crc="2434ceb6" sha1="f19f1599acbd6fd48793a2ee5a500ca817d9df56" region="bankedroms" offset="1000002" />
    <rom name="teg1rom2e.11" merge="teg1rom2e.11" size="8388608" crc="6e5c3428" sha1="e3cdb60a4445406877b2e273385f34bfb0974220" region="bankedroms" offset="2000000" />
    <rom name="teg1rom2o.15" merge="teg1rom2o.15" size="8388608" crc="21ce9dfa" sha1="f27e8210ee236c327aa3e1ce4dd408abc6580a1b" region="bankedroms" offset="2000002" />
    <rom name="teg1flel.4" size="2097152" status="nodump" region="bankedroms" offset="3000000" />
    <rom name="teg1fleu.5" size="2097152" status="nodump" region="bankedroms" offset="3000001" />
    <rom name="teg1flol.6" size="2097152" status="nodump" region="bankedroms" offset="3000002" />
    <rom name="teg1flou.7" size="2097152" status="nodump" region="bankedroms" offset="3000003" />
    <rom name="teg1.11s" merge="teg1.11s" size="524288" crc="67d0c469" sha1="da164702fc21b9f46a9e32c89e7b1d36070ddf79" region="sub" offset="0" />
    <rom name="teg1wave0.1" merge="teg1wave0.1" size="8388608" crc="4bd99104" sha1="f76b0576cc28fe49d3c1c402988b933933e52e15" region="c352" offset="0" />
    <rom name="teg1wave1.12" merge="teg1wave1.12" size="8388608" crc="dbc74fff" sha1="601b7e7361ea744b34e3fa1fc39d88641de7f4c6" region="c352" offset="800000" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="preliminary" emulation="preliminary" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="tektagtjc1" sourcefile="namcos12.cpp" cloneof="tektagt" romof="tektagt">
    <description>Tekken Tag Tournament (Japan, TEG1/VER.C1)</description>
    <year>1999</year>
    <manufacturer>Namco</manufacturer>
    <rom name="teg1verc1.2e" size="2097152" crc="1d631391" sha1="325d211237461af6e105374ddb74441e68b470af" region="maincpu:rom" offset="0" />
    <rom name="teg1verc1.2j" size="2097152" crc="4ece9b9a" sha1="7091dadfe3a2954e684fcc9e5a3337ecd26609f6" region="maincpu:rom" offset="1" />
    <rom name="teg1_rom0e.ic9" merge="teg1rom0e.9" size="8388608" crc="c962a373" sha1="d662dbd89ef62c5ac3150a018fc2d35ef2ee94ac" status="baddump" region="bankedroms" offset="0" />
    <rom name="teg1_rom0o.ic13" merge="teg1rom0o.13" size="8388608" crc="badb7dcf" sha1="8c0bf7f6351c5a2a0996df371a901cf90c68cd8c" status="baddump" region="bankedroms" offset="2" />
    <rom name="teg1_rom1e.ic10" merge="teg1rom1e.10" size="8388608" crc="b3d56124" sha1="4df20c74ba63f7362caf15e9b8949fab655704fb" status="baddump" region="bankedroms" offset="1000000" />
    <rom name="teg1_rom1o.ic14" merge="teg1rom1o.14" size="8388608" crc="2434ceb6" sha1="f19f1599acbd6fd48793a2ee5a500ca817d9df56" status="baddump" region="bankedroms" offset="1000002" />
    <rom name="teg1_rom2e.ic11" merge="teg1rom2e.11" size="8388608" crc="6e5c3428" sha1="e3cdb60a4445406877b2e273385f34bfb0974220" status="baddump" region="bankedroms" offset="2000000" />
    <rom name="teg1_rom2o.ic15" merge="teg1rom2o.15" size="8388608" crc="21ce9dfa" sha1="f27e8210ee236c327aa3e1ce4dd408abc6580a1b" status="baddump" region="bankedroms" offset="2000002" />
    <rom name="flel.ic4" size="2097152" crc="daa240f8" sha1="ead16b4686c6a4abfc30022f5c1aa3969907d4cc" region="bankedroms" offset="3000000" />
    <rom name="fleu.ic5" size="2097152" crc="a8786812" sha1="40c80db0066f9a1f4e0eb06708344b0485c5e734" region="bankedroms" offset="3000001" />
    <rom name="flou.ic6" size="2097152" crc="e5b52780" sha1="ff81278bed4e571f9ed4ee4f7d8aa810f56f9676" region="bankedroms" offset="3000002" />
    <rom name="flou.ic7" size="2097152" crc="75894a07" sha1="ee36dded4c78b0bddd4904eceabc0f0f2ca5cf07" region="bankedroms" offset="3000003" />
    <rom name="teg1verb.11s" merge="teg1.11s" size="524288" crc="67d0c469" sha1="da164702fc21b9f46a9e32c89e7b1d36070ddf79" region="sub" offset="0" />
    <rom name="teg1_wave0.ic1" merge="teg1wave0.1" size="8388608" crc="4bd99104" sha1="f76b0576cc28fe49d3c1c402988b933933e52e15" region="c352" offset="0" />
    <rom name="teg1_wave1.ic12" merge="teg1wave1.12" size="8388608" crc="dbc74fff" sha1="601b7e7361ea744b34e3fa1fc39d88641de7f4c6" region="c352" offset="800000" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="preliminary" emulation="preliminary" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="tektagtub" sourcefile="namcos12.cpp" cloneof="tektagt" romof="tektagt">
    <description>Tekken Tag Tournament (US, TEG3/VER.B)</description>
    <year>1999</year>
    <manufacturer>Namco</manufacturer>
    <rom name="teg3verb.2l" size="2097152" crc="97df2855" sha1="c1b61df8e79348424f4bd2660ab5179ef21bdb07" region="maincpu:rom" offset="0" />
    <rom name="teg3verb.2p" size="2097152" crc="1dbe7591" sha1="af464caa03fdd12024ad482e9c853a36510bfba7" region="maincpu:rom" offset="1" />
    <rom name="teg1rom0e.9" merge="teg1rom0e.9" size="8388608" crc="c962a373" sha1="d662dbd89ef62c5ac3150a018fc2d35ef2ee94ac" region="bankedroms" offset="0" />
    <rom name="teg1rom0o.13" merge="teg1rom0o.13" size="8388608" crc="badb7dcf" sha1="8c0bf7f6351c5a2a0996df371a901cf90c68cd8c" region="bankedroms" offset="2" />
    <rom name="teg1rom1e.10" merge="teg1rom1e.10" size="8388608" crc="b3d56124" sha1="4df20c74ba63f7362caf15e9b8949fab655704fb" region="bankedroms" offset="1000000" />
    <rom name="teg1rom1o.14" merge="teg1rom1o.14" size="8388608" crc="2434ceb6" sha1="f19f1599acbd6fd48793a2ee5a500ca817d9df56" region="bankedroms" offset="1000002" />
    <rom name="teg1rom2e.11" merge="teg1rom2e.11" size="8388608" crc="6e5c3428" sha1="e3cdb60a4445406877b2e273385f34bfb0974220" region="bankedroms" offset="2000000" />
    <rom name="teg1rom2o.15" merge="teg1rom2o.15" size="8388608" crc="21ce9dfa" sha1="f27e8210ee236c327aa3e1ce4dd408abc6580a1b" region="bankedroms" offset="2000002" />
    <rom name="teg_flel.4" merge="teg_flel.4" size="2097152" crc="88b3823c" sha1="6f31acb642c57daccbfdb87b790037e261c8c73c" region="bankedroms" offset="3000000" />
    <rom name="teg_fleu.5" merge="teg_fleu.5" size="2097152" crc="36df0867" sha1="6bec8560ad4c122dc909daa83aa9089ba5b281f7" region="bankedroms" offset="3000001" />
    <rom name="teg_flol.6" merge="teg_flol.6" size="2097152" crc="03a76765" sha1="ae35ae28375f2a3e52d72b77ec09750c326cc269" region="bankedroms" offset="3000002" />
    <rom name="teg_flou.7" merge="teg_flou.7" size="2097152" crc="6d6947d1" sha1="2f307bc4070fadb510c0473bc91d917b2d845ca5" region="bankedroms" offset="3000003" />
    <rom name="teg1.11s" merge="teg1.11s" size="524288" crc="67d0c469" sha1="da164702fc21b9f46a9e32c89e7b1d36070ddf79" region="sub" offset="0" />
    <rom name="teg1wave0.1" merge="teg1wave0.1" size="8388608" crc="4bd99104" sha1="f76b0576cc28fe49d3c1c402988b933933e52e15" region="c352" offset="0" />
    <rom name="teg1wave1.12" merge="teg1wave1.12" size="8388608" crc="dbc74fff" sha1="601b7e7361ea744b34e3fa1fc39d88641de7f4c6" region="c352" offset="800000" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="tektagtuc1" sourcefile="namcos12.cpp" cloneof="tektagt" romof="tektagt">
    <description>Tekken Tag Tournament (US, TEG3/VER.C1)</description>
    <year>1999</year>
    <manufacturer>Namco</manufacturer>
    <rom name="teg3verc1.2l" size="2097152" crc="1efb7b85" sha1="0623bb6571caf046ff7b4f83f11ee84a92c4b462" region="maincpu:rom" offset="0" />
    <rom name="teg3verc1.2p" size="2097152" crc="7caef9b2" sha1="5c56d69ba2f723d0a4fbe4902196efc6ba9d5094" region="maincpu:rom" offset="1" />
    <rom name="teg1rom0e.9" merge="teg1rom0e.9" size="8388608" crc="c962a373" sha1="d662dbd89ef62c5ac3150a018fc2d35ef2ee94ac" region="bankedroms" offset="0" />
    <rom name="teg1rom0o.13" merge="teg1rom0o.13" size="8388608" crc="badb7dcf" sha1="8c0bf7f6351c5a2a0996df371a901cf90c68cd8c" region="bankedroms" offset="2" />
    <rom name="teg1rom1e.10" merge="teg1rom1e.10" size="8388608" crc="b3d56124" sha1="4df20c74ba63f7362caf15e9b8949fab655704fb" region="bankedroms" offset="1000000" />
    <rom name="teg1rom1o.14" merge="teg1rom1o.14" size="8388608" crc="2434ceb6" sha1="f19f1599acbd6fd48793a2ee5a500ca817d9df56" region="bankedroms" offset="1000002" />
    <rom name="teg1rom2e.11" merge="teg1rom2e.11" size="8388608" crc="6e5c3428" sha1="e3cdb60a4445406877b2e273385f34bfb0974220" region="bankedroms" offset="2000000" />
    <rom name="teg1rom2o.15" merge="teg1rom2o.15" size="8388608" crc="21ce9dfa" sha1="f27e8210ee236c327aa3e1ce4dd408abc6580a1b" region="bankedroms" offset="2000002" />
    <rom name="teg_flel.4" merge="teg_flel.4" size="2097152" crc="88b3823c" sha1="6f31acb642c57daccbfdb87b790037e261c8c73c" region="bankedroms" offset="3000000" />
    <rom name="teg_fleu.5" merge="teg_fleu.5" size="2097152" crc="36df0867" sha1="6bec8560ad4c122dc909daa83aa9089ba5b281f7" region="bankedroms" offset="3000001" />
    <rom name="teg_flol.6" merge="teg_flol.6" size="2097152" crc="03a76765" sha1="ae35ae28375f2a3e52d72b77ec09750c326cc269" region="bankedroms" offset="3000002" />
    <rom name="teg_flou.7" merge="teg_flou.7" size="2097152" crc="6d6947d1" sha1="2f307bc4070fadb510c0473bc91d917b2d845ca5" region="bankedroms" offset="3000003" />
    <rom name="teg1.11s" merge="teg1.11s" size="524288" crc="67d0c469" sha1="da164702fc21b9f46a9e32c89e7b1d36070ddf79" region="sub" offset="0" />
    <rom name="teg1wave0.1" merge="teg1wave0.1" size="8388608" crc="4bd99104" sha1="f76b0576cc28fe49d3c1c402988b933933e52e15" region="c352" offset="0" />
    <rom name="teg1wave1.12" merge="teg1wave1.12" size="8388608" crc="dbc74fff" sha1="601b7e7361ea744b34e3fa1fc39d88641de7f4c6" region="c352" offset="800000" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="tenkomor" sourcefile="namcos12.cpp">
    <description>Tenkomori Shooting (World, TKM2/VER.A1)</description>
    <year>1998</year>
    <manufacturer>Namco</manufacturer>
    <rom name="tkm2vera.2e" size="2097152" crc="a9b81653" sha1="9199505019234140b0d89e199f0db307d5bcca02" region="maincpu:rom" offset="0" />
    <rom name="tkm2vera.2j" size="2097152" crc="28cff9ee" sha1="d1996d45cca3a9bbd6a7f39721b2ec9f3d052422" region="maincpu:rom" offset="1" />
    <rom name="tkm1rom0l.12" size="8388608" crc="dddebb39" sha1="44169b0c6be4d387e7b6087ce723476ee96b09b4" region="bankedroms" offset="0" />
    <rom name="tkm1rom0u.11" size="8388608" crc="dbcc3838" sha1="c4e11800c5e8122044914152227b8a29e9446c9d" region="bankedroms" offset="1" />
    <rom name="tkm1fl1l.9" size="2097152" crc="071ef722" sha1="7c0317b3bca2763dbbac5454901cd48a0b195edd" region="bankedroms" offset="1000000" />
    <rom name="tkm1fl1u.10" size="2097152" crc="580f8391" sha1="2205c80721631ea8016efbe6d79f5ea7d1924278" region="bankedroms" offset="1000001" />
    <rom name="tkm1fl2l.7" size="2097152" crc="bd54efe3" sha1="ff3573066ad2498a33ceabf378a3c69af11ee7db" region="bankedroms" offset="1400000" />
    <rom name="tkm1fl2u.8" size="2097152" crc="6e4e6320" sha1="8d220b0028cfc2f02eb34df41a5dbb23be3e7908" region="bankedroms" offset="1400001" />
    <rom name="tkm1fl3l.5" size="2097152" crc="a31ffb10" sha1="4f8e41e263611a7f9a63bd53ebee4e68ad0095e6" region="bankedroms" offset="1800000" />
    <rom name="tkm1fl3u.6" size="2097152" crc="bc566162" sha1="db40d28c57dbf1351adfa2dd740edbe0b897307f" region="bankedroms" offset="1800001" />
    <rom name="tkm1vera.11s" size="524288" crc="0b414dae" sha1="a8f77ae7ee0dc516cd9aaf944431a9a0c9dc7def" region="sub" offset="0" />
    <rom name="tkm1wave0.2" size="8388608" crc="6085387d" sha1="a2a55f6ebe9de2d5415a1c4f3ec7975af95b45b4" region="c352" offset="0" />
    <rom name="tkm1wave1.1" size="8388608" crc="7567796b" sha1="99e4b867477da2ccddfa9bebc4be84adc5cba53c" region="c352" offset="800000" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="90" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="tenkomorja" sourcefile="namcos12.cpp" cloneof="tenkomor" romof="tenkomor">
    <description>Tenkomori Shooting (Japan, TKM1/VER.A1)</description>
    <year>1998</year>
    <manufacturer>Namco</manufacturer>
    <rom name="tkm1vera.2e" size="2097152" crc="d4c89229" sha1="aba6686eef924868b3bd2142fd073303fe9c4042" region="maincpu:rom" offset="0" />
    <rom name="tkm1vera.2j" size="2097152" crc="a6bfcaf4" sha1="55dfa65e07a63a413f6eb47084e60b4fc32bcde5" region="maincpu:rom" offset="1" />
    <rom name="tkm1rom0l.12" merge="tkm1rom0l.12" size="8388608" crc="dddebb39" sha1="44169b0c6be4d387e7b6087ce723476ee96b09b4" region="bankedroms" offset="0" />
    <rom name="tkm1rom0u.11" merge="tkm1rom0u.11" size="8388608" crc="dbcc3838" sha1="c4e11800c5e8122044914152227b8a29e9446c9d" region="bankedroms" offset="1" />
    <rom name="tkm1fl1l.9" merge="tkm1fl1l.9" size="2097152" crc="071ef722" sha1="7c0317b3bca2763dbbac5454901cd48a0b195edd" region="bankedroms" offset="1000000" />
    <rom name="tkm1fl1u.10" merge="tkm1fl1u.10" size="2097152" crc="580f8391" sha1="2205c80721631ea8016efbe6d79f5ea7d1924278" region="bankedroms" offset="1000001" />
    <rom name="tkm1fl2l.7" merge="tkm1fl2l.7" size="2097152" crc="bd54efe3" sha1="ff3573066ad2498a33ceabf378a3c69af11ee7db" region="bankedroms" offset="1400000" />
    <rom name="tkm1fl2u.8" merge="tkm1fl2u.8" size="2097152" crc="6e4e6320" sha1="8d220b0028cfc2f02eb34df41a5dbb23be3e7908" region="bankedroms" offset="1400001" />
    <rom name="tkm1fl3l.5" merge="tkm1fl3l.5" size="2097152" crc="a31ffb10" sha1="4f8e41e263611a7f9a63bd53ebee4e68ad0095e6" region="bankedroms" offset="1800000" />
    <rom name="tkm1fl3u.6" merge="tkm1fl3u.6" size="2097152" crc="bc566162" sha1="db40d28c57dbf1351adfa2dd740edbe0b897307f" region="bankedroms" offset="1800001" />
    <rom name="tkm1vera.11s" merge="tkm1vera.11s" size="524288" crc="0b414dae" sha1="a8f77ae7ee0dc516cd9aaf944431a9a0c9dc7def" region="sub" offset="0" />
    <rom name="tkm1wave0.2" merge="tkm1wave0.2" size="8388608" crc="6085387d" sha1="a2a55f6ebe9de2d5415a1c4f3ec7975af95b45b4" region="c352" offset="0" />
    <rom name="tkm1wave1.1" merge="tkm1wave1.1" size="8388608" crc="7567796b" sha1="99e4b867477da2ccddfa9bebc4be84adc5cba53c" region="c352" offset="800000" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="90" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="toukon3" sourcefile="namcos12.cpp">
    <description>Shin Nihon Pro Wrestling Toukon Retsuden 3 Arcade Edition (Japan, TR1/VER.A)</description>
    <year>1997</year>
    <manufacturer>Namco / Tomy</manufacturer>
    <rom name="tr1vera.2e" size="2097152" crc="126ebb73" sha1="de429e335e03f2b5116fc50f556a5507475a0535" region="maincpu:rom" offset="0" />
    <rom name="tr1vera.2j" size="2097152" crc="2edb3ad2" sha1="d1d2d78b781c7f6fb5a201785295daa825ad057e" region="maincpu:rom" offset="1" />
    <rom name="tr1rom0l.6" size="4194304" crc="42946d26" sha1="dc7944cb6daceda41ecee7a4e3f549cba916ab87" region="bankedroms" offset="0" />
    <rom name="tr1rom0u.9" size="4194304" crc="e3cd0be0" sha1="f27d14cd086b5961be33e635662aca89a5e8c857" region="bankedroms" offset="1" />
    <rom name="tr1vera.11s" size="524288" crc="f9ecbd19" sha1="ad64f95ef85ee5c45dcf15217ea5adff61fddba6" region="sub" offset="0" />
    <rom name="tr1wave0.5" size="4194304" crc="07d10e55" sha1="3af8f7019a221981984741181b6be98e2315d441" region="c352" offset="0" />
    <rom name="tr1wave1.4" size="4194304" crc="34539cdd" sha1="afb7079c0f447fbda285a5b97a37c04baf26db75" region="c352" offset="400000" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="imperfect" emulation="good" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
  </machine>
  <machine name="truckk" sourcefile="namcos12.cpp">
    <description>Truck Kyosokyoku (Japan, TKK2/VER.A)</description>
    <year>2000</year>
    <manufacturer>Metro / Namco</manufacturer>
    <rom name="tkk2vera.2l" size="2097152" crc="321344e0" sha1="0273284d05707b76ca38fd160ef6f17572314a8b" region="maincpu:rom" offset="0" />
    <rom name="tkk2vera.2p" size="2097152" crc="a7b5e4ea" sha1="f11eefd80559b4d42318a920088b77bd67b70cc3" region="maincpu:rom" offset="1" />
    <rom name="tkk1rom0l.ic10" size="8388608" crc="5e1c8660" sha1="05fcfa9cc834f85c38e41610a32624464d67ee21" region="bankedroms" offset="0" />
    <rom name="tkk1rom0u.ic14" size="8388608" crc="ee4e6566" sha1="f3c7e227681003a3491a3996a90887e1091c0eed" region="bankedroms" offset="1" />
    <rom name="tkk1rom1l.ic11" size="8388608" crc="fde2863c" sha1="a01141df8c84730974c9f37fa2ee911e2f4e45f9" region="bankedroms" offset="1000000" />
    <rom name="tkk1rom1u.ic15" size="8388608" crc="e51a56d7" sha1="c5bad8df8edd5a5f352e5bf3bb93133503ca4ba0" region="bankedroms" offset="1000001" />
    <rom name="tkk1rom2l.ic12" size="8388608" crc="029cf107" sha1="30cbcf00ffb9c379c64718914874936ff32ed186" region="bankedroms" offset="2000000" />
    <rom name="tkk1rom2u.ic16" size="8388608" crc="30c426dd" sha1="2dae3d415715c779251c79006ea18e3bd14a1f51" region="bankedroms" offset="2000001" />
    <rom name="tkk1fl3l.ic4" size="2097152" crc="b0e98cb2" sha1="8c53037b8e20410a395db8d9bb9229b550ebf228" region="bankedroms" offset="3000000" />
    <rom name="tkk1fl3u.ic5" size="2097152" crc="16d9ede7" sha1="e989e0a6afbfca5e7ef81bf7c24e8e6b38a11eca" region="bankedroms" offset="3000001" />
    <rom name="tkk2vera.11s" size="524288" crc="d3d0a46a" sha1="20569462df49ad93ff1118b587d6d32edf9d851e" region="sub" offset="0" />
    <rom name="tkk1wave0.ic1" size="8388608" crc="037d3095" sha1="cc343bdd45d023c133964321e2df5cb1c91525ef" region="c352" offset="0" />
    <rom name="tkk1prg0.ic7" size="131072" crc="11fd9c31" sha1="068b8364ec0eb1e88f9f85f40b8b322876f6f3e2" region="iocpu" offset="0" />
    <disk name="tkk2-a" sha1="6b7c3686b22a508c44f67295b188504b757dd482" region="cdrom" index="0" writable="yes" />
    <device_ref name="h83002" />
    <device_ref name="h8h_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_dma" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_dma_channel" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8h_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <device_ref name="namco_settings" />
    <device_ref name="rtc4543" />
    <device_ref name="at28c16" />
    <device_ref name="speaker" />
    <device_ref name="speaker" />
    <device_ref name="c352" />
    <device_ref name="cxd8661r" />
    <device_ref name="psxirq" />
    <device_ref name="psxdma" />
    <device_ref name="psxmdec" />
    <device_ref name="psxrcnt" />
    <device_ref name="psxsio0" />
    <device_ref name="psxsio1" />
    <device_ref name="ram" />
    <device_ref name="cxd8654q" />
    <device_ref name="screen" />
    <device_ref name="h83334" />
    <device_ref name="h8_intc" />
    <device_ref name="h8_adc_3337" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_digital_port" />
    <device_ref name="h8_timer8_channel" />
    <device_ref name="h8_timer8_channel" />
    <device_ref name="h8_timer16" />
    <device_ref name="h8_timer16_channel" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_sci" />
    <device_ref name="h8_watchdog" />
    <chip type="cpu" tag="sub" name="Hitachi H8/3002" clock="16934400" />
    <chip type="cpu" tag="maincpu" name="Sony CXD8661R" clock="100000000" />
    <chip type="cpu" tag="iocpu" name="Hitachi H8/3334" clock="14745600" />
    <chip type="audio" tag="lspeaker" name="Speaker" />
    <chip type="audio" tag="rspeaker" name="Speaker" />
    <chip type="audio" tag="c352" name="Namco C352" clock="25401600" />
    <display tag="screen" type="raster" rotate="0" width="640" height="480" refresh="60.000000" />
    <sound channels="2" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="6" ways="8" />
      <control type="joy" player="2" buttons="6" ways="8" />
    </input>
    <dipswitch name="Freeze" tag="DSW" mask="64">
      <diplocation name="DIP SW2" number="2" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Service Mode" tag="DSW" mask="128">
      <diplocation name="DIP SW2" number="1" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":DSW" />
    <port tag=":IN0" />
    <port tag=":IN1" />
    <driver status="preliminary" emulation="preliminary" savestate="unsupported" />
    <feature type="graphics" overall="imperfect" />
    <feature type="sound" status="imperfect" />
  </machine>
</datafile>