<?xml version="1.0" encoding="utf-8"?>
<datafile>
  <header>
    <name>Sega System 18</name>
    <description>Sega System 18 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="astorm" sourcefile="segas18.cpp">
    <description>Alien Storm (World, 2 Players) (FD1094 317-0154)</description>
    <year>1990</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-13182.a6" size="262144" crc="e31f2a1c" sha1="690ee10c36e5bb6175470fb5564527e0e4a94d2c" region="maincpu" offset="0" />
    <rom name="epr-13181.a5" size="262144" crc="78cd3b26" sha1="a81b807c5da625d8e4648ae80c41e4ca3870c0fa" region="maincpu" offset="1" />
    <rom name="317-0154.key" size="8192" crc="b86b6b8f" sha1="869405383d563a3f3842c89462a7b2e184928532" region="maincpu:key" offset="0" />
    <rom name="epr-13073.bin" size="262144" crc="df5d0a61" sha1="79ad71de348f280bad847566c507b7a31f022292" region="gfx1" offset="0" />
    <rom name="epr-13074.bin" size="262144" crc="787afab8" sha1="a119042bb2dad54e9733bfba4eaab0ac5fc0f9e7" region="gfx1" offset="40000" />
    <rom name="epr-13075.bin" size="262144" crc="4e01b477" sha1="4178ce4a87ea427c3b0195e64acef6cddfb3485f" region="gfx1" offset="80000" />
    <rom name="mpr-13082.bin" size="262144" crc="a782b704" sha1="ba15bdfbc267b8d86f03e5310ce60846ff846de3" region="sprites" offset="1" />
    <rom name="mpr-13089.bin" size="262144" crc="2a4227f0" sha1="47284dce8f896f8e8eace9c20302842cacb479c1" region="sprites" offset="0" />
    <rom name="mpr-13081.bin" size="262144" crc="eb510228" sha1="4cd387b160ec7050e1300ebe708853742169e643" region="sprites" offset="80001" />
    <rom name="mpr-13088.bin" size="262144" crc="3b6b4c55" sha1="970495c54b3e1893ee8060f6ca1338c2cbbd1074" region="sprites" offset="80000" />
    <rom name="mpr-13080.bin" size="262144" crc="e668eefb" sha1="d4a087a238b4d3ac2d23fe148d6a73018e348a89" region="sprites" offset="100001" />
    <rom name="mpr-13087.bin" size="262144" crc="2293427d" sha1="4fd07763ff060afd594e3f64fa4750577f56c80e" region="sprites" offset="100000" />
    <rom name="epr-13079.bin" size="262144" crc="de9221ed" sha1="5e2e434d1aa547be1e5652fc906d2e18c5122023" region="sprites" offset="180001" />
    <rom name="epr-13086.bin" size="262144" crc="8c9a71c4" sha1="40b774765ac888792aad46b6351a24b7ef40d2dc" region="sprites" offset="180000" />
    <rom name="epr-13083a.bin" size="131072" crc="e7528e06" sha1="1f4e618692c20aeb316d578c5ded12440eb072ab" region="soundcpu" offset="0" />
    <rom name="epr-13076.bin" size="262144" crc="94e6c76e" sha1="f99e58a9bf372c41af211bd9b9ea3ac5b924c6ed" region="soundcpu" offset="80000" />
    <rom name="epr-13077.bin" size="262144" crc="e2ec0d8d" sha1="225b0d223b7282cba7710300a877fb4a2c6dbabb" region="soundcpu" offset="100000" />
    <rom name="epr-13078.bin" size="262144" crc="15684dc5" sha1="595051006de24f791dae937584e502ff2fa31d9c" region="soundcpu" offset="180000" />
    <device_ref name="fd1094" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <chip type="cpu" tag="maincpu" name="Hitachi FD1094 Encrypted CPU" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="joy" player="2" buttons="3" ways="8" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="2 Credits to Start" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Off" value="2" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="28">
      <diplocation name="SW2" number="3" />
      <diplocation name="SW2" number="4" />
      <diplocation name="SW2" number="5" />
      <dipvalue name="Easiest" value="4" />
      <dipvalue name="Easier" value="8" />
      <dipvalue name="Easy" value="12" />
      <dipvalue name="Normal" value="28" default="yes" />
      <dipvalue name="Hard" value="16" />
      <dipvalue name="Harder" value="20" />
      <dipvalue name="Hardest" value="24" />
      <dipvalue name="Special" value="0" />
    </dipswitch>
    <dipswitch name="Coin Chutes" tag="DSW" mask="32">
      <diplocation name="SW2" number="6" />
      <dipvalue name="2" value="32" default="yes" />
      <dipvalue name="1" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="64">
      <diplocation name="SW2" number="7" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="128">
      <diplocation name="SW2" number="8" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="astorm3" sourcefile="segas18.cpp" cloneof="astorm" romof="astorm">
    <description>Alien Storm (World, 3 Players) (FD1094 317-0148)</description>
    <year>1990</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-13165.a6" size="262144" crc="6efcd381" sha1="547c6703a34c3b9b887f5a63ec59a7055067bf3b" region="maincpu" offset="0" />
    <rom name="epr-13164.a5" size="262144" crc="97d693c6" sha1="1a9aa98b32aae9367ed897e6931b2633b11b079e" region="maincpu" offset="1" />
    <rom name="317-0148.key" size="8192" crc="72e4b64a" sha1="945580d0cf25691370e9f2056cdffc01331d54ad" region="maincpu:key" offset="0" />
    <rom name="epr-13073.bin" merge="epr-13073.bin" size="262144" crc="df5d0a61" sha1="79ad71de348f280bad847566c507b7a31f022292" region="gfx1" offset="0" />
    <rom name="epr-13074.bin" merge="epr-13074.bin" size="262144" crc="787afab8" sha1="a119042bb2dad54e9733bfba4eaab0ac5fc0f9e7" region="gfx1" offset="40000" />
    <rom name="epr-13075.bin" merge="epr-13075.bin" size="262144" crc="4e01b477" sha1="4178ce4a87ea427c3b0195e64acef6cddfb3485f" region="gfx1" offset="80000" />
    <rom name="mpr-13082.bin" merge="mpr-13082.bin" size="262144" crc="a782b704" sha1="ba15bdfbc267b8d86f03e5310ce60846ff846de3" region="sprites" offset="1" />
    <rom name="mpr-13089.bin" merge="mpr-13089.bin" size="262144" crc="2a4227f0" sha1="47284dce8f896f8e8eace9c20302842cacb479c1" region="sprites" offset="0" />
    <rom name="mpr-13081.bin" merge="mpr-13081.bin" size="262144" crc="eb510228" sha1="4cd387b160ec7050e1300ebe708853742169e643" region="sprites" offset="80001" />
    <rom name="mpr-13088.bin" merge="mpr-13088.bin" size="262144" crc="3b6b4c55" sha1="970495c54b3e1893ee8060f6ca1338c2cbbd1074" region="sprites" offset="80000" />
    <rom name="mpr-13080.bin" merge="mpr-13080.bin" size="262144" crc="e668eefb" sha1="d4a087a238b4d3ac2d23fe148d6a73018e348a89" region="sprites" offset="100001" />
    <rom name="mpr-13087.bin" merge="mpr-13087.bin" size="262144" crc="2293427d" sha1="4fd07763ff060afd594e3f64fa4750577f56c80e" region="sprites" offset="100000" />
    <rom name="epr-13079.bin" merge="epr-13079.bin" size="262144" crc="de9221ed" sha1="5e2e434d1aa547be1e5652fc906d2e18c5122023" region="sprites" offset="180001" />
    <rom name="epr-13086.bin" merge="epr-13086.bin" size="262144" crc="8c9a71c4" sha1="40b774765ac888792aad46b6351a24b7ef40d2dc" region="sprites" offset="180000" />
    <rom name="epr-13083.bin" size="131072" crc="5df3af20" sha1="e49105fcfd5bf37d14bd760f6adca5ce2412883d" region="soundcpu" offset="0" />
    <rom name="epr-13076.bin" merge="epr-13076.bin" size="262144" crc="94e6c76e" sha1="f99e58a9bf372c41af211bd9b9ea3ac5b924c6ed" region="soundcpu" offset="80000" />
    <rom name="epr-13077.bin" merge="epr-13077.bin" size="262144" crc="e2ec0d8d" sha1="225b0d223b7282cba7710300a877fb4a2c6dbabb" region="soundcpu" offset="100000" />
    <rom name="epr-13078.bin" merge="epr-13078.bin" size="262144" crc="15684dc5" sha1="595051006de24f791dae937584e502ff2fa31d9c" region="soundcpu" offset="180000" />
    <device_ref name="fd1094" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <chip type="cpu" tag="maincpu" name="Hitachi FD1094 Encrypted CPU" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="3" coins="3" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="joy" player="2" buttons="3" ways="8" />
      <control type="joy" player="3" buttons="3" ways="8" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="2 Credits to Start" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Off" value="2" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="28">
      <diplocation name="SW2" number="3" />
      <diplocation name="SW2" number="4" />
      <diplocation name="SW2" number="5" />
      <dipvalue name="Easiest" value="4" />
      <dipvalue name="Easier" value="8" />
      <dipvalue name="Easy" value="12" />
      <dipvalue name="Normal" value="28" default="yes" />
      <dipvalue name="Hard" value="16" />
      <dipvalue name="Harder" value="20" />
      <dipvalue name="Hardest" value="24" />
      <dipvalue name="Special" value="0" />
    </dipswitch>
    <dipswitch name="Coin Chutes" tag="DSW" mask="32">
      <diplocation name="SW2" number="6" />
      <dipvalue name="3" value="32" default="yes" />
      <dipvalue name="1" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="64">
      <diplocation name="SW2" number="7" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="128">
      <diplocation name="SW2" number="8" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="astorm3d" sourcefile="segas18.cpp" cloneof="astorm" romof="astorm">
    <description>Alien Storm (World, 3 Players) (bootleg of FD1094 317-0148 set)</description>
    <year>1990</year>
    <manufacturer>bootleg</manufacturer>
    <rom name="bootleg_epr-13165.a6" size="262144" crc="2a0dbff5" sha1="c58f999e0362ec88f2596cd8dbb405af64c90209" region="maincpu" offset="0" />
    <rom name="bootleg_epr-13164.a5" size="262144" crc="f981a183" sha1="5077a28ece7f2284e6fb98243776a5e64745303c" region="maincpu" offset="1" />
    <rom name="epr-13073.bin" merge="epr-13073.bin" size="262144" crc="df5d0a61" sha1="79ad71de348f280bad847566c507b7a31f022292" region="gfx1" offset="0" />
    <rom name="epr-13074.bin" merge="epr-13074.bin" size="262144" crc="787afab8" sha1="a119042bb2dad54e9733bfba4eaab0ac5fc0f9e7" region="gfx1" offset="40000" />
    <rom name="epr-13075.bin" merge="epr-13075.bin" size="262144" crc="4e01b477" sha1="4178ce4a87ea427c3b0195e64acef6cddfb3485f" region="gfx1" offset="80000" />
    <rom name="mpr-13082.bin" merge="mpr-13082.bin" size="262144" crc="a782b704" sha1="ba15bdfbc267b8d86f03e5310ce60846ff846de3" region="sprites" offset="1" />
    <rom name="mpr-13089.bin" merge="mpr-13089.bin" size="262144" crc="2a4227f0" sha1="47284dce8f896f8e8eace9c20302842cacb479c1" region="sprites" offset="0" />
    <rom name="mpr-13081.bin" merge="mpr-13081.bin" size="262144" crc="eb510228" sha1="4cd387b160ec7050e1300ebe708853742169e643" region="sprites" offset="80001" />
    <rom name="mpr-13088.bin" merge="mpr-13088.bin" size="262144" crc="3b6b4c55" sha1="970495c54b3e1893ee8060f6ca1338c2cbbd1074" region="sprites" offset="80000" />
    <rom name="mpr-13080.bin" merge="mpr-13080.bin" size="262144" crc="e668eefb" sha1="d4a087a238b4d3ac2d23fe148d6a73018e348a89" region="sprites" offset="100001" />
    <rom name="mpr-13087.bin" merge="mpr-13087.bin" size="262144" crc="2293427d" sha1="4fd07763ff060afd594e3f64fa4750577f56c80e" region="sprites" offset="100000" />
    <rom name="epr-13079.bin" merge="epr-13079.bin" size="262144" crc="de9221ed" sha1="5e2e434d1aa547be1e5652fc906d2e18c5122023" region="sprites" offset="180001" />
    <rom name="epr-13086.bin" merge="epr-13086.bin" size="262144" crc="8c9a71c4" sha1="40b774765ac888792aad46b6351a24b7ef40d2dc" region="sprites" offset="180000" />
    <rom name="epr-13083.bin" size="131072" crc="5df3af20" sha1="e49105fcfd5bf37d14bd760f6adca5ce2412883d" region="soundcpu" offset="0" />
    <rom name="epr-13076.bin" merge="epr-13076.bin" size="262144" crc="94e6c76e" sha1="f99e58a9bf372c41af211bd9b9ea3ac5b924c6ed" region="soundcpu" offset="80000" />
    <rom name="epr-13077.bin" merge="epr-13077.bin" size="262144" crc="e2ec0d8d" sha1="225b0d223b7282cba7710300a877fb4a2c6dbabb" region="soundcpu" offset="100000" />
    <rom name="epr-13078.bin" merge="epr-13078.bin" size="262144" crc="15684dc5" sha1="595051006de24f791dae937584e502ff2fa31d9c" region="soundcpu" offset="180000" />
    <device_ref name="m68000" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="3" coins="3" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="joy" player="2" buttons="3" ways="8" />
      <control type="joy" player="3" buttons="3" ways="8" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="2 Credits to Start" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Off" value="2" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="28">
      <diplocation name="SW2" number="3" />
      <diplocation name="SW2" number="4" />
      <diplocation name="SW2" number="5" />
      <dipvalue name="Easiest" value="4" />
      <dipvalue name="Easier" value="8" />
      <dipvalue name="Easy" value="12" />
      <dipvalue name="Normal" value="28" default="yes" />
      <dipvalue name="Hard" value="16" />
      <dipvalue name="Harder" value="20" />
      <dipvalue name="Hardest" value="24" />
      <dipvalue name="Special" value="0" />
    </dipswitch>
    <dipswitch name="Coin Chutes" tag="DSW" mask="32">
      <diplocation name="SW2" number="6" />
      <dipvalue name="3" value="32" default="yes" />
      <dipvalue name="1" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="64">
      <diplocation name="SW2" number="7" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="128">
      <diplocation name="SW2" number="8" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="astormj" sourcefile="segas18.cpp" cloneof="astorm" romof="astorm">
    <description>Alien Storm (Japan, 2 Players) (FD1094 317-0146)</description>
    <year>1990</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-13085.a6" size="262144" crc="15f74e2d" sha1="30d9d099ec18907edd3d20df312565c3bd5a80de" region="maincpu" offset="0" />
    <rom name="epr-13084.a5" size="262144" crc="9687b38f" sha1="cdeb5b4f06ad4ad8ca579392c1ec901487b08e76" region="maincpu" offset="1" />
    <rom name="317-0146.key" size="8192" crc="e94991c5" sha1="c9a8b56e01792654436f24b219d7a92c0852461f" region="maincpu:key" offset="0" />
    <rom name="epr-13073.bin" merge="epr-13073.bin" size="262144" crc="df5d0a61" sha1="79ad71de348f280bad847566c507b7a31f022292" region="gfx1" offset="0" />
    <rom name="epr-13074.bin" merge="epr-13074.bin" size="262144" crc="787afab8" sha1="a119042bb2dad54e9733bfba4eaab0ac5fc0f9e7" region="gfx1" offset="40000" />
    <rom name="epr-13075.bin" merge="epr-13075.bin" size="262144" crc="4e01b477" sha1="4178ce4a87ea427c3b0195e64acef6cddfb3485f" region="gfx1" offset="80000" />
    <rom name="mpr-13082.bin" merge="mpr-13082.bin" size="262144" crc="a782b704" sha1="ba15bdfbc267b8d86f03e5310ce60846ff846de3" region="sprites" offset="1" />
    <rom name="mpr-13089.bin" merge="mpr-13089.bin" size="262144" crc="2a4227f0" sha1="47284dce8f896f8e8eace9c20302842cacb479c1" region="sprites" offset="0" />
    <rom name="mpr-13081.bin" merge="mpr-13081.bin" size="262144" crc="eb510228" sha1="4cd387b160ec7050e1300ebe708853742169e643" region="sprites" offset="80001" />
    <rom name="mpr-13088.bin" merge="mpr-13088.bin" size="262144" crc="3b6b4c55" sha1="970495c54b3e1893ee8060f6ca1338c2cbbd1074" region="sprites" offset="80000" />
    <rom name="mpr-13080.bin" merge="mpr-13080.bin" size="262144" crc="e668eefb" sha1="d4a087a238b4d3ac2d23fe148d6a73018e348a89" region="sprites" offset="100001" />
    <rom name="mpr-13087.bin" merge="mpr-13087.bin" size="262144" crc="2293427d" sha1="4fd07763ff060afd594e3f64fa4750577f56c80e" region="sprites" offset="100000" />
    <rom name="epr-13079.bin" merge="epr-13079.bin" size="262144" crc="de9221ed" sha1="5e2e434d1aa547be1e5652fc906d2e18c5122023" region="sprites" offset="180001" />
    <rom name="epr-13086.bin" merge="epr-13086.bin" size="262144" crc="8c9a71c4" sha1="40b774765ac888792aad46b6351a24b7ef40d2dc" region="sprites" offset="180000" />
    <rom name="epr-13083b.bin" size="131072" crc="169b4b5f" sha1="bb3dfc4aff939df5ad04cf3ecb8e7de366097743" region="soundcpu" offset="0" />
    <rom name="epr-13076.bin" merge="epr-13076.bin" size="262144" crc="94e6c76e" sha1="f99e58a9bf372c41af211bd9b9ea3ac5b924c6ed" region="soundcpu" offset="80000" />
    <rom name="epr-13077.bin" merge="epr-13077.bin" size="262144" crc="e2ec0d8d" sha1="225b0d223b7282cba7710300a877fb4a2c6dbabb" region="soundcpu" offset="100000" />
    <rom name="epr-13078.bin" merge="epr-13078.bin" size="262144" crc="15684dc5" sha1="595051006de24f791dae937584e502ff2fa31d9c" region="soundcpu" offset="180000" />
    <device_ref name="fd1094" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <chip type="cpu" tag="maincpu" name="Hitachi FD1094 Encrypted CPU" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="joy" player="2" buttons="3" ways="8" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="2 Credits to Start" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Off" value="2" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="28">
      <diplocation name="SW2" number="3" />
      <diplocation name="SW2" number="4" />
      <diplocation name="SW2" number="5" />
      <dipvalue name="Easiest" value="4" />
      <dipvalue name="Easier" value="8" />
      <dipvalue name="Easy" value="12" />
      <dipvalue name="Normal" value="28" default="yes" />
      <dipvalue name="Hard" value="16" />
      <dipvalue name="Harder" value="20" />
      <dipvalue name="Hardest" value="24" />
      <dipvalue name="Special" value="0" />
    </dipswitch>
    <dipswitch name="Coin Chutes" tag="DSW" mask="32">
      <diplocation name="SW2" number="6" />
      <dipvalue name="2" value="32" default="yes" />
      <dipvalue name="1" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="64">
      <diplocation name="SW2" number="7" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="128">
      <diplocation name="SW2" number="8" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="astormjd" sourcefile="segas18.cpp" cloneof="astorm" romof="astorm">
    <description>Alien Storm (Japan, 2 Players) (bootleg of FD1094 317-0146 set)</description>
    <year>1990</year>
    <manufacturer>bootleg</manufacturer>
    <rom name="bootleg_epr-13085.a6" size="262144" crc="c0d7f3c2" sha1="1123f0d4cf25c3ee82a57212d9ffee49667c9f84" region="maincpu" offset="0" />
    <rom name="bootleg_epr-13084.a5" size="262144" crc="006635f0" sha1="7b4fce33151c7cfe5a33065a5b33ff678bac933c" region="maincpu" offset="1" />
    <rom name="epr-13073.bin" merge="epr-13073.bin" size="262144" crc="df5d0a61" sha1="79ad71de348f280bad847566c507b7a31f022292" region="gfx1" offset="0" />
    <rom name="epr-13074.bin" merge="epr-13074.bin" size="262144" crc="787afab8" sha1="a119042bb2dad54e9733bfba4eaab0ac5fc0f9e7" region="gfx1" offset="40000" />
    <rom name="epr-13075.bin" merge="epr-13075.bin" size="262144" crc="4e01b477" sha1="4178ce4a87ea427c3b0195e64acef6cddfb3485f" region="gfx1" offset="80000" />
    <rom name="mpr-13082.bin" merge="mpr-13082.bin" size="262144" crc="a782b704" sha1="ba15bdfbc267b8d86f03e5310ce60846ff846de3" region="sprites" offset="1" />
    <rom name="mpr-13089.bin" merge="mpr-13089.bin" size="262144" crc="2a4227f0" sha1="47284dce8f896f8e8eace9c20302842cacb479c1" region="sprites" offset="0" />
    <rom name="mpr-13081.bin" merge="mpr-13081.bin" size="262144" crc="eb510228" sha1="4cd387b160ec7050e1300ebe708853742169e643" region="sprites" offset="80001" />
    <rom name="mpr-13088.bin" merge="mpr-13088.bin" size="262144" crc="3b6b4c55" sha1="970495c54b3e1893ee8060f6ca1338c2cbbd1074" region="sprites" offset="80000" />
    <rom name="mpr-13080.bin" merge="mpr-13080.bin" size="262144" crc="e668eefb" sha1="d4a087a238b4d3ac2d23fe148d6a73018e348a89" region="sprites" offset="100001" />
    <rom name="mpr-13087.bin" merge="mpr-13087.bin" size="262144" crc="2293427d" sha1="4fd07763ff060afd594e3f64fa4750577f56c80e" region="sprites" offset="100000" />
    <rom name="epr-13079.bin" merge="epr-13079.bin" size="262144" crc="de9221ed" sha1="5e2e434d1aa547be1e5652fc906d2e18c5122023" region="sprites" offset="180001" />
    <rom name="epr-13086.bin" merge="epr-13086.bin" size="262144" crc="8c9a71c4" sha1="40b774765ac888792aad46b6351a24b7ef40d2dc" region="sprites" offset="180000" />
    <rom name="epr-13083b.bin" size="131072" crc="169b4b5f" sha1="bb3dfc4aff939df5ad04cf3ecb8e7de366097743" region="soundcpu" offset="0" />
    <rom name="epr-13076.bin" merge="epr-13076.bin" size="262144" crc="94e6c76e" sha1="f99e58a9bf372c41af211bd9b9ea3ac5b924c6ed" region="soundcpu" offset="80000" />
    <rom name="epr-13077.bin" merge="epr-13077.bin" size="262144" crc="e2ec0d8d" sha1="225b0d223b7282cba7710300a877fb4a2c6dbabb" region="soundcpu" offset="100000" />
    <rom name="epr-13078.bin" merge="epr-13078.bin" size="262144" crc="15684dc5" sha1="595051006de24f791dae937584e502ff2fa31d9c" region="soundcpu" offset="180000" />
    <device_ref name="m68000" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="joy" player="2" buttons="3" ways="8" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="2 Credits to Start" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Off" value="2" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="28">
      <diplocation name="SW2" number="3" />
      <diplocation name="SW2" number="4" />
      <diplocation name="SW2" number="5" />
      <dipvalue name="Easiest" value="4" />
      <dipvalue name="Easier" value="8" />
      <dipvalue name="Easy" value="12" />
      <dipvalue name="Normal" value="28" default="yes" />
      <dipvalue name="Hard" value="16" />
      <dipvalue name="Harder" value="20" />
      <dipvalue name="Hardest" value="24" />
      <dipvalue name="Special" value="0" />
    </dipswitch>
    <dipswitch name="Coin Chutes" tag="DSW" mask="32">
      <diplocation name="SW2" number="6" />
      <dipvalue name="2" value="32" default="yes" />
      <dipvalue name="1" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="64">
      <diplocation name="SW2" number="7" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="128">
      <diplocation name="SW2" number="8" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="astormu" sourcefile="segas18.cpp" cloneof="astorm" romof="astorm">
    <description>Alien Storm (US, 3 Players) (FD1094 317-0147)</description>
    <year>1990</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-13095.a6" size="262144" crc="55d40742" sha1="c30fcd7da1fe062b1f00275dc8ac79c3c619b719" region="maincpu" offset="0" />
    <rom name="epr-13094.a5" size="262144" crc="92b305f9" sha1="d24a1de619d29a8f6ff9dfce455c2c7d6457ddbe" region="maincpu" offset="1" />
    <rom name="317-0147.key" size="8192" crc="3fd54ba7" sha1="2d74f44f2ed779ed2b119b4fc0bc844d90678c74" region="maincpu:key" offset="0" />
    <rom name="epr-13073.bin" merge="epr-13073.bin" size="262144" crc="df5d0a61" sha1="79ad71de348f280bad847566c507b7a31f022292" region="gfx1" offset="0" />
    <rom name="epr-13074.bin" merge="epr-13074.bin" size="262144" crc="787afab8" sha1="a119042bb2dad54e9733bfba4eaab0ac5fc0f9e7" region="gfx1" offset="40000" />
    <rom name="epr-13075.bin" merge="epr-13075.bin" size="262144" crc="4e01b477" sha1="4178ce4a87ea427c3b0195e64acef6cddfb3485f" region="gfx1" offset="80000" />
    <rom name="mpr-13082.bin" merge="mpr-13082.bin" size="262144" crc="a782b704" sha1="ba15bdfbc267b8d86f03e5310ce60846ff846de3" region="sprites" offset="1" />
    <rom name="mpr-13089.bin" merge="mpr-13089.bin" size="262144" crc="2a4227f0" sha1="47284dce8f896f8e8eace9c20302842cacb479c1" region="sprites" offset="0" />
    <rom name="mpr-13081.bin" merge="mpr-13081.bin" size="262144" crc="eb510228" sha1="4cd387b160ec7050e1300ebe708853742169e643" region="sprites" offset="80001" />
    <rom name="mpr-13088.bin" merge="mpr-13088.bin" size="262144" crc="3b6b4c55" sha1="970495c54b3e1893ee8060f6ca1338c2cbbd1074" region="sprites" offset="80000" />
    <rom name="mpr-13080.bin" merge="mpr-13080.bin" size="262144" crc="e668eefb" sha1="d4a087a238b4d3ac2d23fe148d6a73018e348a89" region="sprites" offset="100001" />
    <rom name="mpr-13087.bin" merge="mpr-13087.bin" size="262144" crc="2293427d" sha1="4fd07763ff060afd594e3f64fa4750577f56c80e" region="sprites" offset="100000" />
    <rom name="epr-13079.bin" merge="epr-13079.bin" size="262144" crc="de9221ed" sha1="5e2e434d1aa547be1e5652fc906d2e18c5122023" region="sprites" offset="180001" />
    <rom name="epr-13086.bin" merge="epr-13086.bin" size="262144" crc="8c9a71c4" sha1="40b774765ac888792aad46b6351a24b7ef40d2dc" region="sprites" offset="180000" />
    <rom name="epr-13083.bin" size="131072" crc="5df3af20" sha1="e49105fcfd5bf37d14bd760f6adca5ce2412883d" region="soundcpu" offset="0" />
    <rom name="epr-13076.bin" merge="epr-13076.bin" size="262144" crc="94e6c76e" sha1="f99e58a9bf372c41af211bd9b9ea3ac5b924c6ed" region="soundcpu" offset="80000" />
    <rom name="epr-13077.bin" merge="epr-13077.bin" size="262144" crc="e2ec0d8d" sha1="225b0d223b7282cba7710300a877fb4a2c6dbabb" region="soundcpu" offset="100000" />
    <rom name="epr-13078.bin" merge="epr-13078.bin" size="262144" crc="15684dc5" sha1="595051006de24f791dae937584e502ff2fa31d9c" region="soundcpu" offset="180000" />
    <device_ref name="fd1094" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <chip type="cpu" tag="maincpu" name="Hitachi FD1094 Encrypted CPU" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="3" coins="3" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="joy" player="2" buttons="3" ways="8" />
      <control type="joy" player="3" buttons="3" ways="8" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="2 Credits to Start" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Off" value="2" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="28">
      <diplocation name="SW2" number="3" />
      <diplocation name="SW2" number="4" />
      <diplocation name="SW2" number="5" />
      <dipvalue name="Easiest" value="4" />
      <dipvalue name="Easier" value="8" />
      <dipvalue name="Easy" value="12" />
      <dipvalue name="Normal" value="28" default="yes" />
      <dipvalue name="Hard" value="16" />
      <dipvalue name="Harder" value="20" />
      <dipvalue name="Hardest" value="24" />
      <dipvalue name="Special" value="0" />
    </dipswitch>
    <dipswitch name="Coin Chutes" tag="DSW" mask="32">
      <diplocation name="SW2" number="6" />
      <dipvalue name="3" value="32" default="yes" />
      <dipvalue name="1" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="64">
      <diplocation name="SW2" number="7" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="128">
      <diplocation name="SW2" number="8" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="astormud" sourcefile="segas18.cpp" cloneof="astorm" romof="astorm">
    <description>Alien Storm (US, 3 Players) (bootleg of FD1094 317-0147 set)</description>
    <year>1990</year>
    <manufacturer>bootleg</manufacturer>
    <rom name="bootleg_epr-13095.a6" size="262144" crc="a29b1eea" sha1="ff34ab6806a4aea3519cefe06c8b85962bd9942d" region="maincpu" offset="0" />
    <rom name="bootleg_epr-13094.a5" size="262144" crc="81f4c6b6" sha1="c2c69b281a90635746c76d285b2a8342151a1cd5" region="maincpu" offset="1" />
    <rom name="epr-13073.bin" merge="epr-13073.bin" size="262144" crc="df5d0a61" sha1="79ad71de348f280bad847566c507b7a31f022292" region="gfx1" offset="0" />
    <rom name="epr-13074.bin" merge="epr-13074.bin" size="262144" crc="787afab8" sha1="a119042bb2dad54e9733bfba4eaab0ac5fc0f9e7" region="gfx1" offset="40000" />
    <rom name="epr-13075.bin" merge="epr-13075.bin" size="262144" crc="4e01b477" sha1="4178ce4a87ea427c3b0195e64acef6cddfb3485f" region="gfx1" offset="80000" />
    <rom name="mpr-13082.bin" merge="mpr-13082.bin" size="262144" crc="a782b704" sha1="ba15bdfbc267b8d86f03e5310ce60846ff846de3" region="sprites" offset="1" />
    <rom name="mpr-13089.bin" merge="mpr-13089.bin" size="262144" crc="2a4227f0" sha1="47284dce8f896f8e8eace9c20302842cacb479c1" region="sprites" offset="0" />
    <rom name="mpr-13081.bin" merge="mpr-13081.bin" size="262144" crc="eb510228" sha1="4cd387b160ec7050e1300ebe708853742169e643" region="sprites" offset="80001" />
    <rom name="mpr-13088.bin" merge="mpr-13088.bin" size="262144" crc="3b6b4c55" sha1="970495c54b3e1893ee8060f6ca1338c2cbbd1074" region="sprites" offset="80000" />
    <rom name="mpr-13080.bin" merge="mpr-13080.bin" size="262144" crc="e668eefb" sha1="d4a087a238b4d3ac2d23fe148d6a73018e348a89" region="sprites" offset="100001" />
    <rom name="mpr-13087.bin" merge="mpr-13087.bin" size="262144" crc="2293427d" sha1="4fd07763ff060afd594e3f64fa4750577f56c80e" region="sprites" offset="100000" />
    <rom name="epr-13079.bin" merge="epr-13079.bin" size="262144" crc="de9221ed" sha1="5e2e434d1aa547be1e5652fc906d2e18c5122023" region="sprites" offset="180001" />
    <rom name="epr-13086.bin" merge="epr-13086.bin" size="262144" crc="8c9a71c4" sha1="40b774765ac888792aad46b6351a24b7ef40d2dc" region="sprites" offset="180000" />
    <rom name="epr-13083.bin" size="131072" crc="5df3af20" sha1="e49105fcfd5bf37d14bd760f6adca5ce2412883d" region="soundcpu" offset="0" />
    <rom name="epr-13076.bin" merge="epr-13076.bin" size="262144" crc="94e6c76e" sha1="f99e58a9bf372c41af211bd9b9ea3ac5b924c6ed" region="soundcpu" offset="80000" />
    <rom name="epr-13077.bin" merge="epr-13077.bin" size="262144" crc="e2ec0d8d" sha1="225b0d223b7282cba7710300a877fb4a2c6dbabb" region="soundcpu" offset="100000" />
    <rom name="epr-13078.bin" merge="epr-13078.bin" size="262144" crc="15684dc5" sha1="595051006de24f791dae937584e502ff2fa31d9c" region="soundcpu" offset="180000" />
    <device_ref name="m68000" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="3" coins="3" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="joy" player="2" buttons="3" ways="8" />
      <control type="joy" player="3" buttons="3" ways="8" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="2 Credits to Start" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Off" value="2" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="28">
      <diplocation name="SW2" number="3" />
      <diplocation name="SW2" number="4" />
      <diplocation name="SW2" number="5" />
      <dipvalue name="Easiest" value="4" />
      <dipvalue name="Easier" value="8" />
      <dipvalue name="Easy" value="12" />
      <dipvalue name="Normal" value="28" default="yes" />
      <dipvalue name="Hard" value="16" />
      <dipvalue name="Harder" value="20" />
      <dipvalue name="Hardest" value="24" />
      <dipvalue name="Special" value="0" />
    </dipswitch>
    <dipswitch name="Coin Chutes" tag="DSW" mask="32">
      <diplocation name="SW2" number="6" />
      <dipvalue name="3" value="32" default="yes" />
      <dipvalue name="1" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="64">
      <diplocation name="SW2" number="7" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="128">
      <diplocation name="SW2" number="8" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="bloxeed" sourcefile="segas18.cpp">
    <description>Bloxeed (Japan) (FD1094 317-0139)</description>
    <year>1989</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-12911.a6" size="131072" crc="a481581a" sha1="5ce5a0a082622919d2fe0e7d52ec807b2e2c25a2" region="maincpu" offset="0" />
    <rom name="epr-12910.a5" size="131072" crc="dd1bc3bf" sha1="c0d79862a349ea4dac103c17325633c5dd4a93d1" region="maincpu" offset="1" />
    <rom name="317-0139.key" size="8192" crc="9aae84cb" sha1="806515d61ecacb260b2b5e5fe023b494d35ce315" region="maincpu:key" offset="0" />
    <rom name="opr-12884.b1" size="65536" crc="e024aa33" sha1="d734be240cd05031aaadf9735c0b1b00e8e6d4cb" region="gfx1" offset="0" />
    <rom name="opr-12885.b2" size="65536" crc="8041b814" sha1="29fa49ba9a73eed07865a86ea774e2c6a60aed5b" region="gfx1" offset="10000" />
    <rom name="opr-12886.b3" size="65536" crc="de32285e" sha1="8994dc128d6a23763e5fcfca1868b336d4aa0a21" region="gfx1" offset="20000" />
    <rom name="opr-12891.a11" size="65536" crc="90d31a8c" sha1="1747652a5109ce65add197cf06535f2463a99fdc" region="sprites" offset="0" />
    <rom name="opr-12887.b11" size="65536" crc="f0c0f49d" sha1="7ecd591265165f3149241e2ceb5059faab88360f" region="sprites" offset="1" />
    <rom name="epr-12888.a4" size="131072" crc="6f2fc63c" sha1="3cce22c8f80013f05b5a2d36c42a61a81e4d6cbd" region="soundcpu" offset="0" />
    <device_ref name="fd1094" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <chip type="cpu" tag="maincpu" name="Hitachi FD1094 Encrypted CPU" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="joy" player="2" buttons="3" ways="8" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Allow VS Mode" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Yes" value="1" default="yes" />
      <dipvalue name="No" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Off" value="2" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Lines Per Level" tag="DSW" mask="12">
      <diplocation name="SW2" number="3" />
      <diplocation name="SW2" number="4" />
      <dipvalue name="2" value="4" />
      <dipvalue name="2" value="0" />
      <dipvalue name="3" value="12" default="yes" />
      <dipvalue name="4" value="8" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="48">
      <diplocation name="SW2" number="5" />
      <diplocation name="SW2" number="6" />
      <dipvalue name="Easy" value="32" />
      <dipvalue name="Normal" value="48" default="yes" />
      <dipvalue name="Hard" value="16" />
      <dipvalue name="Hardest" value="0" />
    </dipswitch>
    <dipswitch name="Unknown" tag="DSW" mask="64">
      <diplocation name="SW2" number="7" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="High Speed Mode" tag="DSW" mask="128">
      <diplocation name="SW2" number="8" />
      <dipvalue name="Off" value="0" default="yes" />
      <dipvalue name="On" value="128" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="bloxeedd" sourcefile="segas18.cpp" cloneof="bloxeed" romof="bloxeed">
    <description>Bloxeed (Japan) (bootleg of FD1094 317-0139 set)</description>
    <year>1989</year>
    <manufacturer>bootleg</manufacturer>
    <rom name="bootleg_epr-12911.a6" size="131072" crc="2d634453" sha1="7a17084057c89d581125b7823c04219a3fb599a5" region="maincpu" offset="0" />
    <rom name="bootleg_epr-12910.a5" size="131072" crc="e6d2e9cc" sha1="3ee269bce104d0da9a2eb0d42a07924f60f4d3a8" region="maincpu" offset="1" />
    <rom name="opr-12884.b1" merge="opr-12884.b1" size="65536" crc="e024aa33" sha1="d734be240cd05031aaadf9735c0b1b00e8e6d4cb" region="gfx1" offset="0" />
    <rom name="opr-12885.b2" merge="opr-12885.b2" size="65536" crc="8041b814" sha1="29fa49ba9a73eed07865a86ea774e2c6a60aed5b" region="gfx1" offset="10000" />
    <rom name="opr-12886.b3" merge="opr-12886.b3" size="65536" crc="de32285e" sha1="8994dc128d6a23763e5fcfca1868b336d4aa0a21" region="gfx1" offset="20000" />
    <rom name="opr-12891.a11" merge="opr-12891.a11" size="65536" crc="90d31a8c" sha1="1747652a5109ce65add197cf06535f2463a99fdc" region="sprites" offset="0" />
    <rom name="opr-12887.b11" merge="opr-12887.b11" size="65536" crc="f0c0f49d" sha1="7ecd591265165f3149241e2ceb5059faab88360f" region="sprites" offset="1" />
    <rom name="epr-12888.a4" merge="epr-12888.a4" size="131072" crc="6f2fc63c" sha1="3cce22c8f80013f05b5a2d36c42a61a81e4d6cbd" region="soundcpu" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="joy" player="2" buttons="3" ways="8" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Allow VS Mode" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Yes" value="1" default="yes" />
      <dipvalue name="No" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Off" value="2" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Lines Per Level" tag="DSW" mask="12">
      <diplocation name="SW2" number="3" />
      <diplocation name="SW2" number="4" />
      <dipvalue name="2" value="4" />
      <dipvalue name="2" value="0" />
      <dipvalue name="3" value="12" default="yes" />
      <dipvalue name="4" value="8" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="48">
      <diplocation name="SW2" number="5" />
      <diplocation name="SW2" number="6" />
      <dipvalue name="Easy" value="32" />
      <dipvalue name="Normal" value="48" default="yes" />
      <dipvalue name="Hard" value="16" />
      <dipvalue name="Hardest" value="0" />
    </dipswitch>
    <dipswitch name="Unknown" tag="DSW" mask="64">
      <diplocation name="SW2" number="7" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="High Speed Mode" tag="DSW" mask="128">
      <diplocation name="SW2" number="8" />
      <dipvalue name="Off" value="0" default="yes" />
      <dipvalue name="On" value="128" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="cltchitr" sourcefile="segas18.cpp">
    <description>Clutch Hitter (US) (FD1094 317-0176)</description>
    <year>1991</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-13794.a4" size="262144" crc="c8d80233" sha1="69cdbb989f580abbb006820347becf8d233fa773" region="maincpu" offset="0" />
    <rom name="epr-13795.a6" size="262144" crc="b0b60b67" sha1="ee3325ddb7461008f556c1696157a766225b9ef5" region="maincpu" offset="1" />
    <rom name="epr-13784.a5" size="262144" crc="80c8180d" sha1="80e72ab7d97714009fd31b3d50176af84b0dcdb7" region="maincpu" offset="80000" />
    <rom name="epr-13786.a7" size="262144" crc="3095dac0" sha1="20edce74b6f2a82a3865613e601a0e212615d0e4" region="maincpu" offset="80001" />
    <rom name="317-0176.key" size="8192" crc="9b072430" sha1="3bc1c7a6d71b4351a42d85e68e70715a7659c096" region="maincpu:key" offset="0" />
    <rom name="mpr-13773.c1" size="524288" crc="3fc600e5" sha1="8bec4ecf6a4e4b38d13133960036a5a4800a668e" region="gfx1" offset="0" />
    <rom name="mpr-13774.c2" size="524288" crc="2411a824" sha1="0e383ccc4e0830ffb395d5102e2950610c147007" region="gfx1" offset="80000" />
    <rom name="mpr-13775.c3" size="524288" crc="cf527bf6" sha1="1f9cf1f0e92709f0465dc97ebbdaa715a419f7a7" region="gfx1" offset="100000" />
    <rom name="mpr-13779.c10" size="524288" crc="c707f416" sha1="e6a9d89849f7f1c303a3ca29a629f81397945a2d" region="sprites" offset="1" />
    <rom name="mpr-13787.a10" size="524288" crc="f05c68c6" sha1="b6a0535b6c734a0c89fdb6506c32ffe6ab3aa8cd" region="sprites" offset="0" />
    <rom name="mpr-13780.c11" size="524288" crc="a4c341e0" sha1="15a0b5a42b56465a7b7df98968cc2ed177ce6f59" region="sprites" offset="200001" />
    <rom name="mpr-13788.a11" size="524288" crc="0106fea6" sha1="e16e2a469ecbbc704021dee6264db30aa0898368" region="sprites" offset="200000" />
    <rom name="mpr-13781.c12" size="524288" crc="f33b13af" sha1="d3eb64dcf12d532454bf3cd6c86528c0f11ee316" region="sprites" offset="400001" />
    <rom name="mpr-13789.a12" size="524288" crc="09ba8835" sha1="72e83dd1793a7f4b2b881e71f262493e3d4992b3" region="sprites" offset="400000" />
    <rom name="epr-13793.c7" size="524288" crc="a3d31944" sha1="44d17aa0598eacfac4b12c8955fd1067ca09abbd" region="soundcpu" offset="0" />
    <rom name="epr-13792.c6" size="524288" crc="808f9695" sha1="d50677d20083ad56dbf0864db05f76f93a4e9eba" region="soundcpu" offset="80000" />
    <rom name="epr-13791.c5" size="524288" crc="35c16d80" sha1="7ed04600748c5efb63e25f066daa163e9c0d8038" region="soundcpu" offset="100000" />
    <device_ref name="fd1094" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <chip type="cpu" tag="maincpu" name="Hitachi FD1094 Encrypted CPU" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="joy" player="2" buttons="3" ways="8" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="2 Credits to Start" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Off" value="2" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Game Time P1" tag="DSW" mask="12">
      <diplocation name="SW2" number="3" />
      <diplocation name="SW2" number="4" />
      <dipvalue name="2 Credits 18 Outcounts 14 Min." value="4" />
      <dipvalue name="1 Credit 6 Outcounts 7 Min." value="0" />
      <dipvalue name="1 Credit 12 Outcounts 12 Min." value="8" />
      <dipvalue name="1Credit 6 Outcounts 8M./2Credits 18 Outcounts 14M." value="12" default="yes" />
    </dipswitch>
    <dipswitch name="Game Time P2" tag="DSW" mask="48">
      <diplocation name="SW2" number="5" />
      <diplocation name="SW2" number="6" />
      <dipvalue name="4 Credits 18 Outcounts 16 Min." value="16" />
      <dipvalue name="2 Credits 6 Outcounts 8 Min." value="0" />
      <dipvalue name="2 Credits 12 Outcounts 14 Min." value="32" />
      <dipvalue name="2Credits 6 Outcounts 8M./4Credits 18 Outcounts 16M." value="48" default="yes" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="192">
      <diplocation name="SW2" number="7" />
      <diplocation name="SW2" number="8" />
      <dipvalue name="Easiest" value="64" />
      <dipvalue name="Easy" value="128" />
      <dipvalue name="Normal" value="192" default="yes" />
      <dipvalue name="Hard" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="cltchitrd" sourcefile="segas18.cpp" cloneof="cltchitr" romof="cltchitr">
    <description>Clutch Hitter (US) (bootleg of FD1094 317-0176 set)</description>
    <year>1991</year>
    <manufacturer>bootleg</manufacturer>
    <rom name="bootleg_epr-13794.a4" size="262144" crc="b15de2c5" sha1="06bbd1de3429a9543ebe69895f2c485feaf54187" region="maincpu" offset="0" />
    <rom name="bootleg_epr-13795.a6" size="262144" crc="8fc7e524" sha1="8c55cbb952e4b6aef51b9bd417f842284cb76663" region="maincpu" offset="1" />
    <rom name="epr-13784.a5" merge="epr-13784.a5" size="262144" crc="80c8180d" sha1="80e72ab7d97714009fd31b3d50176af84b0dcdb7" region="maincpu" offset="80000" />
    <rom name="epr-13786.a7" merge="epr-13786.a7" size="262144" crc="3095dac0" sha1="20edce74b6f2a82a3865613e601a0e212615d0e4" region="maincpu" offset="80001" />
    <rom name="mpr-13773.c1" merge="mpr-13773.c1" size="524288" crc="3fc600e5" sha1="8bec4ecf6a4e4b38d13133960036a5a4800a668e" region="gfx1" offset="0" />
    <rom name="mpr-13774.c2" merge="mpr-13774.c2" size="524288" crc="2411a824" sha1="0e383ccc4e0830ffb395d5102e2950610c147007" region="gfx1" offset="80000" />
    <rom name="mpr-13775.c3" merge="mpr-13775.c3" size="524288" crc="cf527bf6" sha1="1f9cf1f0e92709f0465dc97ebbdaa715a419f7a7" region="gfx1" offset="100000" />
    <rom name="mpr-13779.c10" merge="mpr-13779.c10" size="524288" crc="c707f416" sha1="e6a9d89849f7f1c303a3ca29a629f81397945a2d" region="sprites" offset="1" />
    <rom name="mpr-13787.a10" merge="mpr-13787.a10" size="524288" crc="f05c68c6" sha1="b6a0535b6c734a0c89fdb6506c32ffe6ab3aa8cd" region="sprites" offset="0" />
    <rom name="mpr-13780.c11" merge="mpr-13780.c11" size="524288" crc="a4c341e0" sha1="15a0b5a42b56465a7b7df98968cc2ed177ce6f59" region="sprites" offset="200001" />
    <rom name="mpr-13788.a11" merge="mpr-13788.a11" size="524288" crc="0106fea6" sha1="e16e2a469ecbbc704021dee6264db30aa0898368" region="sprites" offset="200000" />
    <rom name="mpr-13781.c12" merge="mpr-13781.c12" size="524288" crc="f33b13af" sha1="d3eb64dcf12d532454bf3cd6c86528c0f11ee316" region="sprites" offset="400001" />
    <rom name="mpr-13789.a12" merge="mpr-13789.a12" size="524288" crc="09ba8835" sha1="72e83dd1793a7f4b2b881e71f262493e3d4992b3" region="sprites" offset="400000" />
    <rom name="epr-13793.c7" merge="epr-13793.c7" size="524288" crc="a3d31944" sha1="44d17aa0598eacfac4b12c8955fd1067ca09abbd" region="soundcpu" offset="0" />
    <rom name="epr-13792.c6" merge="epr-13792.c6" size="524288" crc="808f9695" sha1="d50677d20083ad56dbf0864db05f76f93a4e9eba" region="soundcpu" offset="80000" />
    <rom name="epr-13791.c5" merge="epr-13791.c5" size="524288" crc="35c16d80" sha1="7ed04600748c5efb63e25f066daa163e9c0d8038" region="soundcpu" offset="100000" />
    <device_ref name="m68000" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="joy" player="2" buttons="3" ways="8" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="2 Credits to Start" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Off" value="2" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Game Time P1" tag="DSW" mask="12">
      <diplocation name="SW2" number="3" />
      <diplocation name="SW2" number="4" />
      <dipvalue name="2 Credits 18 Outcounts 14 Min." value="4" />
      <dipvalue name="1 Credit 6 Outcounts 7 Min." value="0" />
      <dipvalue name="1 Credit 12 Outcounts 12 Min." value="8" />
      <dipvalue name="1Credit 6 Outcounts 8M./2Credits 18 Outcounts 14M." value="12" default="yes" />
    </dipswitch>
    <dipswitch name="Game Time P2" tag="DSW" mask="48">
      <diplocation name="SW2" number="5" />
      <diplocation name="SW2" number="6" />
      <dipvalue name="4 Credits 18 Outcounts 16 Min." value="16" />
      <dipvalue name="2 Credits 6 Outcounts 8 Min." value="0" />
      <dipvalue name="2 Credits 12 Outcounts 14 Min." value="32" />
      <dipvalue name="2Credits 6 Outcounts 8M./4Credits 18 Outcounts 16M." value="48" default="yes" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="192">
      <diplocation name="SW2" number="7" />
      <diplocation name="SW2" number="8" />
      <dipvalue name="Easiest" value="64" />
      <dipvalue name="Easy" value="128" />
      <dipvalue name="Normal" value="192" default="yes" />
      <dipvalue name="Hard" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="cltchitrj" sourcefile="segas18.cpp" cloneof="cltchitr" romof="cltchitr">
    <description>Clutch Hitter (Japan) (FD1094 317-0175)</description>
    <year>1991</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-13783.a4" size="262144" crc="e2a1d5af" sha1="cb6710fe2093889d5d159eaf55a3bd95c6f2ef87" region="maincpu" offset="0" />
    <rom name="epr-13796.a6" size="262144" crc="06001c67" sha1="3aa48631013e6dc55e4c1d222b465e6b41ece36b" region="maincpu" offset="1" />
    <rom name="epr-13785.a5" size="262144" crc="09714762" sha1="c75c88b1c313e172fdb7f9a570d57be38f959b2b" region="maincpu" offset="80000" />
    <rom name="epr-13797.a7" size="262144" crc="361ade9f" sha1="a7fd48c55695fd322d0456ff7dc2d2b2bc3e561b" region="maincpu" offset="80001" />
    <rom name="317-0175.key" size="8192" crc="70d9d283" sha1="ff309b2a221d9a03ccf301a208c76a7c2eaea790" region="maincpu:key" offset="0" />
    <rom name="mpr-13773.c1" merge="mpr-13773.c1" size="524288" crc="3fc600e5" sha1="8bec4ecf6a4e4b38d13133960036a5a4800a668e" region="gfx1" offset="0" />
    <rom name="mpr-13774.c2" merge="mpr-13774.c2" size="524288" crc="2411a824" sha1="0e383ccc4e0830ffb395d5102e2950610c147007" region="gfx1" offset="80000" />
    <rom name="mpr-13775.c3" merge="mpr-13775.c3" size="524288" crc="cf527bf6" sha1="1f9cf1f0e92709f0465dc97ebbdaa715a419f7a7" region="gfx1" offset="100000" />
    <rom name="mpr-13779.c10" merge="mpr-13779.c10" size="524288" crc="c707f416" sha1="e6a9d89849f7f1c303a3ca29a629f81397945a2d" region="sprites" offset="1" />
    <rom name="mpr-13787.a10" merge="mpr-13787.a10" size="524288" crc="f05c68c6" sha1="b6a0535b6c734a0c89fdb6506c32ffe6ab3aa8cd" region="sprites" offset="0" />
    <rom name="mpr-13780.c11" merge="mpr-13780.c11" size="524288" crc="a4c341e0" sha1="15a0b5a42b56465a7b7df98968cc2ed177ce6f59" region="sprites" offset="200001" />
    <rom name="mpr-13788.a11" merge="mpr-13788.a11" size="524288" crc="0106fea6" sha1="e16e2a469ecbbc704021dee6264db30aa0898368" region="sprites" offset="200000" />
    <rom name="mpr-13781.c12" merge="mpr-13781.c12" size="524288" crc="f33b13af" sha1="d3eb64dcf12d532454bf3cd6c86528c0f11ee316" region="sprites" offset="400001" />
    <rom name="mpr-13789.a12" merge="mpr-13789.a12" size="524288" crc="09ba8835" sha1="72e83dd1793a7f4b2b881e71f262493e3d4992b3" region="sprites" offset="400000" />
    <rom name="epr-13782.c13" size="262144" crc="73790852" sha1="891345cb8ce4b04bd293ee9bac9b1b9940d6bcb2" region="sprites" offset="600001" />
    <rom name="epr-13790.a13" size="262144" crc="23849101" sha1="1aeb0fefb6688dfd841bd7d0b17ffdfce69f1dd9" region="sprites" offset="600000" />
    <rom name="epr-13778.c7" size="131072" crc="35e86146" sha1="9be82165dc12d5f32ef26f37ea02b29e3621893f" region="soundcpu" offset="0" />
    <rom name="epr-13777.c6" size="524288" crc="d1524782" sha1="121c5804927ed686ea50d5d81d0226e041f50f6f" region="soundcpu" offset="80000" />
    <rom name="epr-13776.c5" size="524288" crc="282ac9fe" sha1="4f54d93779c35c036d7c85fce6736df80f3bbe33" region="soundcpu" offset="100000" />
    <device_ref name="fd1094" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <chip type="cpu" tag="maincpu" name="Hitachi FD1094 Encrypted CPU" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="joy" player="2" buttons="3" ways="8" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="2 Credits to Start" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Off" value="2" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Game Time P1" tag="DSW" mask="12">
      <diplocation name="SW2" number="3" />
      <diplocation name="SW2" number="4" />
      <dipvalue name="2 Credits 18 Outcounts 14 Min." value="4" />
      <dipvalue name="1 Credit 6 Outcounts 7 Min." value="0" />
      <dipvalue name="1 Credit 12 Outcounts 12 Min." value="8" />
      <dipvalue name="1Credit 6 Outcounts 8M./2Credits 18 Outcounts 14M." value="12" default="yes" />
    </dipswitch>
    <dipswitch name="Game Time P2" tag="DSW" mask="48">
      <diplocation name="SW2" number="5" />
      <diplocation name="SW2" number="6" />
      <dipvalue name="4 Credits 18 Outcounts 16 Min." value="16" />
      <dipvalue name="2 Credits 6 Outcounts 8 Min." value="0" />
      <dipvalue name="2 Credits 12 Outcounts 14 Min." value="32" />
      <dipvalue name="2Credits 6 Outcounts 8M./4Credits 18 Outcounts 16M." value="48" default="yes" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="192">
      <diplocation name="SW2" number="7" />
      <diplocation name="SW2" number="8" />
      <dipvalue name="Easiest" value="64" />
      <dipvalue name="Easy" value="128" />
      <dipvalue name="Normal" value="192" default="yes" />
      <dipvalue name="Hard" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="cltchitrjd" sourcefile="segas18.cpp" cloneof="cltchitr" romof="cltchitr">
    <description>Clutch Hitter (Japan) (bootleg of FD1094 317-0175 set)</description>
    <year>1991</year>
    <manufacturer>bootleg</manufacturer>
    <rom name="bootleg_epr-13783.a4" size="262144" crc="dafd48af" sha1="5be2d1f4c75426f3d41cbb43d63b1eceae8c3d57" region="maincpu" offset="0" />
    <rom name="bootleg_epr-13796.a6" size="262144" crc="219aae33" sha1="2dc9c32cfd82abc9f4855459ea427f05a299d596" region="maincpu" offset="1" />
    <rom name="epr-13785.a5" size="262144" crc="09714762" sha1="c75c88b1c313e172fdb7f9a570d57be38f959b2b" region="maincpu" offset="80000" />
    <rom name="epr-13797.a7" size="262144" crc="361ade9f" sha1="a7fd48c55695fd322d0456ff7dc2d2b2bc3e561b" region="maincpu" offset="80001" />
    <rom name="mpr-13773.c1" merge="mpr-13773.c1" size="524288" crc="3fc600e5" sha1="8bec4ecf6a4e4b38d13133960036a5a4800a668e" region="gfx1" offset="0" />
    <rom name="mpr-13774.c2" merge="mpr-13774.c2" size="524288" crc="2411a824" sha1="0e383ccc4e0830ffb395d5102e2950610c147007" region="gfx1" offset="80000" />
    <rom name="mpr-13775.c3" merge="mpr-13775.c3" size="524288" crc="cf527bf6" sha1="1f9cf1f0e92709f0465dc97ebbdaa715a419f7a7" region="gfx1" offset="100000" />
    <rom name="mpr-13779.c10" merge="mpr-13779.c10" size="524288" crc="c707f416" sha1="e6a9d89849f7f1c303a3ca29a629f81397945a2d" region="sprites" offset="1" />
    <rom name="mpr-13787.a10" merge="mpr-13787.a10" size="524288" crc="f05c68c6" sha1="b6a0535b6c734a0c89fdb6506c32ffe6ab3aa8cd" region="sprites" offset="0" />
    <rom name="mpr-13780.c11" merge="mpr-13780.c11" size="524288" crc="a4c341e0" sha1="15a0b5a42b56465a7b7df98968cc2ed177ce6f59" region="sprites" offset="200001" />
    <rom name="mpr-13788.a11" merge="mpr-13788.a11" size="524288" crc="0106fea6" sha1="e16e2a469ecbbc704021dee6264db30aa0898368" region="sprites" offset="200000" />
    <rom name="mpr-13781.c12" merge="mpr-13781.c12" size="524288" crc="f33b13af" sha1="d3eb64dcf12d532454bf3cd6c86528c0f11ee316" region="sprites" offset="400001" />
    <rom name="mpr-13789.a12" merge="mpr-13789.a12" size="524288" crc="09ba8835" sha1="72e83dd1793a7f4b2b881e71f262493e3d4992b3" region="sprites" offset="400000" />
    <rom name="epr-13782.c13" size="262144" crc="73790852" sha1="891345cb8ce4b04bd293ee9bac9b1b9940d6bcb2" region="sprites" offset="600001" />
    <rom name="epr-13790.a13" size="262144" crc="23849101" sha1="1aeb0fefb6688dfd841bd7d0b17ffdfce69f1dd9" region="sprites" offset="600000" />
    <rom name="epr-13778.c7" size="131072" crc="35e86146" sha1="9be82165dc12d5f32ef26f37ea02b29e3621893f" region="soundcpu" offset="0" />
    <rom name="epr-13777.c6" size="524288" crc="d1524782" sha1="121c5804927ed686ea50d5d81d0226e041f50f6f" region="soundcpu" offset="80000" />
    <rom name="epr-13776.c5" size="524288" crc="282ac9fe" sha1="4f54d93779c35c036d7c85fce6736df80f3bbe33" region="soundcpu" offset="100000" />
    <device_ref name="m68000" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="joy" player="2" buttons="3" ways="8" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="2 Credits to Start" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Off" value="2" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Game Time P1" tag="DSW" mask="12">
      <diplocation name="SW2" number="3" />
      <diplocation name="SW2" number="4" />
      <dipvalue name="2 Credits 18 Outcounts 14 Min." value="4" />
      <dipvalue name="1 Credit 6 Outcounts 7 Min." value="0" />
      <dipvalue name="1 Credit 12 Outcounts 12 Min." value="8" />
      <dipvalue name="1Credit 6 Outcounts 8M./2Credits 18 Outcounts 14M." value="12" default="yes" />
    </dipswitch>
    <dipswitch name="Game Time P2" tag="DSW" mask="48">
      <diplocation name="SW2" number="5" />
      <diplocation name="SW2" number="6" />
      <dipvalue name="4 Credits 18 Outcounts 16 Min." value="16" />
      <dipvalue name="2 Credits 6 Outcounts 8 Min." value="0" />
      <dipvalue name="2 Credits 12 Outcounts 14 Min." value="32" />
      <dipvalue name="2Credits 6 Outcounts 8M./4Credits 18 Outcounts 16M." value="48" default="yes" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="192">
      <diplocation name="SW2" number="7" />
      <diplocation name="SW2" number="8" />
      <dipvalue name="Easiest" value="64" />
      <dipvalue name="Easy" value="128" />
      <dipvalue name="Normal" value="192" default="yes" />
      <dipvalue name="Hard" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="ddcrew" sourcefile="segas18.cpp">
    <description>D. D. Crew (World, 3 Players) (FD1094 317-0190)</description>
    <year>1991</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-14160.a4" size="262144" crc="b9f897b7" sha1="65cee6c8006f328eee648e144e11fa60b1433ff5" region="maincpu" offset="0" />
    <rom name="epr-14161.a6" size="262144" crc="bb03c1f0" sha1="9e7fbd2cda448992c6cbf4b96078b57305def097" region="maincpu" offset="1" />
    <rom name="mpr-14139.a5" size="262144" crc="06c31531" sha1="d084cb72bf83578b34e959bb60a0695faf4161f8" region="maincpu" offset="80000" />
    <rom name="mpr-14141.a7" size="262144" crc="080a494b" sha1="64522dccbf6ed856ab80aa185454183df87d7ae9" region="maincpu" offset="80001" />
    <rom name="317-0190.key" size="8192" crc="2d502b11" sha1="c4e94da59b0e15a5a302ebe88988d1657e7e9814" region="maincpu:key" offset="0" />
    <rom name="epr-14127.c1" size="262144" crc="2228cd88" sha1="5774bb6a401c3da05c5f3c9d3996b20bb3713cb2" region="gfx1" offset="0" />
    <rom name="epr-14128.c2" size="262144" crc="edba8e10" sha1="25a2833ead4ca363802ddc2eb97c40976502921a" region="gfx1" offset="40000" />
    <rom name="epr-14129.c3" size="262144" crc="e8ecc305" sha1="a26d0c5c7826cd315f8b2c27e5a503a2a7b535c4" region="gfx1" offset="80000" />
    <rom name="mpr-14134.c10" size="524288" crc="4fda6a4b" sha1="a9e582e494ab967e8f3ccf4d5844bb8ef889928c" region="sprites" offset="1" />
    <rom name="mpr-14142.a10" size="524288" crc="3cbf1f2a" sha1="80b6b006936740087786acd538e28aca85fa6894" region="sprites" offset="0" />
    <rom name="mpr-14135.c11" size="524288" crc="e9c74876" sha1="aff9d071e77f01c6937188bf67be38fa898343e6" region="sprites" offset="200001" />
    <rom name="mpr-14143.a11" size="524288" crc="59022c31" sha1="5e1409fe0f29284dc6a3ffacf69b761aae09f132" region="sprites" offset="200000" />
    <rom name="mpr-14136.c12" size="524288" crc="720d9858" sha1="8ebcb8b3e9555ca48b28908d47dcbbd654398b6f" region="sprites" offset="400001" />
    <rom name="mpr-14144.a12" size="524288" crc="7775fdd4" sha1="a03cac039b400b651a4bf2167a8f2338f488ce26" region="sprites" offset="400000" />
    <rom name="epr-14137.c13" size="524288" crc="846c4265" sha1="58d0c213d085fb4dee18b7aefb05087d9d522950" region="sprites" offset="600001" />
    <rom name="epr-14145.a13" size="524288" crc="0e76c797" sha1="9a44dc948e84e5acac36e80105c2349ee78e6cfa" region="sprites" offset="600000" />
    <rom name="epr-14133.c7" size="131072" crc="cff96665" sha1="b4dc7f1a03415ebebdb99a82ae89328c345e7678" region="soundcpu" offset="0" />
    <rom name="mpr-14132.c6" size="524288" crc="1fae0220" sha1="8414c74318ea915816c6b67801ac7c8c3fc905f9" region="soundcpu" offset="80000" />
    <rom name="mpr-14131.c5" size="524288" crc="be5a7d0b" sha1="c2c598b0cf711273fdd568f3401375e9772c1d61" region="soundcpu" offset="100000" />
    <rom name="epr-14130.c4" size="524288" crc="948f34a1" sha1="d4c6728d5eea06cee6ac15a34ec8cccb4cc4b982" region="soundcpu" offset="180000" />
    <device_ref name="fd1094" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <chip type="cpu" tag="maincpu" name="Hitachi FD1094 Encrypted CPU" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="3" coins="3" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="joy" player="2" buttons="3" ways="8" />
      <control type="joy" player="3" buttons="3" ways="8" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Credits needed" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="1 to start, 1 to continue" value="1" default="yes" />
      <dipvalue name="2 to start, 1 to continue" value="0" />
    </dipswitch>
    <dipswitch name="Switch to Start" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Start" value="2" default="yes" />
      <dipvalue name="Attack" value="0" />
    </dipswitch>
    <dipswitch name="Coin Chute" tag="DSW" mask="4">
      <diplocation name="SW2" number="3" />
      <dipvalue name="Common" value="4" default="yes" />
      <dipvalue name="Individual" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="8">
      <diplocation name="SW2" number="4" />
      <dipvalue name="Off" value="8" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Player Start/Continue" tag="DSW" mask="48">
      <diplocation name="SW2" number="5" />
      <diplocation name="SW2" number="6" />
      <dipvalue name="3/3" value="48" default="yes" />
      <dipvalue name="2/3" value="32" />
      <dipvalue name="2/2" value="16" />
      <dipvalue name="3/4" value="0" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="192">
      <diplocation name="SW2" number="7" />
      <diplocation name="SW2" number="8" />
      <dipvalue name="Easy" value="128" />
      <dipvalue name="Normal" value="192" default="yes" />
      <dipvalue name="Hard" value="64" />
      <dipvalue name="Hardest" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="ddcrew1" sourcefile="segas18.cpp" cloneof="ddcrew" romof="ddcrew">
    <description>D. D. Crew (World, 4 Players) (FD1094 317-0187)</description>
    <year>1991</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-14154.a4" size="262144" crc="9a0dadf0" sha1="b55c8cdd3158607ec8203bfebc9e7aba24d6d565" region="maincpu" offset="0" />
    <rom name="epr-14155.a6" size="262144" crc="e74362f4" sha1="a6f96d714baeb826221b712b996e99831cf25abf" region="maincpu" offset="1" />
    <rom name="mpr-14139.a5" merge="mpr-14139.a5" size="262144" crc="06c31531" sha1="d084cb72bf83578b34e959bb60a0695faf4161f8" region="maincpu" offset="80000" />
    <rom name="mpr-14141.a7" merge="mpr-14141.a7" size="262144" crc="080a494b" sha1="64522dccbf6ed856ab80aa185454183df87d7ae9" region="maincpu" offset="80001" />
    <rom name="317-0187.key" size="8192" crc="1dfb60be" sha1="7bd42a2e54fca574076e5ed164ab4e0cbb645a4f" region="maincpu:key" offset="0" />
    <rom name="epr-14127.c1" merge="epr-14127.c1" size="262144" crc="2228cd88" sha1="5774bb6a401c3da05c5f3c9d3996b20bb3713cb2" region="gfx1" offset="0" />
    <rom name="epr-14128.c2" merge="epr-14128.c2" size="262144" crc="edba8e10" sha1="25a2833ead4ca363802ddc2eb97c40976502921a" region="gfx1" offset="40000" />
    <rom name="epr-14129.c3" merge="epr-14129.c3" size="262144" crc="e8ecc305" sha1="a26d0c5c7826cd315f8b2c27e5a503a2a7b535c4" region="gfx1" offset="80000" />
    <rom name="mpr-14134.c10" merge="mpr-14134.c10" size="524288" crc="4fda6a4b" sha1="a9e582e494ab967e8f3ccf4d5844bb8ef889928c" region="sprites" offset="1" />
    <rom name="mpr-14142.a10" merge="mpr-14142.a10" size="524288" crc="3cbf1f2a" sha1="80b6b006936740087786acd538e28aca85fa6894" region="sprites" offset="0" />
    <rom name="mpr-14135.c11" merge="mpr-14135.c11" size="524288" crc="e9c74876" sha1="aff9d071e77f01c6937188bf67be38fa898343e6" region="sprites" offset="200001" />
    <rom name="mpr-14143.a11" merge="mpr-14143.a11" size="524288" crc="59022c31" sha1="5e1409fe0f29284dc6a3ffacf69b761aae09f132" region="sprites" offset="200000" />
    <rom name="mpr-14136.c12" merge="mpr-14136.c12" size="524288" crc="720d9858" sha1="8ebcb8b3e9555ca48b28908d47dcbbd654398b6f" region="sprites" offset="400001" />
    <rom name="mpr-14144.a12" merge="mpr-14144.a12" size="524288" crc="7775fdd4" sha1="a03cac039b400b651a4bf2167a8f2338f488ce26" region="sprites" offset="400000" />
    <rom name="epr-14137.c13" merge="epr-14137.c13" size="524288" crc="846c4265" sha1="58d0c213d085fb4dee18b7aefb05087d9d522950" region="sprites" offset="600001" />
    <rom name="epr-14145.a13" merge="epr-14145.a13" size="524288" crc="0e76c797" sha1="9a44dc948e84e5acac36e80105c2349ee78e6cfa" region="sprites" offset="600000" />
    <rom name="epr-14133.c7" merge="epr-14133.c7" size="131072" crc="cff96665" sha1="b4dc7f1a03415ebebdb99a82ae89328c345e7678" region="soundcpu" offset="0" />
    <rom name="mpr-14132.c6" merge="mpr-14132.c6" size="524288" crc="1fae0220" sha1="8414c74318ea915816c6b67801ac7c8c3fc905f9" region="soundcpu" offset="80000" />
    <rom name="mpr-14131.c5" merge="mpr-14131.c5" size="524288" crc="be5a7d0b" sha1="c2c598b0cf711273fdd568f3401375e9772c1d61" region="soundcpu" offset="100000" />
    <rom name="epr-14130.c4" merge="epr-14130.c4" size="524288" crc="948f34a1" sha1="d4c6728d5eea06cee6ac15a34ec8cccb4cc4b982" region="soundcpu" offset="180000" />
    <device_ref name="fd1094" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <chip type="cpu" tag="maincpu" name="Hitachi FD1094 Encrypted CPU" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="4" coins="4" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="joy" player="2" buttons="3" ways="8" />
      <control type="joy" player="3" buttons="3" ways="8" />
      <control type="joy" player="4" buttons="3" ways="8" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Credits needed" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="1 to start, 1 to continue" value="1" default="yes" />
      <dipvalue name="2 to start, 1 to continue" value="0" />
    </dipswitch>
    <dipswitch name="Switch to Start" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Start" value="2" default="yes" />
      <dipvalue name="Attack" value="0" />
    </dipswitch>
    <dipswitch name="Coin Chute" tag="DSW" mask="4">
      <diplocation name="SW2" number="3" />
      <dipvalue name="Common" value="4" default="yes" />
      <dipvalue name="Individual" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="8">
      <diplocation name="SW2" number="4" />
      <dipvalue name="Off" value="8" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Player Start/Continue" tag="DSW" mask="48">
      <diplocation name="SW2" number="5" />
      <diplocation name="SW2" number="6" />
      <dipvalue name="3/3" value="48" default="yes" />
      <dipvalue name="2/3" value="32" />
      <dipvalue name="2/2" value="16" />
      <dipvalue name="3/4" value="0" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="192">
      <diplocation name="SW2" number="7" />
      <diplocation name="SW2" number="8" />
      <dipvalue name="Easy" value="128" />
      <dipvalue name="Normal" value="192" default="yes" />
      <dipvalue name="Hard" value="64" />
      <dipvalue name="Hardest" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":EXP3" />
    <port tag=":EXP4" />
    <port tag=":EXSERVICE" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="ddcrew1d" sourcefile="segas18.cpp" cloneof="ddcrew" romof="ddcrew">
    <description>D. D. Crew (World, 4 Players) (bootleg of FD1094 317-0187 set)</description>
    <year>1991</year>
    <manufacturer>bootleg</manufacturer>
    <rom name="bootleg_epr-14154.a4" size="262144" crc="95749c77" sha1="fdb924e0bb104326ba2e72e76b91d1fcc500aac0" region="maincpu" offset="0" />
    <rom name="bootleg_epr-14155.a6" size="262144" crc="bef3c932" sha1="f74f114aedafdace6ec51c4d3fa80a1b411b1543" region="maincpu" offset="1" />
    <rom name="mpr-14139.a5" merge="mpr-14139.a5" size="262144" crc="06c31531" sha1="d084cb72bf83578b34e959bb60a0695faf4161f8" region="maincpu" offset="80000" />
    <rom name="mpr-14141.a7" merge="mpr-14141.a7" size="262144" crc="080a494b" sha1="64522dccbf6ed856ab80aa185454183df87d7ae9" region="maincpu" offset="80001" />
    <rom name="epr-14127.c1" merge="epr-14127.c1" size="262144" crc="2228cd88" sha1="5774bb6a401c3da05c5f3c9d3996b20bb3713cb2" region="gfx1" offset="0" />
    <rom name="epr-14128.c2" merge="epr-14128.c2" size="262144" crc="edba8e10" sha1="25a2833ead4ca363802ddc2eb97c40976502921a" region="gfx1" offset="40000" />
    <rom name="epr-14129.c3" merge="epr-14129.c3" size="262144" crc="e8ecc305" sha1="a26d0c5c7826cd315f8b2c27e5a503a2a7b535c4" region="gfx1" offset="80000" />
    <rom name="mpr-14134.c10" merge="mpr-14134.c10" size="524288" crc="4fda6a4b" sha1="a9e582e494ab967e8f3ccf4d5844bb8ef889928c" region="sprites" offset="1" />
    <rom name="mpr-14142.a10" merge="mpr-14142.a10" size="524288" crc="3cbf1f2a" sha1="80b6b006936740087786acd538e28aca85fa6894" region="sprites" offset="0" />
    <rom name="mpr-14135.c11" merge="mpr-14135.c11" size="524288" crc="e9c74876" sha1="aff9d071e77f01c6937188bf67be38fa898343e6" region="sprites" offset="200001" />
    <rom name="mpr-14143.a11" merge="mpr-14143.a11" size="524288" crc="59022c31" sha1="5e1409fe0f29284dc6a3ffacf69b761aae09f132" region="sprites" offset="200000" />
    <rom name="mpr-14136.c12" merge="mpr-14136.c12" size="524288" crc="720d9858" sha1="8ebcb8b3e9555ca48b28908d47dcbbd654398b6f" region="sprites" offset="400001" />
    <rom name="mpr-14144.a12" merge="mpr-14144.a12" size="524288" crc="7775fdd4" sha1="a03cac039b400b651a4bf2167a8f2338f488ce26" region="sprites" offset="400000" />
    <rom name="epr-14137.c13" merge="epr-14137.c13" size="524288" crc="846c4265" sha1="58d0c213d085fb4dee18b7aefb05087d9d522950" region="sprites" offset="600001" />
    <rom name="epr-14145.a13" merge="epr-14145.a13" size="524288" crc="0e76c797" sha1="9a44dc948e84e5acac36e80105c2349ee78e6cfa" region="sprites" offset="600000" />
    <rom name="epr-14133.c7" merge="epr-14133.c7" size="131072" crc="cff96665" sha1="b4dc7f1a03415ebebdb99a82ae89328c345e7678" region="soundcpu" offset="0" />
    <rom name="mpr-14132.c6" merge="mpr-14132.c6" size="524288" crc="1fae0220" sha1="8414c74318ea915816c6b67801ac7c8c3fc905f9" region="soundcpu" offset="80000" />
    <rom name="mpr-14131.c5" merge="mpr-14131.c5" size="524288" crc="be5a7d0b" sha1="c2c598b0cf711273fdd568f3401375e9772c1d61" region="soundcpu" offset="100000" />
    <rom name="epr-14130.c4" merge="epr-14130.c4" size="524288" crc="948f34a1" sha1="d4c6728d5eea06cee6ac15a34ec8cccb4cc4b982" region="soundcpu" offset="180000" />
    <device_ref name="m68000" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="4" coins="4" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="joy" player="2" buttons="3" ways="8" />
      <control type="joy" player="3" buttons="3" ways="8" />
      <control type="joy" player="4" buttons="3" ways="8" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Credits needed" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="1 to start, 1 to continue" value="1" default="yes" />
      <dipvalue name="2 to start, 1 to continue" value="0" />
    </dipswitch>
    <dipswitch name="Switch to Start" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Start" value="2" default="yes" />
      <dipvalue name="Attack" value="0" />
    </dipswitch>
    <dipswitch name="Coin Chute" tag="DSW" mask="4">
      <diplocation name="SW2" number="3" />
      <dipvalue name="Common" value="4" default="yes" />
      <dipvalue name="Individual" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="8">
      <diplocation name="SW2" number="4" />
      <dipvalue name="Off" value="8" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Player Start/Continue" tag="DSW" mask="48">
      <diplocation name="SW2" number="5" />
      <diplocation name="SW2" number="6" />
      <dipvalue name="3/3" value="48" default="yes" />
      <dipvalue name="2/3" value="32" />
      <dipvalue name="2/2" value="16" />
      <dipvalue name="3/4" value="0" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="192">
      <diplocation name="SW2" number="7" />
      <diplocation name="SW2" number="8" />
      <dipvalue name="Easy" value="128" />
      <dipvalue name="Normal" value="192" default="yes" />
      <dipvalue name="Hard" value="64" />
      <dipvalue name="Hardest" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":EXP3" />
    <port tag=":EXP4" />
    <port tag=":EXSERVICE" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="ddcrew2" sourcefile="segas18.cpp" cloneof="ddcrew" romof="ddcrew">
    <description>D. D. Crew (World, 2 Players) (FD1094 317-0184)</description>
    <year>1991</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-14148.a4" size="262144" crc="df4cb0cf" sha1="153993997e9ceb06a9d4c73794ea66d0c585a291" region="maincpu" offset="0" />
    <rom name="epr-14149.a6" size="262144" crc="380ff818" sha1="7c7dd7aa825665f1a9aaebb5af4ecf5dd109b0ca" region="maincpu" offset="1" />
    <rom name="mpr-14139.a5" merge="mpr-14139.a5" size="262144" crc="06c31531" sha1="d084cb72bf83578b34e959bb60a0695faf4161f8" region="maincpu" offset="80000" />
    <rom name="mpr-14141.a7" merge="mpr-14141.a7" size="262144" crc="080a494b" sha1="64522dccbf6ed856ab80aa185454183df87d7ae9" region="maincpu" offset="80001" />
    <rom name="317-0184.key" size="8192" crc="cee06254" sha1="d64903055fdefb49c584cbcd84f0d4fa811bd789" region="maincpu:key" offset="0" />
    <rom name="epr-14127.c1" merge="epr-14127.c1" size="262144" crc="2228cd88" sha1="5774bb6a401c3da05c5f3c9d3996b20bb3713cb2" region="gfx1" offset="0" />
    <rom name="epr-14128.c2" merge="epr-14128.c2" size="262144" crc="edba8e10" sha1="25a2833ead4ca363802ddc2eb97c40976502921a" region="gfx1" offset="40000" />
    <rom name="epr-14129.c3" merge="epr-14129.c3" size="262144" crc="e8ecc305" sha1="a26d0c5c7826cd315f8b2c27e5a503a2a7b535c4" region="gfx1" offset="80000" />
    <rom name="mpr-14134.c10" merge="mpr-14134.c10" size="524288" crc="4fda6a4b" sha1="a9e582e494ab967e8f3ccf4d5844bb8ef889928c" region="sprites" offset="1" />
    <rom name="mpr-14142.a10" merge="mpr-14142.a10" size="524288" crc="3cbf1f2a" sha1="80b6b006936740087786acd538e28aca85fa6894" region="sprites" offset="0" />
    <rom name="mpr-14135.c11" merge="mpr-14135.c11" size="524288" crc="e9c74876" sha1="aff9d071e77f01c6937188bf67be38fa898343e6" region="sprites" offset="200001" />
    <rom name="mpr-14143.a11" merge="mpr-14143.a11" size="524288" crc="59022c31" sha1="5e1409fe0f29284dc6a3ffacf69b761aae09f132" region="sprites" offset="200000" />
    <rom name="mpr-14136.c12" merge="mpr-14136.c12" size="524288" crc="720d9858" sha1="8ebcb8b3e9555ca48b28908d47dcbbd654398b6f" region="sprites" offset="400001" />
    <rom name="mpr-14144.a12" merge="mpr-14144.a12" size="524288" crc="7775fdd4" sha1="a03cac039b400b651a4bf2167a8f2338f488ce26" region="sprites" offset="400000" />
    <rom name="epr-14137.c13" merge="epr-14137.c13" size="524288" crc="846c4265" sha1="58d0c213d085fb4dee18b7aefb05087d9d522950" region="sprites" offset="600001" />
    <rom name="epr-14145.a13" merge="epr-14145.a13" size="524288" crc="0e76c797" sha1="9a44dc948e84e5acac36e80105c2349ee78e6cfa" region="sprites" offset="600000" />
    <rom name="epr-14133.c7" merge="epr-14133.c7" size="131072" crc="cff96665" sha1="b4dc7f1a03415ebebdb99a82ae89328c345e7678" region="soundcpu" offset="0" />
    <rom name="mpr-14132.c6" merge="mpr-14132.c6" size="524288" crc="1fae0220" sha1="8414c74318ea915816c6b67801ac7c8c3fc905f9" region="soundcpu" offset="80000" />
    <rom name="mpr-14131.c5" merge="mpr-14131.c5" size="524288" crc="be5a7d0b" sha1="c2c598b0cf711273fdd568f3401375e9772c1d61" region="soundcpu" offset="100000" />
    <rom name="epr-14130.c4" merge="epr-14130.c4" size="524288" crc="948f34a1" sha1="d4c6728d5eea06cee6ac15a34ec8cccb4cc4b982" region="soundcpu" offset="180000" />
    <device_ref name="fd1094" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <chip type="cpu" tag="maincpu" name="Hitachi FD1094 Encrypted CPU" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="joy" player="2" buttons="3" ways="8" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Credits needed" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="1 to start, 1 to continue" value="1" default="yes" />
      <dipvalue name="2 to start, 1 to continue" value="0" />
    </dipswitch>
    <dipswitch name="Switch to Start" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Start" value="2" default="yes" />
      <dipvalue name="Attack" value="0" />
    </dipswitch>
    <dipswitch name="Coin Chute" tag="DSW" mask="4">
      <diplocation name="SW2" number="3" />
      <dipvalue name="Common" value="4" default="yes" />
      <dipvalue name="Individual" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="8">
      <diplocation name="SW2" number="4" />
      <dipvalue name="Off" value="8" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Player Start/Continue" tag="DSW" mask="48">
      <diplocation name="SW2" number="5" />
      <diplocation name="SW2" number="6" />
      <dipvalue name="3/3" value="48" default="yes" />
      <dipvalue name="2/3" value="32" />
      <dipvalue name="2/2" value="16" />
      <dipvalue name="3/4" value="0" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="192">
      <diplocation name="SW2" number="7" />
      <diplocation name="SW2" number="8" />
      <dipvalue name="Easy" value="128" />
      <dipvalue name="Normal" value="192" default="yes" />
      <dipvalue name="Hard" value="64" />
      <dipvalue name="Hardest" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="ddcrew2d" sourcefile="segas18.cpp" cloneof="ddcrew" romof="ddcrew">
    <description>D. D. Crew (World, 2 Players) (bootleg of FD1094 317-0184 set)</description>
    <year>1991</year>
    <manufacturer>bootleg</manufacturer>
    <rom name="bootleg_epr-14148.a4" size="262144" crc="f3ddb3b9" sha1="493ad0330362e7244927ee36587fab9634925ee1" region="maincpu" offset="0" />
    <rom name="bootleg_epr-14149.a6" size="262144" crc="98a83ee1" sha1="33e37becccf63d6005e901d38418c003834e469f" region="maincpu" offset="1" />
    <rom name="mpr-14139.a5" merge="mpr-14139.a5" size="262144" crc="06c31531" sha1="d084cb72bf83578b34e959bb60a0695faf4161f8" region="maincpu" offset="80000" />
    <rom name="mpr-14141.a7" merge="mpr-14141.a7" size="262144" crc="080a494b" sha1="64522dccbf6ed856ab80aa185454183df87d7ae9" region="maincpu" offset="80001" />
    <rom name="epr-14127.c1" merge="epr-14127.c1" size="262144" crc="2228cd88" sha1="5774bb6a401c3da05c5f3c9d3996b20bb3713cb2" region="gfx1" offset="0" />
    <rom name="epr-14128.c2" merge="epr-14128.c2" size="262144" crc="edba8e10" sha1="25a2833ead4ca363802ddc2eb97c40976502921a" region="gfx1" offset="40000" />
    <rom name="epr-14129.c3" merge="epr-14129.c3" size="262144" crc="e8ecc305" sha1="a26d0c5c7826cd315f8b2c27e5a503a2a7b535c4" region="gfx1" offset="80000" />
    <rom name="mpr-14134.c10" merge="mpr-14134.c10" size="524288" crc="4fda6a4b" sha1="a9e582e494ab967e8f3ccf4d5844bb8ef889928c" region="sprites" offset="1" />
    <rom name="mpr-14142.a10" merge="mpr-14142.a10" size="524288" crc="3cbf1f2a" sha1="80b6b006936740087786acd538e28aca85fa6894" region="sprites" offset="0" />
    <rom name="mpr-14135.c11" merge="mpr-14135.c11" size="524288" crc="e9c74876" sha1="aff9d071e77f01c6937188bf67be38fa898343e6" region="sprites" offset="200001" />
    <rom name="mpr-14143.a11" merge="mpr-14143.a11" size="524288" crc="59022c31" sha1="5e1409fe0f29284dc6a3ffacf69b761aae09f132" region="sprites" offset="200000" />
    <rom name="mpr-14136.c12" merge="mpr-14136.c12" size="524288" crc="720d9858" sha1="8ebcb8b3e9555ca48b28908d47dcbbd654398b6f" region="sprites" offset="400001" />
    <rom name="mpr-14144.a12" merge="mpr-14144.a12" size="524288" crc="7775fdd4" sha1="a03cac039b400b651a4bf2167a8f2338f488ce26" region="sprites" offset="400000" />
    <rom name="epr-14137.c13" merge="epr-14137.c13" size="524288" crc="846c4265" sha1="58d0c213d085fb4dee18b7aefb05087d9d522950" region="sprites" offset="600001" />
    <rom name="epr-14145.a13" merge="epr-14145.a13" size="524288" crc="0e76c797" sha1="9a44dc948e84e5acac36e80105c2349ee78e6cfa" region="sprites" offset="600000" />
    <rom name="epr-14133.c7" merge="epr-14133.c7" size="131072" crc="cff96665" sha1="b4dc7f1a03415ebebdb99a82ae89328c345e7678" region="soundcpu" offset="0" />
    <rom name="mpr-14132.c6" merge="mpr-14132.c6" size="524288" crc="1fae0220" sha1="8414c74318ea915816c6b67801ac7c8c3fc905f9" region="soundcpu" offset="80000" />
    <rom name="mpr-14131.c5" merge="mpr-14131.c5" size="524288" crc="be5a7d0b" sha1="c2c598b0cf711273fdd568f3401375e9772c1d61" region="soundcpu" offset="100000" />
    <rom name="epr-14130.c4" merge="epr-14130.c4" size="524288" crc="948f34a1" sha1="d4c6728d5eea06cee6ac15a34ec8cccb4cc4b982" region="soundcpu" offset="180000" />
    <device_ref name="m68000" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="joy" player="2" buttons="3" ways="8" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Credits needed" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="1 to start, 1 to continue" value="1" default="yes" />
      <dipvalue name="2 to start, 1 to continue" value="0" />
    </dipswitch>
    <dipswitch name="Switch to Start" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Start" value="2" default="yes" />
      <dipvalue name="Attack" value="0" />
    </dipswitch>
    <dipswitch name="Coin Chute" tag="DSW" mask="4">
      <diplocation name="SW2" number="3" />
      <dipvalue name="Common" value="4" default="yes" />
      <dipvalue name="Individual" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="8">
      <diplocation name="SW2" number="4" />
      <dipvalue name="Off" value="8" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Player Start/Continue" tag="DSW" mask="48">
      <diplocation name="SW2" number="5" />
      <diplocation name="SW2" number="6" />
      <dipvalue name="3/3" value="48" default="yes" />
      <dipvalue name="2/3" value="32" />
      <dipvalue name="2/2" value="16" />
      <dipvalue name="3/4" value="0" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="192">
      <diplocation name="SW2" number="7" />
      <diplocation name="SW2" number="8" />
      <dipvalue name="Easy" value="128" />
      <dipvalue name="Normal" value="192" default="yes" />
      <dipvalue name="Hard" value="64" />
      <dipvalue name="Hardest" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="ddcrewd" sourcefile="segas18.cpp" cloneof="ddcrew" romof="ddcrew">
    <description>D. D. Crew (World, 3 Players) (bootleg of FD1094 317-0190 set)</description>
    <year>1991</year>
    <manufacturer>bootleg</manufacturer>
    <rom name="bootleg_epr-14160.a4" size="262144" crc="22a6c8e3" sha1="a4ed9b776b1c61fb6ac158534084152b364d214d" region="maincpu" offset="0" />
    <rom name="bootleg_epr-14161.a6" size="262144" crc="d9eaba00" sha1="39d88d7ea22dce3456185aa2c4f2440c798a42d8" region="maincpu" offset="1" />
    <rom name="mpr-14139.a5" merge="mpr-14139.a5" size="262144" crc="06c31531" sha1="d084cb72bf83578b34e959bb60a0695faf4161f8" region="maincpu" offset="80000" />
    <rom name="mpr-14141.a7" merge="mpr-14141.a7" size="262144" crc="080a494b" sha1="64522dccbf6ed856ab80aa185454183df87d7ae9" region="maincpu" offset="80001" />
    <rom name="epr-14127.c1" merge="epr-14127.c1" size="262144" crc="2228cd88" sha1="5774bb6a401c3da05c5f3c9d3996b20bb3713cb2" region="gfx1" offset="0" />
    <rom name="epr-14128.c2" merge="epr-14128.c2" size="262144" crc="edba8e10" sha1="25a2833ead4ca363802ddc2eb97c40976502921a" region="gfx1" offset="40000" />
    <rom name="epr-14129.c3" merge="epr-14129.c3" size="262144" crc="e8ecc305" sha1="a26d0c5c7826cd315f8b2c27e5a503a2a7b535c4" region="gfx1" offset="80000" />
    <rom name="mpr-14134.c10" merge="mpr-14134.c10" size="524288" crc="4fda6a4b" sha1="a9e582e494ab967e8f3ccf4d5844bb8ef889928c" region="sprites" offset="1" />
    <rom name="mpr-14142.a10" merge="mpr-14142.a10" size="524288" crc="3cbf1f2a" sha1="80b6b006936740087786acd538e28aca85fa6894" region="sprites" offset="0" />
    <rom name="mpr-14135.c11" merge="mpr-14135.c11" size="524288" crc="e9c74876" sha1="aff9d071e77f01c6937188bf67be38fa898343e6" region="sprites" offset="200001" />
    <rom name="mpr-14143.a11" merge="mpr-14143.a11" size="524288" crc="59022c31" sha1="5e1409fe0f29284dc6a3ffacf69b761aae09f132" region="sprites" offset="200000" />
    <rom name="mpr-14136.c12" merge="mpr-14136.c12" size="524288" crc="720d9858" sha1="8ebcb8b3e9555ca48b28908d47dcbbd654398b6f" region="sprites" offset="400001" />
    <rom name="mpr-14144.a12" merge="mpr-14144.a12" size="524288" crc="7775fdd4" sha1="a03cac039b400b651a4bf2167a8f2338f488ce26" region="sprites" offset="400000" />
    <rom name="epr-14137.c13" merge="epr-14137.c13" size="524288" crc="846c4265" sha1="58d0c213d085fb4dee18b7aefb05087d9d522950" region="sprites" offset="600001" />
    <rom name="epr-14145.a13" merge="epr-14145.a13" size="524288" crc="0e76c797" sha1="9a44dc948e84e5acac36e80105c2349ee78e6cfa" region="sprites" offset="600000" />
    <rom name="epr-14133.c7" merge="epr-14133.c7" size="131072" crc="cff96665" sha1="b4dc7f1a03415ebebdb99a82ae89328c345e7678" region="soundcpu" offset="0" />
    <rom name="mpr-14132.c6" merge="mpr-14132.c6" size="524288" crc="1fae0220" sha1="8414c74318ea915816c6b67801ac7c8c3fc905f9" region="soundcpu" offset="80000" />
    <rom name="mpr-14131.c5" merge="mpr-14131.c5" size="524288" crc="be5a7d0b" sha1="c2c598b0cf711273fdd568f3401375e9772c1d61" region="soundcpu" offset="100000" />
    <rom name="epr-14130.c4" merge="epr-14130.c4" size="524288" crc="948f34a1" sha1="d4c6728d5eea06cee6ac15a34ec8cccb4cc4b982" region="soundcpu" offset="180000" />
    <device_ref name="m68000" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="3" coins="3" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="joy" player="2" buttons="3" ways="8" />
      <control type="joy" player="3" buttons="3" ways="8" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Credits needed" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="1 to start, 1 to continue" value="1" default="yes" />
      <dipvalue name="2 to start, 1 to continue" value="0" />
    </dipswitch>
    <dipswitch name="Switch to Start" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Start" value="2" default="yes" />
      <dipvalue name="Attack" value="0" />
    </dipswitch>
    <dipswitch name="Coin Chute" tag="DSW" mask="4">
      <diplocation name="SW2" number="3" />
      <dipvalue name="Common" value="4" default="yes" />
      <dipvalue name="Individual" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="8">
      <diplocation name="SW2" number="4" />
      <dipvalue name="Off" value="8" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Player Start/Continue" tag="DSW" mask="48">
      <diplocation name="SW2" number="5" />
      <diplocation name="SW2" number="6" />
      <dipvalue name="3/3" value="48" default="yes" />
      <dipvalue name="2/3" value="32" />
      <dipvalue name="2/2" value="16" />
      <dipvalue name="3/4" value="0" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="192">
      <diplocation name="SW2" number="7" />
      <diplocation name="SW2" number="8" />
      <dipvalue name="Easy" value="128" />
      <dipvalue name="Normal" value="192" default="yes" />
      <dipvalue name="Hard" value="64" />
      <dipvalue name="Hardest" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="ddcrewj" sourcefile="segas18.cpp" cloneof="ddcrew" romof="ddcrew">
    <description>D. D. Crew (Japan, 4 Players) (FD1094 317-0185)</description>
    <year>1991</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-14150.a4" size="262144" crc="fc866b19" sha1="1e59d23c25ac5e34c8982cb21e09d52cccc7aca7" region="maincpu" offset="0" />
    <rom name="epr-14151.a6" size="262144" crc="46d23fe4" sha1="926136db7a7d6d3bcdc552156e8cb4cb4224c2e5" region="maincpu" offset="1" />
    <rom name="mpr-14139.a5" merge="mpr-14139.a5" size="262144" crc="06c31531" sha1="d084cb72bf83578b34e959bb60a0695faf4161f8" region="maincpu" offset="80000" />
    <rom name="mpr-14141.a7" merge="mpr-14141.a7" size="262144" crc="080a494b" sha1="64522dccbf6ed856ab80aa185454183df87d7ae9" region="maincpu" offset="80001" />
    <rom name="317-0185.key" size="8192" crc="a650b506" sha1="05ab361114f26576d69c3477943b42f7957fb879" region="maincpu:key" offset="0" />
    <rom name="epr-14127.c1" merge="epr-14127.c1" size="262144" crc="2228cd88" sha1="5774bb6a401c3da05c5f3c9d3996b20bb3713cb2" region="gfx1" offset="0" />
    <rom name="epr-14128.c2" merge="epr-14128.c2" size="262144" crc="edba8e10" sha1="25a2833ead4ca363802ddc2eb97c40976502921a" region="gfx1" offset="40000" />
    <rom name="epr-14129.c3" merge="epr-14129.c3" size="262144" crc="e8ecc305" sha1="a26d0c5c7826cd315f8b2c27e5a503a2a7b535c4" region="gfx1" offset="80000" />
    <rom name="mpr-14134.c10" merge="mpr-14134.c10" size="524288" crc="4fda6a4b" sha1="a9e582e494ab967e8f3ccf4d5844bb8ef889928c" region="sprites" offset="1" />
    <rom name="mpr-14142.a10" merge="mpr-14142.a10" size="524288" crc="3cbf1f2a" sha1="80b6b006936740087786acd538e28aca85fa6894" region="sprites" offset="0" />
    <rom name="mpr-14135.c11" merge="mpr-14135.c11" size="524288" crc="e9c74876" sha1="aff9d071e77f01c6937188bf67be38fa898343e6" region="sprites" offset="200001" />
    <rom name="mpr-14143.a11" merge="mpr-14143.a11" size="524288" crc="59022c31" sha1="5e1409fe0f29284dc6a3ffacf69b761aae09f132" region="sprites" offset="200000" />
    <rom name="mpr-14136.c12" merge="mpr-14136.c12" size="524288" crc="720d9858" sha1="8ebcb8b3e9555ca48b28908d47dcbbd654398b6f" region="sprites" offset="400001" />
    <rom name="mpr-14144.a12" merge="mpr-14144.a12" size="524288" crc="7775fdd4" sha1="a03cac039b400b651a4bf2167a8f2338f488ce26" region="sprites" offset="400000" />
    <rom name="epr-14137.c13" merge="epr-14137.c13" size="524288" crc="846c4265" sha1="58d0c213d085fb4dee18b7aefb05087d9d522950" region="sprites" offset="600001" />
    <rom name="epr-14145.a13" merge="epr-14145.a13" size="524288" crc="0e76c797" sha1="9a44dc948e84e5acac36e80105c2349ee78e6cfa" region="sprites" offset="600000" />
    <rom name="epr-14133.c7" merge="epr-14133.c7" size="131072" crc="cff96665" sha1="b4dc7f1a03415ebebdb99a82ae89328c345e7678" region="soundcpu" offset="0" />
    <rom name="mpr-14132.c6" merge="mpr-14132.c6" size="524288" crc="1fae0220" sha1="8414c74318ea915816c6b67801ac7c8c3fc905f9" region="soundcpu" offset="80000" />
    <rom name="mpr-14131.c5" merge="mpr-14131.c5" size="524288" crc="be5a7d0b" sha1="c2c598b0cf711273fdd568f3401375e9772c1d61" region="soundcpu" offset="100000" />
    <rom name="epr-14130.c4" merge="epr-14130.c4" size="524288" crc="948f34a1" sha1="d4c6728d5eea06cee6ac15a34ec8cccb4cc4b982" region="soundcpu" offset="180000" />
    <device_ref name="fd1094" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <chip type="cpu" tag="maincpu" name="Hitachi FD1094 Encrypted CPU" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="4" coins="4" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="joy" player="2" buttons="3" ways="8" />
      <control type="joy" player="3" buttons="3" ways="8" />
      <control type="joy" player="4" buttons="3" ways="8" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Credits needed" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="1 to start, 1 to continue" value="1" default="yes" />
      <dipvalue name="2 to start, 1 to continue" value="0" />
    </dipswitch>
    <dipswitch name="Switch to Start" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Start" value="2" default="yes" />
      <dipvalue name="Attack" value="0" />
    </dipswitch>
    <dipswitch name="Coin Chute" tag="DSW" mask="4">
      <diplocation name="SW2" number="3" />
      <dipvalue name="Common" value="4" default="yes" />
      <dipvalue name="Individual" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="8">
      <diplocation name="SW2" number="4" />
      <dipvalue name="Off" value="8" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Player Start/Continue" tag="DSW" mask="48">
      <diplocation name="SW2" number="5" />
      <diplocation name="SW2" number="6" />
      <dipvalue name="3/3" value="48" default="yes" />
      <dipvalue name="2/3" value="32" />
      <dipvalue name="2/2" value="16" />
      <dipvalue name="3/4" value="0" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="192">
      <diplocation name="SW2" number="7" />
      <diplocation name="SW2" number="8" />
      <dipvalue name="Easy" value="128" />
      <dipvalue name="Normal" value="192" default="yes" />
      <dipvalue name="Hard" value="64" />
      <dipvalue name="Hardest" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":EXP3" />
    <port tag=":EXP4" />
    <port tag=":EXSERVICE" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="ddcrewj2" sourcefile="segas18.cpp" cloneof="ddcrew" romof="ddcrew">
    <description>D. D. Crew (Japan, 2 Players) (FD1094 317-0182)</description>
    <year>1991</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-14138.a4" size="262144" crc="df280b1b" sha1="581e8b6cbf3231d772de6b0e26b94541931215fd" region="maincpu" offset="0" />
    <rom name="epr-14140.a6" size="262144" crc="48f223ee" sha1="5192b92d081829d2a4fcf2258675b24c94cfb4e5" region="maincpu" offset="1" />
    <rom name="mpr-14139.a5" merge="mpr-14139.a5" size="262144" crc="06c31531" sha1="d084cb72bf83578b34e959bb60a0695faf4161f8" region="maincpu" offset="80000" />
    <rom name="mpr-14141.a7" merge="mpr-14141.a7" size="262144" crc="080a494b" sha1="64522dccbf6ed856ab80aa185454183df87d7ae9" region="maincpu" offset="80001" />
    <rom name="317-0182.key" size="8192" crc="2e8a3601" sha1="8b6e10babfd2398c1669ba6bf9aad61cd02f23ba" region="maincpu:key" offset="0" />
    <rom name="epr-14127.c1" merge="epr-14127.c1" size="262144" crc="2228cd88" sha1="5774bb6a401c3da05c5f3c9d3996b20bb3713cb2" region="gfx1" offset="0" />
    <rom name="epr-14128.c2" merge="epr-14128.c2" size="262144" crc="edba8e10" sha1="25a2833ead4ca363802ddc2eb97c40976502921a" region="gfx1" offset="40000" />
    <rom name="epr-14129.c3" merge="epr-14129.c3" size="262144" crc="e8ecc305" sha1="a26d0c5c7826cd315f8b2c27e5a503a2a7b535c4" region="gfx1" offset="80000" />
    <rom name="mpr-14134.c10" merge="mpr-14134.c10" size="524288" crc="4fda6a4b" sha1="a9e582e494ab967e8f3ccf4d5844bb8ef889928c" region="sprites" offset="1" />
    <rom name="mpr-14142.a10" merge="mpr-14142.a10" size="524288" crc="3cbf1f2a" sha1="80b6b006936740087786acd538e28aca85fa6894" region="sprites" offset="0" />
    <rom name="mpr-14135.c11" merge="mpr-14135.c11" size="524288" crc="e9c74876" sha1="aff9d071e77f01c6937188bf67be38fa898343e6" region="sprites" offset="200001" />
    <rom name="mpr-14143.a11" merge="mpr-14143.a11" size="524288" crc="59022c31" sha1="5e1409fe0f29284dc6a3ffacf69b761aae09f132" region="sprites" offset="200000" />
    <rom name="mpr-14136.c12" merge="mpr-14136.c12" size="524288" crc="720d9858" sha1="8ebcb8b3e9555ca48b28908d47dcbbd654398b6f" region="sprites" offset="400001" />
    <rom name="mpr-14144.a12" merge="mpr-14144.a12" size="524288" crc="7775fdd4" sha1="a03cac039b400b651a4bf2167a8f2338f488ce26" region="sprites" offset="400000" />
    <rom name="epr-14137.c13" merge="epr-14137.c13" size="524288" crc="846c4265" sha1="58d0c213d085fb4dee18b7aefb05087d9d522950" region="sprites" offset="600001" />
    <rom name="epr-14145.a13" merge="epr-14145.a13" size="524288" crc="0e76c797" sha1="9a44dc948e84e5acac36e80105c2349ee78e6cfa" region="sprites" offset="600000" />
    <rom name="epr-14133.c7" merge="epr-14133.c7" size="131072" crc="cff96665" sha1="b4dc7f1a03415ebebdb99a82ae89328c345e7678" region="soundcpu" offset="0" />
    <rom name="mpr-14132.c6" merge="mpr-14132.c6" size="524288" crc="1fae0220" sha1="8414c74318ea915816c6b67801ac7c8c3fc905f9" region="soundcpu" offset="80000" />
    <rom name="mpr-14131.c5" merge="mpr-14131.c5" size="524288" crc="be5a7d0b" sha1="c2c598b0cf711273fdd568f3401375e9772c1d61" region="soundcpu" offset="100000" />
    <rom name="epr-14130.c4" merge="epr-14130.c4" size="524288" crc="948f34a1" sha1="d4c6728d5eea06cee6ac15a34ec8cccb4cc4b982" region="soundcpu" offset="180000" />
    <device_ref name="fd1094" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <chip type="cpu" tag="maincpu" name="Hitachi FD1094 Encrypted CPU" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="joy" player="2" buttons="3" ways="8" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Credits needed" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="1 to start, 1 to continue" value="1" default="yes" />
      <dipvalue name="2 to start, 1 to continue" value="0" />
    </dipswitch>
    <dipswitch name="Switch to Start" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Start" value="2" default="yes" />
      <dipvalue name="Attack" value="0" />
    </dipswitch>
    <dipswitch name="Coin Chute" tag="DSW" mask="4">
      <diplocation name="SW2" number="3" />
      <dipvalue name="Common" value="4" default="yes" />
      <dipvalue name="Individual" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="8">
      <diplocation name="SW2" number="4" />
      <dipvalue name="Off" value="8" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Player Start/Continue" tag="DSW" mask="48">
      <diplocation name="SW2" number="5" />
      <diplocation name="SW2" number="6" />
      <dipvalue name="3/3" value="48" default="yes" />
      <dipvalue name="2/3" value="32" />
      <dipvalue name="2/2" value="16" />
      <dipvalue name="3/4" value="0" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="192">
      <diplocation name="SW2" number="7" />
      <diplocation name="SW2" number="8" />
      <dipvalue name="Easy" value="128" />
      <dipvalue name="Normal" value="192" default="yes" />
      <dipvalue name="Hard" value="64" />
      <dipvalue name="Hardest" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="ddcrewj2d" sourcefile="segas18.cpp" cloneof="ddcrew" romof="ddcrew">
    <description>D. D. Crew (Japan, 2 Players) (bootleg of FD1094 317-0182 set)</description>
    <year>1991</year>
    <manufacturer>bootleg</manufacturer>
    <rom name="bootleg_epr-14138.a4" size="262144" crc="1a586bb2" sha1="897f7b73a5099752980fe81a190cfac959481c1e" region="maincpu" offset="0" />
    <rom name="bootleg_epr-14140.a6" size="262144" crc="43e030ae" sha1="4c145709a726b2180801f65a0d68022ff6f0c619" region="maincpu" offset="1" />
    <rom name="mpr-14139.a5" merge="mpr-14139.a5" size="262144" crc="06c31531" sha1="d084cb72bf83578b34e959bb60a0695faf4161f8" region="maincpu" offset="80000" />
    <rom name="mpr-14141.a7" merge="mpr-14141.a7" size="262144" crc="080a494b" sha1="64522dccbf6ed856ab80aa185454183df87d7ae9" region="maincpu" offset="80001" />
    <rom name="epr-14127.c1" merge="epr-14127.c1" size="262144" crc="2228cd88" sha1="5774bb6a401c3da05c5f3c9d3996b20bb3713cb2" region="gfx1" offset="0" />
    <rom name="epr-14128.c2" merge="epr-14128.c2" size="262144" crc="edba8e10" sha1="25a2833ead4ca363802ddc2eb97c40976502921a" region="gfx1" offset="40000" />
    <rom name="epr-14129.c3" merge="epr-14129.c3" size="262144" crc="e8ecc305" sha1="a26d0c5c7826cd315f8b2c27e5a503a2a7b535c4" region="gfx1" offset="80000" />
    <rom name="mpr-14134.c10" merge="mpr-14134.c10" size="524288" crc="4fda6a4b" sha1="a9e582e494ab967e8f3ccf4d5844bb8ef889928c" region="sprites" offset="1" />
    <rom name="mpr-14142.a10" merge="mpr-14142.a10" size="524288" crc="3cbf1f2a" sha1="80b6b006936740087786acd538e28aca85fa6894" region="sprites" offset="0" />
    <rom name="mpr-14135.c11" merge="mpr-14135.c11" size="524288" crc="e9c74876" sha1="aff9d071e77f01c6937188bf67be38fa898343e6" region="sprites" offset="200001" />
    <rom name="mpr-14143.a11" merge="mpr-14143.a11" size="524288" crc="59022c31" sha1="5e1409fe0f29284dc6a3ffacf69b761aae09f132" region="sprites" offset="200000" />
    <rom name="mpr-14136.c12" merge="mpr-14136.c12" size="524288" crc="720d9858" sha1="8ebcb8b3e9555ca48b28908d47dcbbd654398b6f" region="sprites" offset="400001" />
    <rom name="mpr-14144.a12" merge="mpr-14144.a12" size="524288" crc="7775fdd4" sha1="a03cac039b400b651a4bf2167a8f2338f488ce26" region="sprites" offset="400000" />
    <rom name="epr-14137.c13" merge="epr-14137.c13" size="524288" crc="846c4265" sha1="58d0c213d085fb4dee18b7aefb05087d9d522950" region="sprites" offset="600001" />
    <rom name="epr-14145.a13" merge="epr-14145.a13" size="524288" crc="0e76c797" sha1="9a44dc948e84e5acac36e80105c2349ee78e6cfa" region="sprites" offset="600000" />
    <rom name="epr-14133.c7" merge="epr-14133.c7" size="131072" crc="cff96665" sha1="b4dc7f1a03415ebebdb99a82ae89328c345e7678" region="soundcpu" offset="0" />
    <rom name="mpr-14132.c6" merge="mpr-14132.c6" size="524288" crc="1fae0220" sha1="8414c74318ea915816c6b67801ac7c8c3fc905f9" region="soundcpu" offset="80000" />
    <rom name="mpr-14131.c5" merge="mpr-14131.c5" size="524288" crc="be5a7d0b" sha1="c2c598b0cf711273fdd568f3401375e9772c1d61" region="soundcpu" offset="100000" />
    <rom name="epr-14130.c4" merge="epr-14130.c4" size="524288" crc="948f34a1" sha1="d4c6728d5eea06cee6ac15a34ec8cccb4cc4b982" region="soundcpu" offset="180000" />
    <device_ref name="m68000" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="joy" player="2" buttons="3" ways="8" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Credits needed" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="1 to start, 1 to continue" value="1" default="yes" />
      <dipvalue name="2 to start, 1 to continue" value="0" />
    </dipswitch>
    <dipswitch name="Switch to Start" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Start" value="2" default="yes" />
      <dipvalue name="Attack" value="0" />
    </dipswitch>
    <dipswitch name="Coin Chute" tag="DSW" mask="4">
      <diplocation name="SW2" number="3" />
      <dipvalue name="Common" value="4" default="yes" />
      <dipvalue name="Individual" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="8">
      <diplocation name="SW2" number="4" />
      <dipvalue name="Off" value="8" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Player Start/Continue" tag="DSW" mask="48">
      <diplocation name="SW2" number="5" />
      <diplocation name="SW2" number="6" />
      <dipvalue name="3/3" value="48" default="yes" />
      <dipvalue name="2/3" value="32" />
      <dipvalue name="2/2" value="16" />
      <dipvalue name="3/4" value="0" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="192">
      <diplocation name="SW2" number="7" />
      <diplocation name="SW2" number="8" />
      <dipvalue name="Easy" value="128" />
      <dipvalue name="Normal" value="192" default="yes" />
      <dipvalue name="Hard" value="64" />
      <dipvalue name="Hardest" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="ddcrewjd" sourcefile="segas18.cpp" cloneof="ddcrew" romof="ddcrew">
    <description>D. D. Crew (Japan, 4 Players) (bootleg of FD1094 317-0185 set)</description>
    <year>1991</year>
    <manufacturer>bootleg</manufacturer>
    <rom name="bootleg_epr-14150.a4" size="262144" crc="1f267de5" sha1="24b5683c427ea8a56906d8246807e6be2ec8dbe6" region="maincpu" offset="0" />
    <rom name="bootleg_epr-14151.a6" size="262144" crc="35074062" sha1="a9b657a550c652a62096d396f7eccf8a0888b482" region="maincpu" offset="1" />
    <rom name="mpr-14139.a5" merge="mpr-14139.a5" size="262144" crc="06c31531" sha1="d084cb72bf83578b34e959bb60a0695faf4161f8" region="maincpu" offset="80000" />
    <rom name="mpr-14141.a7" merge="mpr-14141.a7" size="262144" crc="080a494b" sha1="64522dccbf6ed856ab80aa185454183df87d7ae9" region="maincpu" offset="80001" />
    <rom name="epr-14127.c1" merge="epr-14127.c1" size="262144" crc="2228cd88" sha1="5774bb6a401c3da05c5f3c9d3996b20bb3713cb2" region="gfx1" offset="0" />
    <rom name="epr-14128.c2" merge="epr-14128.c2" size="262144" crc="edba8e10" sha1="25a2833ead4ca363802ddc2eb97c40976502921a" region="gfx1" offset="40000" />
    <rom name="epr-14129.c3" merge="epr-14129.c3" size="262144" crc="e8ecc305" sha1="a26d0c5c7826cd315f8b2c27e5a503a2a7b535c4" region="gfx1" offset="80000" />
    <rom name="mpr-14134.c10" merge="mpr-14134.c10" size="524288" crc="4fda6a4b" sha1="a9e582e494ab967e8f3ccf4d5844bb8ef889928c" region="sprites" offset="1" />
    <rom name="mpr-14142.a10" merge="mpr-14142.a10" size="524288" crc="3cbf1f2a" sha1="80b6b006936740087786acd538e28aca85fa6894" region="sprites" offset="0" />
    <rom name="mpr-14135.c11" merge="mpr-14135.c11" size="524288" crc="e9c74876" sha1="aff9d071e77f01c6937188bf67be38fa898343e6" region="sprites" offset="200001" />
    <rom name="mpr-14143.a11" merge="mpr-14143.a11" size="524288" crc="59022c31" sha1="5e1409fe0f29284dc6a3ffacf69b761aae09f132" region="sprites" offset="200000" />
    <rom name="mpr-14136.c12" merge="mpr-14136.c12" size="524288" crc="720d9858" sha1="8ebcb8b3e9555ca48b28908d47dcbbd654398b6f" region="sprites" offset="400001" />
    <rom name="mpr-14144.a12" merge="mpr-14144.a12" size="524288" crc="7775fdd4" sha1="a03cac039b400b651a4bf2167a8f2338f488ce26" region="sprites" offset="400000" />
    <rom name="epr-14137.c13" merge="epr-14137.c13" size="524288" crc="846c4265" sha1="58d0c213d085fb4dee18b7aefb05087d9d522950" region="sprites" offset="600001" />
    <rom name="epr-14145.a13" merge="epr-14145.a13" size="524288" crc="0e76c797" sha1="9a44dc948e84e5acac36e80105c2349ee78e6cfa" region="sprites" offset="600000" />
    <rom name="epr-14133.c7" merge="epr-14133.c7" size="131072" crc="cff96665" sha1="b4dc7f1a03415ebebdb99a82ae89328c345e7678" region="soundcpu" offset="0" />
    <rom name="mpr-14132.c6" merge="mpr-14132.c6" size="524288" crc="1fae0220" sha1="8414c74318ea915816c6b67801ac7c8c3fc905f9" region="soundcpu" offset="80000" />
    <rom name="mpr-14131.c5" merge="mpr-14131.c5" size="524288" crc="be5a7d0b" sha1="c2c598b0cf711273fdd568f3401375e9772c1d61" region="soundcpu" offset="100000" />
    <rom name="epr-14130.c4" merge="epr-14130.c4" size="524288" crc="948f34a1" sha1="d4c6728d5eea06cee6ac15a34ec8cccb4cc4b982" region="soundcpu" offset="180000" />
    <device_ref name="m68000" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="4" coins="4" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="joy" player="2" buttons="3" ways="8" />
      <control type="joy" player="3" buttons="3" ways="8" />
      <control type="joy" player="4" buttons="3" ways="8" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Credits needed" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="1 to start, 1 to continue" value="1" default="yes" />
      <dipvalue name="2 to start, 1 to continue" value="0" />
    </dipswitch>
    <dipswitch name="Switch to Start" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Start" value="2" default="yes" />
      <dipvalue name="Attack" value="0" />
    </dipswitch>
    <dipswitch name="Coin Chute" tag="DSW" mask="4">
      <diplocation name="SW2" number="3" />
      <dipvalue name="Common" value="4" default="yes" />
      <dipvalue name="Individual" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="8">
      <diplocation name="SW2" number="4" />
      <dipvalue name="Off" value="8" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Player Start/Continue" tag="DSW" mask="48">
      <diplocation name="SW2" number="5" />
      <diplocation name="SW2" number="6" />
      <dipvalue name="3/3" value="48" default="yes" />
      <dipvalue name="2/3" value="32" />
      <dipvalue name="2/2" value="16" />
      <dipvalue name="3/4" value="0" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="192">
      <diplocation name="SW2" number="7" />
      <diplocation name="SW2" number="8" />
      <dipvalue name="Easy" value="128" />
      <dipvalue name="Normal" value="192" default="yes" />
      <dipvalue name="Hard" value="64" />
      <dipvalue name="Hardest" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":EXP3" />
    <port tag=":EXP4" />
    <port tag=":EXSERVICE" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="ddcrewu" sourcefile="segas18.cpp" cloneof="ddcrew" romof="ddcrew">
    <description>D. D. Crew (US, 4 Players) (FD1094 317-0186)</description>
    <year>1991</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-14152.a4" size="262144" crc="69c7b571" sha1="9fe4815a1cff0a46a754a6bdee12abaf7beb6501" region="maincpu" offset="0" />
    <rom name="epr-14153.a6" size="262144" crc="e01fae0c" sha1="7166f955324f73e94d8ae6d2a5b2f4b497e62933" region="maincpu" offset="1" />
    <rom name="mpr-14139.a5" merge="mpr-14139.a5" size="262144" crc="06c31531" sha1="d084cb72bf83578b34e959bb60a0695faf4161f8" region="maincpu" offset="80000" />
    <rom name="mpr-14141.a7" merge="mpr-14141.a7" size="262144" crc="080a494b" sha1="64522dccbf6ed856ab80aa185454183df87d7ae9" region="maincpu" offset="80001" />
    <rom name="317-0186.key" size="8192" crc="7acaf1fd" sha1="236d6382072adda8f7907d98d428fcca36700fa0" region="maincpu:key" offset="0" />
    <rom name="epr-14127.c1" merge="epr-14127.c1" size="262144" crc="2228cd88" sha1="5774bb6a401c3da05c5f3c9d3996b20bb3713cb2" region="gfx1" offset="0" />
    <rom name="epr-14128.c2" merge="epr-14128.c2" size="262144" crc="edba8e10" sha1="25a2833ead4ca363802ddc2eb97c40976502921a" region="gfx1" offset="40000" />
    <rom name="epr-14129.c3" merge="epr-14129.c3" size="262144" crc="e8ecc305" sha1="a26d0c5c7826cd315f8b2c27e5a503a2a7b535c4" region="gfx1" offset="80000" />
    <rom name="mpr-14134.c10" merge="mpr-14134.c10" size="524288" crc="4fda6a4b" sha1="a9e582e494ab967e8f3ccf4d5844bb8ef889928c" region="sprites" offset="1" />
    <rom name="mpr-14142.a10" merge="mpr-14142.a10" size="524288" crc="3cbf1f2a" sha1="80b6b006936740087786acd538e28aca85fa6894" region="sprites" offset="0" />
    <rom name="mpr-14135.c11" merge="mpr-14135.c11" size="524288" crc="e9c74876" sha1="aff9d071e77f01c6937188bf67be38fa898343e6" region="sprites" offset="200001" />
    <rom name="mpr-14143.a11" merge="mpr-14143.a11" size="524288" crc="59022c31" sha1="5e1409fe0f29284dc6a3ffacf69b761aae09f132" region="sprites" offset="200000" />
    <rom name="mpr-14136.c12" merge="mpr-14136.c12" size="524288" crc="720d9858" sha1="8ebcb8b3e9555ca48b28908d47dcbbd654398b6f" region="sprites" offset="400001" />
    <rom name="mpr-14144.a12" merge="mpr-14144.a12" size="524288" crc="7775fdd4" sha1="a03cac039b400b651a4bf2167a8f2338f488ce26" region="sprites" offset="400000" />
    <rom name="epr-14137.c13" merge="epr-14137.c13" size="524288" crc="846c4265" sha1="58d0c213d085fb4dee18b7aefb05087d9d522950" region="sprites" offset="600001" />
    <rom name="epr-14145.a13" merge="epr-14145.a13" size="524288" crc="0e76c797" sha1="9a44dc948e84e5acac36e80105c2349ee78e6cfa" region="sprites" offset="600000" />
    <rom name="epr-14133.c7" merge="epr-14133.c7" size="131072" crc="cff96665" sha1="b4dc7f1a03415ebebdb99a82ae89328c345e7678" region="soundcpu" offset="0" />
    <rom name="mpr-14132.c6" merge="mpr-14132.c6" size="524288" crc="1fae0220" sha1="8414c74318ea915816c6b67801ac7c8c3fc905f9" region="soundcpu" offset="80000" />
    <rom name="mpr-14131.c5" merge="mpr-14131.c5" size="524288" crc="be5a7d0b" sha1="c2c598b0cf711273fdd568f3401375e9772c1d61" region="soundcpu" offset="100000" />
    <rom name="epr-14130.c4" merge="epr-14130.c4" size="524288" crc="948f34a1" sha1="d4c6728d5eea06cee6ac15a34ec8cccb4cc4b982" region="soundcpu" offset="180000" />
    <device_ref name="fd1094" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <chip type="cpu" tag="maincpu" name="Hitachi FD1094 Encrypted CPU" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="4" coins="4" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="joy" player="2" buttons="3" ways="8" />
      <control type="joy" player="3" buttons="3" ways="8" />
      <control type="joy" player="4" buttons="3" ways="8" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Credits needed" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="1 to start, 1 to continue" value="1" default="yes" />
      <dipvalue name="2 to start, 1 to continue" value="0" />
    </dipswitch>
    <dipswitch name="Switch to Start" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Start" value="2" default="yes" />
      <dipvalue name="Attack" value="0" />
    </dipswitch>
    <dipswitch name="Coin Chute" tag="DSW" mask="4">
      <diplocation name="SW2" number="3" />
      <dipvalue name="Common" value="4" default="yes" />
      <dipvalue name="Individual" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="8">
      <diplocation name="SW2" number="4" />
      <dipvalue name="Off" value="8" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Player Start/Continue" tag="DSW" mask="48">
      <diplocation name="SW2" number="5" />
      <diplocation name="SW2" number="6" />
      <dipvalue name="3/3" value="48" default="yes" />
      <dipvalue name="2/3" value="32" />
      <dipvalue name="2/2" value="16" />
      <dipvalue name="3/4" value="0" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="192">
      <diplocation name="SW2" number="7" />
      <diplocation name="SW2" number="8" />
      <dipvalue name="Easy" value="128" />
      <dipvalue name="Normal" value="192" default="yes" />
      <dipvalue name="Hard" value="64" />
      <dipvalue name="Hardest" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":EXP3" />
    <port tag=":EXP4" />
    <port tag=":EXSERVICE" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="ddcrewud" sourcefile="segas18.cpp" cloneof="ddcrew" romof="ddcrew">
    <description>D. D. Crew (US, 4 Players) (bootleg of FD1094 317-0186 set)</description>
    <year>1991</year>
    <manufacturer>bootleg</manufacturer>
    <rom name="bootleg_epr-14152.a4" size="262144" crc="41b782d0" sha1="b84ebbe65b9b2aed0599a3309ff5afbdd40e3c13" region="maincpu" offset="0" />
    <rom name="bootleg_epr-14153.a6" size="262144" crc="48070486" sha1="2cac94337eff256b05d614a960dc2c9cd707fe28" region="maincpu" offset="1" />
    <rom name="mpr-14139.a5" merge="mpr-14139.a5" size="262144" crc="06c31531" sha1="d084cb72bf83578b34e959bb60a0695faf4161f8" region="maincpu" offset="80000" />
    <rom name="mpr-14141.a7" merge="mpr-14141.a7" size="262144" crc="080a494b" sha1="64522dccbf6ed856ab80aa185454183df87d7ae9" region="maincpu" offset="80001" />
    <rom name="epr-14127.c1" merge="epr-14127.c1" size="262144" crc="2228cd88" sha1="5774bb6a401c3da05c5f3c9d3996b20bb3713cb2" region="gfx1" offset="0" />
    <rom name="epr-14128.c2" merge="epr-14128.c2" size="262144" crc="edba8e10" sha1="25a2833ead4ca363802ddc2eb97c40976502921a" region="gfx1" offset="40000" />
    <rom name="epr-14129.c3" merge="epr-14129.c3" size="262144" crc="e8ecc305" sha1="a26d0c5c7826cd315f8b2c27e5a503a2a7b535c4" region="gfx1" offset="80000" />
    <rom name="mpr-14134.c10" merge="mpr-14134.c10" size="524288" crc="4fda6a4b" sha1="a9e582e494ab967e8f3ccf4d5844bb8ef889928c" region="sprites" offset="1" />
    <rom name="mpr-14142.a10" merge="mpr-14142.a10" size="524288" crc="3cbf1f2a" sha1="80b6b006936740087786acd538e28aca85fa6894" region="sprites" offset="0" />
    <rom name="mpr-14135.c11" merge="mpr-14135.c11" size="524288" crc="e9c74876" sha1="aff9d071e77f01c6937188bf67be38fa898343e6" region="sprites" offset="200001" />
    <rom name="mpr-14143.a11" merge="mpr-14143.a11" size="524288" crc="59022c31" sha1="5e1409fe0f29284dc6a3ffacf69b761aae09f132" region="sprites" offset="200000" />
    <rom name="mpr-14136.c12" merge="mpr-14136.c12" size="524288" crc="720d9858" sha1="8ebcb8b3e9555ca48b28908d47dcbbd654398b6f" region="sprites" offset="400001" />
    <rom name="mpr-14144.a12" merge="mpr-14144.a12" size="524288" crc="7775fdd4" sha1="a03cac039b400b651a4bf2167a8f2338f488ce26" region="sprites" offset="400000" />
    <rom name="epr-14137.c13" merge="epr-14137.c13" size="524288" crc="846c4265" sha1="58d0c213d085fb4dee18b7aefb05087d9d522950" region="sprites" offset="600001" />
    <rom name="epr-14145.a13" merge="epr-14145.a13" size="524288" crc="0e76c797" sha1="9a44dc948e84e5acac36e80105c2349ee78e6cfa" region="sprites" offset="600000" />
    <rom name="epr-14133.c7" merge="epr-14133.c7" size="131072" crc="cff96665" sha1="b4dc7f1a03415ebebdb99a82ae89328c345e7678" region="soundcpu" offset="0" />
    <rom name="mpr-14132.c6" merge="mpr-14132.c6" size="524288" crc="1fae0220" sha1="8414c74318ea915816c6b67801ac7c8c3fc905f9" region="soundcpu" offset="80000" />
    <rom name="mpr-14131.c5" merge="mpr-14131.c5" size="524288" crc="be5a7d0b" sha1="c2c598b0cf711273fdd568f3401375e9772c1d61" region="soundcpu" offset="100000" />
    <rom name="epr-14130.c4" merge="epr-14130.c4" size="524288" crc="948f34a1" sha1="d4c6728d5eea06cee6ac15a34ec8cccb4cc4b982" region="soundcpu" offset="180000" />
    <device_ref name="m68000" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="4" coins="4" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="joy" player="2" buttons="3" ways="8" />
      <control type="joy" player="3" buttons="3" ways="8" />
      <control type="joy" player="4" buttons="3" ways="8" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Credits needed" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="1 to start, 1 to continue" value="1" default="yes" />
      <dipvalue name="2 to start, 1 to continue" value="0" />
    </dipswitch>
    <dipswitch name="Switch to Start" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Start" value="2" default="yes" />
      <dipvalue name="Attack" value="0" />
    </dipswitch>
    <dipswitch name="Coin Chute" tag="DSW" mask="4">
      <diplocation name="SW2" number="3" />
      <dipvalue name="Common" value="4" default="yes" />
      <dipvalue name="Individual" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="8">
      <diplocation name="SW2" number="4" />
      <dipvalue name="Off" value="8" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Player Start/Continue" tag="DSW" mask="48">
      <diplocation name="SW2" number="5" />
      <diplocation name="SW2" number="6" />
      <dipvalue name="3/3" value="48" default="yes" />
      <dipvalue name="2/3" value="32" />
      <dipvalue name="2/2" value="16" />
      <dipvalue name="3/4" value="0" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="192">
      <diplocation name="SW2" number="7" />
      <diplocation name="SW2" number="8" />
      <dipvalue name="Easy" value="128" />
      <dipvalue name="Normal" value="192" default="yes" />
      <dipvalue name="Hard" value="64" />
      <dipvalue name="Hardest" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":EXP3" />
    <port tag=":EXP4" />
    <port tag=":EXSERVICE" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="desertbr" sourcefile="segas18.cpp">
    <description>Desert Breaker (World) (FD1094 317-0196)</description>
    <year>1992</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-14802.a4" size="524288" crc="9ab93cbc" sha1="a8d0013e17519c26c6ba7d28ec73e22ea5bde0e9" region="maincpu" offset="0" />
    <rom name="epr-14902.a6" size="524288" crc="6724e7b1" sha1="540c8bb7e848488dead81ca58f3bece45a87e611" region="maincpu" offset="1" />
    <rom name="epr-14793.a5" size="524288" crc="dc9d7af3" sha1="1fc1fedc1a4beed94cece268d0bb4bf62eeb407c" region="maincpu" offset="100000" />
    <rom name="epr-14795.a7" size="524288" crc="7e5bf7d9" sha1="32ac68ee423a34e0f1bedc8765e03f40e01c3af1" region="maincpu" offset="100001" />
    <rom name="317-0196.key" size="8192" crc="cb942262" sha1="7ad7cd3df887c6e6435d74784cb12ce016acd0da" region="maincpu:key" offset="0" />
    <rom name="mpr-14781.c1" size="1048576" crc="c4f7d7aa" sha1="3c69dd7a26efccd7111ef33dfa6e8b738095c0bf" region="gfx1" offset="0" />
    <rom name="mpr-14782.c2" size="1048576" crc="ccc98d05" sha1="b89594bbfff45e3b4fe433aeeaf8b4073c2cabb5" region="gfx1" offset="100000" />
    <rom name="mpr-14783.c3" size="1048576" crc="ef202bec" sha1="b557092f8a3e1c9889d34588344c6dd2c6f06731" region="gfx1" offset="200000" />
    <rom name="mpr-14788.c10" size="1048576" crc="b5b05536" sha1="f8fde7ebca38c0a6f6a864c17771aa155e6fc30d" region="sprites" offset="1" />
    <rom name="mpr-14796.a10" size="1048576" crc="c033220a" sha1="279d3ef62b41d2c6a18ce1217a549402a874638b" region="sprites" offset="0" />
    <rom name="mpr-14789.c11" size="1048576" crc="0f9bcb97" sha1="c15ab3ece596c54e1c4d8e8a755473609334e8ba" region="sprites" offset="200001" />
    <rom name="mpr-14797.a11" size="1048576" crc="4c301cc9" sha1="8aea8af0b078b81d1054331b273568b1b903531b" region="sprites" offset="200000" />
    <rom name="mpr-14790.c12" size="1048576" crc="6a07ac27" sha1="0558b662c7965c5b74cbc552423194a8facbc092" region="sprites" offset="400001" />
    <rom name="mpr-14798.a12" size="1048576" crc="50634625" sha1="f4baaebdb1f850e92ca865e103fbca68cdb0de0f" region="sprites" offset="400000" />
    <rom name="mpr-14791.c13" size="1048576" crc="a4ae352b" sha1="dc814e1c2e167e191cd43fa554ff8ee974d47152" region="sprites" offset="600001" />
    <rom name="mpr-14799.a13" size="1048576" crc="aeb7b025" sha1="9ce2a9a46176a110c8d2e77deb3d8b9b69b902fa" region="sprites" offset="600000" />
    <rom name="epr-14787.c7" size="262144" crc="cc6feec7" sha1="31cc243178b98681a52500a485d74ed9e1274888" region="soundcpu" offset="0" />
    <rom name="mpr-14786.c6" size="524288" crc="cc8349f2" sha1="9f00d8ea372b70ba44a90dab497deadcc5be3dab" region="soundcpu" offset="80000" />
    <rom name="mpr-14785.c5" size="524288" crc="7babba13" sha1="190cd9ea0f73272e0df34bbdfd8e0035f9e9b0b0" region="soundcpu" offset="100000" />
    <rom name="mpr-14784.c4" size="524288" crc="073878e4" sha1="eff08080d06a16fccf4876e42b389fef599cceba" region="soundcpu" offset="180000" />
    <device_ref name="fd1094" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <chip type="cpu" tag="maincpu" name="Hitachi FD1094 Encrypted CPU" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="270" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="3" coins="3" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="joy" player="2" buttons="3" ways="8" />
      <control type="joy" player="3" buttons="3" ways="8" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Credits to Start" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="1" value="1" default="yes" />
      <dipvalue name="2" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Off" value="2" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="4">
      <diplocation name="SW2" number="3" />
      <dipvalue name="Off" value="4" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Play Mode" tag="DSW" mask="8">
      <diplocation name="SW2" number="4" />
      <dipvalue name="2 players" value="0" />
      <dipvalue name="3 players" value="8" default="yes" />
    </dipswitch>
    <dipswitch name="Coin Chute" tag="DSW" mask="16">
      <diplocation name="SW2" number="5" />
      <dipvalue name="Common" value="16" default="yes" />
      <dipvalue name="Individual" value="0" />
    </dipswitch>
    <dipswitch name="Start Button" tag="DSW" mask="32">
      <diplocation name="SW2" number="6" />
      <dipvalue name="Use" value="32" default="yes" />
      <dipvalue name="Unused" value="0" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="192">
      <diplocation name="SW2" number="7" />
      <diplocation name="SW2" number="8" />
      <dipvalue name="Hard" value="64" />
      <dipvalue name="Easy" value="128" />
      <dipvalue name="Normal" value="192" default="yes" />
      <dipvalue name="Hardest" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="desertbrd" sourcefile="segas18.cpp" cloneof="desertbr" romof="desertbr">
    <description>Desert Breaker (World) (bootleg of FD1094 317-0196 set)</description>
    <year>1992</year>
    <manufacturer>bootleg</manufacturer>
    <rom name="bootleg_epr-14802.a4" size="524288" crc="af74af1c" sha1="42048fc8042816886a5f7e05f195ee9ee9af9c04" region="maincpu" offset="0" />
    <rom name="bootleg_epr-14902.a6" size="524288" crc="c883404b" sha1="e11bb91fc1280158d3b524d598ee87d72e6efe03" region="maincpu" offset="1" />
    <rom name="epr-14793.a5" merge="epr-14793.a5" size="524288" crc="dc9d7af3" sha1="1fc1fedc1a4beed94cece268d0bb4bf62eeb407c" region="maincpu" offset="100000" />
    <rom name="epr-14795.a7" merge="epr-14795.a7" size="524288" crc="7e5bf7d9" sha1="32ac68ee423a34e0f1bedc8765e03f40e01c3af1" region="maincpu" offset="100001" />
    <rom name="mpr-14781.c1" merge="mpr-14781.c1" size="1048576" crc="c4f7d7aa" sha1="3c69dd7a26efccd7111ef33dfa6e8b738095c0bf" region="gfx1" offset="0" />
    <rom name="mpr-14782.c2" merge="mpr-14782.c2" size="1048576" crc="ccc98d05" sha1="b89594bbfff45e3b4fe433aeeaf8b4073c2cabb5" region="gfx1" offset="100000" />
    <rom name="mpr-14783.c3" merge="mpr-14783.c3" size="1048576" crc="ef202bec" sha1="b557092f8a3e1c9889d34588344c6dd2c6f06731" region="gfx1" offset="200000" />
    <rom name="mpr-14788.c10" merge="mpr-14788.c10" size="1048576" crc="b5b05536" sha1="f8fde7ebca38c0a6f6a864c17771aa155e6fc30d" region="sprites" offset="1" />
    <rom name="mpr-14796.a10" merge="mpr-14796.a10" size="1048576" crc="c033220a" sha1="279d3ef62b41d2c6a18ce1217a549402a874638b" region="sprites" offset="0" />
    <rom name="mpr-14789.c11" merge="mpr-14789.c11" size="1048576" crc="0f9bcb97" sha1="c15ab3ece596c54e1c4d8e8a755473609334e8ba" region="sprites" offset="200001" />
    <rom name="mpr-14797.a11" merge="mpr-14797.a11" size="1048576" crc="4c301cc9" sha1="8aea8af0b078b81d1054331b273568b1b903531b" region="sprites" offset="200000" />
    <rom name="mpr-14790.c12" merge="mpr-14790.c12" size="1048576" crc="6a07ac27" sha1="0558b662c7965c5b74cbc552423194a8facbc092" region="sprites" offset="400001" />
    <rom name="mpr-14798.a12" merge="mpr-14798.a12" size="1048576" crc="50634625" sha1="f4baaebdb1f850e92ca865e103fbca68cdb0de0f" region="sprites" offset="400000" />
    <rom name="mpr-14791.c13" merge="mpr-14791.c13" size="1048576" crc="a4ae352b" sha1="dc814e1c2e167e191cd43fa554ff8ee974d47152" region="sprites" offset="600001" />
    <rom name="mpr-14799.a13" merge="mpr-14799.a13" size="1048576" crc="aeb7b025" sha1="9ce2a9a46176a110c8d2e77deb3d8b9b69b902fa" region="sprites" offset="600000" />
    <rom name="epr-14787.c7" merge="epr-14787.c7" size="262144" crc="cc6feec7" sha1="31cc243178b98681a52500a485d74ed9e1274888" region="soundcpu" offset="0" />
    <rom name="mpr-14786.c6" merge="mpr-14786.c6" size="524288" crc="cc8349f2" sha1="9f00d8ea372b70ba44a90dab497deadcc5be3dab" region="soundcpu" offset="80000" />
    <rom name="mpr-14785.c5" merge="mpr-14785.c5" size="524288" crc="7babba13" sha1="190cd9ea0f73272e0df34bbdfd8e0035f9e9b0b0" region="soundcpu" offset="100000" />
    <rom name="mpr-14784.c4" merge="mpr-14784.c4" size="524288" crc="073878e4" sha1="eff08080d06a16fccf4876e42b389fef599cceba" region="soundcpu" offset="180000" />
    <device_ref name="m68000" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="270" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="3" coins="3" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="joy" player="2" buttons="3" ways="8" />
      <control type="joy" player="3" buttons="3" ways="8" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Credits to Start" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="1" value="1" default="yes" />
      <dipvalue name="2" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Off" value="2" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="4">
      <diplocation name="SW2" number="3" />
      <dipvalue name="Off" value="4" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Play Mode" tag="DSW" mask="8">
      <diplocation name="SW2" number="4" />
      <dipvalue name="2 players" value="0" />
      <dipvalue name="3 players" value="8" default="yes" />
    </dipswitch>
    <dipswitch name="Coin Chute" tag="DSW" mask="16">
      <diplocation name="SW2" number="5" />
      <dipvalue name="Common" value="16" default="yes" />
      <dipvalue name="Individual" value="0" />
    </dipswitch>
    <dipswitch name="Start Button" tag="DSW" mask="32">
      <diplocation name="SW2" number="6" />
      <dipvalue name="Use" value="32" default="yes" />
      <dipvalue name="Unused" value="0" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="192">
      <diplocation name="SW2" number="7" />
      <diplocation name="SW2" number="8" />
      <dipvalue name="Hard" value="64" />
      <dipvalue name="Easy" value="128" />
      <dipvalue name="Normal" value="192" default="yes" />
      <dipvalue name="Hardest" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="desertbrj" sourcefile="segas18.cpp" cloneof="desertbr" romof="desertbr">
    <description>Desert Breaker (Japan) (FD1094 317-0194)</description>
    <year>1992</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-14792.a4" size="524288" crc="453d9d02" sha1="df5d85c2e1a25c18860aa96462ea4893bb633190" region="maincpu" offset="0" />
    <rom name="epr-14794.a6" size="524288" crc="4426758f" sha1="d8bebcf05a83d34a93f74e2263f4290e995656ba" region="maincpu" offset="1" />
    <rom name="epr-14793.a5" merge="epr-14793.a5" size="524288" crc="dc9d7af3" sha1="1fc1fedc1a4beed94cece268d0bb4bf62eeb407c" region="maincpu" offset="100000" />
    <rom name="epr-14795.a7" merge="epr-14795.a7" size="524288" crc="7e5bf7d9" sha1="32ac68ee423a34e0f1bedc8765e03f40e01c3af1" region="maincpu" offset="100001" />
    <rom name="317-0194.key" size="8192" crc="40cbc4cb" sha1="51777d8a619268ac0b1fda6e7781cde753354419" region="maincpu:key" offset="0" />
    <rom name="mpr-14781.c1" merge="mpr-14781.c1" size="1048576" crc="c4f7d7aa" sha1="3c69dd7a26efccd7111ef33dfa6e8b738095c0bf" region="gfx1" offset="0" />
    <rom name="mpr-14782.c2" merge="mpr-14782.c2" size="1048576" crc="ccc98d05" sha1="b89594bbfff45e3b4fe433aeeaf8b4073c2cabb5" region="gfx1" offset="100000" />
    <rom name="mpr-14783.c3" merge="mpr-14783.c3" size="1048576" crc="ef202bec" sha1="b557092f8a3e1c9889d34588344c6dd2c6f06731" region="gfx1" offset="200000" />
    <rom name="mpr-14788.c10" merge="mpr-14788.c10" size="1048576" crc="b5b05536" sha1="f8fde7ebca38c0a6f6a864c17771aa155e6fc30d" region="sprites" offset="1" />
    <rom name="mpr-14796.a10" merge="mpr-14796.a10" size="1048576" crc="c033220a" sha1="279d3ef62b41d2c6a18ce1217a549402a874638b" region="sprites" offset="0" />
    <rom name="mpr-14789.c11" merge="mpr-14789.c11" size="1048576" crc="0f9bcb97" sha1="c15ab3ece596c54e1c4d8e8a755473609334e8ba" region="sprites" offset="200001" />
    <rom name="mpr-14797.a11" merge="mpr-14797.a11" size="1048576" crc="4c301cc9" sha1="8aea8af0b078b81d1054331b273568b1b903531b" region="sprites" offset="200000" />
    <rom name="mpr-14790.c12" merge="mpr-14790.c12" size="1048576" crc="6a07ac27" sha1="0558b662c7965c5b74cbc552423194a8facbc092" region="sprites" offset="400001" />
    <rom name="mpr-14798.a12" merge="mpr-14798.a12" size="1048576" crc="50634625" sha1="f4baaebdb1f850e92ca865e103fbca68cdb0de0f" region="sprites" offset="400000" />
    <rom name="mpr-14791.c13" merge="mpr-14791.c13" size="1048576" crc="a4ae352b" sha1="dc814e1c2e167e191cd43fa554ff8ee974d47152" region="sprites" offset="600001" />
    <rom name="mpr-14799.a13" merge="mpr-14799.a13" size="1048576" crc="aeb7b025" sha1="9ce2a9a46176a110c8d2e77deb3d8b9b69b902fa" region="sprites" offset="600000" />
    <rom name="epr-14787.c7" merge="epr-14787.c7" size="262144" crc="cc6feec7" sha1="31cc243178b98681a52500a485d74ed9e1274888" region="soundcpu" offset="0" />
    <rom name="mpr-14786.c6" merge="mpr-14786.c6" size="524288" crc="cc8349f2" sha1="9f00d8ea372b70ba44a90dab497deadcc5be3dab" region="soundcpu" offset="80000" />
    <rom name="mpr-14785.c5" merge="mpr-14785.c5" size="524288" crc="7babba13" sha1="190cd9ea0f73272e0df34bbdfd8e0035f9e9b0b0" region="soundcpu" offset="100000" />
    <rom name="mpr-14784.c4" merge="mpr-14784.c4" size="524288" crc="073878e4" sha1="eff08080d06a16fccf4876e42b389fef599cceba" region="soundcpu" offset="180000" />
    <device_ref name="fd1094" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <chip type="cpu" tag="maincpu" name="Hitachi FD1094 Encrypted CPU" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="270" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="3" coins="3" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="joy" player="2" buttons="3" ways="8" />
      <control type="joy" player="3" buttons="3" ways="8" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Credits to Start" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="1" value="1" default="yes" />
      <dipvalue name="2" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Off" value="2" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="4">
      <diplocation name="SW2" number="3" />
      <dipvalue name="Off" value="4" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Play Mode" tag="DSW" mask="8">
      <diplocation name="SW2" number="4" />
      <dipvalue name="2 players" value="0" />
      <dipvalue name="3 players" value="8" default="yes" />
    </dipswitch>
    <dipswitch name="Coin Chute" tag="DSW" mask="16">
      <diplocation name="SW2" number="5" />
      <dipvalue name="Common" value="16" default="yes" />
      <dipvalue name="Individual" value="0" />
    </dipswitch>
    <dipswitch name="Start Button" tag="DSW" mask="32">
      <diplocation name="SW2" number="6" />
      <dipvalue name="Use" value="32" default="yes" />
      <dipvalue name="Unused" value="0" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="192">
      <diplocation name="SW2" number="7" />
      <diplocation name="SW2" number="8" />
      <dipvalue name="Hard" value="64" />
      <dipvalue name="Easy" value="128" />
      <dipvalue name="Normal" value="192" default="yes" />
      <dipvalue name="Hardest" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="desertbrjd" sourcefile="segas18.cpp" cloneof="desertbr" romof="desertbr">
    <description>Desert Breaker (Japan) (bootleg of FD1094 317-0194 set)</description>
    <year>1992</year>
    <manufacturer>bootleg</manufacturer>
    <rom name="bootleg_epr-14792.a4" size="524288" crc="fd8ed26d" sha1="db5a9a68a05d03db7a1fe60a281310a0d38a86ed" region="maincpu" offset="0" />
    <rom name="bootleg_epr-14794.a6" size="524288" crc="399f167d" sha1="ee2d8cb1f6725b38f038e0021317e11b79ce81f0" region="maincpu" offset="1" />
    <rom name="epr-14793.a5" merge="epr-14793.a5" size="524288" crc="dc9d7af3" sha1="1fc1fedc1a4beed94cece268d0bb4bf62eeb407c" region="maincpu" offset="100000" />
    <rom name="epr-14795.a7" merge="epr-14795.a7" size="524288" crc="7e5bf7d9" sha1="32ac68ee423a34e0f1bedc8765e03f40e01c3af1" region="maincpu" offset="100001" />
    <rom name="mpr-14781.c1" merge="mpr-14781.c1" size="1048576" crc="c4f7d7aa" sha1="3c69dd7a26efccd7111ef33dfa6e8b738095c0bf" region="gfx1" offset="0" />
    <rom name="mpr-14782.c2" merge="mpr-14782.c2" size="1048576" crc="ccc98d05" sha1="b89594bbfff45e3b4fe433aeeaf8b4073c2cabb5" region="gfx1" offset="100000" />
    <rom name="mpr-14783.c3" merge="mpr-14783.c3" size="1048576" crc="ef202bec" sha1="b557092f8a3e1c9889d34588344c6dd2c6f06731" region="gfx1" offset="200000" />
    <rom name="mpr-14788.c10" merge="mpr-14788.c10" size="1048576" crc="b5b05536" sha1="f8fde7ebca38c0a6f6a864c17771aa155e6fc30d" region="sprites" offset="1" />
    <rom name="mpr-14796.a10" merge="mpr-14796.a10" size="1048576" crc="c033220a" sha1="279d3ef62b41d2c6a18ce1217a549402a874638b" region="sprites" offset="0" />
    <rom name="mpr-14789.c11" merge="mpr-14789.c11" size="1048576" crc="0f9bcb97" sha1="c15ab3ece596c54e1c4d8e8a755473609334e8ba" region="sprites" offset="200001" />
    <rom name="mpr-14797.a11" merge="mpr-14797.a11" size="1048576" crc="4c301cc9" sha1="8aea8af0b078b81d1054331b273568b1b903531b" region="sprites" offset="200000" />
    <rom name="mpr-14790.c12" merge="mpr-14790.c12" size="1048576" crc="6a07ac27" sha1="0558b662c7965c5b74cbc552423194a8facbc092" region="sprites" offset="400001" />
    <rom name="mpr-14798.a12" merge="mpr-14798.a12" size="1048576" crc="50634625" sha1="f4baaebdb1f850e92ca865e103fbca68cdb0de0f" region="sprites" offset="400000" />
    <rom name="mpr-14791.c13" merge="mpr-14791.c13" size="1048576" crc="a4ae352b" sha1="dc814e1c2e167e191cd43fa554ff8ee974d47152" region="sprites" offset="600001" />
    <rom name="mpr-14799.a13" merge="mpr-14799.a13" size="1048576" crc="aeb7b025" sha1="9ce2a9a46176a110c8d2e77deb3d8b9b69b902fa" region="sprites" offset="600000" />
    <rom name="epr-14787.c7" merge="epr-14787.c7" size="262144" crc="cc6feec7" sha1="31cc243178b98681a52500a485d74ed9e1274888" region="soundcpu" offset="0" />
    <rom name="mpr-14786.c6" merge="mpr-14786.c6" size="524288" crc="cc8349f2" sha1="9f00d8ea372b70ba44a90dab497deadcc5be3dab" region="soundcpu" offset="80000" />
    <rom name="mpr-14785.c5" merge="mpr-14785.c5" size="524288" crc="7babba13" sha1="190cd9ea0f73272e0df34bbdfd8e0035f9e9b0b0" region="soundcpu" offset="100000" />
    <rom name="mpr-14784.c4" merge="mpr-14784.c4" size="524288" crc="073878e4" sha1="eff08080d06a16fccf4876e42b389fef599cceba" region="soundcpu" offset="180000" />
    <device_ref name="m68000" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="270" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="3" coins="3" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="joy" player="2" buttons="3" ways="8" />
      <control type="joy" player="3" buttons="3" ways="8" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Credits to Start" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="1" value="1" default="yes" />
      <dipvalue name="2" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Off" value="2" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="4">
      <diplocation name="SW2" number="3" />
      <dipvalue name="Off" value="4" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Play Mode" tag="DSW" mask="8">
      <diplocation name="SW2" number="4" />
      <dipvalue name="2 players" value="0" />
      <dipvalue name="3 players" value="8" default="yes" />
    </dipswitch>
    <dipswitch name="Coin Chute" tag="DSW" mask="16">
      <diplocation name="SW2" number="5" />
      <dipvalue name="Common" value="16" default="yes" />
      <dipvalue name="Individual" value="0" />
    </dipswitch>
    <dipswitch name="Start Button" tag="DSW" mask="32">
      <diplocation name="SW2" number="6" />
      <dipvalue name="Use" value="32" default="yes" />
      <dipvalue name="Unused" value="0" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="192">
      <diplocation name="SW2" number="7" />
      <diplocation name="SW2" number="8" />
      <dipvalue name="Hard" value="64" />
      <dipvalue name="Easy" value="128" />
      <dipvalue name="Normal" value="192" default="yes" />
      <dipvalue name="Hardest" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="hamaway" sourcefile="segas18.cpp">
    <description>Hammer Away (Japan, prototype)</description>
    <year>1991</year>
    <manufacturer>Sega / Santos</manufacturer>
    <rom name="4.bin" size="262144" crc="cc0981e1" sha1="63528bd36f27e62fdf40715101e6d05b73e48f16" region="maincpu" offset="0" />
    <rom name="6.bin" size="262144" crc="e8599ee6" sha1="3e32b025403aecbaecfcdd0325e4acd676e99c4e" region="maincpu" offset="1" />
    <rom name="5.bin" size="262144" crc="fdb247fd" sha1="ee9db799fb5de27f81904f8ef792203415b6d4a6" region="maincpu" offset="80000" />
    <rom name="7.bin" size="262144" crc="63711470" sha1="6c4be3a0cf0f897c34ef0b3bf549f52b185bb915" region="maincpu" offset="80001" />
    <rom name="c10.bin" size="262144" crc="c55cb5cf" sha1="396179632b29ac5f8b7f8f3c91d7cf834e548bdf" region="gfx1" offset="0" />
    <rom name="1.bin" size="262144" crc="33be003f" sha1="134fa6b3347c306d9e30882dfcf24632b49f85ea" region="gfx1" offset="40000" />
    <rom name="c11.bin" size="262144" crc="37787915" sha1="c8d251be6c41de3aed2da6da70aa87071b70b1f6" region="gfx1" offset="80000" />
    <rom name="2.bin" size="262144" crc="60ca5c9f" sha1="6358ea00125a5e3f55acf73aeb9c36b1db6e711e" region="gfx1" offset="c0000" />
    <rom name="c12.bin" size="262144" crc="f12f1cf3" sha1="45e883029c58e617a2a20ac1ab5c5f598c95f4bd" region="gfx1" offset="100000" />
    <rom name="3.bin" size="262144" crc="520aa7ae" sha1="9584206aedd8be5ce9dca0ed370f8fe77aabaf76" region="gfx1" offset="140000" />
    <rom name="c17.bin" size="262144" crc="aa28d7aa" sha1="3dd5d95b05e408c023f9bd77753c37080714239d" region="sprites" offset="1" />
    <rom name="10.bin" size="262144" crc="c4c95161" sha1="2e313a4ca9506f53a2062b4a8e5ba7b381ba93ae" region="sprites" offset="0" />
    <rom name="c18.bin" size="262144" crc="0f8fe8bb" sha1="e6f68442b8d4def29b106458496a47344f70d511" region="sprites" offset="80001" />
    <rom name="11.bin" size="262144" crc="2b5eacbc" sha1="ba3690501588b9c88a31022b44bc3c82b44ae26b" region="sprites" offset="80000" />
    <rom name="c19.bin" size="262144" crc="3c616caa" sha1="d48a6239b7a52ac13971f7513a65a17af492bfdf" region="sprites" offset="100001" />
    <rom name="12.bin" size="262144" crc="c7bbd579" sha1="ab87bfdad66ea241cb23c9bbfea05f5a1574d6c9" region="sprites" offset="100000" />
    <rom name="c16.bin" size="262144" crc="913cc18c" sha1="4bf4ec14937586c3ae77fcad57dcb21f6433ef81" region="soundcpu" offset="0" />
    <rom name="c15.bin" size="262144" crc="b53694fc" sha1="0e42be2730abce1b52ea94a9fe61cbd1c9a0ccae" region="soundcpu" offset="80000" />
    <device_ref name="m68000" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="90" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="joy" player="2" buttons="3" ways="8" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="3">
      <diplocation name="SW2" number="1" />
      <diplocation name="SW2" number="2" />
      <dipvalue name="Easy" value="2" />
      <dipvalue name="Normal" value="3" default="yes" />
      <dipvalue name="Hard" value="1" />
      <dipvalue name="Hardest" value="0" />
    </dipswitch>
    <dipswitch name="Lives" tag="DSW" mask="12">
      <diplocation name="SW2" number="3" />
      <diplocation name="SW2" number="4" />
      <dipvalue name="1" value="8" />
      <dipvalue name="2" value="4" />
      <dipvalue name="3" value="12" default="yes" />
      <dipvalue name="5" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="16">
      <diplocation name="SW2" number="5" />
      <dipvalue name="Off" value="16" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="32">
      <diplocation name="SW2" number="6" />
      <dipvalue name="Off" value="32" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="64">
      <diplocation name="SW2" number="7" />
      <dipvalue name="Off" value="64" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="2 Credits to Start" tag="DSW" mask="128">
      <diplocation name="SW2" number="8" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="lghost" sourcefile="segas18.cpp">
    <description>Laser Ghost (World) (FD1094 317-0166)</description>
    <year>1990</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-13429.a4" size="262144" crc="09bd65c0" sha1="f2b332a86d52af3c5270f668bdd43a0d44eca346" region="maincpu" offset="0" />
    <rom name="epr-13430.a6" size="262144" crc="51009fe0" sha1="f1e6e3714c01c15c0e932470a9e1a17abb59e958" region="maincpu" offset="1" />
    <rom name="epr-13411.a5" size="262144" crc="5160167b" sha1="3d176a18c7527b1e485f10b144bb4db1b945e709" region="maincpu" offset="80000" />
    <rom name="epr-13413.a7" size="262144" crc="656b3bd8" sha1="db81d4ae3138308dce1e3db7a859f1d63c4ff815" region="maincpu" offset="80001" />
    <rom name="317-0166.key" size="8192" crc="8379961f" sha1="44e0662e92ece65ad2049b2cd804f516e631166e" region="maincpu:key" offset="0" />
    <rom name="epr-13414.c1" size="262144" crc="dada2419" sha1="f6ffd02d75232a09ea83fd199e5e30b2773b0cf5" region="gfx1" offset="0" />
    <rom name="epr-13415.c2" size="262144" crc="bbb62c48" sha1="7a4c5bd11b73a92deece72b55627f48ac167acd6" region="gfx1" offset="40000" />
    <rom name="epr-13416.c3" size="262144" crc="1d11dbae" sha1="331aa49c6b38d32ec33184dbd0851888463ddbc7" region="gfx1" offset="80000" />
    <rom name="epr-13603.a10" size="524288" crc="5350a94e" sha1="47e99803cab4b508feb51069c940d6c824d6961d" region="sprites" offset="0" />
    <rom name="epr-13604.c10" size="524288" crc="4009c8e5" sha1="97f513d312f4c90f8bffdf797afa3749779989a5" region="sprites" offset="1" />
    <rom name="mpr-13421.a11" size="524288" crc="2fc75890" sha1="9f97f07dba3b978df8eb357894168ad74f151d30" region="sprites" offset="200000" />
    <rom name="mpr-13424.c11" size="524288" crc="fb98d920" sha1="cebdebe88902e96c631df6053ac2589f794da155" region="sprites" offset="200001" />
    <rom name="mpr-13422.a12" size="524288" crc="48a0754d" sha1="9fead9f8319593adb4bddaaa4d053b21ca726009" region="sprites" offset="400000" />
    <rom name="mpr-13425.c12" size="524288" crc="f8252589" sha1="5a1ed24296d0609393e53df3ee585a366da4ee46" region="sprites" offset="400001" />
    <rom name="mpr-13423.a13" size="524288" crc="335bbc9d" sha1="78793335b2f8a1bb05809259521db193c17c9b98" region="sprites" offset="600000" />
    <rom name="mpr-13426.c13" size="524288" crc="5cfb1e25" sha1="1dd57475604f339e58bf946e17ae0dc5cf4a3dba" region="sprites" offset="600001" />
    <rom name="epr-13417.c7" size="131072" crc="cd7beb49" sha1="2435ce000f1eefdd06b27ea93e22fd82c0e999d2" region="soundcpu" offset="0" />
    <rom name="mpr-13420.c6" size="262144" crc="3de0dee4" sha1="31833684df5a34d5e9ef04f2ab42355b8e9cbb45" region="soundcpu" offset="80000" />
    <rom name="mpr-13419.c5" size="262144" crc="e7021b0a" sha1="82e390fac63965d4f80ae01758c19ae951c39475" region="soundcpu" offset="100000" />
    <rom name="mpr-13418.c4" size="262144" crc="0732594d" sha1="9fbeae29f1a31d136ddc9a49c786b2a08a523e0d" region="soundcpu" offset="180000" />
    <device_ref name="fd1094" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <chip type="cpu" tag="maincpu" name="Hitachi FD1094 Encrypted CPU" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="3" coins="3" service="yes">
      <control type="lightgun" player="1" buttons="2" minimum="0" maximum="255" sensitivity="50" keydelta="5" />
      <control type="lightgun" player="2" buttons="2" minimum="0" maximum="255" sensitivity="50" keydelta="5" />
      <control type="lightgun" player="3" buttons="2" minimum="0" maximum="255" sensitivity="50" keydelta="5" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="2 Credits to Start" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Off" value="2" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="28">
      <diplocation name="SW2" number="3" />
      <diplocation name="SW2" number="4" />
      <diplocation name="SW2" number="5" />
      <dipvalue name="Easiest" value="12" />
      <dipvalue name="Easier" value="20" />
      <dipvalue name="Easy" value="24" />
      <dipvalue name="Normal" value="28" default="yes" />
      <dipvalue name="Hard" value="16" />
      <dipvalue name="Harder" value="4" />
      <dipvalue name="Hardest" value="8" />
      <dipvalue name="Extra Hardest" value="0" />
    </dipswitch>
    <dipswitch name="Allow Continue" tag="DSW" mask="32">
      <diplocation name="SW2" number="6" />
      <dipvalue name="No" value="0" />
      <dipvalue name="Yes" value="32" default="yes" />
    </dipswitch>
    <dipswitch name="Coin Chute" tag="DSW" mask="64">
      <diplocation name="SW2" number="7" />
      <dipvalue name="Common" value="0" />
      <dipvalue name="Individual" value="64" default="yes" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="128">
      <diplocation name="SW2" number="8" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <configuration name="Correct P1/P3 Gun Offsets" tag="FAKE" mask="1">
      <confsetting name="No" value="0" />
      <confsetting name="Yes" value="1" default="yes" />
    </configuration>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":FAKE" />
    <port tag=":GUNX1">
      <analog mask="255" />
    </port>
    <port tag=":GUNX2">
      <analog mask="255" />
    </port>
    <port tag=":GUNX3">
      <analog mask="255" />
    </port>
    <port tag=":GUNY1">
      <analog mask="255" />
    </port>
    <port tag=":GUNY2">
      <analog mask="255" />
    </port>
    <port tag=":GUNY3">
      <analog mask="255" />
    </port>
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="lghostd" sourcefile="segas18.cpp" cloneof="lghost" romof="lghost">
    <description>Laser Ghost (World) (bootleg of FD1094 317-0166 set)</description>
    <year>1990</year>
    <manufacturer>bootleg</manufacturer>
    <rom name="bootleg_epr-13429.a4" size="262144" crc="3d641671" sha1="68941985c19732b073363fa1eb3848b78e31bc05" region="maincpu" offset="0" />
    <rom name="bootleg_epr-13430.a6" size="262144" crc="f0ba14be" sha1="a771ec7ca9f7087ed990d6565cce5c15d08766a4" region="maincpu" offset="1" />
    <rom name="epr-13411.a5" merge="epr-13411.a5" size="262144" crc="5160167b" sha1="3d176a18c7527b1e485f10b144bb4db1b945e709" region="maincpu" offset="80000" />
    <rom name="epr-13413.a7" merge="epr-13413.a7" size="262144" crc="656b3bd8" sha1="db81d4ae3138308dce1e3db7a859f1d63c4ff815" region="maincpu" offset="80001" />
    <rom name="epr-13414.c1" merge="epr-13414.c1" size="262144" crc="dada2419" sha1="f6ffd02d75232a09ea83fd199e5e30b2773b0cf5" region="gfx1" offset="0" />
    <rom name="epr-13415.c2" merge="epr-13415.c2" size="262144" crc="bbb62c48" sha1="7a4c5bd11b73a92deece72b55627f48ac167acd6" region="gfx1" offset="40000" />
    <rom name="epr-13416.c3" merge="epr-13416.c3" size="262144" crc="1d11dbae" sha1="331aa49c6b38d32ec33184dbd0851888463ddbc7" region="gfx1" offset="80000" />
    <rom name="epr-13603.a10" merge="epr-13603.a10" size="524288" crc="5350a94e" sha1="47e99803cab4b508feb51069c940d6c824d6961d" region="sprites" offset="0" />
    <rom name="epr-13604.c10" merge="epr-13604.c10" size="524288" crc="4009c8e5" sha1="97f513d312f4c90f8bffdf797afa3749779989a5" region="sprites" offset="1" />
    <rom name="mpr-13421.a11" merge="mpr-13421.a11" size="524288" crc="2fc75890" sha1="9f97f07dba3b978df8eb357894168ad74f151d30" region="sprites" offset="200000" />
    <rom name="mpr-13424.c11" merge="mpr-13424.c11" size="524288" crc="fb98d920" sha1="cebdebe88902e96c631df6053ac2589f794da155" region="sprites" offset="200001" />
    <rom name="mpr-13422.a12" merge="mpr-13422.a12" size="524288" crc="48a0754d" sha1="9fead9f8319593adb4bddaaa4d053b21ca726009" region="sprites" offset="400000" />
    <rom name="mpr-13425.c12" merge="mpr-13425.c12" size="524288" crc="f8252589" sha1="5a1ed24296d0609393e53df3ee585a366da4ee46" region="sprites" offset="400001" />
    <rom name="mpr-13423.a13" merge="mpr-13423.a13" size="524288" crc="335bbc9d" sha1="78793335b2f8a1bb05809259521db193c17c9b98" region="sprites" offset="600000" />
    <rom name="mpr-13426.c13" merge="mpr-13426.c13" size="524288" crc="5cfb1e25" sha1="1dd57475604f339e58bf946e17ae0dc5cf4a3dba" region="sprites" offset="600001" />
    <rom name="epr-13417.c7" merge="epr-13417.c7" size="131072" crc="cd7beb49" sha1="2435ce000f1eefdd06b27ea93e22fd82c0e999d2" region="soundcpu" offset="0" />
    <rom name="mpr-13420.c6" merge="mpr-13420.c6" size="262144" crc="3de0dee4" sha1="31833684df5a34d5e9ef04f2ab42355b8e9cbb45" region="soundcpu" offset="80000" />
    <rom name="mpr-13419.c5" merge="mpr-13419.c5" size="262144" crc="e7021b0a" sha1="82e390fac63965d4f80ae01758c19ae951c39475" region="soundcpu" offset="100000" />
    <rom name="mpr-13418.c4" merge="mpr-13418.c4" size="262144" crc="0732594d" sha1="9fbeae29f1a31d136ddc9a49c786b2a08a523e0d" region="soundcpu" offset="180000" />
    <device_ref name="m68000" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="3" coins="3" service="yes">
      <control type="lightgun" player="1" buttons="2" minimum="0" maximum="255" sensitivity="50" keydelta="5" />
      <control type="lightgun" player="2" buttons="2" minimum="0" maximum="255" sensitivity="50" keydelta="5" />
      <control type="lightgun" player="3" buttons="2" minimum="0" maximum="255" sensitivity="50" keydelta="5" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="2 Credits to Start" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Off" value="2" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="28">
      <diplocation name="SW2" number="3" />
      <diplocation name="SW2" number="4" />
      <diplocation name="SW2" number="5" />
      <dipvalue name="Easiest" value="12" />
      <dipvalue name="Easier" value="20" />
      <dipvalue name="Easy" value="24" />
      <dipvalue name="Normal" value="28" default="yes" />
      <dipvalue name="Hard" value="16" />
      <dipvalue name="Harder" value="4" />
      <dipvalue name="Hardest" value="8" />
      <dipvalue name="Extra Hardest" value="0" />
    </dipswitch>
    <dipswitch name="Allow Continue" tag="DSW" mask="32">
      <diplocation name="SW2" number="6" />
      <dipvalue name="No" value="0" />
      <dipvalue name="Yes" value="32" default="yes" />
    </dipswitch>
    <dipswitch name="Coin Chute" tag="DSW" mask="64">
      <diplocation name="SW2" number="7" />
      <dipvalue name="Common" value="0" />
      <dipvalue name="Individual" value="64" default="yes" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="128">
      <diplocation name="SW2" number="8" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <configuration name="Correct P1/P3 Gun Offsets" tag="FAKE" mask="1">
      <confsetting name="No" value="0" />
      <confsetting name="Yes" value="1" default="yes" />
    </configuration>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":FAKE" />
    <port tag=":GUNX1">
      <analog mask="255" />
    </port>
    <port tag=":GUNX2">
      <analog mask="255" />
    </port>
    <port tag=":GUNX3">
      <analog mask="255" />
    </port>
    <port tag=":GUNY1">
      <analog mask="255" />
    </port>
    <port tag=":GUNY2">
      <analog mask="255" />
    </port>
    <port tag=":GUNY3">
      <analog mask="255" />
    </port>
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="lghostj" sourcefile="segas18.cpp" cloneof="lghost" romof="lghost">
    <description>Laser Ghost (Japan) (FD1094 317-0164)</description>
    <year>1990</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-13410.a4" size="262144" crc="9c1d672b" sha1="d617b1fbdad1b42af6f1341e4556c3481c4a7031" region="maincpu" offset="0" />
    <rom name="epr-13412.a6" size="262144" crc="3a3155fa" sha1="534231450d4da0668e8742ada8c9c86f2e5768a6" region="maincpu" offset="1" />
    <rom name="epr-13411.a5" merge="epr-13411.a5" size="262144" crc="5160167b" sha1="3d176a18c7527b1e485f10b144bb4db1b945e709" region="maincpu" offset="80000" />
    <rom name="epr-13413.a7" merge="epr-13413.a7" size="262144" crc="656b3bd8" sha1="db81d4ae3138308dce1e3db7a859f1d63c4ff815" region="maincpu" offset="80001" />
    <rom name="317-0164.key" size="8192" crc="6bf5cf2d" sha1="9f43b057ac162a62a5f3b5511b0825f34a2a31a3" region="maincpu:key" offset="0" />
    <rom name="epr-13414.c1" merge="epr-13414.c1" size="262144" crc="dada2419" sha1="f6ffd02d75232a09ea83fd199e5e30b2773b0cf5" region="gfx1" offset="0" />
    <rom name="epr-13415.c2" merge="epr-13415.c2" size="262144" crc="bbb62c48" sha1="7a4c5bd11b73a92deece72b55627f48ac167acd6" region="gfx1" offset="40000" />
    <rom name="epr-13416.c3" merge="epr-13416.c3" size="262144" crc="1d11dbae" sha1="331aa49c6b38d32ec33184dbd0851888463ddbc7" region="gfx1" offset="80000" />
    <rom name="epr-13603.a10" merge="epr-13603.a10" size="524288" crc="5350a94e" sha1="47e99803cab4b508feb51069c940d6c824d6961d" region="sprites" offset="0" />
    <rom name="epr-13604.c10" merge="epr-13604.c10" size="524288" crc="4009c8e5" sha1="97f513d312f4c90f8bffdf797afa3749779989a5" region="sprites" offset="1" />
    <rom name="mpr-13421.a11" merge="mpr-13421.a11" size="524288" crc="2fc75890" sha1="9f97f07dba3b978df8eb357894168ad74f151d30" region="sprites" offset="200000" />
    <rom name="mpr-13424.c11" merge="mpr-13424.c11" size="524288" crc="fb98d920" sha1="cebdebe88902e96c631df6053ac2589f794da155" region="sprites" offset="200001" />
    <rom name="mpr-13422.a12" merge="mpr-13422.a12" size="524288" crc="48a0754d" sha1="9fead9f8319593adb4bddaaa4d053b21ca726009" region="sprites" offset="400000" />
    <rom name="mpr-13425.c12" merge="mpr-13425.c12" size="524288" crc="f8252589" sha1="5a1ed24296d0609393e53df3ee585a366da4ee46" region="sprites" offset="400001" />
    <rom name="mpr-13423.a13" merge="mpr-13423.a13" size="524288" crc="335bbc9d" sha1="78793335b2f8a1bb05809259521db193c17c9b98" region="sprites" offset="600000" />
    <rom name="mpr-13426.c13" merge="mpr-13426.c13" size="524288" crc="5cfb1e25" sha1="1dd57475604f339e58bf946e17ae0dc5cf4a3dba" region="sprites" offset="600001" />
    <rom name="epr-13417.c7" merge="epr-13417.c7" size="131072" crc="cd7beb49" sha1="2435ce000f1eefdd06b27ea93e22fd82c0e999d2" region="soundcpu" offset="0" />
    <rom name="mpr-13420.c6" merge="mpr-13420.c6" size="262144" crc="3de0dee4" sha1="31833684df5a34d5e9ef04f2ab42355b8e9cbb45" region="soundcpu" offset="80000" />
    <rom name="mpr-13419.c5" merge="mpr-13419.c5" size="262144" crc="e7021b0a" sha1="82e390fac63965d4f80ae01758c19ae951c39475" region="soundcpu" offset="100000" />
    <rom name="mpr-13418.c4" merge="mpr-13418.c4" size="262144" crc="0732594d" sha1="9fbeae29f1a31d136ddc9a49c786b2a08a523e0d" region="soundcpu" offset="180000" />
    <device_ref name="fd1094" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <chip type="cpu" tag="maincpu" name="Hitachi FD1094 Encrypted CPU" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="3" coins="3" service="yes">
      <control type="lightgun" player="1" buttons="2" minimum="0" maximum="255" sensitivity="50" keydelta="5" />
      <control type="lightgun" player="2" buttons="2" minimum="0" maximum="255" sensitivity="50" keydelta="5" />
      <control type="lightgun" player="3" buttons="2" minimum="0" maximum="255" sensitivity="50" keydelta="5" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="2 Credits to Start" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Off" value="2" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="28">
      <diplocation name="SW2" number="3" />
      <diplocation name="SW2" number="4" />
      <diplocation name="SW2" number="5" />
      <dipvalue name="Easiest" value="12" />
      <dipvalue name="Easier" value="20" />
      <dipvalue name="Easy" value="24" />
      <dipvalue name="Normal" value="28" default="yes" />
      <dipvalue name="Hard" value="16" />
      <dipvalue name="Harder" value="4" />
      <dipvalue name="Hardest" value="8" />
      <dipvalue name="Extra Hardest" value="0" />
    </dipswitch>
    <dipswitch name="Allow Continue" tag="DSW" mask="32">
      <diplocation name="SW2" number="6" />
      <dipvalue name="No" value="0" />
      <dipvalue name="Yes" value="32" default="yes" />
    </dipswitch>
    <dipswitch name="Coin Chute" tag="DSW" mask="64">
      <diplocation name="SW2" number="7" />
      <dipvalue name="Common" value="0" />
      <dipvalue name="Individual" value="64" default="yes" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="128">
      <diplocation name="SW2" number="8" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <configuration name="Correct P1/P3 Gun Offsets" tag="FAKE" mask="1">
      <confsetting name="No" value="0" />
      <confsetting name="Yes" value="1" default="yes" />
    </configuration>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":FAKE" />
    <port tag=":GUNX1">
      <analog mask="255" />
    </port>
    <port tag=":GUNX2">
      <analog mask="255" />
    </port>
    <port tag=":GUNX3">
      <analog mask="255" />
    </port>
    <port tag=":GUNY1">
      <analog mask="255" />
    </port>
    <port tag=":GUNY2">
      <analog mask="255" />
    </port>
    <port tag=":GUNY3">
      <analog mask="255" />
    </port>
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="lghostu" sourcefile="segas18.cpp" cloneof="lghost" romof="lghost">
    <description>Laser Ghost (US) (FD1094 317-0165)</description>
    <year>1990</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-13427.a4" size="262144" crc="5bf8fb6b" sha1="587bbf45b5e470da7d9166b2cbf4ac58a1f2a825" region="maincpu" offset="0" />
    <rom name="epr-13428.a6" size="262144" crc="276775f5" sha1="5dd5dabe7e9311b3520d0405dda0c983e9bc4ba2" region="maincpu" offset="1" />
    <rom name="epr-13411.a5" merge="epr-13411.a5" size="262144" crc="5160167b" sha1="3d176a18c7527b1e485f10b144bb4db1b945e709" region="maincpu" offset="80000" />
    <rom name="epr-13413.a7" merge="epr-13413.a7" size="262144" crc="656b3bd8" sha1="db81d4ae3138308dce1e3db7a859f1d63c4ff815" region="maincpu" offset="80001" />
    <rom name="317-0165.key" size="8192" crc="a04267ab" sha1="688ee59dfaaf240e23de4cada648689d1717ab04" region="maincpu:key" offset="0" />
    <rom name="epr-13414.c1" merge="epr-13414.c1" size="262144" crc="dada2419" sha1="f6ffd02d75232a09ea83fd199e5e30b2773b0cf5" region="gfx1" offset="0" />
    <rom name="epr-13415.c2" merge="epr-13415.c2" size="262144" crc="bbb62c48" sha1="7a4c5bd11b73a92deece72b55627f48ac167acd6" region="gfx1" offset="40000" />
    <rom name="epr-13416.c3" merge="epr-13416.c3" size="262144" crc="1d11dbae" sha1="331aa49c6b38d32ec33184dbd0851888463ddbc7" region="gfx1" offset="80000" />
    <rom name="epr-13603.a10" merge="epr-13603.a10" size="524288" crc="5350a94e" sha1="47e99803cab4b508feb51069c940d6c824d6961d" region="sprites" offset="0" />
    <rom name="epr-13604.c10" merge="epr-13604.c10" size="524288" crc="4009c8e5" sha1="97f513d312f4c90f8bffdf797afa3749779989a5" region="sprites" offset="1" />
    <rom name="mpr-13421.a11" merge="mpr-13421.a11" size="524288" crc="2fc75890" sha1="9f97f07dba3b978df8eb357894168ad74f151d30" region="sprites" offset="200000" />
    <rom name="mpr-13424.c11" merge="mpr-13424.c11" size="524288" crc="fb98d920" sha1="cebdebe88902e96c631df6053ac2589f794da155" region="sprites" offset="200001" />
    <rom name="mpr-13422.a12" merge="mpr-13422.a12" size="524288" crc="48a0754d" sha1="9fead9f8319593adb4bddaaa4d053b21ca726009" region="sprites" offset="400000" />
    <rom name="mpr-13425.c12" merge="mpr-13425.c12" size="524288" crc="f8252589" sha1="5a1ed24296d0609393e53df3ee585a366da4ee46" region="sprites" offset="400001" />
    <rom name="mpr-13423.a13" merge="mpr-13423.a13" size="524288" crc="335bbc9d" sha1="78793335b2f8a1bb05809259521db193c17c9b98" region="sprites" offset="600000" />
    <rom name="mpr-13426.c13" merge="mpr-13426.c13" size="524288" crc="5cfb1e25" sha1="1dd57475604f339e58bf946e17ae0dc5cf4a3dba" region="sprites" offset="600001" />
    <rom name="epr-13417.c7" merge="epr-13417.c7" size="131072" crc="cd7beb49" sha1="2435ce000f1eefdd06b27ea93e22fd82c0e999d2" region="soundcpu" offset="0" />
    <rom name="mpr-13420.c6" merge="mpr-13420.c6" size="262144" crc="3de0dee4" sha1="31833684df5a34d5e9ef04f2ab42355b8e9cbb45" region="soundcpu" offset="80000" />
    <rom name="mpr-13419.c5" merge="mpr-13419.c5" size="262144" crc="e7021b0a" sha1="82e390fac63965d4f80ae01758c19ae951c39475" region="soundcpu" offset="100000" />
    <rom name="mpr-13418.c4" merge="mpr-13418.c4" size="262144" crc="0732594d" sha1="9fbeae29f1a31d136ddc9a49c786b2a08a523e0d" region="soundcpu" offset="180000" />
    <device_ref name="fd1094" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <chip type="cpu" tag="maincpu" name="Hitachi FD1094 Encrypted CPU" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="3" coins="3" service="yes">
      <control type="lightgun" player="1" buttons="2" minimum="0" maximum="255" sensitivity="50" keydelta="5" />
      <control type="lightgun" player="2" buttons="2" minimum="0" maximum="255" sensitivity="50" keydelta="5" />
      <control type="lightgun" player="3" buttons="2" minimum="0" maximum="255" sensitivity="50" keydelta="5" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="2 Credits to Start" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Off" value="2" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="28">
      <diplocation name="SW2" number="3" />
      <diplocation name="SW2" number="4" />
      <diplocation name="SW2" number="5" />
      <dipvalue name="Easiest" value="12" />
      <dipvalue name="Easier" value="20" />
      <dipvalue name="Easy" value="24" />
      <dipvalue name="Normal" value="28" default="yes" />
      <dipvalue name="Hard" value="16" />
      <dipvalue name="Harder" value="4" />
      <dipvalue name="Hardest" value="8" />
      <dipvalue name="Extra Hardest" value="0" />
    </dipswitch>
    <dipswitch name="Allow Continue" tag="DSW" mask="32">
      <diplocation name="SW2" number="6" />
      <dipvalue name="No" value="0" />
      <dipvalue name="Yes" value="32" default="yes" />
    </dipswitch>
    <dipswitch name="Coin Chute" tag="DSW" mask="64">
      <diplocation name="SW2" number="7" />
      <dipvalue name="Common" value="0" />
      <dipvalue name="Individual" value="64" default="yes" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="128">
      <diplocation name="SW2" number="8" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <configuration name="Correct P1/P3 Gun Offsets" tag="FAKE" mask="1">
      <confsetting name="No" value="0" />
      <confsetting name="Yes" value="1" default="yes" />
    </configuration>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":FAKE" />
    <port tag=":GUNX1">
      <analog mask="255" />
    </port>
    <port tag=":GUNX2">
      <analog mask="255" />
    </port>
    <port tag=":GUNX3">
      <analog mask="255" />
    </port>
    <port tag=":GUNY1">
      <analog mask="255" />
    </port>
    <port tag=":GUNY2">
      <analog mask="255" />
    </port>
    <port tag=":GUNY3">
      <analog mask="255" />
    </port>
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="lghostud" sourcefile="segas18.cpp" cloneof="lghost" romof="lghost">
    <description>Laser Ghost (US) (bootleg of FD1094 317-0165 set)</description>
    <year>1990</year>
    <manufacturer>bootleg</manufacturer>
    <rom name="bootleg_epr-13427.a4" size="262144" crc="8e9e092e" sha1="3751a5d74d729f72d34b881bede34b6029ab7f95" region="maincpu" offset="0" />
    <rom name="bootleg_epr-13428.a6" size="262144" crc="346d4ba3" sha1="d020bc1456843abc3a4132ea212c3e8140bfd4d2" region="maincpu" offset="1" />
    <rom name="epr-13411.a5" merge="epr-13411.a5" size="262144" crc="5160167b" sha1="3d176a18c7527b1e485f10b144bb4db1b945e709" region="maincpu" offset="80000" />
    <rom name="epr-13413.a7" merge="epr-13413.a7" size="262144" crc="656b3bd8" sha1="db81d4ae3138308dce1e3db7a859f1d63c4ff815" region="maincpu" offset="80001" />
    <rom name="epr-13414.c1" merge="epr-13414.c1" size="262144" crc="dada2419" sha1="f6ffd02d75232a09ea83fd199e5e30b2773b0cf5" region="gfx1" offset="0" />
    <rom name="epr-13415.c2" merge="epr-13415.c2" size="262144" crc="bbb62c48" sha1="7a4c5bd11b73a92deece72b55627f48ac167acd6" region="gfx1" offset="40000" />
    <rom name="epr-13416.c3" merge="epr-13416.c3" size="262144" crc="1d11dbae" sha1="331aa49c6b38d32ec33184dbd0851888463ddbc7" region="gfx1" offset="80000" />
    <rom name="epr-13603.a10" merge="epr-13603.a10" size="524288" crc="5350a94e" sha1="47e99803cab4b508feb51069c940d6c824d6961d" region="sprites" offset="0" />
    <rom name="epr-13604.c10" merge="epr-13604.c10" size="524288" crc="4009c8e5" sha1="97f513d312f4c90f8bffdf797afa3749779989a5" region="sprites" offset="1" />
    <rom name="mpr-13421.a11" merge="mpr-13421.a11" size="524288" crc="2fc75890" sha1="9f97f07dba3b978df8eb357894168ad74f151d30" region="sprites" offset="200000" />
    <rom name="mpr-13424.c11" merge="mpr-13424.c11" size="524288" crc="fb98d920" sha1="cebdebe88902e96c631df6053ac2589f794da155" region="sprites" offset="200001" />
    <rom name="mpr-13422.a12" merge="mpr-13422.a12" size="524288" crc="48a0754d" sha1="9fead9f8319593adb4bddaaa4d053b21ca726009" region="sprites" offset="400000" />
    <rom name="mpr-13425.c12" merge="mpr-13425.c12" size="524288" crc="f8252589" sha1="5a1ed24296d0609393e53df3ee585a366da4ee46" region="sprites" offset="400001" />
    <rom name="mpr-13423.a13" merge="mpr-13423.a13" size="524288" crc="335bbc9d" sha1="78793335b2f8a1bb05809259521db193c17c9b98" region="sprites" offset="600000" />
    <rom name="mpr-13426.c13" merge="mpr-13426.c13" size="524288" crc="5cfb1e25" sha1="1dd57475604f339e58bf946e17ae0dc5cf4a3dba" region="sprites" offset="600001" />
    <rom name="epr-13417.c7" merge="epr-13417.c7" size="131072" crc="cd7beb49" sha1="2435ce000f1eefdd06b27ea93e22fd82c0e999d2" region="soundcpu" offset="0" />
    <rom name="mpr-13420.c6" merge="mpr-13420.c6" size="262144" crc="3de0dee4" sha1="31833684df5a34d5e9ef04f2ab42355b8e9cbb45" region="soundcpu" offset="80000" />
    <rom name="mpr-13419.c5" merge="mpr-13419.c5" size="262144" crc="e7021b0a" sha1="82e390fac63965d4f80ae01758c19ae951c39475" region="soundcpu" offset="100000" />
    <rom name="mpr-13418.c4" merge="mpr-13418.c4" size="262144" crc="0732594d" sha1="9fbeae29f1a31d136ddc9a49c786b2a08a523e0d" region="soundcpu" offset="180000" />
    <device_ref name="m68000" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="3" coins="3" service="yes">
      <control type="lightgun" player="1" buttons="2" minimum="0" maximum="255" sensitivity="50" keydelta="5" />
      <control type="lightgun" player="2" buttons="2" minimum="0" maximum="255" sensitivity="50" keydelta="5" />
      <control type="lightgun" player="3" buttons="2" minimum="0" maximum="255" sensitivity="50" keydelta="5" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="2 Credits to Start" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Off" value="2" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="28">
      <diplocation name="SW2" number="3" />
      <diplocation name="SW2" number="4" />
      <diplocation name="SW2" number="5" />
      <dipvalue name="Easiest" value="12" />
      <dipvalue name="Easier" value="20" />
      <dipvalue name="Easy" value="24" />
      <dipvalue name="Normal" value="28" default="yes" />
      <dipvalue name="Hard" value="16" />
      <dipvalue name="Harder" value="4" />
      <dipvalue name="Hardest" value="8" />
      <dipvalue name="Extra Hardest" value="0" />
    </dipswitch>
    <dipswitch name="Allow Continue" tag="DSW" mask="32">
      <diplocation name="SW2" number="6" />
      <dipvalue name="No" value="0" />
      <dipvalue name="Yes" value="32" default="yes" />
    </dipswitch>
    <dipswitch name="Coin Chute" tag="DSW" mask="64">
      <diplocation name="SW2" number="7" />
      <dipvalue name="Common" value="0" />
      <dipvalue name="Individual" value="64" default="yes" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="128">
      <diplocation name="SW2" number="8" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <configuration name="Correct P1/P3 Gun Offsets" tag="FAKE" mask="1">
      <confsetting name="No" value="0" />
      <confsetting name="Yes" value="1" default="yes" />
    </configuration>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":FAKE" />
    <port tag=":GUNX1">
      <analog mask="255" />
    </port>
    <port tag=":GUNX2">
      <analog mask="255" />
    </port>
    <port tag=":GUNX3">
      <analog mask="255" />
    </port>
    <port tag=":GUNY1">
      <analog mask="255" />
    </port>
    <port tag=":GUNY2">
      <analog mask="255" />
    </port>
    <port tag=":GUNY3">
      <analog mask="255" />
    </port>
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="mwalk" sourcefile="segas18.cpp">
    <description>Michael Jackson's Moonwalker (World) (FD1094/8751 317-0159)</description>
    <year>1990</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-13235.a6" size="262144" crc="6983e129" sha1="a8dd430620ab8ce11df46aa208d762d47f510464" region="maincpu" offset="0" />
    <rom name="epr-13234.a5" size="262144" crc="c9fd20f2" sha1="9476e6481e6d8f223acd52f543fa04f408d48dc3" region="maincpu" offset="1" />
    <rom name="317-0159.key" size="8192" crc="507838f0" sha1="0c92d313da40b5dec7398c05b57698de6153b4b0" region="maincpu:key" offset="0" />
    <rom name="mpr-13216.b1" size="262144" crc="862d2c03" sha1="3c5446d702a639b62a602c6d687f9875d8450218" region="gfx1" offset="0" />
    <rom name="mpr-13217.b2" size="262144" crc="7d1ac3ec" sha1="8495357304f1df135bba77ef3b96e79a883b8ff0" region="gfx1" offset="40000" />
    <rom name="mpr-13218.b3" size="262144" crc="56d3393c" sha1="50a2d065060692c9ecaa56046a781cb21d93e554" region="gfx1" offset="80000" />
    <rom name="mpr-13224.b11" size="262144" crc="c59f107b" sha1="10fa60fca6e34eda277c483bb1c0e81bb88c8a47" region="sprites" offset="1" />
    <rom name="mpr-13231.a11" size="262144" crc="a5e96346" sha1="a854f4dd5dc16975373255110fdb8ab3d121b1af" region="sprites" offset="0" />
    <rom name="mpr-13223.b10" size="262144" crc="364f60ff" sha1="9ac887ec0b2e32b504b7c6a5f3bb1ce3fe41a15a" region="sprites" offset="80001" />
    <rom name="mpr-13230.a10" size="262144" crc="9550091f" sha1="bb6e898f7b540e130fd338c10f74609a7604cef4" region="sprites" offset="80000" />
    <rom name="mpr-13222.b9" size="262144" crc="523df3ed" sha1="2e496125e75decd674c3a08404fbdb53791a965d" region="sprites" offset="100001" />
    <rom name="mpr-13229.a9" size="262144" crc="f40dc45d" sha1="e9468cef428f52ecdf6837c6d9a9fea934e7676c" region="sprites" offset="100000" />
    <rom name="epr-13221.b8" size="262144" crc="9ae7546a" sha1="5413b0131881b0b32bac8de51da9a299835014bb" region="sprites" offset="180001" />
    <rom name="epr-13228.a8" size="262144" crc="de3786be" sha1="2279bb390aa3efab9aeee0a643e5cb6a4f5933b6" region="sprites" offset="180000" />
    <rom name="epr-13225.a4" size="131072" crc="56c2e82b" sha1="d5755a1bb6e889d274dc60e883d4d65f12fdc877" region="soundcpu" offset="0" />
    <rom name="mpr-13219.b4" size="262144" crc="19e2061f" sha1="2dcf1718a43dab4da53b4f67722664e70ddd2169" region="soundcpu" offset="80000" />
    <rom name="mpr-13220.b5" size="262144" crc="58d4d9ce" sha1="725e73a656845b02702ef131b4c0aa2a73cdd02e" region="soundcpu" offset="100000" />
    <rom name="mpr-13249.b6" size="262144" crc="623edc5d" sha1="c32d9f818d40f311877fbe6532d9e95b6045c3c4" region="soundcpu" offset="180000" />
    <rom name="315-5437.ic4" size="4096" crc="4bf63bc1" sha1="2766ab30b466b079febb30c488adad9ea56813f7" region="mcu" offset="0" />
    <device_ref name="fd1094" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <device_ref name="i8751" />
    <chip type="cpu" tag="maincpu" name="Hitachi FD1094 Encrypted CPU" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="cpu" tag="mcu" name="Intel 8751" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="3" coins="3" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="joy" player="2" buttons="3" ways="8" />
      <control type="joy" player="3" buttons="3" ways="8" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="2 Credits to Start" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Off" value="2" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Lives" tag="DSW" mask="4">
      <diplocation name="SW2" number="3" />
      <dipvalue name="2" value="4" default="yes" />
      <dipvalue name="3" value="0" />
    </dipswitch>
    <dipswitch name="Player Vitality" tag="DSW" mask="8">
      <diplocation name="SW2" number="4" />
      <dipvalue name="Low" value="8" default="yes" />
      <dipvalue name="High" value="0" />
    </dipswitch>
    <dipswitch name="Play Mode" tag="DSW" mask="16">
      <diplocation name="SW2" number="5" />
      <dipvalue name="2 Players" value="16" default="yes" />
      <dipvalue name="3 Players" value="0" />
    </dipswitch>
    <dipswitch name="Coin Chute" tag="DSW" mask="32">
      <diplocation name="SW2" number="6" />
      <dipvalue name="Common" value="32" default="yes" />
      <dipvalue name="Individual" value="0" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="192">
      <diplocation name="SW2" number="7" />
      <diplocation name="SW2" number="8" />
      <dipvalue name="Easy" value="128" />
      <dipvalue name="Normal" value="192" default="yes" />
      <dipvalue name="Hard" value="64" />
      <dipvalue name="Hardest" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="mwalkd" sourcefile="segas18.cpp" cloneof="mwalk" romof="mwalk">
    <description>Michael Jackson's Moonwalker (World) (bootleg of FD1094/8751 317-0159 set)</description>
    <year>1990</year>
    <manufacturer>bootleg</manufacturer>
    <rom name="bootleg_epr-13235.a6" size="262144" crc="9973f6c3" sha1="e6267361e808499fcd1c49af6243596b7ebe434d" region="maincpu" offset="0" />
    <rom name="bootleg_epr-13234.a5" size="262144" crc="ef5098e9" sha1="2bd17e07477d0f31bddc7e0f53e3447065913072" region="maincpu" offset="1" />
    <rom name="mpr-13216.b1" merge="mpr-13216.b1" size="262144" crc="862d2c03" sha1="3c5446d702a639b62a602c6d687f9875d8450218" region="gfx1" offset="0" />
    <rom name="mpr-13217.b2" merge="mpr-13217.b2" size="262144" crc="7d1ac3ec" sha1="8495357304f1df135bba77ef3b96e79a883b8ff0" region="gfx1" offset="40000" />
    <rom name="mpr-13218.b3" merge="mpr-13218.b3" size="262144" crc="56d3393c" sha1="50a2d065060692c9ecaa56046a781cb21d93e554" region="gfx1" offset="80000" />
    <rom name="mpr-13224.b11" merge="mpr-13224.b11" size="262144" crc="c59f107b" sha1="10fa60fca6e34eda277c483bb1c0e81bb88c8a47" region="sprites" offset="1" />
    <rom name="mpr-13231.a11" merge="mpr-13231.a11" size="262144" crc="a5e96346" sha1="a854f4dd5dc16975373255110fdb8ab3d121b1af" region="sprites" offset="0" />
    <rom name="mpr-13223.b10" merge="mpr-13223.b10" size="262144" crc="364f60ff" sha1="9ac887ec0b2e32b504b7c6a5f3bb1ce3fe41a15a" region="sprites" offset="80001" />
    <rom name="mpr-13230.a10" merge="mpr-13230.a10" size="262144" crc="9550091f" sha1="bb6e898f7b540e130fd338c10f74609a7604cef4" region="sprites" offset="80000" />
    <rom name="mpr-13222.b9" merge="mpr-13222.b9" size="262144" crc="523df3ed" sha1="2e496125e75decd674c3a08404fbdb53791a965d" region="sprites" offset="100001" />
    <rom name="mpr-13229.a9" merge="mpr-13229.a9" size="262144" crc="f40dc45d" sha1="e9468cef428f52ecdf6837c6d9a9fea934e7676c" region="sprites" offset="100000" />
    <rom name="epr-13221.b8" merge="epr-13221.b8" size="262144" crc="9ae7546a" sha1="5413b0131881b0b32bac8de51da9a299835014bb" region="sprites" offset="180001" />
    <rom name="epr-13228.a8" merge="epr-13228.a8" size="262144" crc="de3786be" sha1="2279bb390aa3efab9aeee0a643e5cb6a4f5933b6" region="sprites" offset="180000" />
    <rom name="epr-13225.a4" merge="epr-13225.a4" size="131072" crc="56c2e82b" sha1="d5755a1bb6e889d274dc60e883d4d65f12fdc877" region="soundcpu" offset="0" />
    <rom name="mpr-13219.b4" merge="mpr-13219.b4" size="262144" crc="19e2061f" sha1="2dcf1718a43dab4da53b4f67722664e70ddd2169" region="soundcpu" offset="80000" />
    <rom name="mpr-13220.b5" merge="mpr-13220.b5" size="262144" crc="58d4d9ce" sha1="725e73a656845b02702ef131b4c0aa2a73cdd02e" region="soundcpu" offset="100000" />
    <rom name="mpr-13249.b6" merge="mpr-13249.b6" size="262144" crc="623edc5d" sha1="c32d9f818d40f311877fbe6532d9e95b6045c3c4" region="soundcpu" offset="180000" />
    <rom name="315-5437.ic4" merge="315-5437.ic4" size="4096" crc="4bf63bc1" sha1="2766ab30b466b079febb30c488adad9ea56813f7" region="mcu" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <device_ref name="i8751" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="cpu" tag="mcu" name="Intel 8751" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="3" coins="3" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="joy" player="2" buttons="3" ways="8" />
      <control type="joy" player="3" buttons="3" ways="8" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="2 Credits to Start" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Off" value="2" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Lives" tag="DSW" mask="4">
      <diplocation name="SW2" number="3" />
      <dipvalue name="2" value="4" default="yes" />
      <dipvalue name="3" value="0" />
    </dipswitch>
    <dipswitch name="Player Vitality" tag="DSW" mask="8">
      <diplocation name="SW2" number="4" />
      <dipvalue name="Low" value="8" default="yes" />
      <dipvalue name="High" value="0" />
    </dipswitch>
    <dipswitch name="Play Mode" tag="DSW" mask="16">
      <diplocation name="SW2" number="5" />
      <dipvalue name="2 Players" value="16" default="yes" />
      <dipvalue name="3 Players" value="0" />
    </dipswitch>
    <dipswitch name="Coin Chute" tag="DSW" mask="32">
      <diplocation name="SW2" number="6" />
      <dipvalue name="Common" value="32" default="yes" />
      <dipvalue name="Individual" value="0" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="192">
      <diplocation name="SW2" number="7" />
      <diplocation name="SW2" number="8" />
      <dipvalue name="Easy" value="128" />
      <dipvalue name="Normal" value="192" default="yes" />
      <dipvalue name="Hard" value="64" />
      <dipvalue name="Hardest" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="mwalkj" sourcefile="segas18.cpp" cloneof="mwalk" romof="mwalk">
    <description>Michael Jackson's Moonwalker (Japan) (FD1094/8751 317-0157)</description>
    <year>1990</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-13227.a6" size="262144" crc="6c0534b3" sha1="23f35d1a15275cbc4b6d2f81f5634abac3832282" region="maincpu" offset="0" />
    <rom name="epr-13226.a5" size="262144" crc="99765854" sha1="c00776c676b77fed4e94bb02f52f905c845ee73c" region="maincpu" offset="1" />
    <rom name="317-0157.key" size="8192" crc="324d6931" sha1="f8f4530a75aeeace1c8456da37118975c5c43316" region="maincpu:key" offset="0" />
    <rom name="mpr-13216.b1" merge="mpr-13216.b1" size="262144" crc="862d2c03" sha1="3c5446d702a639b62a602c6d687f9875d8450218" region="gfx1" offset="0" />
    <rom name="mpr-13217.b2" merge="mpr-13217.b2" size="262144" crc="7d1ac3ec" sha1="8495357304f1df135bba77ef3b96e79a883b8ff0" region="gfx1" offset="40000" />
    <rom name="mpr-13218.b3" merge="mpr-13218.b3" size="262144" crc="56d3393c" sha1="50a2d065060692c9ecaa56046a781cb21d93e554" region="gfx1" offset="80000" />
    <rom name="mpr-13224.b11" merge="mpr-13224.b11" size="262144" crc="c59f107b" sha1="10fa60fca6e34eda277c483bb1c0e81bb88c8a47" region="sprites" offset="1" />
    <rom name="mpr-13231.a11" merge="mpr-13231.a11" size="262144" crc="a5e96346" sha1="a854f4dd5dc16975373255110fdb8ab3d121b1af" region="sprites" offset="0" />
    <rom name="mpr-13223.b10" merge="mpr-13223.b10" size="262144" crc="364f60ff" sha1="9ac887ec0b2e32b504b7c6a5f3bb1ce3fe41a15a" region="sprites" offset="80001" />
    <rom name="mpr-13230.a10" merge="mpr-13230.a10" size="262144" crc="9550091f" sha1="bb6e898f7b540e130fd338c10f74609a7604cef4" region="sprites" offset="80000" />
    <rom name="mpr-13222.b9" merge="mpr-13222.b9" size="262144" crc="523df3ed" sha1="2e496125e75decd674c3a08404fbdb53791a965d" region="sprites" offset="100001" />
    <rom name="mpr-13229.a9" merge="mpr-13229.a9" size="262144" crc="f40dc45d" sha1="e9468cef428f52ecdf6837c6d9a9fea934e7676c" region="sprites" offset="100000" />
    <rom name="epr-13221.b8" merge="epr-13221.b8" size="262144" crc="9ae7546a" sha1="5413b0131881b0b32bac8de51da9a299835014bb" region="sprites" offset="180001" />
    <rom name="epr-13228.a8" merge="epr-13228.a8" size="262144" crc="de3786be" sha1="2279bb390aa3efab9aeee0a643e5cb6a4f5933b6" region="sprites" offset="180000" />
    <rom name="epr-13225.a4" merge="epr-13225.a4" size="131072" crc="56c2e82b" sha1="d5755a1bb6e889d274dc60e883d4d65f12fdc877" region="soundcpu" offset="0" />
    <rom name="mpr-13219.b4" merge="mpr-13219.b4" size="262144" crc="19e2061f" sha1="2dcf1718a43dab4da53b4f67722664e70ddd2169" region="soundcpu" offset="80000" />
    <rom name="mpr-13220.b5" merge="mpr-13220.b5" size="262144" crc="58d4d9ce" sha1="725e73a656845b02702ef131b4c0aa2a73cdd02e" region="soundcpu" offset="100000" />
    <rom name="mpr-13249.b6" merge="mpr-13249.b6" size="262144" crc="623edc5d" sha1="c32d9f818d40f311877fbe6532d9e95b6045c3c4" region="soundcpu" offset="180000" />
    <rom name="315-5437.ic4" merge="315-5437.ic4" size="4096" crc="4bf63bc1" sha1="2766ab30b466b079febb30c488adad9ea56813f7" region="mcu" offset="0" />
    <device_ref name="fd1094" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <device_ref name="i8751" />
    <chip type="cpu" tag="maincpu" name="Hitachi FD1094 Encrypted CPU" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="cpu" tag="mcu" name="Intel 8751" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="3" coins="3" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="joy" player="2" buttons="3" ways="8" />
      <control type="joy" player="3" buttons="3" ways="8" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="2 Credits to Start" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Off" value="2" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Lives" tag="DSW" mask="4">
      <diplocation name="SW2" number="3" />
      <dipvalue name="2" value="4" default="yes" />
      <dipvalue name="3" value="0" />
    </dipswitch>
    <dipswitch name="Player Vitality" tag="DSW" mask="8">
      <diplocation name="SW2" number="4" />
      <dipvalue name="Low" value="8" default="yes" />
      <dipvalue name="High" value="0" />
    </dipswitch>
    <dipswitch name="Play Mode" tag="DSW" mask="16">
      <diplocation name="SW2" number="5" />
      <dipvalue name="2 Players" value="16" default="yes" />
      <dipvalue name="3 Players" value="0" />
    </dipswitch>
    <dipswitch name="Coin Chute" tag="DSW" mask="32">
      <diplocation name="SW2" number="6" />
      <dipvalue name="Common" value="32" default="yes" />
      <dipvalue name="Individual" value="0" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="192">
      <diplocation name="SW2" number="7" />
      <diplocation name="SW2" number="8" />
      <dipvalue name="Easy" value="128" />
      <dipvalue name="Normal" value="192" default="yes" />
      <dipvalue name="Hard" value="64" />
      <dipvalue name="Hardest" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="mwalkjd" sourcefile="segas18.cpp" cloneof="mwalk" romof="mwalk">
    <description>Michael Jackson's Moonwalker (Japan) (bootleg of FD1094/8751 317-0157 set)</description>
    <year>1990</year>
    <manufacturer>bootleg</manufacturer>
    <rom name="bootleg_epr-13227.a6" size="262144" crc="d8e00521" sha1="a53cdf7e359b25527f4a39ae1a5d0a461ac73242" region="maincpu" offset="0" />
    <rom name="bootleg_epr-13226.a5" size="262144" crc="cb0ba822" sha1="c2db762525e7cc65a7272e7a732ba9e3cee29c5d" region="maincpu" offset="1" />
    <rom name="mpr-13216.b1" merge="mpr-13216.b1" size="262144" crc="862d2c03" sha1="3c5446d702a639b62a602c6d687f9875d8450218" region="gfx1" offset="0" />
    <rom name="mpr-13217.b2" merge="mpr-13217.b2" size="262144" crc="7d1ac3ec" sha1="8495357304f1df135bba77ef3b96e79a883b8ff0" region="gfx1" offset="40000" />
    <rom name="mpr-13218.b3" merge="mpr-13218.b3" size="262144" crc="56d3393c" sha1="50a2d065060692c9ecaa56046a781cb21d93e554" region="gfx1" offset="80000" />
    <rom name="mpr-13224.b11" merge="mpr-13224.b11" size="262144" crc="c59f107b" sha1="10fa60fca6e34eda277c483bb1c0e81bb88c8a47" region="sprites" offset="1" />
    <rom name="mpr-13231.a11" merge="mpr-13231.a11" size="262144" crc="a5e96346" sha1="a854f4dd5dc16975373255110fdb8ab3d121b1af" region="sprites" offset="0" />
    <rom name="mpr-13223.b10" merge="mpr-13223.b10" size="262144" crc="364f60ff" sha1="9ac887ec0b2e32b504b7c6a5f3bb1ce3fe41a15a" region="sprites" offset="80001" />
    <rom name="mpr-13230.a10" merge="mpr-13230.a10" size="262144" crc="9550091f" sha1="bb6e898f7b540e130fd338c10f74609a7604cef4" region="sprites" offset="80000" />
    <rom name="mpr-13222.b9" merge="mpr-13222.b9" size="262144" crc="523df3ed" sha1="2e496125e75decd674c3a08404fbdb53791a965d" region="sprites" offset="100001" />
    <rom name="mpr-13229.a9" merge="mpr-13229.a9" size="262144" crc="f40dc45d" sha1="e9468cef428f52ecdf6837c6d9a9fea934e7676c" region="sprites" offset="100000" />
    <rom name="epr-13221.b8" merge="epr-13221.b8" size="262144" crc="9ae7546a" sha1="5413b0131881b0b32bac8de51da9a299835014bb" region="sprites" offset="180001" />
    <rom name="epr-13228.a8" merge="epr-13228.a8" size="262144" crc="de3786be" sha1="2279bb390aa3efab9aeee0a643e5cb6a4f5933b6" region="sprites" offset="180000" />
    <rom name="epr-13225.a4" merge="epr-13225.a4" size="131072" crc="56c2e82b" sha1="d5755a1bb6e889d274dc60e883d4d65f12fdc877" region="soundcpu" offset="0" />
    <rom name="mpr-13219.b4" merge="mpr-13219.b4" size="262144" crc="19e2061f" sha1="2dcf1718a43dab4da53b4f67722664e70ddd2169" region="soundcpu" offset="80000" />
    <rom name="mpr-13220.b5" merge="mpr-13220.b5" size="262144" crc="58d4d9ce" sha1="725e73a656845b02702ef131b4c0aa2a73cdd02e" region="soundcpu" offset="100000" />
    <rom name="mpr-13249.b6" merge="mpr-13249.b6" size="262144" crc="623edc5d" sha1="c32d9f818d40f311877fbe6532d9e95b6045c3c4" region="soundcpu" offset="180000" />
    <rom name="315-5437.ic4" merge="315-5437.ic4" size="4096" crc="4bf63bc1" sha1="2766ab30b466b079febb30c488adad9ea56813f7" status="baddump" region="mcu" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <device_ref name="i8751" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="cpu" tag="mcu" name="Intel 8751" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="3" coins="3" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="joy" player="2" buttons="3" ways="8" />
      <control type="joy" player="3" buttons="3" ways="8" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="2 Credits to Start" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Off" value="2" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Lives" tag="DSW" mask="4">
      <diplocation name="SW2" number="3" />
      <dipvalue name="2" value="4" default="yes" />
      <dipvalue name="3" value="0" />
    </dipswitch>
    <dipswitch name="Player Vitality" tag="DSW" mask="8">
      <diplocation name="SW2" number="4" />
      <dipvalue name="Low" value="8" default="yes" />
      <dipvalue name="High" value="0" />
    </dipswitch>
    <dipswitch name="Play Mode" tag="DSW" mask="16">
      <diplocation name="SW2" number="5" />
      <dipvalue name="2 Players" value="16" default="yes" />
      <dipvalue name="3 Players" value="0" />
    </dipswitch>
    <dipswitch name="Coin Chute" tag="DSW" mask="32">
      <diplocation name="SW2" number="6" />
      <dipvalue name="Common" value="32" default="yes" />
      <dipvalue name="Individual" value="0" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="192">
      <diplocation name="SW2" number="7" />
      <diplocation name="SW2" number="8" />
      <dipvalue name="Easy" value="128" />
      <dipvalue name="Normal" value="192" default="yes" />
      <dipvalue name="Hard" value="64" />
      <dipvalue name="Hardest" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="mwalku" sourcefile="segas18.cpp" cloneof="mwalk" romof="mwalk">
    <description>Michael Jackson's Moonwalker (US) (FD1094/8751 317-0158)</description>
    <year>1990</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-13233.a6" size="262144" crc="f3dac671" sha1="cd9d372c7e272d2371bc1f9fb0167831c804423f" region="maincpu" offset="0" />
    <rom name="epr-13232.a5" size="262144" crc="541d8bdf" sha1="6a99153fddca246ba070e93c4bacd145f15f76bf" region="maincpu" offset="1" />
    <rom name="317-0158.key" size="8192" crc="a8a50e8c" sha1="6e05a40dbf31b4007df1bb27eee85a78da3d8417" region="maincpu:key" offset="0" />
    <rom name="mpr-13216.b1" merge="mpr-13216.b1" size="262144" crc="862d2c03" sha1="3c5446d702a639b62a602c6d687f9875d8450218" region="gfx1" offset="0" />
    <rom name="mpr-13217.b2" merge="mpr-13217.b2" size="262144" crc="7d1ac3ec" sha1="8495357304f1df135bba77ef3b96e79a883b8ff0" region="gfx1" offset="40000" />
    <rom name="mpr-13218.b3" merge="mpr-13218.b3" size="262144" crc="56d3393c" sha1="50a2d065060692c9ecaa56046a781cb21d93e554" region="gfx1" offset="80000" />
    <rom name="mpr-13224.b11" merge="mpr-13224.b11" size="262144" crc="c59f107b" sha1="10fa60fca6e34eda277c483bb1c0e81bb88c8a47" region="sprites" offset="1" />
    <rom name="mpr-13231.a11" merge="mpr-13231.a11" size="262144" crc="a5e96346" sha1="a854f4dd5dc16975373255110fdb8ab3d121b1af" region="sprites" offset="0" />
    <rom name="mpr-13223.b10" merge="mpr-13223.b10" size="262144" crc="364f60ff" sha1="9ac887ec0b2e32b504b7c6a5f3bb1ce3fe41a15a" region="sprites" offset="80001" />
    <rom name="mpr-13230.a10" merge="mpr-13230.a10" size="262144" crc="9550091f" sha1="bb6e898f7b540e130fd338c10f74609a7604cef4" region="sprites" offset="80000" />
    <rom name="mpr-13222.b9" merge="mpr-13222.b9" size="262144" crc="523df3ed" sha1="2e496125e75decd674c3a08404fbdb53791a965d" region="sprites" offset="100001" />
    <rom name="mpr-13229.a9" merge="mpr-13229.a9" size="262144" crc="f40dc45d" sha1="e9468cef428f52ecdf6837c6d9a9fea934e7676c" region="sprites" offset="100000" />
    <rom name="epr-13221.b8" merge="epr-13221.b8" size="262144" crc="9ae7546a" sha1="5413b0131881b0b32bac8de51da9a299835014bb" region="sprites" offset="180001" />
    <rom name="epr-13228.a8" merge="epr-13228.a8" size="262144" crc="de3786be" sha1="2279bb390aa3efab9aeee0a643e5cb6a4f5933b6" region="sprites" offset="180000" />
    <rom name="epr-13225.a4" merge="epr-13225.a4" size="131072" crc="56c2e82b" sha1="d5755a1bb6e889d274dc60e883d4d65f12fdc877" region="soundcpu" offset="0" />
    <rom name="mpr-13219.b4" merge="mpr-13219.b4" size="262144" crc="19e2061f" sha1="2dcf1718a43dab4da53b4f67722664e70ddd2169" region="soundcpu" offset="80000" />
    <rom name="mpr-13220.b5" merge="mpr-13220.b5" size="262144" crc="58d4d9ce" sha1="725e73a656845b02702ef131b4c0aa2a73cdd02e" region="soundcpu" offset="100000" />
    <rom name="mpr-13249.b6" merge="mpr-13249.b6" size="262144" crc="623edc5d" sha1="c32d9f818d40f311877fbe6532d9e95b6045c3c4" region="soundcpu" offset="180000" />
    <rom name="315-5437.ic4" merge="315-5437.ic4" size="4096" crc="4bf63bc1" sha1="2766ab30b466b079febb30c488adad9ea56813f7" region="mcu" offset="0" />
    <device_ref name="fd1094" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <device_ref name="i8751" />
    <chip type="cpu" tag="maincpu" name="Hitachi FD1094 Encrypted CPU" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="cpu" tag="mcu" name="Intel 8751" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="3" coins="3" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="joy" player="2" buttons="3" ways="8" />
      <control type="joy" player="3" buttons="3" ways="8" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="2 Credits to Start" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Off" value="2" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Lives" tag="DSW" mask="4">
      <diplocation name="SW2" number="3" />
      <dipvalue name="2" value="4" default="yes" />
      <dipvalue name="3" value="0" />
    </dipswitch>
    <dipswitch name="Player Vitality" tag="DSW" mask="8">
      <diplocation name="SW2" number="4" />
      <dipvalue name="Low" value="8" default="yes" />
      <dipvalue name="High" value="0" />
    </dipswitch>
    <dipswitch name="Play Mode" tag="DSW" mask="16">
      <diplocation name="SW2" number="5" />
      <dipvalue name="2 Players" value="0" />
      <dipvalue name="3 Players" value="16" default="yes" />
    </dipswitch>
    <dipswitch name="Coin Chute" tag="DSW" mask="32">
      <diplocation name="SW2" number="6" />
      <dipvalue name="Common" value="0" />
      <dipvalue name="Individual" value="32" default="yes" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="192">
      <diplocation name="SW2" number="7" />
      <diplocation name="SW2" number="8" />
      <dipvalue name="Easy" value="128" />
      <dipvalue name="Normal" value="192" default="yes" />
      <dipvalue name="Hard" value="64" />
      <dipvalue name="Hardest" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="mwalkud" sourcefile="segas18.cpp" cloneof="mwalk" romof="mwalk">
    <description>Michael Jackson's Moonwalker (US) (bootleg of FD1094/8751 317-0158 set)</description>
    <year>1990</year>
    <manufacturer>bootleg</manufacturer>
    <rom name="bootleg_epr-13233.a6" size="262144" crc="b34fe725" sha1="9d656b68ba758fba9739413cf404ee9b1471fd68" region="maincpu" offset="0" />
    <rom name="bootleg_epr-13232.a5" size="262144" crc="0d100fd4" sha1="8c09c00dcb11fac2c7226e4fcc36b25458ccccff" region="maincpu" offset="1" />
    <rom name="mpr-13216.b1" merge="mpr-13216.b1" size="262144" crc="862d2c03" sha1="3c5446d702a639b62a602c6d687f9875d8450218" region="gfx1" offset="0" />
    <rom name="mpr-13217.b2" merge="mpr-13217.b2" size="262144" crc="7d1ac3ec" sha1="8495357304f1df135bba77ef3b96e79a883b8ff0" region="gfx1" offset="40000" />
    <rom name="mpr-13218.b3" merge="mpr-13218.b3" size="262144" crc="56d3393c" sha1="50a2d065060692c9ecaa56046a781cb21d93e554" region="gfx1" offset="80000" />
    <rom name="mpr-13224.b11" merge="mpr-13224.b11" size="262144" crc="c59f107b" sha1="10fa60fca6e34eda277c483bb1c0e81bb88c8a47" region="sprites" offset="1" />
    <rom name="mpr-13231.a11" merge="mpr-13231.a11" size="262144" crc="a5e96346" sha1="a854f4dd5dc16975373255110fdb8ab3d121b1af" region="sprites" offset="0" />
    <rom name="mpr-13223.b10" merge="mpr-13223.b10" size="262144" crc="364f60ff" sha1="9ac887ec0b2e32b504b7c6a5f3bb1ce3fe41a15a" region="sprites" offset="80001" />
    <rom name="mpr-13230.a10" merge="mpr-13230.a10" size="262144" crc="9550091f" sha1="bb6e898f7b540e130fd338c10f74609a7604cef4" region="sprites" offset="80000" />
    <rom name="mpr-13222.b9" merge="mpr-13222.b9" size="262144" crc="523df3ed" sha1="2e496125e75decd674c3a08404fbdb53791a965d" region="sprites" offset="100001" />
    <rom name="mpr-13229.a9" merge="mpr-13229.a9" size="262144" crc="f40dc45d" sha1="e9468cef428f52ecdf6837c6d9a9fea934e7676c" region="sprites" offset="100000" />
    <rom name="epr-13221.b8" merge="epr-13221.b8" size="262144" crc="9ae7546a" sha1="5413b0131881b0b32bac8de51da9a299835014bb" region="sprites" offset="180001" />
    <rom name="epr-13228.a8" merge="epr-13228.a8" size="262144" crc="de3786be" sha1="2279bb390aa3efab9aeee0a643e5cb6a4f5933b6" region="sprites" offset="180000" />
    <rom name="epr-13225.a4" merge="epr-13225.a4" size="131072" crc="56c2e82b" sha1="d5755a1bb6e889d274dc60e883d4d65f12fdc877" region="soundcpu" offset="0" />
    <rom name="mpr-13219.b4" merge="mpr-13219.b4" size="262144" crc="19e2061f" sha1="2dcf1718a43dab4da53b4f67722664e70ddd2169" region="soundcpu" offset="80000" />
    <rom name="mpr-13220.b5" merge="mpr-13220.b5" size="262144" crc="58d4d9ce" sha1="725e73a656845b02702ef131b4c0aa2a73cdd02e" region="soundcpu" offset="100000" />
    <rom name="mpr-13249.b6" merge="mpr-13249.b6" size="262144" crc="623edc5d" sha1="c32d9f818d40f311877fbe6532d9e95b6045c3c4" region="soundcpu" offset="180000" />
    <rom name="315-5437.ic4" merge="315-5437.ic4" size="4096" crc="4bf63bc1" sha1="2766ab30b466b079febb30c488adad9ea56813f7" region="mcu" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <device_ref name="i8751" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="cpu" tag="mcu" name="Intel 8751" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="3" coins="3" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="joy" player="2" buttons="3" ways="8" />
      <control type="joy" player="3" buttons="3" ways="8" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="2 Credits to Start" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Off" value="2" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Lives" tag="DSW" mask="4">
      <diplocation name="SW2" number="3" />
      <dipvalue name="2" value="4" default="yes" />
      <dipvalue name="3" value="0" />
    </dipswitch>
    <dipswitch name="Player Vitality" tag="DSW" mask="8">
      <diplocation name="SW2" number="4" />
      <dipvalue name="Low" value="8" default="yes" />
      <dipvalue name="High" value="0" />
    </dipswitch>
    <dipswitch name="Play Mode" tag="DSW" mask="16">
      <diplocation name="SW2" number="5" />
      <dipvalue name="2 Players" value="0" />
      <dipvalue name="3 Players" value="16" default="yes" />
    </dipswitch>
    <dipswitch name="Coin Chute" tag="DSW" mask="32">
      <diplocation name="SW2" number="6" />
      <dipvalue name="Common" value="0" />
      <dipvalue name="Individual" value="32" default="yes" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="192">
      <diplocation name="SW2" number="7" />
      <diplocation name="SW2" number="8" />
      <dipvalue name="Easy" value="128" />
      <dipvalue name="Normal" value="192" default="yes" />
      <dipvalue name="Hard" value="64" />
      <dipvalue name="Hardest" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="pontoon" sourcefile="segas18.cpp">
    <description>Pontoon (FD1094 317-0153)</description>
    <year>1989</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-13175.a6" size="262144" crc="a2a5d0f5" sha1="e22b13f152e0edadeb0f84b4a93ad366201cbae9" region="maincpu" offset="0" />
    <rom name="epr-13174.a5" size="262144" crc="db976b13" sha1="3970968b21491beb8aac109eeb753b69ca752205" region="maincpu" offset="1" />
    <rom name="317-0153.key" size="8192" crc="bcac8c7a" sha1="1ee9db8f21a55cbfc391af9731d6a1dcf7f2d4c2" region="maincpu:key" offset="0" />
    <rom name="epr-13097.b1" size="262144" crc="6474b245" sha1="af7db8ac8e74628a8ba61d0860960deeca4a3e3f" region="gfx1" offset="0" />
    <rom name="epr-13098.b2" size="262144" crc="89fc9a9b" sha1="d98691eb5fef8aca4ad5e416d0a3797d6ca9b012" region="gfx1" offset="40000" />
    <rom name="epr-13099.b3" size="262144" crc="790e0ac6" sha1="a4999b7015ef27d6cbe4f53bc0d7fe05ee40d178" region="gfx1" offset="80000" />
    <rom name="epr-13173.b11" size="262144" crc="40a0ddfa" sha1="f3917361f627865d2f1a22791904da056ce8a93a" region="sprites" offset="1" />
    <rom name="epr-13176.a11" size="262144" crc="1184fbd2" sha1="685ee2d7c4a0134af13ccf5d15f2e56a6b905195" region="sprites" offset="0" />
    <rom name="epr-12826a.a4" size="131072" crc="d41e2a3f" sha1="087a6515ebefc3252a1feab5bf7b8a22bff9e379" region="soundcpu" offset="0" />
    <device_ref name="fd1094" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <chip type="cpu" tag="maincpu" name="Hitachi FD1094 Encrypted CPU" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="joy" player="2" buttons="3" ways="8" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="2 Credits to Start" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Off" value="2" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Lives" tag="DSW" mask="12">
      <diplocation name="SW2" number="3" />
      <diplocation name="SW2" number="4" />
      <dipvalue name="2" value="0" />
      <dipvalue name="3" value="12" default="yes" />
      <dipvalue name="4" value="8" />
      <dipvalue name="5" value="4" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="48">
      <diplocation name="SW2" number="5" />
      <diplocation name="SW2" number="6" />
      <dipvalue name="Easy" value="32" />
      <dipvalue name="Normal" value="48" default="yes" />
      <dipvalue name="Hard" value="16" />
      <dipvalue name="Hardest" value="0" />
    </dipswitch>
    <dipswitch name="Time Adjust" tag="DSW" mask="192">
      <diplocation name="SW2" number="7" />
      <diplocation name="SW2" number="8" />
      <dipvalue name="2.20" value="0" />
      <dipvalue name="2.40" value="64" />
      <dipvalue name="3.00" value="192" default="yes" />
      <dipvalue name="3.30" value="128" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="preliminary" emulation="preliminary" savestate="unsupported" />
  </machine>
  <machine name="shdancer" sourcefile="segas18.cpp">
    <description>Shadow Dancer (World)</description>
    <year>1989</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-12774b.a6" size="262144" crc="3d5b3fa9" sha1="370dd6e8ab9fb9e77eee9262d13fbdb4cf575abc" region="maincpu" offset="0" />
    <rom name="epr-12773b.a5" size="262144" crc="2596004e" sha1="1b993aa74e7559f7e99253fd2144db9449c04cce" region="maincpu" offset="1" />
    <rom name="mpr-12712.b1" size="262144" crc="9bdabe3d" sha1="4bb30fa2d4cdefe4a864cef7153b516bc5b02c42" region="gfx1" offset="0" />
    <rom name="mpr-12713.b2" size="262144" crc="852d2b1c" sha1="8e5bc83d45e48b621ea3016207f2028fe41701e6" region="gfx1" offset="40000" />
    <rom name="mpr-12714.b3" size="262144" crc="448226ce" sha1="3060e4a43311069e2691d659c1e0c1a48edfeedb" region="gfx1" offset="80000" />
    <rom name="mpr-12719.b11" size="262144" crc="d6888534" sha1="2201f1921a68cf39e5a94b487c90e48d032d630f" region="sprites" offset="1" />
    <rom name="mpr-12726.a11" size="262144" crc="ff344945" sha1="2743778c42f53321f9691d60bbf94ea8baf1382f" region="sprites" offset="0" />
    <rom name="mpr-12718.b10" size="262144" crc="ba2efc0c" sha1="459a1a280f870c94aefb70127ed007cb090ed203" region="sprites" offset="80001" />
    <rom name="mpr-12725.a10" size="262144" crc="268a0c17" sha1="2756054fa3c3aed30a1fce5e41acb0ceaebe90b5" region="sprites" offset="80000" />
    <rom name="mpr-12717.b9" size="262144" crc="c81cc4f8" sha1="22f364e85057ceef533e051c8d0755b9691c5ec4" region="sprites" offset="100001" />
    <rom name="mpr-12724.a9" size="262144" crc="0f4903dc" sha1="851bd60e877c9e39be23dc1fde91efc9da513c29" region="sprites" offset="100000" />
    <rom name="epr-12716.b8" size="262144" crc="a870e629" sha1="29f6633240f9737ec19e16100decc7aa045b2060" region="sprites" offset="180001" />
    <rom name="epr-12723.a8" size="262144" crc="c606cf90" sha1="cb53ae9a6da1eb31c584173d1fbbd1c8539fb54c" region="sprites" offset="180000" />
    <rom name="epr-12987.a4" size="131072" crc="d1c020cc" sha1="7823e31fc44180570ee2512a73e993533204b5ab" region="soundcpu" offset="0" />
    <rom name="mpr-12715.b4" size="262144" crc="07051a52" sha1="d48658497f4a34665d3e051f893ff057c38925ae" region="soundcpu" offset="80000" />
    <device_ref name="m68000" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="joy" player="2" buttons="3" ways="8" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="2 Credits to Start" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Off" value="2" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Lives" tag="DSW" mask="12">
      <diplocation name="SW2" number="3" />
      <diplocation name="SW2" number="4" />
      <dipvalue name="2" value="0" />
      <dipvalue name="3" value="12" default="yes" />
      <dipvalue name="4" value="8" />
      <dipvalue name="5" value="4" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="48">
      <diplocation name="SW2" number="5" />
      <diplocation name="SW2" number="6" />
      <dipvalue name="Easy" value="32" />
      <dipvalue name="Normal" value="48" default="yes" />
      <dipvalue name="Hard" value="16" />
      <dipvalue name="Hardest" value="0" />
    </dipswitch>
    <dipswitch name="Time Adjust" tag="DSW" mask="192">
      <diplocation name="SW2" number="7" />
      <diplocation name="SW2" number="8" />
      <dipvalue name="2.20" value="0" />
      <dipvalue name="2.40" value="64" />
      <dipvalue name="3.00" value="192" default="yes" />
      <dipvalue name="3.30" value="128" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="shdancer1" sourcefile="segas18.cpp" cloneof="shdancer" romof="shdancer">
    <description>Shadow Dancer (US)</description>
    <year>1989</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-12772b.a6" size="262144" crc="6868a4d4" sha1="f0d142c81fe1eba4f5c59a0163e25c80ccfe85d7" region="maincpu" offset="0" />
    <rom name="epr-12771b.a5" size="262144" crc="04e30c84" sha1="6c5705f7de6ee1bd754b51988cc7d1008f817c78" region="maincpu" offset="1" />
    <rom name="mpr-12712.b1" merge="mpr-12712.b1" size="262144" crc="9bdabe3d" sha1="4bb30fa2d4cdefe4a864cef7153b516bc5b02c42" region="gfx1" offset="0" />
    <rom name="mpr-12713.b2" merge="mpr-12713.b2" size="262144" crc="852d2b1c" sha1="8e5bc83d45e48b621ea3016207f2028fe41701e6" region="gfx1" offset="40000" />
    <rom name="mpr-12714.b3" merge="mpr-12714.b3" size="262144" crc="448226ce" sha1="3060e4a43311069e2691d659c1e0c1a48edfeedb" region="gfx1" offset="80000" />
    <rom name="mpr-12719.b11" merge="mpr-12719.b11" size="262144" crc="d6888534" sha1="2201f1921a68cf39e5a94b487c90e48d032d630f" region="sprites" offset="1" />
    <rom name="mpr-12726.a11" merge="mpr-12726.a11" size="262144" crc="ff344945" sha1="2743778c42f53321f9691d60bbf94ea8baf1382f" region="sprites" offset="0" />
    <rom name="mpr-12718.b10" merge="mpr-12718.b10" size="262144" crc="ba2efc0c" sha1="459a1a280f870c94aefb70127ed007cb090ed203" region="sprites" offset="80001" />
    <rom name="mpr-12725.a10" merge="mpr-12725.a10" size="262144" crc="268a0c17" sha1="2756054fa3c3aed30a1fce5e41acb0ceaebe90b5" region="sprites" offset="80000" />
    <rom name="mpr-12717.b9" merge="mpr-12717.b9" size="262144" crc="c81cc4f8" sha1="22f364e85057ceef533e051c8d0755b9691c5ec4" region="sprites" offset="100001" />
    <rom name="mpr-12724.a9" merge="mpr-12724.a9" size="262144" crc="0f4903dc" sha1="851bd60e877c9e39be23dc1fde91efc9da513c29" region="sprites" offset="100000" />
    <rom name="epr-12716.b8" merge="epr-12716.b8" size="262144" crc="a870e629" sha1="29f6633240f9737ec19e16100decc7aa045b2060" region="sprites" offset="180001" />
    <rom name="epr-12723.a8" merge="epr-12723.a8" size="262144" crc="c606cf90" sha1="cb53ae9a6da1eb31c584173d1fbbd1c8539fb54c" region="sprites" offset="180000" />
    <rom name="epr-12720.a4" size="131072" crc="7a0d8de1" sha1="eca5e2104e5b3e772d083a718171234f06ea8a55" region="soundcpu" offset="0" />
    <rom name="mpr-12715.b4" merge="mpr-12715.b4" size="262144" crc="07051a52" sha1="d48658497f4a34665d3e051f893ff057c38925ae" region="soundcpu" offset="80000" />
    <device_ref name="m68000" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="joy" player="2" buttons="3" ways="8" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="2 Credits to Start" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Off" value="2" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Lives" tag="DSW" mask="12">
      <diplocation name="SW2" number="3" />
      <diplocation name="SW2" number="4" />
      <dipvalue name="2" value="0" />
      <dipvalue name="3" value="12" default="yes" />
      <dipvalue name="4" value="8" />
      <dipvalue name="5" value="4" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="48">
      <diplocation name="SW2" number="5" />
      <diplocation name="SW2" number="6" />
      <dipvalue name="Easy" value="32" />
      <dipvalue name="Normal" value="48" default="yes" />
      <dipvalue name="Hard" value="16" />
      <dipvalue name="Hardest" value="0" />
    </dipswitch>
    <dipswitch name="Time Adjust" tag="DSW" mask="192">
      <diplocation name="SW2" number="7" />
      <diplocation name="SW2" number="8" />
      <dipvalue name="2.20" value="0" />
      <dipvalue name="2.40" value="64" />
      <dipvalue name="3.00" value="192" default="yes" />
      <dipvalue name="3.30" value="128" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="shdancerj" sourcefile="segas18.cpp" cloneof="shdancer" romof="shdancer">
    <description>Shadow Dancer (Japan)</description>
    <year>1989</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-12722b.a6" size="262144" crc="c00552a2" sha1="74fddfe596bc00bc11c4a06e2103417e8fd334f6" region="maincpu" offset="0" />
    <rom name="epr-12721b.a5" size="262144" crc="653d351a" sha1="1a03a154cb81a5a2f28c38aecdd6b5d107ea7ffa" region="maincpu" offset="1" />
    <rom name="mpr-12712.b1" merge="mpr-12712.b1" size="262144" crc="9bdabe3d" sha1="4bb30fa2d4cdefe4a864cef7153b516bc5b02c42" region="gfx1" offset="0" />
    <rom name="mpr-12713.b2" merge="mpr-12713.b2" size="262144" crc="852d2b1c" sha1="8e5bc83d45e48b621ea3016207f2028fe41701e6" region="gfx1" offset="40000" />
    <rom name="mpr-12714.b3" merge="mpr-12714.b3" size="262144" crc="448226ce" sha1="3060e4a43311069e2691d659c1e0c1a48edfeedb" region="gfx1" offset="80000" />
    <rom name="mpr-12719.b11" merge="mpr-12719.b11" size="262144" crc="d6888534" sha1="2201f1921a68cf39e5a94b487c90e48d032d630f" region="sprites" offset="1" />
    <rom name="mpr-12726.a11" merge="mpr-12726.a11" size="262144" crc="ff344945" sha1="2743778c42f53321f9691d60bbf94ea8baf1382f" region="sprites" offset="0" />
    <rom name="mpr-12718.b10" merge="mpr-12718.b10" size="262144" crc="ba2efc0c" sha1="459a1a280f870c94aefb70127ed007cb090ed203" region="sprites" offset="80001" />
    <rom name="mpr-12725.a10" merge="mpr-12725.a10" size="262144" crc="268a0c17" sha1="2756054fa3c3aed30a1fce5e41acb0ceaebe90b5" region="sprites" offset="80000" />
    <rom name="mpr-12717.b9" merge="mpr-12717.b9" size="262144" crc="c81cc4f8" sha1="22f364e85057ceef533e051c8d0755b9691c5ec4" region="sprites" offset="100001" />
    <rom name="mpr-12724.a9" merge="mpr-12724.a9" size="262144" crc="0f4903dc" sha1="851bd60e877c9e39be23dc1fde91efc9da513c29" region="sprites" offset="100000" />
    <rom name="epr-12716.b8" merge="epr-12716.b8" size="262144" crc="a870e629" sha1="29f6633240f9737ec19e16100decc7aa045b2060" region="sprites" offset="180001" />
    <rom name="epr-12723.a8" merge="epr-12723.a8" size="262144" crc="c606cf90" sha1="cb53ae9a6da1eb31c584173d1fbbd1c8539fb54c" region="sprites" offset="180000" />
    <rom name="epr-12720.a4" size="131072" crc="7a0d8de1" sha1="eca5e2104e5b3e772d083a718171234f06ea8a55" region="soundcpu" offset="0" />
    <rom name="mpr-12715.b4" merge="mpr-12715.b4" size="262144" crc="07051a52" sha1="d48658497f4a34665d3e051f893ff057c38925ae" region="soundcpu" offset="80000" />
    <device_ref name="m68000" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="joy" player="2" buttons="3" ways="8" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="2 Credits to Start" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Off" value="2" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Lives" tag="DSW" mask="12">
      <diplocation name="SW2" number="3" />
      <diplocation name="SW2" number="4" />
      <dipvalue name="2" value="0" />
      <dipvalue name="3" value="12" default="yes" />
      <dipvalue name="4" value="8" />
      <dipvalue name="5" value="4" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="48">
      <diplocation name="SW2" number="5" />
      <diplocation name="SW2" number="6" />
      <dipvalue name="Easy" value="32" />
      <dipvalue name="Normal" value="48" default="yes" />
      <dipvalue name="Hard" value="16" />
      <dipvalue name="Hardest" value="0" />
    </dipswitch>
    <dipswitch name="Time Adjust" tag="DSW" mask="192">
      <diplocation name="SW2" number="7" />
      <diplocation name="SW2" number="8" />
      <dipvalue name="2.20" value="0" />
      <dipvalue name="2.40" value="64" />
      <dipvalue name="3.00" value="192" default="yes" />
      <dipvalue name="3.30" value="128" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="wwallyj" sourcefile="segas18.cpp">
    <description>Wally wo Sagase! (rev B, Japan) (FD1094 317-0197B)</description>
    <year>1992</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-14730b.a4" size="262144" crc="e72bc17a" sha1="ac3b7d86571a6f510c202735134c1bc4809aa26e" region="maincpu" offset="0" />
    <rom name="epr-14731b.a6" size="262144" crc="6e3235b9" sha1="11d5628644e8301550c36c93e5f137c67c11e735" region="maincpu" offset="1" />
    <rom name="317-0197b.key" size="8192" crc="f5b7c5b4" sha1="be971a2349e7c3adc995581355fea48f5123421c" region="maincpu:key" offset="0" />
    <rom name="mpr-14719.c1" size="262144" crc="8b58c743" sha1="ee50baa184d68558d62d1817b2b9c138226ed25a" region="gfx1" offset="0" />
    <rom name="mpr-14720.c2" size="262144" crc="f96d19f4" sha1="e350b551db8d01062397cd9a0c952a7b5dbf3fe6" region="gfx1" offset="40000" />
    <rom name="mpr-14721.c3" size="262144" crc="c4ced91d" sha1="4c8a070959ca10e2dddf407ddbba212415d78727" region="gfx1" offset="80000" />
    <rom name="mpr-14726.c10" size="1048576" crc="7213d1d3" sha1="b70346a1dd3aa112bc696a7f4dd9ca908c3e5afa" region="sprites" offset="1" />
    <rom name="mpr-14732.a10" size="1048576" crc="04ced549" sha1="59fd6510f0e14613d830ac6527f12ccc0b9351a5" region="sprites" offset="0" />
    <rom name="mpr-14727.c11" size="1048576" crc="3b74e0f0" sha1="40432dbbbf75dae1e5e32b7cc2c4884f5e9e3bf5" region="sprites" offset="200001" />
    <rom name="mpr-14733.a11" size="1048576" crc="6da0444f" sha1="80c32895af19bda3277376fdbd1c163f0ed25665" region="sprites" offset="200000" />
    <rom name="mpr-14728.c12" size="524288" crc="5b921587" sha1="2779dc658bb7a51f2399af5a6463ccb2dd388e88" region="sprites" offset="400001" />
    <rom name="mpr-14734.a12" size="524288" crc="6f3f5ed9" sha1="01972c8bd5bfde58715bc0adc7dea73bf6350a26" region="sprites" offset="400000" />
    <rom name="epr-14725.c7" size="131072" crc="2b29684f" sha1="b83962a4f475f9b3e79d4f7ff577b170c4043156" region="soundcpu" offset="0" />
    <rom name="mpr-14724.c6" size="524288" crc="47cbea86" sha1="c70d1fed2912c7c05223ce0bb0941706f957295f" region="soundcpu" offset="80000" />
    <rom name="mpr-14723.c5" size="524288" crc="bc5adc27" sha1="09405002b940a3d3eb0f1258f37af51e0b7581b9" region="soundcpu" offset="100000" />
    <rom name="mpr-14722.c4" size="524288" crc="1bd081f8" sha1="e5b0b5d8334486f813d7c430bb7fce3f69605a21" region="soundcpu" offset="180000" />
    <device_ref name="fd1094" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <device_ref name="upd4701a" />
    <device_ref name="upd4701a" />
    <device_ref name="upd4701a" />
    <chip type="cpu" tag="maincpu" name="Hitachi FD1094 Encrypted CPU" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="3" coins="2" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="trackball" player="1" minimum="0" maximum="4095" sensitivity="75" keydelta="5" reverse="yes" />
      <control type="joy" player="2" buttons="3" ways="8" />
      <control type="trackball" player="2" minimum="0" maximum="4095" sensitivity="75" keydelta="5" reverse="yes" />
      <control type="trackball" player="3" minimum="0" maximum="4095" sensitivity="75" keydelta="5" reverse="yes" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="2 Credits to Start" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Off" value="2" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Coin Chute" tag="DSW" mask="4">
      <diplocation name="SW2" number="3" />
      <dipvalue name="Common" value="4" default="yes" />
      <dipvalue name="Individual" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="8">
      <diplocation name="SW2" number="4" />
      <dipvalue name="Off" value="8" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="16">
      <diplocation name="SW2" number="5" />
      <dipvalue name="Off" value="16" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="96">
      <diplocation name="SW2" number="6" />
      <diplocation name="SW2" number="7" />
      <dipvalue name="Easy" value="64" />
      <dipvalue name="Normal" value="96" default="yes" />
      <dipvalue name="Hard" value="32" />
      <dipvalue name="Hardest" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="128">
      <diplocation name="SW2" number="8" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <port tag=":TRACKX1">
      <analog mask="4095" />
    </port>
    <port tag=":TRACKX2">
      <analog mask="4095" />
    </port>
    <port tag=":TRACKX3">
      <analog mask="4095" />
    </port>
    <port tag=":TRACKY1">
      <analog mask="4095" />
    </port>
    <port tag=":TRACKY2">
      <analog mask="4095" />
    </port>
    <port tag=":TRACKY3">
      <analog mask="4095" />
    </port>
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="wwallyja" sourcefile="segas18.cpp" cloneof="wwallyj" romof="wwallyj">
    <description>Wally wo Sagase! (rev A, Japan) (FD1094 317-0197A)</description>
    <year>1992</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-14730a.a4" size="262144" crc="daa7880e" sha1="9ea83e04c3e07d84afa67097c28b3951c9db8d00" region="maincpu" offset="0" />
    <rom name="epr-14731a.a6" size="262144" crc="5e36353b" sha1="488c54bbef3c8a129785465887bff3b301e11387" region="maincpu" offset="1" />
    <rom name="317-0197a.key" size="8192" crc="2fb6a9a1" sha1="2649d0905527dbe0dd0ad5cf68c457b4aa5fb32c" region="maincpu:key" offset="0" />
    <rom name="mpr-14719.c1" merge="mpr-14719.c1" size="262144" crc="8b58c743" sha1="ee50baa184d68558d62d1817b2b9c138226ed25a" region="gfx1" offset="0" />
    <rom name="mpr-14720.c2" merge="mpr-14720.c2" size="262144" crc="f96d19f4" sha1="e350b551db8d01062397cd9a0c952a7b5dbf3fe6" region="gfx1" offset="40000" />
    <rom name="mpr-14721.c3" merge="mpr-14721.c3" size="262144" crc="c4ced91d" sha1="4c8a070959ca10e2dddf407ddbba212415d78727" region="gfx1" offset="80000" />
    <rom name="mpr-14726.c10" merge="mpr-14726.c10" size="1048576" crc="7213d1d3" sha1="b70346a1dd3aa112bc696a7f4dd9ca908c3e5afa" region="sprites" offset="1" />
    <rom name="mpr-14732.a10" merge="mpr-14732.a10" size="1048576" crc="04ced549" sha1="59fd6510f0e14613d830ac6527f12ccc0b9351a5" region="sprites" offset="0" />
    <rom name="mpr-14727.c11" merge="mpr-14727.c11" size="1048576" crc="3b74e0f0" sha1="40432dbbbf75dae1e5e32b7cc2c4884f5e9e3bf5" region="sprites" offset="200001" />
    <rom name="mpr-14733.a11" merge="mpr-14733.a11" size="1048576" crc="6da0444f" sha1="80c32895af19bda3277376fdbd1c163f0ed25665" region="sprites" offset="200000" />
    <rom name="mpr-14728.c12" merge="mpr-14728.c12" size="524288" crc="5b921587" sha1="2779dc658bb7a51f2399af5a6463ccb2dd388e88" region="sprites" offset="400001" />
    <rom name="mpr-14734.a12" merge="mpr-14734.a12" size="524288" crc="6f3f5ed9" sha1="01972c8bd5bfde58715bc0adc7dea73bf6350a26" region="sprites" offset="400000" />
    <rom name="epr-14725.c7" merge="epr-14725.c7" size="131072" crc="2b29684f" sha1="b83962a4f475f9b3e79d4f7ff577b170c4043156" region="soundcpu" offset="0" />
    <rom name="mpr-14724.c6" merge="mpr-14724.c6" size="524288" crc="47cbea86" sha1="c70d1fed2912c7c05223ce0bb0941706f957295f" region="soundcpu" offset="80000" />
    <rom name="mpr-14723.c5" merge="mpr-14723.c5" size="524288" crc="bc5adc27" sha1="09405002b940a3d3eb0f1258f37af51e0b7581b9" region="soundcpu" offset="100000" />
    <rom name="mpr-14722.c4" merge="mpr-14722.c4" size="524288" crc="1bd081f8" sha1="e5b0b5d8334486f813d7c430bb7fce3f69605a21" region="soundcpu" offset="180000" />
    <device_ref name="fd1094" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <device_ref name="upd4701a" />
    <device_ref name="upd4701a" />
    <device_ref name="upd4701a" />
    <chip type="cpu" tag="maincpu" name="Hitachi FD1094 Encrypted CPU" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="3" coins="2" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="trackball" player="1" minimum="0" maximum="4095" sensitivity="75" keydelta="5" reverse="yes" />
      <control type="joy" player="2" buttons="3" ways="8" />
      <control type="trackball" player="2" minimum="0" maximum="4095" sensitivity="75" keydelta="5" reverse="yes" />
      <control type="trackball" player="3" minimum="0" maximum="4095" sensitivity="75" keydelta="5" reverse="yes" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="2 Credits to Start" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Off" value="2" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Coin Chute" tag="DSW" mask="4">
      <diplocation name="SW2" number="3" />
      <dipvalue name="Common" value="4" default="yes" />
      <dipvalue name="Individual" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="8">
      <diplocation name="SW2" number="4" />
      <dipvalue name="Off" value="8" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="16">
      <diplocation name="SW2" number="5" />
      <dipvalue name="Off" value="16" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="96">
      <diplocation name="SW2" number="6" />
      <diplocation name="SW2" number="7" />
      <dipvalue name="Easy" value="64" />
      <dipvalue name="Normal" value="96" default="yes" />
      <dipvalue name="Hard" value="32" />
      <dipvalue name="Hardest" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="128">
      <diplocation name="SW2" number="8" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <port tag=":TRACKX1">
      <analog mask="4095" />
    </port>
    <port tag=":TRACKX2">
      <analog mask="4095" />
    </port>
    <port tag=":TRACKX3">
      <analog mask="4095" />
    </port>
    <port tag=":TRACKY1">
      <analog mask="4095" />
    </port>
    <port tag=":TRACKY2">
      <analog mask="4095" />
    </port>
    <port tag=":TRACKY3">
      <analog mask="4095" />
    </port>
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="wwallyjad" sourcefile="segas18.cpp" cloneof="wwallyj" romof="wwallyj">
    <description>Wally wo Sagase! (rev A, Japan) (bootleg of FD1094 317-0197A set)</description>
    <year>1992</year>
    <manufacturer>bootleg</manufacturer>
    <rom name="bootleg_epr-14730a.a4" size="262144" crc="0d9fb6df" sha1="ea9c6ff545e31a8269c2e23620582e95817dac60" region="maincpu" offset="0" />
    <rom name="bootleg_epr-14731a.a6" size="262144" crc="b88c140d" sha1="407ded758caf76644d728e046d94b464fa03ca02" region="maincpu" offset="1" />
    <rom name="mpr-14719.c1" merge="mpr-14719.c1" size="262144" crc="8b58c743" sha1="ee50baa184d68558d62d1817b2b9c138226ed25a" region="gfx1" offset="0" />
    <rom name="mpr-14720.c2" merge="mpr-14720.c2" size="262144" crc="f96d19f4" sha1="e350b551db8d01062397cd9a0c952a7b5dbf3fe6" region="gfx1" offset="40000" />
    <rom name="mpr-14721.c3" merge="mpr-14721.c3" size="262144" crc="c4ced91d" sha1="4c8a070959ca10e2dddf407ddbba212415d78727" region="gfx1" offset="80000" />
    <rom name="mpr-14726.c10" merge="mpr-14726.c10" size="1048576" crc="7213d1d3" sha1="b70346a1dd3aa112bc696a7f4dd9ca908c3e5afa" region="sprites" offset="1" />
    <rom name="mpr-14732.a10" merge="mpr-14732.a10" size="1048576" crc="04ced549" sha1="59fd6510f0e14613d830ac6527f12ccc0b9351a5" region="sprites" offset="0" />
    <rom name="mpr-14727.c11" merge="mpr-14727.c11" size="1048576" crc="3b74e0f0" sha1="40432dbbbf75dae1e5e32b7cc2c4884f5e9e3bf5" region="sprites" offset="200001" />
    <rom name="mpr-14733.a11" merge="mpr-14733.a11" size="1048576" crc="6da0444f" sha1="80c32895af19bda3277376fdbd1c163f0ed25665" region="sprites" offset="200000" />
    <rom name="mpr-14728.c12" merge="mpr-14728.c12" size="524288" crc="5b921587" sha1="2779dc658bb7a51f2399af5a6463ccb2dd388e88" region="sprites" offset="400001" />
    <rom name="mpr-14734.a12" merge="mpr-14734.a12" size="524288" crc="6f3f5ed9" sha1="01972c8bd5bfde58715bc0adc7dea73bf6350a26" region="sprites" offset="400000" />
    <rom name="epr-14725.c7" merge="epr-14725.c7" size="131072" crc="2b29684f" sha1="b83962a4f475f9b3e79d4f7ff577b170c4043156" region="soundcpu" offset="0" />
    <rom name="mpr-14724.c6" merge="mpr-14724.c6" size="524288" crc="47cbea86" sha1="c70d1fed2912c7c05223ce0bb0941706f957295f" region="soundcpu" offset="80000" />
    <rom name="mpr-14723.c5" merge="mpr-14723.c5" size="524288" crc="bc5adc27" sha1="09405002b940a3d3eb0f1258f37af51e0b7581b9" region="soundcpu" offset="100000" />
    <rom name="mpr-14722.c4" merge="mpr-14722.c4" size="524288" crc="1bd081f8" sha1="e5b0b5d8334486f813d7c430bb7fce3f69605a21" region="soundcpu" offset="180000" />
    <device_ref name="m68000" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <device_ref name="upd4701a" />
    <device_ref name="upd4701a" />
    <device_ref name="upd4701a" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="3" coins="2" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="trackball" player="1" minimum="0" maximum="4095" sensitivity="75" keydelta="5" reverse="yes" />
      <control type="joy" player="2" buttons="3" ways="8" />
      <control type="trackball" player="2" minimum="0" maximum="4095" sensitivity="75" keydelta="5" reverse="yes" />
      <control type="trackball" player="3" minimum="0" maximum="4095" sensitivity="75" keydelta="5" reverse="yes" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="2 Credits to Start" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Off" value="2" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Coin Chute" tag="DSW" mask="4">
      <diplocation name="SW2" number="3" />
      <dipvalue name="Common" value="4" default="yes" />
      <dipvalue name="Individual" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="8">
      <diplocation name="SW2" number="4" />
      <dipvalue name="Off" value="8" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="16">
      <diplocation name="SW2" number="5" />
      <dipvalue name="Off" value="16" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="96">
      <diplocation name="SW2" number="6" />
      <diplocation name="SW2" number="7" />
      <dipvalue name="Easy" value="64" />
      <dipvalue name="Normal" value="96" default="yes" />
      <dipvalue name="Hard" value="32" />
      <dipvalue name="Hardest" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="128">
      <diplocation name="SW2" number="8" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <port tag=":TRACKX1">
      <analog mask="4095" />
    </port>
    <port tag=":TRACKX2">
      <analog mask="4095" />
    </port>
    <port tag=":TRACKX3">
      <analog mask="4095" />
    </port>
    <port tag=":TRACKY1">
      <analog mask="4095" />
    </port>
    <port tag=":TRACKY2">
      <analog mask="4095" />
    </port>
    <port tag=":TRACKY3">
      <analog mask="4095" />
    </port>
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="wwallyjd" sourcefile="segas18.cpp" cloneof="wwallyj" romof="wwallyj">
    <description>Wally wo Sagase! (rev B, Japan) (bootleg of FD1094 317-0197B set)</description>
    <year>1992</year>
    <manufacturer>bootleg</manufacturer>
    <rom name="bootleg_epr-14730b.a4" size="262144" crc="1d46f791" sha1="5bfffd108254db69e582a4e4c1012b9c9e223830" region="maincpu" offset="0" />
    <rom name="bootleg_epr-14731b.a6" size="262144" crc="a0f6325e" sha1="a952d08c3d2324425db9d959e4e43f0c7024165b" region="maincpu" offset="1" />
    <rom name="mpr-14719.c1" merge="mpr-14719.c1" size="262144" crc="8b58c743" sha1="ee50baa184d68558d62d1817b2b9c138226ed25a" region="gfx1" offset="0" />
    <rom name="mpr-14720.c2" merge="mpr-14720.c2" size="262144" crc="f96d19f4" sha1="e350b551db8d01062397cd9a0c952a7b5dbf3fe6" region="gfx1" offset="40000" />
    <rom name="mpr-14721.c3" merge="mpr-14721.c3" size="262144" crc="c4ced91d" sha1="4c8a070959ca10e2dddf407ddbba212415d78727" region="gfx1" offset="80000" />
    <rom name="mpr-14726.c10" merge="mpr-14726.c10" size="1048576" crc="7213d1d3" sha1="b70346a1dd3aa112bc696a7f4dd9ca908c3e5afa" region="sprites" offset="1" />
    <rom name="mpr-14732.a10" merge="mpr-14732.a10" size="1048576" crc="04ced549" sha1="59fd6510f0e14613d830ac6527f12ccc0b9351a5" region="sprites" offset="0" />
    <rom name="mpr-14727.c11" merge="mpr-14727.c11" size="1048576" crc="3b74e0f0" sha1="40432dbbbf75dae1e5e32b7cc2c4884f5e9e3bf5" region="sprites" offset="200001" />
    <rom name="mpr-14733.a11" merge="mpr-14733.a11" size="1048576" crc="6da0444f" sha1="80c32895af19bda3277376fdbd1c163f0ed25665" region="sprites" offset="200000" />
    <rom name="mpr-14728.c12" merge="mpr-14728.c12" size="524288" crc="5b921587" sha1="2779dc658bb7a51f2399af5a6463ccb2dd388e88" region="sprites" offset="400001" />
    <rom name="mpr-14734.a12" merge="mpr-14734.a12" size="524288" crc="6f3f5ed9" sha1="01972c8bd5bfde58715bc0adc7dea73bf6350a26" region="sprites" offset="400000" />
    <rom name="epr-14725.c7" merge="epr-14725.c7" size="131072" crc="2b29684f" sha1="b83962a4f475f9b3e79d4f7ff577b170c4043156" region="soundcpu" offset="0" />
    <rom name="mpr-14724.c6" merge="mpr-14724.c6" size="524288" crc="47cbea86" sha1="c70d1fed2912c7c05223ce0bb0941706f957295f" region="soundcpu" offset="80000" />
    <rom name="mpr-14723.c5" merge="mpr-14723.c5" size="524288" crc="bc5adc27" sha1="09405002b940a3d3eb0f1258f37af51e0b7581b9" region="soundcpu" offset="100000" />
    <rom name="mpr-14722.c4" merge="mpr-14722.c4" size="524288" crc="1bd081f8" sha1="e5b0b5d8334486f813d7c430bb7fce3f69605a21" region="soundcpu" offset="180000" />
    <device_ref name="m68000" />
    <device_ref name="z80" />
    <device_ref name="nvram" />
    <device_ref name="sega_315_5195" />
    <device_ref name="315_5296" />
    <device_ref name="sega315_5313" />
    <device_ref name="palette" />
    <device_ref name="segapsg" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="palette" />
    <device_ref name="timer" />
    <device_ref name="screen" />
    <device_ref name="gfxdecode" />
    <device_ref name="palette" />
    <device_ref name="sega_sys16b_sprite" />
    <device_ref name="segaic16_video" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="ym3438" />
    <device_ref name="rf5c68" />
    <device_ref name="upd4701a" />
    <device_ref name="upd4701a" />
    <device_ref name="upd4701a" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="10000000" />
    <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="8000000" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="15000000" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="1000000" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ym1" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="ym2" name="YM3438 OPN2C" clock="8000000" />
    <chip type="audio" tag="rfsnd" name="Ricoh RF5C68" clock="10000000" />
    <display tag="screen" type="raster" rotate="0" width="320" height="224" refresh="57.230000" pixclock="5128036" htotal="342" hbend="0" hbstart="320" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="3" coins="2" service="yes">
      <control type="joy" player="1" buttons="3" ways="8" />
      <control type="trackball" player="1" minimum="0" maximum="4095" sensitivity="75" keydelta="5" reverse="yes" />
      <control type="joy" player="2" buttons="3" ways="8" />
      <control type="trackball" player="2" minimum="0" maximum="4095" sensitivity="75" keydelta="5" reverse="yes" />
      <control type="trackball" player="3" minimum="0" maximum="4095" sensitivity="75" keydelta="5" reverse="yes" />
    </input>
    <dipswitch name="Coin A" tag="COINAGE" mask="15">
      <diplocation name="SW1" number="1" />
      <diplocation name="SW1" number="2" />
      <diplocation name="SW1" number="3" />
      <diplocation name="SW1" number="4" />
      <dipvalue name="4 Coins/1 Credit" value="7" />
      <dipvalue name="3 Coins/1 Credit" value="8" />
      <dipvalue name="2 Coins/1 Credit" value="9" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="5" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="15" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="3" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="2" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="1" />
      <dipvalue name="2 Coins/3 Credits" value="6" />
      <dipvalue name="1 Coin/2 Credits" value="14" />
      <dipvalue name="1 Coin/3 Credits" value="13" />
      <dipvalue name="1 Coin/4 Credits" value="12" />
      <dipvalue name="1 Coin/5 Credits" value="11" />
      <dipvalue name="1 Coin/6 Credits" value="10" />
      <dipvalue name="Free Play (if Coin B too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="Coin B" tag="COINAGE" mask="240">
      <diplocation name="SW1" number="5" />
      <diplocation name="SW1" number="6" />
      <diplocation name="SW1" number="7" />
      <diplocation name="SW1" number="8" />
      <dipvalue name="4 Coins/1 Credit" value="112" />
      <dipvalue name="3 Coins/1 Credit" value="128" />
      <dipvalue name="2 Coins/1 Credit" value="144" />
      <dipvalue name="2 Coins/1 Credit, 5/3, 6/4" value="80" />
      <dipvalue name="2 Coins/1 Credit, 4/3" value="64" />
      <dipvalue name="1 Coin/1 Credit" value="240" default="yes" />
      <dipvalue name="1 Coin/1 Credit, 5/6" value="48" />
      <dipvalue name="1 Coin/1 Credit, 4/5" value="32" />
      <dipvalue name="1 Coin/1 Credit, 2/3" value="16" />
      <dipvalue name="2 Coins/3 Credits" value="96" />
      <dipvalue name="1 Coin/2 Credits" value="224" />
      <dipvalue name="1 Coin/3 Credits" value="208" />
      <dipvalue name="1 Coin/4 Credits" value="192" />
      <dipvalue name="1 Coin/5 Credits" value="176" />
      <dipvalue name="1 Coin/6 Credits" value="160" />
      <dipvalue name="Free Play (if Coin A too) or 1/1" value="0" />
    </dipswitch>
    <dipswitch name="2 Credits to Start" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Off" value="2" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Coin Chute" tag="DSW" mask="4">
      <diplocation name="SW2" number="3" />
      <dipvalue name="Common" value="4" default="yes" />
      <dipvalue name="Individual" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="8">
      <diplocation name="SW2" number="4" />
      <dipvalue name="Off" value="8" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="16">
      <diplocation name="SW2" number="5" />
      <dipvalue name="Off" value="16" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="96">
      <diplocation name="SW2" number="6" />
      <diplocation name="SW2" number="7" />
      <dipvalue name="Easy" value="64" />
      <dipvalue name="Normal" value="96" default="yes" />
      <dipvalue name="Hard" value="32" />
      <dipvalue name="Hardest" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="128">
      <diplocation name="SW2" number="8" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":P3" />
    <port tag=":SERVICE" />
    <port tag=":TRACKX1">
      <analog mask="4095" />
    </port>
    <port tag=":TRACKX2">
      <analog mask="4095" />
    </port>
    <port tag=":TRACKX3">
      <analog mask="4095" />
    </port>
    <port tag=":TRACKY1">
      <analog mask="4095" />
    </port>
    <port tag=":TRACKY2">
      <analog mask="4095" />
    </port>
    <port tag=":TRACKY3">
      <analog mask="4095" />
    </port>
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
</datafile>