<?xml version="1.0" encoding="utf-8"?>
<datafile>
  <header>
    <name>Sega System C-2</name>
    <description>Sega System C-2 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="anpanman" sourcefile="segac2.cpp" ismechanical="yes">
    <description>Soreike! Anpanman Popcorn Factory (Rev B)</description>
    <year>1992</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-14804b.ic32" size="262144" crc="7ce88c49" sha1="959ee459a5b4a6324488a935fa6a48e38ce93464" region="maincpu" offset="0" />
    <rom name="epr-14803b.ic31" size="262144" crc="eb3ca1b9" sha1="e4dd9d2bd2301f47f167d6516457386ba4e57df0" region="maincpu" offset="1" />
    <rom name="epr-14806.ic34" size="262144" crc="40f398db" sha1="abaaf4404342232b58f02c7ea0571926b2417b45" region="maincpu" offset="100000" />
    <rom name="epr-14805.ic33" size="262144" crc="f27229ed" sha1="307182cdcd8954bbc56d4b412df452b406466d53" region="maincpu" offset="100001" />
    <rom name="epr-14807.ic4" size="262144" crc="9827549f" sha1="66d195299085ec690498fc795a3088c05e6db820" region="upd" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="upd7759" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <chip type="audio" tag="upd" name="NEC uPD7759" clock="640000" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="1" coins="1" service="yes">
      <control type="only_buttons" buttons="11" />
    </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="Demo Sounds" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="On" value="1" default="yes" />
      <dipvalue name="Off" value="0" />
    </dipswitch>
    <dipswitch name="Demo Voice" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="On" value="2" default="yes" />
      <dipvalue name="Off" value="0" />
    </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="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="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="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=":SERVICE" />
    <driver status="preliminary" 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="bloxeedc" sourcefile="segac2.cpp" cloneof="bloxeed" romof="bloxeed">
    <description>Bloxeed (World, C System)</description>
    <year>1989</year>
    <manufacturer>Sega / Elorg</manufacturer>
    <rom name="epr-12908.ic32" size="131072" crc="fc77cb91" sha1="248a462e3858ffdc171af7d806e57deecb5dae50" region="maincpu" offset="0" />
    <rom name="epr-12907.ic31" size="131072" crc="e5fcbac6" sha1="a1adec5ef5574bff96a3d66619a24a6715097bb9" region="maincpu" offset="1" />
    <rom name="epr-12993.ic34" size="131072" crc="487bc8fc" sha1="3fb205bf56f35443e993e08b39c1a08c13ca5e3b" region="maincpu" offset="40000" />
    <rom name="epr-12992.ic33" size="131072" crc="19b0084c" sha1="b3ba0f3d8d39a19aa66edb24885ea21192e22704" region="maincpu" offset="40001" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="1" ways="8" />
      <control type="joy" player="2" buttons="1" 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="Coinage" tag="DSW" mask="7">
      <diplocation name="SW2" number="1" />
      <diplocation name="SW2" number="2" />
      <diplocation name="SW2" number="3" />
      <dipvalue name="0" value="0" />
      <dipvalue name="1" value="1" />
      <dipvalue name="2" value="2" />
      <dipvalue name="3" value="3" />
      <dipvalue name="4" value="4" />
      <dipvalue name="5" value="5" />
      <dipvalue name="6" value="6" />
      <dipvalue name="7" value="7" default="yes" />
    </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="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=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="bloxeedu" sourcefile="segac2.cpp" cloneof="bloxeed" romof="bloxeed">
    <description>Bloxeed (US, C System, Rev A)</description>
    <year>1989</year>
    <manufacturer>Sega / Elorg</manufacturer>
    <rom name="epr-12997a.ic32" size="131072" crc="23655bc9" sha1="32fc1f75a43aa49dc656d40d34ec10f3f0a2bdb3" region="maincpu" offset="0" />
    <rom name="epr-12996a.ic31" size="131072" crc="83c83f0c" sha1="ca8e2ad7cceabd8de7a91b91cb92eafb6dd3171f" region="maincpu" offset="1" />
    <rom name="epr-12993.ic34" size="131072" crc="487bc8fc" sha1="3fb205bf56f35443e993e08b39c1a08c13ca5e3b" region="maincpu" offset="40000" />
    <rom name="epr-12992.ic33" size="131072" crc="19b0084c" sha1="b3ba0f3d8d39a19aa66edb24885ea21192e22704" region="maincpu" offset="40001" />
    <rom name="315-5393.ic24" size="1" status="nodump" region="pals" offset="0" />
    <rom name="315-5394.ic25" size="1" status="nodump" region="pals" offset="0" />
    <rom name="315-5395.ic26" size="1" status="nodump" region="pals" offset="0" />
    <rom name="317-0140.ic27" size="1" status="nodump" region="pals" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="1" ways="8" />
      <control type="joy" player="2" buttons="1" 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="Coinage" tag="DSW" mask="7">
      <diplocation name="SW2" number="1" />
      <diplocation name="SW2" number="2" />
      <diplocation name="SW2" number="3" />
      <dipvalue name="0" value="0" />
      <dipvalue name="1" value="1" />
      <dipvalue name="2" value="2" />
      <dipvalue name="3" value="3" />
      <dipvalue name="4" value="4" />
      <dipvalue name="5" value="5" />
      <dipvalue name="6" value="6" />
      <dipvalue name="7" value="7" default="yes" />
    </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="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=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="borench" sourcefile="segac2.cpp">
    <description>Borench (set 1)</description>
    <year>1990</year>
    <manufacturer>Sega</manufacturer>
    <rom name="ic32.bin" size="262144" crc="2c54457d" sha1="adf3ea5393d2633ec6215e64f0cd89ad4567e765" region="maincpu" offset="0" />
    <rom name="ic31.bin" size="262144" crc="b46445fc" sha1="24e85ef5abbc5376a854b13ed90f08f0c30d7f25" region="maincpu" offset="1" />
    <rom name="epr-13587.ic4" size="131072" crc="62b85e56" sha1="822ab733c87938bb70a9e32cc5dd36bbf6f21d11" region="upd" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="upd7759" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <chip type="audio" tag="upd" name="NEC uPD7759" clock="640000" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="2" ways="8" />
      <control type="joy" player="2" buttons="2" ways="8" />
    </input>
    <dipswitch name="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="Lives 1P Mode" tag="DSW" mask="12">
      <diplocation name="SW2" number="3" />
      <diplocation name="SW2" number="4" />
      <dipvalue name="1" value="0" />
      <dipvalue name="2" value="12" default="yes" />
      <dipvalue name="3" value="8" />
      <dipvalue name="4" value="4" />
    </dipswitch>
    <dipswitch name="Lives 2P Mode" tag="DSW" mask="48">
      <diplocation name="SW2" number="5" />
      <diplocation name="SW2" number="6" />
      <dipvalue name="2" value="0" />
      <dipvalue name="3" value="48" default="yes" />
      <dipvalue name="4" value="32" />
      <dipvalue name="5" value="16" />
    </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="Medium" 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=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="borencha" sourcefile="segac2.cpp" cloneof="borench" romof="borench">
    <description>Borench (set 2)</description>
    <year>1990</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-13591.ic32" size="262144" crc="7851078b" sha1="122934f0414a29b4b363acad01ee4db369259e72" region="maincpu" offset="0" />
    <rom name="epr-13590.ic31" size="262144" crc="01bc6fe6" sha1="b241b09852f52f712e3ddc6660ec3eb436b1302c" region="maincpu" offset="1" />
    <rom name="epr-13587.ic4" merge="epr-13587.ic4" size="131072" crc="62b85e56" sha1="822ab733c87938bb70a9e32cc5dd36bbf6f21d11" region="upd" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="upd7759" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <chip type="audio" tag="upd" name="NEC uPD7759" clock="640000" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="2" ways="8" />
      <control type="joy" player="2" buttons="2" ways="8" />
    </input>
    <dipswitch name="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="Lives 1P Mode" tag="DSW" mask="12">
      <diplocation name="SW2" number="3" />
      <diplocation name="SW2" number="4" />
      <dipvalue name="1" value="0" />
      <dipvalue name="2" value="12" default="yes" />
      <dipvalue name="3" value="8" />
      <dipvalue name="4" value="4" />
    </dipswitch>
    <dipswitch name="Lives 2P Mode" tag="DSW" mask="48">
      <diplocation name="SW2" number="5" />
      <diplocation name="SW2" number="6" />
      <dipvalue name="2" value="0" />
      <dipvalue name="3" value="48" default="yes" />
      <dipvalue name="4" value="32" />
      <dipvalue name="5" value="16" />
    </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="Medium" 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=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="borenchj" sourcefile="segac2.cpp" cloneof="borench" romof="borench">
    <description>Borench (Japan)</description>
    <year>1990</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-13586.ic32" size="262144" crc="62d7f8e8" sha1="a2b11584c79ead70e6b8cab0b076df9bbf114803" region="maincpu" offset="0" />
    <rom name="epr-13585.ic31" size="262144" crc="087b9704" sha1="1e974d1e40ea28e8f5e721ccf78a2ffc76f4d17d" region="maincpu" offset="1" />
    <rom name="epr-13587.ic4" merge="epr-13587.ic4" size="131072" crc="62b85e56" sha1="822ab733c87938bb70a9e32cc5dd36bbf6f21d11" region="upd" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="upd7759" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <chip type="audio" tag="upd" name="NEC uPD7759" clock="640000" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="2" ways="8" />
      <control type="joy" player="2" buttons="2" ways="8" />
    </input>
    <dipswitch name="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="Lives 1P Mode" tag="DSW" mask="12">
      <diplocation name="SW2" number="3" />
      <diplocation name="SW2" number="4" />
      <dipvalue name="1" value="0" />
      <dipvalue name="2" value="12" default="yes" />
      <dipvalue name="3" value="8" />
      <dipvalue name="4" value="4" />
    </dipswitch>
    <dipswitch name="Lives 2P Mode" tag="DSW" mask="48">
      <diplocation name="SW2" number="5" />
      <diplocation name="SW2" number="6" />
      <dipvalue name="2" value="0" />
      <dipvalue name="3" value="48" default="yes" />
      <dipvalue name="4" value="32" />
      <dipvalue name="5" value="16" />
    </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="Medium" 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=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="column2j" sourcefile="segac2.cpp" cloneof="columns2" romof="columns2">
    <description>Columns II: The Voyage Through Time (Japan)</description>
    <year>1990</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-13361.ic32" size="131072" crc="b54b5f12" sha1="4d7fbae7d9bcadd433ebc25aef255dc43df611bc" region="maincpu" offset="0" />
    <rom name="epr-13360.ic31" size="131072" crc="a59b1d4f" sha1="e9ee315677782e1c61ae8f11260101cc03176188" region="maincpu" offset="1" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="1" ways="8" />
      <control type="joy" player="2" buttons="1" 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="Cabinet" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Upright" value="1" default="yes" />
      <dipvalue name="Cocktail" 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="VS. Mode Credits/Match" tag="DSW" mask="12">
      <diplocation name="SW2" number="3" />
      <diplocation name="SW2" number="4" />
      <dipvalue name="1" value="12" default="yes" />
      <dipvalue name="2" value="8" />
      <dipvalue name="3" value="4" />
      <dipvalue name="4" value="0" />
    </dipswitch>
    <dipswitch name="Flash Mode 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="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=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="columns" sourcefile="segac2.cpp">
    <description>Columns (World)</description>
    <year>1990</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-13114.ic32" size="131072" crc="ff78f740" sha1="0a034103a4b942f43e62f6e717f5dbf1bfb0b613" region="maincpu" offset="0" />
    <rom name="epr-13113.ic31" size="131072" crc="9a426d9b" sha1="3322e65ebf8d0a6047f7d408387c63ea401b8973" region="maincpu" offset="1" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="1" ways="8" />
      <control type="joy" player="2" buttons="1" 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="Unused" 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="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="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="Difficulty" tag="DSW" mask="48">
      <diplocation name="SW2" number="5" />
      <diplocation name="SW2" number="6" />
      <dipvalue name="Easiest" value="0" />
      <dipvalue name="Easy" value="16" />
      <dipvalue name="Normal" value="48" default="yes" />
      <dipvalue name="Hard" value="32" />
    </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=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="columns2" sourcefile="segac2.cpp">
    <description>Columns II: The Voyage Through Time (World)</description>
    <year>1990</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-13363.ic32" size="131072" crc="c99e4ffd" sha1="67981aa08c8a625af35dd7689011364159cf9194" region="maincpu" offset="0" />
    <rom name="epr-13362.ic31" size="131072" crc="394e2419" sha1="d4f726b32cf301d0d52611237b83177e69bfaf71" region="maincpu" offset="1" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="1" ways="8" />
      <control type="joy" player="2" buttons="1" 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="Cabinet" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Upright" value="1" default="yes" />
      <dipvalue name="Cocktail" 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="VS. Mode Credits/Match" tag="DSW" mask="12">
      <diplocation name="SW2" number="3" />
      <diplocation name="SW2" number="4" />
      <dipvalue name="1" value="12" default="yes" />
      <dipvalue name="2" value="8" />
      <dipvalue name="3" value="4" />
      <dipvalue name="4" value="0" />
    </dipswitch>
    <dipswitch name="Flash Mode 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="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=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="columnsj" sourcefile="segac2.cpp" cloneof="columns" romof="columns">
    <description>Columns (Japan)</description>
    <year>1990</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-13112.ic32" size="131072" crc="bae6e53e" sha1="2c2fd621eecd55591f22d076323972a7d0314615" region="maincpu" offset="0" />
    <rom name="epr-13111.ic31" size="131072" crc="aa5ccd6d" sha1="480e29e3112282d1790f1fb68075453325ba4336" region="maincpu" offset="1" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="1" ways="8" />
      <control type="joy" player="2" buttons="1" 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="Unused" 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="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="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="Difficulty" tag="DSW" mask="48">
      <diplocation name="SW2" number="5" />
      <diplocation name="SW2" number="6" />
      <dipvalue name="Easiest" value="0" />
      <dipvalue name="Easy" value="16" />
      <dipvalue name="Normal" value="48" default="yes" />
      <dipvalue name="Hard" value="32" />
    </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=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="columnsu" sourcefile="segac2.cpp" cloneof="columns" romof="columns">
    <description>Columns (US, cocktail, Rev A)</description>
    <year>1990</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-13116a.ic32" size="131072" crc="a0284b16" sha1="a72c8567ab2386ef6bc7bb83cc1612f4c6bf8461" region="maincpu" offset="0" />
    <rom name="epr-13115a.ic31" size="131072" crc="e37496f3" sha1="30ebeed76613ae8d6d3ce9fca282124685067b27" region="maincpu" offset="1" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="1" ways="8" />
      <control type="joy" player="2" buttons="1" 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="Cabinet" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Upright" value="1" default="yes" />
      <dipvalue name="Cocktail" 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="Background Music" tag="DSW" mask="4">
      <diplocation name="SW2" number="3" />
      <dipvalue name="BGM #1" value="4" />
      <dipvalue name="BGM #2" value="0" default="yes" />
    </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="Difficulty" tag="DSW" mask="48">
      <diplocation name="SW2" number="5" />
      <diplocation name="SW2" number="6" />
      <dipvalue name="Easiest" value="0" />
      <dipvalue name="Easy" value="16" />
      <dipvalue name="Normal" value="48" default="yes" />
      <dipvalue name="Hard" value="32" />
    </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=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="ichir" sourcefile="segac2.cpp">
    <description>Puzzle &amp; Action: Ichidant-R (World)</description>
    <year>1994</year>
    <manufacturer>Sega</manufacturer>
    <rom name="pa2_32.bin" size="524288" crc="7ba0c025" sha1="855e9bb2a20c6f51b26381233c57c26aa96ad1f6" region="maincpu" offset="0" />
    <rom name="pa2_31.bin" size="524288" crc="5f86e5cc" sha1="44e201de00dfbf7c66d0e0d40d17b162c6f0625b" region="maincpu" offset="1" />
    <rom name="epr-16888.ic34" size="524288" crc="85d73722" sha1="7ebe81b4d6c89f87f60200a3a8cddb07d581adef" region="maincpu" offset="100000" />
    <rom name="epr-16887.ic33" size="524288" crc="bc3bbf25" sha1="e760ad400bc183b38e9787d88c8ac084fbe2ae21" region="maincpu" offset="100001" />
    <rom name="pa2_02.bin" size="524288" crc="fc7b0da5" sha1="46770aa7e19b4f8a183be3f433c48ad677b552b1" region="upd" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="upd7759" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <chip type="audio" tag="upd" name="NEC uPD7759" clock="640000" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="1" ways="8" />
      <control type="joy" player="2" buttons="1" 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="Demo Sounds" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="6">
      <diplocation name="SW2" number="2" />
      <diplocation name="SW2" number="3" />
      <dipvalue name="Easy" value="4" />
      <dipvalue name="Medium" value="6" default="yes" />
      <dipvalue name="Hard" value="2" />
      <dipvalue name="Hardest" 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="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="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=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="ichirj" sourcefile="segac2.cpp" cloneof="ichir" romof="ichir">
    <description>Puzzle &amp; Action: Ichidant-R (Japan)</description>
    <year>1994</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-16886.ic32" size="524288" crc="38208e28" sha1="07fc634bdf2d3e25274c9c374b3506dec765114c" region="maincpu" offset="0" />
    <rom name="epr-16885.ic31" size="524288" crc="1ce4e837" sha1="16600600e12e3f35e3da89524f7f51f019b5ad17" region="maincpu" offset="1" />
    <rom name="epr-16888.ic34" merge="epr-16888.ic34" size="524288" crc="85d73722" sha1="7ebe81b4d6c89f87f60200a3a8cddb07d581adef" region="maincpu" offset="100000" />
    <rom name="epr-16887.ic33" merge="epr-16887.ic33" size="524288" crc="bc3bbf25" sha1="e760ad400bc183b38e9787d88c8ac084fbe2ae21" region="maincpu" offset="100001" />
    <rom name="epr-16884.ic4" size="524288" crc="fd9dcdd6" sha1="b8053a2e68072e7664ffc3c53f983f3ba72a892b" region="upd" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="upd7759" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <chip type="audio" tag="upd" name="NEC uPD7759" clock="640000" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="1" ways="8" />
      <control type="joy" player="2" buttons="1" 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="Demo Sounds" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="6">
      <diplocation name="SW2" number="2" />
      <diplocation name="SW2" number="3" />
      <dipvalue name="Easy" value="4" />
      <dipvalue name="Medium" value="6" default="yes" />
      <dipvalue name="Hard" value="2" />
      <dipvalue name="Hardest" 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="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="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=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="ichirjbl" sourcefile="segac2.cpp" cloneof="ichir" romof="ichir">
    <description>Puzzle &amp; Action: Ichidant-R (Japan) (bootleg)</description>
    <year>1994</year>
    <manufacturer>bootleg</manufacturer>
    <rom name="27c4000.2" size="524288" crc="5a194f44" sha1="67a4d21b91704f8c2210b5106e82e22ba3366f4c" region="maincpu" offset="0" />
    <rom name="27c4000.1" size="524288" crc="de209f84" sha1="0860d0ebfab2952e82fc1e292bf9410d673d9322" region="maincpu" offset="1" />
    <rom name="epr-16888" merge="epr-16888.ic34" size="524288" crc="85d73722" sha1="7ebe81b4d6c89f87f60200a3a8cddb07d581adef" region="maincpu" offset="100000" />
    <rom name="epr-16887" merge="epr-16887.ic33" size="524288" crc="bc3bbf25" sha1="e760ad400bc183b38e9787d88c8ac084fbe2ae21" region="maincpu" offset="100001" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="1" ways="8" />
      <control type="joy" player="2" buttons="1" 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="Demo Sounds" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="6">
      <diplocation name="SW2" number="2" />
      <diplocation name="SW2" number="3" />
      <dipvalue name="Easy" value="4" />
      <dipvalue name="Medium" value="6" default="yes" />
      <dipvalue name="Hard" value="2" />
      <dipvalue name="Hardest" 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="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="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=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="ichirk" sourcefile="segac2.cpp" cloneof="ichir" romof="ichir">
    <description>Puzzle &amp; Action: Ichidant-R (Korea)</description>
    <year>1994</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr_ichi.32" size="524288" crc="804dea11" sha1="40bf8cbd40969a5880df10914252b7f64d5ce8e9" region="maincpu" offset="0" />
    <rom name="epr_ichi.31" size="524288" crc="92452353" sha1="d2e1da5b139965611cd8d707d23396b5d4c07d12" region="maincpu" offset="1" />
    <rom name="epr-16888.ic34" merge="epr-16888.ic34" size="524288" crc="85d73722" sha1="7ebe81b4d6c89f87f60200a3a8cddb07d581adef" region="maincpu" offset="100000" />
    <rom name="epr-16887.ic33" merge="epr-16887.ic33" size="524288" crc="bc3bbf25" sha1="e760ad400bc183b38e9787d88c8ac084fbe2ae21" region="maincpu" offset="100001" />
    <rom name="pa2_02.bin" merge="pa2_02.bin" size="524288" crc="fc7b0da5" sha1="46770aa7e19b4f8a183be3f433c48ad677b552b1" region="upd" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="upd7759" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <chip type="audio" tag="upd" name="NEC uPD7759" clock="640000" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="1" ways="8" />
      <control type="joy" player="2" buttons="1" 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="Demo Sounds" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="6">
      <diplocation name="SW2" number="2" />
      <diplocation name="SW2" number="3" />
      <dipvalue name="Easy" value="4" />
      <dipvalue name="Medium" value="6" default="yes" />
      <dipvalue name="Hard" value="2" />
      <dipvalue name="Hardest" 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="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="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=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="pclub" sourcefile="segac2.cpp" cloneof="pclubjv2" romof="pclubjv2">
    <description>Print Club (World)</description>
    <year>1995</year>
    <manufacturer>Atlus</manufacturer>
    <rom name="epr-ic32.32" size="524288" crc="3fe9bda7" sha1="2d3bf0f10c8b9a07a263365c5d81067c91974fe1" region="maincpu" offset="0" />
    <rom name="epr-ic31.31" size="524288" crc="90f994d0" sha1="687d537481bfc05a5809161a8f1c686aa157cb8f" region="maincpu" offset="1" />
    <rom name="epr-ic34.34" size="524288" crc="4d1ebb55" sha1="f403990ff41418d14bae645cffd5c042ce13312c" region="maincpu" offset="100000" />
    <rom name="epr-ic33.33" size="524288" crc="bdfdc797" sha1="aec561a591ca1387b7d38ffe48a2c179a39c1b06" region="maincpu" offset="100001" />
    <rom name="epr-ic4.4" size="524288" crc="84eed1c4" sha1="271b199250f9a7f6ba5d3bf09e187417b7c2f88e" region="upd" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="upd7759" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <chip type="audio" tag="upd" name="NEC uPD7759" clock="640000" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="1" coins="2" service="yes">
      <control type="joy" buttons="2" ways="2" />
    </input>
    <dipswitch name="Coins per Credit (Normal / Alternate)" tag="COINAGE" mask="7">
      <diplocation name="SW4" number="1" />
      <diplocation name="SW4" number="2" />
      <diplocation name="SW4" number="3" />
      <dipvalue name="25 / 30" value="0" />
      <dipvalue name="6 / 7" value="1" />
      <dipvalue name="10 / 12" value="2" />
      <dipvalue name="1 / 2" value="3" />
      <dipvalue name="3 / Free Play" value="7" default="yes" />
      <dipvalue name="15 / 20" value="4" />
      <dipvalue name="4 / 5" value="5" />
      <dipvalue name="8 / 9" value="6" />
    </dipswitch>
    <dipswitch name="Alternate Coinage" tag="COINAGE" mask="8">
      <diplocation name="SW4" number="4" />
      <dipvalue name="Off" value="8" default="yes" />
      <dipvalue name="On" 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="Unused" tag="DSW" mask="1">
      <diplocation name="SW5" number="1" />
      <dipvalue name="Off" value="1" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="2">
      <diplocation name="SW5" number="2" />
      <dipvalue name="Off" value="2" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="4">
      <diplocation name="SW5" number="3" />
      <dipvalue name="Off" value="4" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="8">
      <diplocation name="SW5" number="4" />
      <dipvalue name="Off" value="8" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="16">
      <diplocation name="SW5" number="5" />
      <dipvalue name="Off" value="16" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="32">
      <diplocation name="SW5" number="6" />
      <dipvalue name="Off" value="0" />
      <dipvalue name="On" value="32" default="yes" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="64">
      <diplocation name="SW5" number="7" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="128">
      <diplocation name="SW5" 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=":SERVICE" />
    <driver status="preliminary" emulation="preliminary" savestate="unsupported" />
    <feature type="camera" status="unemulated" />
    <feature type="printer" status="unemulated" />
  </machine>
  <machine name="pclubj" sourcefile="segac2.cpp">
    <description>Print Club (Japan Vol.1)</description>
    <year>1995</year>
    <manufacturer>Atlus</manufacturer>
    <rom name="epr18171.32" size="524288" crc="6c8eb8e2" sha1="bbd885a83269524215c1d8470544086e3e82c05c" region="maincpu" offset="0" />
    <rom name="epr18170.31" size="524288" crc="72c631e6" sha1="77c4ed793db6cb75346998f38a637db64fd258bd" region="maincpu" offset="1" />
    <rom name="epr18173.34" size="524288" crc="9809dc72" sha1="6dbe6b7d4e525aa9b6174f8dc5aee12a5e00a009" region="maincpu" offset="100000" />
    <rom name="epr18172.33" size="524288" crc="c61d819b" sha1="4813ed3161e16099f482e0cf8df3cbe6c01c619c" region="maincpu" offset="100001" />
    <rom name="epr18169.4" size="524288" crc="5c00ccfb" sha1="d043ffa6528bb9b76774c96df4edf8222a1878a4" region="upd" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="upd7759" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <chip type="audio" tag="upd" name="NEC uPD7759" clock="640000" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="1" coins="2" service="yes">
      <control type="joy" buttons="2" ways="2" />
    </input>
    <dipswitch name="Coinage" tag="COINAGE" mask="7">
      <diplocation name="SW4" number="1" />
      <diplocation name="SW4" number="2" />
      <diplocation name="SW4" number="3" />
      <dipvalue name="7 Coins/1 Credit" value="0" />
      <dipvalue name="6 Coins/1 Credit" value="1" />
      <dipvalue name="5 Coins/1 Credit" value="2" />
      <dipvalue name="4 Coins/1 Credit" value="3" />
      <dipvalue name="3 Coins/1 Credit" value="7" default="yes" />
      <dipvalue name="2 Coins/1 Credit" value="4" />
      <dipvalue name="1 Coin/1 Credit" value="5" />
      <dipvalue name="Free Play" value="6" />
    </dipswitch>
    <dipswitch name="Unused" tag="COINAGE" mask="8">
      <diplocation name="SW4" number="4" />
      <dipvalue name="Off" value="8" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="COINAGE" mask="16">
      <diplocation name="SW4" number="5" />
      <dipvalue name="Off" value="16" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="COINAGE" mask="32">
      <diplocation name="SW4" number="6" />
      <dipvalue name="Off" value="32" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="COINAGE" mask="64">
      <diplocation name="SW4" number="7" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="COINAGE" mask="128">
      <diplocation name="SW4" number="8" />
      <dipvalue name="Off" value="128" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="1">
      <diplocation name="SW5" number="1" />
      <dipvalue name="Off" value="1" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="2">
      <diplocation name="SW5" number="2" />
      <dipvalue name="Off" value="2" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="4">
      <diplocation name="SW5" number="3" />
      <dipvalue name="Off" value="4" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="8">
      <diplocation name="SW5" number="4" />
      <dipvalue name="Off" value="8" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="16">
      <diplocation name="SW5" number="5" />
      <dipvalue name="Off" value="16" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="32">
      <diplocation name="SW5" number="6" />
      <dipvalue name="Off" value="0" />
      <dipvalue name="On" value="32" default="yes" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="64">
      <diplocation name="SW5" number="7" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="128">
      <diplocation name="SW5" 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=":SERVICE" />
    <driver status="preliminary" emulation="preliminary" savestate="unsupported" />
    <feature type="camera" status="unemulated" />
    <feature type="printer" status="unemulated" />
  </machine>
  <machine name="pclubjv2" sourcefile="segac2.cpp">
    <description>Print Club (Japan Vol.2)</description>
    <year>1995</year>
    <manufacturer>Atlus</manufacturer>
    <rom name="p2jwn.u32" size="524288" crc="dfc0f7f1" sha1="d2399f3ff05006590903f943cd77a9c709b9b5b1" region="maincpu" offset="0" />
    <rom name="p2jwn.u31" size="524288" crc="6ab4c694" sha1="d8cfaa1a49e86842079c6e3800a95c5afaf76ab6" region="maincpu" offset="1" />
    <rom name="p2jwn.u34" size="524288" crc="854fd456" sha1="eff7413a7acd8ee37cb73bc8dfd4f4ae53c04836" region="maincpu" offset="100000" />
    <rom name="p2jwn.u33" size="524288" crc="64428a69" sha1="e2c5ead4b35db76fda1db03adcd020bde5ca1dd2" region="maincpu" offset="100001" />
    <rom name="epr18169.4" size="524288" crc="5c00ccfb" sha1="d043ffa6528bb9b76774c96df4edf8222a1878a4" region="upd" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="upd7759" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <chip type="audio" tag="upd" name="NEC uPD7759" clock="640000" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="1" coins="2" service="yes">
      <control type="joy" buttons="2" ways="2" />
    </input>
    <dipswitch name="Coins per Credit (Normal / Alternate)" tag="COINAGE" mask="7">
      <diplocation name="SW4" number="1" />
      <diplocation name="SW4" number="2" />
      <diplocation name="SW4" number="3" />
      <dipvalue name="25 / 30" value="0" />
      <dipvalue name="6 / 7" value="1" />
      <dipvalue name="10 / 12" value="2" />
      <dipvalue name="1 / 2" value="3" />
      <dipvalue name="3 / Free Play" value="7" default="yes" />
      <dipvalue name="15 / 20" value="4" />
      <dipvalue name="4 / 5" value="5" />
      <dipvalue name="8 / 9" value="6" />
    </dipswitch>
    <dipswitch name="Alternate Coinage" tag="COINAGE" mask="8">
      <diplocation name="SW4" number="4" />
      <dipvalue name="Off" value="8" default="yes" />
      <dipvalue name="On" 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="Unused" tag="DSW" mask="1">
      <diplocation name="SW5" number="1" />
      <dipvalue name="Off" value="1" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="2">
      <diplocation name="SW5" number="2" />
      <dipvalue name="Off" value="2" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="4">
      <diplocation name="SW5" number="3" />
      <dipvalue name="Off" value="4" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="8">
      <diplocation name="SW5" number="4" />
      <dipvalue name="Off" value="8" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="16">
      <diplocation name="SW5" number="5" />
      <dipvalue name="Off" value="16" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="32">
      <diplocation name="SW5" number="6" />
      <dipvalue name="Off" value="0" />
      <dipvalue name="On" value="32" default="yes" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="64">
      <diplocation name="SW5" number="7" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="128">
      <diplocation name="SW5" 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=":SERVICE" />
    <driver status="preliminary" emulation="preliminary" savestate="unsupported" />
    <feature type="camera" status="unemulated" />
    <feature type="printer" status="unemulated" />
  </machine>
  <machine name="pclubjv4" sourcefile="segac2.cpp">
    <description>Print Club (Japan Vol.4)</description>
    <year>1996</year>
    <manufacturer>Atlus</manufacturer>
    <rom name="p4jsm.u32" size="524288" crc="36ff5f80" sha1="33872aa00c8ca3f54dd7503a44562fbdad92df7d" region="maincpu" offset="0" />
    <rom name="p4jsm.u31" size="524288" crc="f3c021ad" sha1="34792d861265b609d5022955eb7d2f471c63dfb8" region="maincpu" offset="1" />
    <rom name="p4jsm.u34" size="524288" crc="d0fd4b33" sha1="c272404f09bdb6596740ab150eb158cc22cc9aa6" region="maincpu" offset="100000" />
    <rom name="p4jsm.u33" size="524288" crc="ec667875" sha1="d235a1d8dfa90e1c638e1f079ce528f61450e1f0" region="maincpu" offset="100001" />
    <rom name="epr-18169.ic4" size="524288" crc="5c00ccfb" sha1="d043ffa6528bb9b76774c96df4edf8222a1878a4" region="upd" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="upd7759" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <chip type="audio" tag="upd" name="NEC uPD7759" clock="640000" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="1" coins="2" service="yes">
      <control type="joy" buttons="2" ways="2" />
    </input>
    <dipswitch name="Coins per Credit (Normal / Alternate)" tag="COINAGE" mask="7">
      <diplocation name="SW4" number="1" />
      <diplocation name="SW4" number="2" />
      <diplocation name="SW4" number="3" />
      <dipvalue name="25 / 30" value="0" />
      <dipvalue name="6 / 7" value="1" />
      <dipvalue name="10 / 12" value="2" />
      <dipvalue name="1 / 2" value="3" />
      <dipvalue name="3 / Free Play" value="7" default="yes" />
      <dipvalue name="15 / 20" value="4" />
      <dipvalue name="4 / 5" value="5" />
      <dipvalue name="8 / 9" value="6" />
    </dipswitch>
    <dipswitch name="Alternate Coinage" tag="COINAGE" mask="8">
      <diplocation name="SW4" number="4" />
      <dipvalue name="Off" value="8" default="yes" />
      <dipvalue name="On" 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="Unused" tag="DSW" mask="1">
      <diplocation name="SW5" number="1" />
      <dipvalue name="Off" value="1" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="2">
      <diplocation name="SW5" number="2" />
      <dipvalue name="Off" value="2" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="4">
      <diplocation name="SW5" number="3" />
      <dipvalue name="Off" value="4" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="8">
      <diplocation name="SW5" number="4" />
      <dipvalue name="Off" value="8" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="16">
      <diplocation name="SW5" number="5" />
      <dipvalue name="Off" value="16" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="32">
      <diplocation name="SW5" number="6" />
      <dipvalue name="Off" value="0" />
      <dipvalue name="On" value="32" default="yes" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="64">
      <diplocation name="SW5" number="7" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="128">
      <diplocation name="SW5" 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=":SERVICE" />
    <driver status="preliminary" emulation="preliminary" savestate="unsupported" />
    <feature type="camera" status="unemulated" />
    <feature type="printer" status="unemulated" />
  </machine>
  <machine name="pclubjv5" sourcefile="segac2.cpp">
    <description>Print Club (Japan Vol.5)</description>
    <year>1996</year>
    <manufacturer>Atlus</manufacturer>
    <rom name="p5jat.u32" size="524288" crc="72220e69" sha1="615de759d73469841987fb028eaf5d5598c32553" region="maincpu" offset="0" />
    <rom name="p5jat.u31" size="524288" crc="06d83fde" sha1="dc68375ccb16cde7900eb05f702bc15e7e702ea5" region="maincpu" offset="1" />
    <rom name="p5jat.u34" size="524288" crc="b172ab58" sha1="47a70bd678f6c4dafe70b83bd3db678cf44de48b" region="maincpu" offset="100000" />
    <rom name="p5jat.u33" size="524288" crc="ba38ec50" sha1="666fdba56d8a4dab041015c5e8102305b491d293" region="maincpu" offset="100001" />
    <rom name="epr-18169.ic4" size="524288" crc="5c00ccfb" sha1="d043ffa6528bb9b76774c96df4edf8222a1878a4" region="upd" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="upd7759" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <chip type="audio" tag="upd" name="NEC uPD7759" clock="640000" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="1" coins="2" service="yes">
      <control type="joy" buttons="2" ways="2" />
    </input>
    <dipswitch name="Coins per Credit (Normal / Alternate)" tag="COINAGE" mask="7">
      <diplocation name="SW4" number="1" />
      <diplocation name="SW4" number="2" />
      <diplocation name="SW4" number="3" />
      <dipvalue name="25 / 30" value="0" />
      <dipvalue name="6 / 7" value="1" />
      <dipvalue name="10 / 12" value="2" />
      <dipvalue name="1 / 2" value="3" />
      <dipvalue name="3 / Free Play" value="7" default="yes" />
      <dipvalue name="15 / 20" value="4" />
      <dipvalue name="4 / 5" value="5" />
      <dipvalue name="8 / 9" value="6" />
    </dipswitch>
    <dipswitch name="Alternate Coinage" tag="COINAGE" mask="8">
      <diplocation name="SW4" number="4" />
      <dipvalue name="Off" value="8" default="yes" />
      <dipvalue name="On" 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="Unused" tag="DSW" mask="1">
      <diplocation name="SW5" number="1" />
      <dipvalue name="Off" value="1" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="2">
      <diplocation name="SW5" number="2" />
      <dipvalue name="Off" value="2" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="4">
      <diplocation name="SW5" number="3" />
      <dipvalue name="Off" value="4" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="8">
      <diplocation name="SW5" number="4" />
      <dipvalue name="Off" value="8" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="16">
      <diplocation name="SW5" number="5" />
      <dipvalue name="Off" value="16" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="32">
      <diplocation name="SW5" number="6" />
      <dipvalue name="Off" value="0" />
      <dipvalue name="On" value="32" default="yes" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="64">
      <diplocation name="SW5" number="7" />
      <dipvalue name="Off" value="64" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="128">
      <diplocation name="SW5" 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=":SERVICE" />
    <driver status="preliminary" emulation="preliminary" savestate="unsupported" />
    <feature type="camera" status="unemulated" />
    <feature type="printer" status="unemulated" />
  </machine>
  <machine name="potopoto" sourcefile="segac2.cpp">
    <description>Poto Poto (Japan, Rev A)</description>
    <year>1994</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-16662a.ic32" size="262144" crc="bbd305d6" sha1="1a4f4869fefac188c69bc67df0b625e43a0c3f1f" region="maincpu" offset="0" />
    <rom name="epr-16661a.ic31" size="262144" crc="5a7d14f4" sha1="a615b5f481256366db7b1c6302a8dcb69708102b" region="maincpu" offset="1" />
    <rom name="epr-16660.ic4" size="262144" crc="8251c61c" sha1="03eef3aa0bdde2c1d93128648f54fd69278d85dd" region="upd" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="upd7759" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <chip type="audio" tag="upd" name="NEC uPD7759" clock="640000" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="1" ways="8" />
      <control type="joy" player="2" buttons="1" 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="Coin Chute Type" tag="DSW" mask="4">
      <diplocation name="SW2" number="3" />
      <dipvalue name="Common" value="4" default="yes" />
      <dipvalue name="Individual" value="0" />
    </dipswitch>
    <dipswitch name="Credits to Continue" tag="DSW" mask="8">
      <diplocation name="SW2" number="4" />
      <dipvalue name="1" value="8" default="yes" />
      <dipvalue name="2" value="0" />
    </dipswitch>
    <dipswitch name="Buy-In" tag="DSW" mask="16">
      <diplocation name="SW2" number="5" />
      <dipvalue name="No" value="16" default="yes" />
      <dipvalue name="Yes" 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="Medium" value="96" default="yes" />
      <dipvalue name="Hard" value="32" />
      <dipvalue name="Hardest" value="0" />
    </dipswitch>
    <dipswitch name="Moving Seat" tag="DSW" mask="128">
      <diplocation name="SW2" number="8" />
      <dipvalue name="No Use" value="128" default="yes" />
      <dipvalue name="In Use" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="puyo" sourcefile="segac2.cpp">
    <description>Puyo Puyo (World)</description>
    <year>1992</year>
    <manufacturer>Compile / Sega</manufacturer>
    <rom name="epr-15198.ic32" size="131072" crc="9610d80c" sha1="1ffad09d3369c1942d4db611c41bae47d08c7564" region="maincpu" offset="0" />
    <rom name="epr-15197.ic31" size="131072" crc="7b1f3229" sha1="13d0905291e748973d7d17eb404a286ffb94de03" region="maincpu" offset="1" />
    <rom name="epr-15200.ic34" size="131072" crc="0a0692e5" sha1="d4ecc5b1791a91e3b33a5d4d0dd305f1623483d9" region="maincpu" offset="100000" />
    <rom name="epr-15199.ic33" size="131072" crc="353109b8" sha1="92440987add3124b758e7eaa77a3a6f54ca61bb8" region="maincpu" offset="100001" />
    <rom name="epr-15196.ic4" size="131072" crc="79112b3b" sha1="fc3a202e1e2ff39950d4af689b7fcca86c301805" region="upd" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="upd7759" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <chip type="audio" tag="upd" name="NEC uPD7759" clock="640000" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="1" ways="8" />
      <control type="joy" player="2" buttons="1" 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="Unused" 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="VS. Mode Credits/Match" tag="DSW" mask="4">
      <diplocation name="SW2" number="3" />
      <dipvalue name="1" value="4" default="yes" />
      <dipvalue name="3" value="0" />
    </dipswitch>
    <dipswitch name="1P Mode Difficulty" tag="DSW" mask="24">
      <diplocation name="SW2" number="4" />
      <diplocation name="SW2" number="5" />
      <dipvalue name="Easy" value="16" />
      <dipvalue name="Medium" value="24" default="yes" />
      <dipvalue name="Hard" value="8" />
      <dipvalue name="Hardest" 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="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="Moving Seat" tag="DSW" mask="128">
      <diplocation name="SW2" number="8" />
      <dipvalue name="No Use" value="128" default="yes" />
      <dipvalue name="In Use" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="puyobl" sourcefile="segac2.cpp" cloneof="puyo" romof="puyo">
    <description>Puyo Puyo (World, bootleg)</description>
    <year>1992</year>
    <manufacturer>bootleg</manufacturer>
    <rom name="puyopuyb.4bo" size="131072" crc="89ea4d33" sha1="bef9d011524e71c072d309f6da3c2ebc38878e0e" region="maincpu" offset="0" />
    <rom name="puyopuyb.3bo" size="131072" crc="c002e545" sha1="7a59ac764d60e9955830d9617b0bd122b44e7b2f" region="maincpu" offset="1" />
    <rom name="puyopuyb.6bo" merge="epr-15200.ic34" size="131072" crc="0a0692e5" sha1="d4ecc5b1791a91e3b33a5d4d0dd305f1623483d9" region="maincpu" offset="100000" />
    <rom name="puyopuyb.5bo" merge="epr-15199.ic33" size="131072" crc="353109b8" sha1="92440987add3124b758e7eaa77a3a6f54ca61bb8" region="maincpu" offset="100001" />
    <rom name="puyopuyb.abo" merge="epr-15196.ic4" size="131072" crc="79112b3b" sha1="fc3a202e1e2ff39950d4af689b7fcca86c301805" region="upd" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="upd7759" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <chip type="audio" tag="upd" name="NEC uPD7759" clock="640000" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="1" ways="8" />
      <control type="joy" player="2" buttons="1" 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="Unused" 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="VS. Mode Credits/Match" tag="DSW" mask="4">
      <diplocation name="SW2" number="3" />
      <dipvalue name="1" value="4" default="yes" />
      <dipvalue name="3" value="0" />
    </dipswitch>
    <dipswitch name="1P Mode Difficulty" tag="DSW" mask="24">
      <diplocation name="SW2" number="4" />
      <diplocation name="SW2" number="5" />
      <dipvalue name="Easy" value="16" />
      <dipvalue name="Medium" value="24" default="yes" />
      <dipvalue name="Hard" value="8" />
      <dipvalue name="Hardest" 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="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="Moving Seat" tag="DSW" mask="128">
      <diplocation name="SW2" number="8" />
      <dipvalue name="No Use" value="128" default="yes" />
      <dipvalue name="In Use" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="puyoj" sourcefile="segac2.cpp" cloneof="puyo" romof="puyo">
    <description>Puyo Puyo (Japan, Rev B)</description>
    <year>1992</year>
    <manufacturer>Compile / Sega</manufacturer>
    <rom name="epr-15036b.ic32" size="131072" crc="5310ca1b" sha1="dcfe2bf7476b640dfb790e8716e75b483d535e48" region="maincpu" offset="0" />
    <rom name="epr-15035b.ic31" size="131072" crc="bc62e400" sha1="12bb6031574838a28889f6edb31dbb689265287c" region="maincpu" offset="1" />
    <rom name="epr-15038.ic34" size="131072" crc="3b9eea0c" sha1="e3e6148c1769834cc0061932eb035daa79673144" region="maincpu" offset="100000" />
    <rom name="epr-15037.ic33" size="131072" crc="be2f7974" sha1="77027ced7a62f94e9fc6e8a0a4ac0c62f7ea813b" region="maincpu" offset="100001" />
    <rom name="epr-15034.ic4" size="131072" crc="5688213b" sha1="f3f234e482871ca903a782e51008f3bfed04ee63" region="upd" offset="0" />
    <rom name="315-5452.ic24" size="1" status="nodump" region="pals" offset="0" />
    <rom name="315-5394.ic25" size="1" status="nodump" region="pals" offset="0" />
    <rom name="315-5395.ic26" size="1" status="nodump" region="pals" offset="0" />
    <rom name="317-0203.ic27" size="1" status="nodump" region="pals" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="upd7759" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <chip type="audio" tag="upd" name="NEC uPD7759" clock="640000" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="1" ways="8" />
      <control type="joy" player="2" buttons="1" 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="Unused" 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="VS. Mode Credits/Match" tag="DSW" mask="4">
      <diplocation name="SW2" number="3" />
      <dipvalue name="1" value="4" default="yes" />
      <dipvalue name="3" value="0" />
    </dipswitch>
    <dipswitch name="1P Mode Difficulty" tag="DSW" mask="24">
      <diplocation name="SW2" number="4" />
      <diplocation name="SW2" number="5" />
      <dipvalue name="Easy" value="16" />
      <dipvalue name="Medium" value="24" default="yes" />
      <dipvalue name="Hard" value="8" />
      <dipvalue name="Hardest" 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="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="Moving Seat" tag="DSW" mask="128">
      <diplocation name="SW2" number="8" />
      <dipvalue name="No Use" value="128" default="yes" />
      <dipvalue name="In Use" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="puyoja" sourcefile="segac2.cpp" cloneof="puyo" romof="puyo">
    <description>Puyo Puyo (Japan, Rev A)</description>
    <year>1992</year>
    <manufacturer>Compile / Sega</manufacturer>
    <rom name="epr-15036a.ic32" size="131072" crc="61b35257" sha1="e09a7e992999befc88fc7928a478d1e2d14d7b08" region="maincpu" offset="0" />
    <rom name="epr-15035a.ic31" size="131072" crc="dfebb6d9" sha1="6f685729ef4660c2eba409c5236c6d2f313eef5b" region="maincpu" offset="1" />
    <rom name="epr-15038.ic34" size="131072" crc="3b9eea0c" sha1="e3e6148c1769834cc0061932eb035daa79673144" region="maincpu" offset="100000" />
    <rom name="epr-15037.ic33" size="131072" crc="be2f7974" sha1="77027ced7a62f94e9fc6e8a0a4ac0c62f7ea813b" region="maincpu" offset="100001" />
    <rom name="epr-15034.ic4" size="131072" crc="5688213b" sha1="f3f234e482871ca903a782e51008f3bfed04ee63" region="upd" offset="0" />
    <rom name="315-5452.ic24" size="1" status="nodump" region="pals" offset="0" />
    <rom name="315-5394.ic25" size="1" status="nodump" region="pals" offset="0" />
    <rom name="315-5395.ic26" size="1" status="nodump" region="pals" offset="0" />
    <rom name="317-0203.ic27" size="1" status="nodump" region="pals" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="upd7759" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <chip type="audio" tag="upd" name="NEC uPD7759" clock="640000" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="1" ways="8" />
      <control type="joy" player="2" buttons="1" 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="Unused" 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="VS. Mode Credits/Match" tag="DSW" mask="4">
      <diplocation name="SW2" number="3" />
      <dipvalue name="1" value="4" default="yes" />
      <dipvalue name="3" value="0" />
    </dipswitch>
    <dipswitch name="1P Mode Difficulty" tag="DSW" mask="24">
      <diplocation name="SW2" number="4" />
      <diplocation name="SW2" number="5" />
      <dipvalue name="Easy" value="16" />
      <dipvalue name="Medium" value="24" default="yes" />
      <dipvalue name="Hard" value="8" />
      <dipvalue name="Hardest" 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="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="Moving Seat" tag="DSW" mask="128">
      <diplocation name="SW2" number="8" />
      <dipvalue name="No Use" value="128" default="yes" />
      <dipvalue name="In Use" value="0" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="puyopuy2" sourcefile="segac2.cpp">
    <description>Puyo Puyo 2 (Japan)</description>
    <year>1994</year>
    <manufacturer>Compile (Sega license)</manufacturer>
    <rom name="epr-17241.ic32" size="524288" crc="1cad1149" sha1="77fb0482fa35e615c0bed65f4d7f4dd89b241f23" region="maincpu" offset="0" />
    <rom name="epr-17240.ic31" size="524288" crc="beecf96d" sha1="c2bdad4b6184c11f81f2a5db409cb4ea186205a7" region="maincpu" offset="1" />
    <rom name="epr-17239.ic4" size="524288" crc="020ff6ef" sha1="6095b8277b47a6fd7a9721f15a70ae5bf6be9b1a" region="upd" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="upd7759" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <chip type="audio" tag="upd" name="NEC uPD7759" clock="640000" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="2" ways="8" />
      <control type="joy" player="2" buttons="2" ways="8" />
    </input>
    <dipswitch name="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="Rannyu Off Button" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Use" value="1" default="yes" />
      <dipvalue name="No Use" 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="Turn Direction" tag="DSW" mask="4">
      <diplocation name="SW2" number="3" />
      <dipvalue name="1:Right  2:Left" value="4" default="yes" />
      <dipvalue name="1:Left  2:Right" value="0" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="24">
      <diplocation name="SW2" number="4" />
      <diplocation name="SW2" number="5" />
      <dipvalue name="Easy" value="16" />
      <dipvalue name="Medium" value="24" default="yes" />
      <dipvalue name="Hard" value="8" />
      <dipvalue name="Hardest" value="0" />
    </dipswitch>
    <dipswitch name="VS Mode Match/1 Play" tag="DSW" mask="96">
      <diplocation name="SW2" number="6" />
      <diplocation name="SW2" number="7" />
      <dipvalue name="1" value="96" default="yes" />
      <dipvalue name="2" value="64" />
      <dipvalue name="3" value="32" />
      <dipvalue name="4" value="0" />
    </dipswitch>
    <dipswitch name="Battle Start credit" tag="DSW" mask="128">
      <diplocation name="SW2" number="8" />
      <dipvalue name="1" value="0" />
      <dipvalue name="2" value="128" default="yes" />
    </dipswitch>
    <port tag=":COINAGE" />
    <port tag=":DSW" />
    <port tag=":P1" />
    <port tag=":P2" />
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="ribbit" sourcefile="segac2.cpp">
    <description>Ribbit!</description>
    <year>1991</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-13833.ic32" size="262144" crc="5347f8ce" sha1="b95b99536157edfbf0d74a42f64235f47dca7ee1" region="maincpu" offset="0" />
    <rom name="epr-13832.ic31" size="262144" crc="889c42c2" sha1="0839a50a68b64a66d995f1bfaff42fcb60bb4d45" region="maincpu" offset="1" />
    <rom name="epr-13838.ic34" size="524288" crc="a5d62ac3" sha1="8d83a7bc4017e125ef4231278f766b2368d5fc1f" region="maincpu" offset="100000" />
    <rom name="epr-13837.ic33" size="524288" crc="434de159" sha1="cf2973131cabf2bc0ebb2bfe9f804ad3d7d0a733" region="maincpu" offset="100001" />
    <rom name="epr-13834.ic4" size="131072" crc="ab0c1833" sha1="f864e12ecf6c0524da20fc66747a4fa4280e67e9" region="upd" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="upd7759" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <chip type="audio" tag="upd" name="NEC uPD7759" clock="640000" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" ways="8" />
      <control type="joy" player="2" 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="Lives" tag="DSW" mask="12">
      <diplocation name="SW2" number="3" />
      <diplocation name="SW2" number="4" />
      <dipvalue name="1" value="8" />
      <dipvalue name="2" value="12" />
      <dipvalue name="3" value="4" default="yes" />
      <dipvalue name="5" value="0" />
    </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="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=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="ribbitj" sourcefile="segac2.cpp" cloneof="ribbit" romof="ribbit">
    <description>Ribbit! (Japan)</description>
    <year>1991</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-13836.ic32" size="262144" crc="21f222e2" sha1="1e4b640833d3ec428bd50d89dc93a670a17a4451" region="maincpu" offset="0" />
    <rom name="epr-13835.ic31" size="262144" crc="1c4b291a" sha1="61b2e7721aefb97bbd38b3ca9275d7f345f3d0a6" region="maincpu" offset="1" />
    <rom name="epr-13838.ic34" merge="epr-13838.ic34" size="524288" crc="a5d62ac3" sha1="8d83a7bc4017e125ef4231278f766b2368d5fc1f" region="maincpu" offset="100000" />
    <rom name="epr-13837.ic33" merge="epr-13837.ic33" size="524288" crc="434de159" sha1="cf2973131cabf2bc0ebb2bfe9f804ad3d7d0a733" region="maincpu" offset="100001" />
    <rom name="epr-13834.ic4" merge="epr-13834.ic4" size="131072" crc="ab0c1833" sha1="f864e12ecf6c0524da20fc66747a4fa4280e67e9" region="upd" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="upd7759" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <chip type="audio" tag="upd" name="NEC uPD7759" clock="640000" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" ways="8" />
      <control type="joy" player="2" 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="Lives" tag="DSW" mask="12">
      <diplocation name="SW2" number="3" />
      <diplocation name="SW2" number="4" />
      <dipvalue name="1" value="4" />
      <dipvalue name="2" value="8" />
      <dipvalue name="3" value="12" default="yes" />
      <dipvalue name="5" value="0" />
    </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="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=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="soniccar" sourcefile="segac2.cpp">
    <description>Waku Waku Sonic Patrol Car</description>
    <year>1991</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-14369.ic32" size="262144" crc="2ea4c9a3" sha1="92ee27c93bd1cbb99c88af39f5f227a8cadfb13c" region="maincpu" offset="0" />
    <rom name="epr-14395.ic31" size="262144" crc="39622e18" sha1="b7093c6d86e429e9721a0e1fd781231dc4342b31" region="maincpu" offset="1" />
    <rom name="epr-14394.ic4" size="262144" crc="476e30dd" sha1="c9d381160c58b05763ea286a53c7ca6de074fda2" region="upd" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="upd7759" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <chip type="audio" tag="upd" name="NEC uPD7759" clock="640000" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="1" coins="1" service="yes">
      <control type="doublejoy" buttons="4" ways="2" ways2="2" />
    </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="Demo Sound Interval" tag="DSW" mask="3">
      <diplocation name="SW2" number="1" />
      <diplocation name="SW2" number="2" />
      <dipvalue name="Off" value="0" />
      <dipvalue name="Every 4 Minutes" value="1" />
      <dipvalue name="Every 2 Minutes" value="2" />
      <dipvalue name="On" value="3" default="yes" />
    </dipswitch>
    <dipswitch name="Lighting Time" tag="DSW" mask="4">
      <diplocation name="SW2" number="3" />
      <dipvalue name="Advertise &amp; Playtime" value="4" default="yes" />
      <dipvalue name="Playtime Only" value="0" />
    </dipswitch>
    <dipswitch name="Light" tag="DSW" mask="8">
      <diplocation name="SW2" number="4" />
      <dipvalue name="Off" value="0" />
      <dipvalue name="On" value="8" default="yes" />
    </dipswitch>
    <dipswitch name="Screen Display" tag="DSW" mask="16">
      <diplocation name="SW2" number="5" />
      <dipvalue name="Insert 100-400 Yen" value="16" default="yes" />
      <dipvalue name="Insert Money" 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="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=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="sonicfgt" sourcefile="segac2.cpp">
    <description>Sega Sonic Cosmo Fighter</description>
    <year>1993</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-16001.ic32" size="262144" crc="8ed1dc11" sha1="cd1cb6066c2ff159bec88802bc4b7ca7fff2ed71" region="maincpu" offset="0" />
    <rom name="epr-16000.ic31" size="262144" crc="1440caec" sha1="9e50c28544d6c42cdc7d3ae0f321670fed68fedb" region="maincpu" offset="1" />
    <rom name="epr-16003.ic34" size="262144" crc="8933e91c" sha1="5dc7451874f97e0e5d0c666800c26907b9abf5f5" region="maincpu" offset="100000" />
    <rom name="epr-16002.ic33" size="262144" crc="0ae979cd" sha1="a4d4f096e976d4993123de0c2505382f878ea42a" region="maincpu" offset="100001" />
    <rom name="epr-16004.ic4" size="262144" crc="e87e8433" sha1="b2b7945c7660ab2383049af5a2434768544a4ea8" region="upd" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="upd7759" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <chip type="audio" tag="upd" name="NEC uPD7759" clock="640000" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" 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="Unused" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Unused" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Off" value="2" default="yes" />
      <dipvalue name="On" value="0" />
    </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="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="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="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=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="sonicpop" sourcefile="segac2.cpp" ismechanical="yes">
    <description>SegaSonic Popcorn Shop (Rev B)</description>
    <year>1993</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-14592b.ic32" size="262144" crc="bac586a1" sha1="0208213bfa1a5093e76edb1a7e0ba5ebc862801d" region="maincpu" offset="0" />
    <rom name="epr-15491b.ic31" size="262144" crc="527106c3" sha1="97f08006bba4b87c304c7ad3b1480b77e99dff10" region="maincpu" offset="1" />
    <rom name="epr-15494.ic34" size="262144" crc="0520df5e" sha1="5a795a1630d841406a106a566228223583deef44" region="maincpu" offset="100000" />
    <rom name="epr-15493.ic33" size="262144" crc="d51b3b85" sha1="66f6b4656841ab70ffde0141a613eaf91c06f86b" region="maincpu" offset="100001" />
    <rom name="epr-15495.ic4" size="262144" crc="d3ee4c68" sha1="557c57b22521339d94d9a3e6fd2af68a67a153b6" region="upd" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="upd7759" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <chip type="audio" tag="upd" name="NEC uPD7759" clock="640000" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="1" coins="1" service="yes">
      <control type="only_buttons" buttons="11" />
    </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="Demo Sounds" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="On" value="1" default="yes" />
      <dipvalue name="Off" value="0" />
    </dipswitch>
    <dipswitch name="Trouble BGM" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="On" value="2" default="yes" />
      <dipvalue name="Off" value="0" />
    </dipswitch>
    <dipswitch name="Region" tag="DSW" mask="12">
      <diplocation name="SW2" number="3" />
      <diplocation name="SW2" number="4" />
      <dipvalue name="USA" value="0" default="yes" />
      <dipvalue name="Export" value="4" />
      <dipvalue name="USA (duplicate)" value="8" />
      <dipvalue name="Japan" value="12" />
    </dipswitch>
    <dipswitch name="Sensor Advertise" tag="DSW" mask="16">
      <diplocation name="SW2" number="5" />
      <dipvalue name="On" value="16" default="yes" />
      <dipvalue name="Off" 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="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=":SERVICE" />
    <driver status="preliminary" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="stkclmns" sourcefile="segac2.cpp">
    <description>Stack Columns (World)</description>
    <year>1994</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-16874.ic32" size="524288" crc="d78a871c" sha1="7efcd5d07b089442be5170a3cf9e09579527252f" region="maincpu" offset="0" />
    <rom name="epr-16873.ic31" size="524288" crc="1def1da4" sha1="da534a971b40277b2d58ef22c07ca468250d23ca" region="maincpu" offset="1" />
    <rom name="mpr-16797.ic34" size="524288" crc="b28e9bd5" sha1="227eb591d10c9dbc52b35954ebd322e2a4451df2" region="maincpu" offset="100000" />
    <rom name="mpr-16796.ic33" size="524288" crc="ec7de52d" sha1="85bc48cef15e615ad9059500808d17916c854a87" region="maincpu" offset="100001" />
    <rom name="epr-16793.ic4" size="131072" crc="ebb2d057" sha1="4a19ee5d71e4aabe7d9b9b968ab5ee4bc6262aad" region="upd" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="upd7759" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <chip type="audio" tag="upd" name="NEC uPD7759" clock="640000" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="2" ways="8" />
      <control type="joy" player="2" buttons="2" ways="8" />
    </input>
    <dipswitch name="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="Medium" value="3" default="yes" />
      <dipvalue name="Hard" value="1" />
      <dipvalue name="Hardest" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="4">
      <diplocation name="SW2" number="3" />
      <dipvalue name="Off" value="4" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Match Mode Price" tag="DSW" mask="8">
      <diplocation name="SW2" number="4" />
      <dipvalue name="1" value="8" default="yes" />
      <dipvalue name="2" 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="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=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="stkclmnsj" sourcefile="segac2.cpp" cloneof="stkclmns" romof="stkclmns">
    <description>Stack Columns (Japan)</description>
    <year>1994</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-16795.ic32" size="524288" crc="b478fd02" sha1="aaf9d9f9f4dc900b4e8ff6f258f26e782e5c3166" region="maincpu" offset="0" />
    <rom name="epr-16794.ic31" size="524288" crc="6d0e8c56" sha1="8f98d9fd98a1faa70b173cfd72f15102d11e79ae" region="maincpu" offset="1" />
    <rom name="mpr-16797.ic34" merge="mpr-16797.ic34" size="524288" crc="b28e9bd5" sha1="227eb591d10c9dbc52b35954ebd322e2a4451df2" region="maincpu" offset="100000" />
    <rom name="mpr-16796.ic33" merge="mpr-16796.ic33" size="524288" crc="ec7de52d" sha1="85bc48cef15e615ad9059500808d17916c854a87" region="maincpu" offset="100001" />
    <rom name="epr-16793.ic4" merge="epr-16793.ic4" size="131072" crc="ebb2d057" sha1="4a19ee5d71e4aabe7d9b9b968ab5ee4bc6262aad" region="upd" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="upd7759" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <chip type="audio" tag="upd" name="NEC uPD7759" clock="640000" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="2" ways="8" />
      <control type="joy" player="2" buttons="2" ways="8" />
    </input>
    <dipswitch name="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="Medium" value="3" default="yes" />
      <dipvalue name="Hard" value="1" />
      <dipvalue name="Hardest" value="0" />
    </dipswitch>
    <dipswitch name="Demo Sounds" tag="DSW" mask="4">
      <diplocation name="SW2" number="3" />
      <dipvalue name="Off" value="4" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Match Mode Price" tag="DSW" mask="8">
      <diplocation name="SW2" number="4" />
      <dipvalue name="1" value="8" default="yes" />
      <dipvalue name="2" 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="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=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="tantr" sourcefile="segac2.cpp">
    <description>Puzzle &amp; Action: Tant-R (Japan)</description>
    <year>1992</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-15614.ic32" size="524288" crc="557782bc" sha1="1546a999ab97c380dc87f6c95d5687722206740d" region="maincpu" offset="0" />
    <rom name="epr-15613.ic31" size="524288" crc="14bbb235" sha1="8dbfec5fb1d7a695acbb2fc0e78e4bdf76eb8d9d" region="maincpu" offset="1" />
    <rom name="mpr-15616.ic34" size="524288" crc="17b80202" sha1="f47bf2aa0c5972647438619b8453c7dede5c422f" region="maincpu" offset="100000" />
    <rom name="mpr-15615.ic33" size="524288" crc="36a88bd4" sha1="cc7f6a947d1b79bb86957c43035b53d6d2bcfa28" region="maincpu" offset="100001" />
    <rom name="epr-15617.ic4" size="262144" crc="338324a1" sha1="79e2782d0d4764dd723886f846c852a6f6c1fb64" region="upd" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="upd7759" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <chip type="audio" tag="upd" name="NEC uPD7759" clock="640000" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="1" ways="8" />
      <control type="joy" player="2" buttons="1" 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="Demo Sounds" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="6">
      <diplocation name="SW2" number="2" />
      <diplocation name="SW2" number="3" />
      <dipvalue name="Easy" value="4" />
      <dipvalue name="Medium" value="6" default="yes" />
      <dipvalue name="Hard" value="2" />
      <dipvalue name="Hardest" 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="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="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=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="tantrbl" sourcefile="segac2.cpp" cloneof="tantr" romof="tantr">
    <description>Puzzle &amp; Action: Tant-R (Japan) (bootleg set 1)</description>
    <year>1992</year>
    <manufacturer>bootleg</manufacturer>
    <rom name="pa_e10.bin" size="524288" crc="6c3f711f" sha1="55aa2d50422134b95d9a7c5cbdc453b207b91b4c" region="maincpu" offset="0" />
    <rom name="pa_f10.bin" size="524288" crc="75526786" sha1="8f5aa7f6918b71a79e6fca18194beec2aef15844" region="maincpu" offset="1" />
    <rom name="mpr-15616.ic34" merge="mpr-15616.ic34" size="524288" crc="17b80202" sha1="f47bf2aa0c5972647438619b8453c7dede5c422f" region="maincpu" offset="100000" />
    <rom name="mpr-15615.ic33" merge="mpr-15615.ic33" size="524288" crc="36a88bd4" sha1="cc7f6a947d1b79bb86957c43035b53d6d2bcfa28" region="maincpu" offset="100001" />
    <rom name="pa_e03.bin" size="131072" crc="72918c58" sha1="cb42363b163727a887a0b762519c72dcdf0a6460" region="upd" offset="0" />
    <rom name="pa_e02.bin" size="131072" crc="4e85b2a3" sha1="3f92fb931d315c5a2d6c54b3204718574928cb7b" region="upd" offset="20000" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="upd7759" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <chip type="audio" tag="upd" name="NEC uPD7759" clock="640000" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="1" ways="8" />
      <control type="joy" player="2" buttons="1" 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="Demo Sounds" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="6">
      <diplocation name="SW2" number="2" />
      <diplocation name="SW2" number="3" />
      <dipvalue name="Easy" value="4" />
      <dipvalue name="Medium" value="6" default="yes" />
      <dipvalue name="Hard" value="2" />
      <dipvalue name="Hardest" 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="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="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=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="tantrbl2" sourcefile="segac2.cpp" cloneof="tantr" romof="tantr">
    <description>Puzzle &amp; Action: Tant-R (Japan) (bootleg set 2)</description>
    <year>1994</year>
    <manufacturer>bootleg</manufacturer>
    <rom name="trb2_2.32" size="524288" crc="8fc99c48" sha1="d90ed673fe1f6e1f878c0d8fc62f5439b56d0a47" region="maincpu" offset="0" />
    <rom name="trb2_1.31" size="524288" crc="c318d00d" sha1="703760d4ddc45bc0921ae96a27d9a8fbf12a1e96" region="maincpu" offset="1" />
    <rom name="mpr-15616.ic34" merge="mpr-15616.ic34" size="524288" crc="17b80202" sha1="f47bf2aa0c5972647438619b8453c7dede5c422f" region="maincpu" offset="100000" />
    <rom name="mpr-15615.ic33" merge="mpr-15615.ic33" size="524288" crc="36a88bd4" sha1="cc7f6a947d1b79bb86957c43035b53d6d2bcfa28" region="maincpu" offset="100001" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="1" ways="8" />
      <control type="joy" player="2" buttons="1" 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="Demo Sounds" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="6">
      <diplocation name="SW2" number="2" />
      <diplocation name="SW2" number="3" />
      <dipvalue name="Easy" value="4" />
      <dipvalue name="Medium" value="6" default="yes" />
      <dipvalue name="Hard" value="2" />
      <dipvalue name="Hardest" 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="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="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=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="tantrbl3" sourcefile="segac2.cpp" cloneof="tantr" romof="tantr">
    <description>Puzzle &amp; Action: Tant-R (Japan) (bootleg set 3)</description>
    <year>1994</year>
    <manufacturer>bootleg</manufacturer>
    <rom name="2.u29" size="524288" crc="faecb7b1" sha1="ddca61996dbd0d66e9ecc04647e61a6d0af25807" region="maincpu" offset="0" />
    <rom name="1.u28" size="524288" crc="3304556d" sha1="586265c846bf6404dcb33404e961bf0733e24bf5" region="maincpu" offset="1" />
    <rom name="4.u31" merge="mpr-15616.ic34" size="524288" crc="17b80202" sha1="f47bf2aa0c5972647438619b8453c7dede5c422f" region="maincpu" offset="100000" />
    <rom name="3.u30" merge="mpr-15615.ic33" size="524288" crc="36a88bd4" sha1="cc7f6a947d1b79bb86957c43035b53d6d2bcfa28" region="maincpu" offset="100001" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="1" ways="8" />
      <control type="joy" player="2" buttons="1" 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="Demo Sounds" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="6">
      <diplocation name="SW2" number="2" />
      <diplocation name="SW2" number="3" />
      <dipvalue name="Easy" value="4" />
      <dipvalue name="Medium" value="6" default="yes" />
      <dipvalue name="Hard" value="2" />
      <dipvalue name="Hardest" 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="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="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=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="tantrbl4" sourcefile="segac2.cpp" cloneof="tantr" romof="tantr">
    <description>Puzzle &amp; Action: Tant-R (Japan) (bootleg set 4)</description>
    <year>1992</year>
    <manufacturer>bootleg</manufacturer>
    <rom name="a.bin" size="524288" crc="25cafec2" sha1="872ce10c080c8bddc2eaf1a48be7b43eeae32f28" region="maincpu" offset="0" />
    <rom name="b.bin" size="524288" crc="8cf5ffd5" sha1="21bcde46d3e075a93725292a344c3d9784ae5178" region="maincpu" offset="1" />
    <rom name="d.bin" merge="mpr-15616.ic34" size="524288" crc="17b80202" sha1="f47bf2aa0c5972647438619b8453c7dede5c422f" region="maincpu" offset="100000" />
    <rom name="c.bin" merge="mpr-15615.ic33" size="524288" crc="36a88bd4" sha1="cc7f6a947d1b79bb86957c43035b53d6d2bcfa28" region="maincpu" offset="100001" />
    <rom name="2.bin" size="131072" crc="72918c58" sha1="cb42363b163727a887a0b762519c72dcdf0a6460" region="upd" offset="0" />
    <rom name="1.bin" size="131072" crc="4e85b2a3" sha1="3f92fb931d315c5a2d6c54b3204718574928cb7b" region="upd" offset="20000" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="upd7759" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <chip type="audio" tag="upd" name="NEC uPD7759" clock="640000" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="1" ways="8" />
      <control type="joy" player="2" buttons="1" 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="Demo Sounds" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="6">
      <diplocation name="SW2" number="2" />
      <diplocation name="SW2" number="3" />
      <dipvalue name="Easy" value="4" />
      <dipvalue name="Medium" value="6" default="yes" />
      <dipvalue name="Hard" value="2" />
      <dipvalue name="Hardest" 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="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="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=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="tantrkor" sourcefile="segac2.cpp" cloneof="tantr" romof="tantr">
    <description>Puzzle &amp; Action: Tant-R (Korea)</description>
    <year>1993</year>
    <manufacturer>Sega</manufacturer>
    <rom name="mpr-15592b.ic32" size="524288" crc="7efe26b3" sha1="958420b9b400eafe392745af90bff729463427c7" region="maincpu" offset="0" />
    <rom name="mpr-15592b.ic31" size="524288" crc="af5a860f" sha1="cb0011f420721d035e9f0e43bb72cf286982fd32" region="maincpu" offset="1" />
    <rom name="mpr-15992b.ic34" size="524288" crc="6282a5d4" sha1="9220e119e79d969d7d70e8a25c75dd3d9bc340ae" region="maincpu" offset="100000" />
    <rom name="mpr-15592b.ic33" size="524288" crc="82d78413" sha1="9ff9c2b1632e280444965110bab90c0fc98cd6da" region="maincpu" offset="100001" />
    <rom name="epr-15617.ic4" merge="epr-15617.ic4" size="262144" crc="338324a1" sha1="79e2782d0d4764dd723886f846c852a6f6c1fb64" region="upd" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="upd7759" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <chip type="audio" tag="upd" name="NEC uPD7759" clock="640000" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="1" ways="8" />
      <control type="joy" player="2" buttons="1" 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="Demo Sounds" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Off" value="1" />
      <dipvalue name="On" value="0" default="yes" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="6">
      <diplocation name="SW2" number="2" />
      <diplocation name="SW2" number="3" />
      <dipvalue name="Easy" value="4" />
      <dipvalue name="Medium" value="6" default="yes" />
      <dipvalue name="Hard" value="2" />
      <dipvalue name="Hardest" 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="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="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=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="tfrceac" sourcefile="segac2.cpp">
    <description>Thunder Force AC</description>
    <year>1990</year>
    <manufacturer>Technosoft / Sega</manufacturer>
    <rom name="epr-13675.ic32" size="262144" crc="95ecf202" sha1="92b0f351f2bee7d59873a4991615f14f1afe4da7" region="maincpu" offset="0" />
    <rom name="epr-13674.ic31" size="262144" crc="e63d7f1a" sha1="a40d0a5a96f379a467048dc8fddd8aaaeb94da1d" region="maincpu" offset="1" />
    <rom name="epr-13659.ic34" size="262144" crc="29f23461" sha1="032a7125fef5a660b85654d595aafc46812cdde6" region="maincpu" offset="100000" />
    <rom name="epr-13658.ic33" size="262144" crc="9e23734f" sha1="64d27dc53f0ffc3513345a26ed077751b25d15f1" region="maincpu" offset="100001" />
    <rom name="epr-13655.ic4" size="262144" crc="e09961f6" sha1="e109b5f41502b765d191f22e3bbcff97d6defaa1" region="upd" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="upd7759" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <chip type="audio" tag="upd" name="NEC uPD7759" clock="640000" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" 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 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="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="Bonus Life" tag="DSW" mask="48">
      <diplocation name="SW2" number="5" />
      <diplocation name="SW2" number="6" />
      <dipvalue name="10k, 70k, 150k" value="16" />
      <dipvalue name="20k, 100k, 200k" value="48" default="yes" />
      <dipvalue name="40k, 150k, 300k" value="32" />
      <dipvalue name="None" 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="Medium" 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=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="tfrceacb" sourcefile="segac2.cpp" cloneof="tfrceac" romof="tfrceac">
    <description>Thunder Force AC (bootleg)</description>
    <year>1990</year>
    <manufacturer>bootleg</manufacturer>
    <rom name="4.bin" size="262144" crc="eba059d3" sha1="7bc04401f9a138fa151ac09a528b70acfb2021e3" region="maincpu" offset="0" />
    <rom name="3.bin" size="262144" crc="3e5dc542" sha1="4a66dc842afaa145dab82b232738eea107bdf0f8" region="maincpu" offset="1" />
    <rom name="epr-13659.ic34" merge="epr-13659.ic34" size="262144" crc="29f23461" sha1="032a7125fef5a660b85654d595aafc46812cdde6" region="maincpu" offset="100000" />
    <rom name="epr-13658.ic33" merge="epr-13658.ic33" size="262144" crc="9e23734f" sha1="64d27dc53f0ffc3513345a26ed077751b25d15f1" region="maincpu" offset="100001" />
    <rom name="epr-13655.ic4" merge="epr-13655.ic4" size="262144" crc="e09961f6" sha1="e109b5f41502b765d191f22e3bbcff97d6defaa1" region="upd" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="upd7759" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <chip type="audio" tag="upd" name="NEC uPD7759" clock="640000" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" 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 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="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="Bonus Life" tag="DSW" mask="48">
      <diplocation name="SW2" number="5" />
      <diplocation name="SW2" number="6" />
      <dipvalue name="10k, 70k, 150k" value="16" />
      <dipvalue name="20k, 100k, 200k" value="48" default="yes" />
      <dipvalue name="40k, 150k, 300k" value="32" />
      <dipvalue name="None" 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="Medium" 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=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="tfrceacj" sourcefile="segac2.cpp" cloneof="tfrceac" romof="tfrceac">
    <description>Thunder Force AC (Japan)</description>
    <year>1990</year>
    <manufacturer>Technosoft / Sega</manufacturer>
    <rom name="epr-13657.ic32" size="262144" crc="a0f38ffd" sha1="da548e7f61aed0e82a460553a119941da8857bc4" region="maincpu" offset="0" />
    <rom name="epr-13656.ic31" size="262144" crc="b9438d1e" sha1="598209c9fec3527fde720af09e5bebd7379f5b2b" region="maincpu" offset="1" />
    <rom name="epr-13659.ic34" merge="epr-13659.ic34" size="262144" crc="29f23461" sha1="032a7125fef5a660b85654d595aafc46812cdde6" region="maincpu" offset="100000" />
    <rom name="epr-13658.ic33" merge="epr-13658.ic33" size="262144" crc="9e23734f" sha1="64d27dc53f0ffc3513345a26ed077751b25d15f1" region="maincpu" offset="100001" />
    <rom name="epr-13655.ic4" merge="epr-13655.ic4" size="262144" crc="e09961f6" sha1="e109b5f41502b765d191f22e3bbcff97d6defaa1" region="upd" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="upd7759" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <chip type="audio" tag="upd" name="NEC uPD7759" clock="640000" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" 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 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="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="Bonus Life" tag="DSW" mask="48">
      <diplocation name="SW2" number="5" />
      <diplocation name="SW2" number="6" />
      <dipvalue name="10k, 70k, 150k" value="16" />
      <dipvalue name="20k, 100k, 200k" value="48" default="yes" />
      <dipvalue name="40k, 150k, 300k" value="32" />
      <dipvalue name="None" 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="Medium" 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=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="tfrceacjpb" sourcefile="segac2.cpp" cloneof="tfrceac" romof="tfrceac">
    <description>Thunder Force AC (Japan, prototype, bootleg)</description>
    <year>1990</year>
    <manufacturer>Technosoft / Sega</manufacturer>
    <rom name="ic32_t.f.ac_075f.ic32" size="262144" crc="2167dd93" sha1="0e5b8eb87e07e6e5cecf096e6b62e15ff7406bba" region="maincpu" offset="0" />
    <rom name="ic31_t.f.ac_0d26.id31" size="262144" crc="ebf02bba" sha1="effdc60837063ba04b7b4517e57a240b29a199e1" region="maincpu" offset="1" />
    <rom name="ic34_t.f.ac_549d.ic34" size="262144" crc="902ad2ec" sha1="58db20ca5888110e97f80e7df9dac1b8e9817562" region="maincpu" offset="100000" />
    <rom name="ic33_t.f.ac_d131.ic33" size="262144" crc="b162219d" sha1="ad022307019b4a70cb532e1101cb5ed8d31f10e2" region="maincpu" offset="100001" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="upd7759" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <chip type="audio" tag="upd" name="NEC uPD7759" clock="640000" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" 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 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="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="Bonus Life" tag="DSW" mask="48">
      <diplocation name="SW2" number="5" />
      <diplocation name="SW2" number="6" />
      <dipvalue name="10k, 70k, 150k" value="16" />
      <dipvalue name="20k, 100k, 200k" value="48" default="yes" />
      <dipvalue name="40k, 150k, 300k" value="32" />
      <dipvalue name="None" 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="Medium" 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=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="twinsqua" sourcefile="segac2.cpp">
    <description>Twin Squash</description>
    <year>1991</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-14657.ic32" size="262144" crc="becbb1a1" sha1="787b1a4bf420186d05b5448582f6492e40d394fa" region="maincpu" offset="0" />
    <rom name="epr-14656.ic31" size="262144" crc="411906e7" sha1="68a4e66b9e18499d77cdb584470f35f67edec6fd" region="maincpu" offset="1" />
    <rom name="epr-14588.ic4" size="131072" crc="5a9b6881" sha1="d86ec7f569fae5a1ce93a1cf40998cbb13726e0c" region="upd" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="upd7759" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <chip type="audio" tag="upd" name="NEC uPD7759" clock="640000" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="dial" player="1" buttons="1" minimum="0" maximum="255" sensitivity="30" keydelta="15" />
      <control type="dial" player="2" buttons="1" minimum="0" maximum="255" sensitivity="30" keydelta="15" />
    </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="Buy In" tag="DSW" mask="4">
      <diplocation name="SW2" number="3" />
      <dipvalue name="Off" value="4" default="yes" />
      <dipvalue name="On" value="0" />
    </dipswitch>
    <dipswitch name="Difficulty" tag="DSW" mask="24">
      <diplocation name="SW2" number="4" />
      <diplocation name="SW2" number="5" />
      <dipvalue name="Easy" value="16" />
      <dipvalue name="Medium" value="24" default="yes" />
      <dipvalue name="Hard" value="8" />
      <dipvalue name="Hardest" value="0" />
    </dipswitch>
    <dipswitch name="Seat Type" tag="DSW" mask="32">
      <diplocation name="SW2" number="6" />
      <dipvalue name="Normal" value="32" default="yes" />
      <dipvalue name="Moving" 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">
      <analog mask="255" />
    </port>
    <port tag=":P2">
      <analog mask="255" />
    </port>
    <port tag=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="wwmarine" sourcefile="segac2.cpp">
    <description>Waku Waku Marine</description>
    <year>1992</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-15097.ic32" size="262144" crc="1223a77a" sha1="3725f17745da0d1f2d50b0a99a37b768c5539ce2" region="maincpu" offset="0" />
    <rom name="epr-15096.ic31" size="262144" crc="1b833932" sha1="a37caa75cbcc2b7ce84fccfd5768e6d1580c0bc0" region="maincpu" offset="1" />
    <rom name="epr-15095.ic4" size="262144" crc="df13755b" sha1="177aac7aaadc36e14dbcdf12bd42dbe70b3edd49" region="upd" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="upd7759" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <chip type="audio" tag="upd" name="NEC uPD7759" clock="640000" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="1" coins="1" service="yes">
      <control type="joy" buttons="3" ways="2" />
    </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="Demo Sound Interval" tag="DSW" mask="3">
      <diplocation name="SW2" number="1" />
      <diplocation name="SW2" number="2" />
      <dipvalue name="Off" value="0" />
      <dipvalue name="Every 3 Demo Cycles" value="1" />
      <dipvalue name="Every 2 Demo Cycles" value="2" />
      <dipvalue name="On" value="3" default="yes" />
    </dipswitch>
    <dipswitch name="Capsule Mode" tag="DSW" mask="4">
      <diplocation name="SW2" number="3" />
      <dipvalue name="Off" value="0" />
      <dipvalue name="On" value="4" default="yes" />
    </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="Cedit Mode" 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="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=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
  <machine name="zunkyou" sourcefile="segac2.cpp">
    <description>Zunzunkyou no Yabou (Japan)</description>
    <year>1994</year>
    <manufacturer>Sega</manufacturer>
    <rom name="epr-16812.ic32" size="524288" crc="eb088fb0" sha1="69089a3516ad50f35e81971ef3c33eb3f5d52374" region="maincpu" offset="0" />
    <rom name="epr-16811.ic31" size="524288" crc="9ac7035b" sha1="1803ffbadc1213e04646d483e27da1591e22cd06" region="maincpu" offset="1" />
    <rom name="epr-16814.ic34" size="524288" crc="821b3b77" sha1="c45c7393a792ce8306a52f83f8ed8f6b0d7c11e9" region="maincpu" offset="100000" />
    <rom name="epr-16813.ic33" size="524288" crc="3cba9e8f" sha1="208819bc1a205eaab089542afc7a59f69ce5bb81" region="maincpu" offset="100001" />
    <rom name="epr-16810.ic4" size="524288" crc="d542f0fe" sha1="23ea50110dfe1cd9f286a535d15e0c3bcba73b00" region="upd" offset="0" />
    <device_ref name="m68000" />
    <device_ref name="nvram" />
    <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="palette" />
    <device_ref name="speaker" />
    <device_ref name="ym3438" />
    <device_ref name="upd7759" />
    <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="8948862" />
    <chip type="audio" tag="gen_vdp" name="Sega 315-5313 Megadrive VDP" clock="53693175" />
    <chip type="audio" tag="gen_vdp:snsnd" name="Sega VDP PSG" clock="3579545" />
    <chip type="audio" tag="mono" name="Speaker" />
    <chip type="audio" tag="ymsnd" name="YM3438 OPN2C" clock="7670453" />
    <chip type="audio" tag="upd" name="NEC uPD7759" clock="640000" />
    <display tag="megadriv" type="raster" rotate="0" width="256" height="224" refresh="59.922743" pixclock="8038276" htotal="512" hbend="0" hbstart="256" vtotal="262" vbend="0" vbstart="224" />
    <sound channels="1" />
    <input players="2" coins="2" service="yes">
      <control type="joy" player="1" buttons="2" ways="8" />
      <control type="joy" player="2" buttons="2" ways="8" />
    </input>
    <dipswitch name="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="Game Difficulty 1" tag="DSW" mask="1">
      <diplocation name="SW2" number="1" />
      <dipvalue name="Medium" value="1" default="yes" />
      <dipvalue name="Hard" value="0" />
    </dipswitch>
    <dipswitch name="Game Difficulty 2" tag="DSW" mask="2">
      <diplocation name="SW2" number="2" />
      <dipvalue name="Medium" value="2" default="yes" />
      <dipvalue name="Hard" 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="Demo Sounds" tag="DSW" mask="16">
      <diplocation name="SW2" number="5" />
      <dipvalue name="Off" value="16" />
      <dipvalue name="On" value="0" default="yes" />
    </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="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=":SERVICE" />
    <driver status="good" emulation="good" savestate="unsupported" />
  </machine>
</datafile>