<machine name="dkgensana" sourcefile="irem/m72.cpp" cloneof="hharry" romof="hharry" isbios="no" isdevice="no" ismechanical="no" runnable="yes">
  <description>Daiku no Gensan (Japan, M84 hardware, set 2)</description>
  <year>1990</year>
  <manufacturer>Irem</manufacturer>
  <rom name="gen=84=_a-h0-.ic54" size="131072" crc="4a2b6524" sha1="5584b28831407332412ab83d0b80671e73957740" region="maincpu" offset="1" status="good" optional="no" />
  <rom name="gen=84=_a-l0-.ic60" size="131072" crc="a2aa72ef" sha1="7ccb3610a4a2024e1087e7e4569536151f0c65e9" region="maincpu" offset="0" status="good" optional="no" />
  <rom name="gen=84=_a-h1-.ic53" size="65536" crc="54e5b73c" sha1="5664f6e0a931b1c139e82dc98fcc9e38acd14616" region="maincpu" offset="60001" status="good" optional="no" />
  <rom name="gen=84=_a-l1-.ic59" size="65536" crc="894f8a9f" sha1="57a0885c52a094def03b129a450cc891e6c075c6" region="maincpu" offset="60000" status="good" optional="no" />
  <rom name="gen_a-sp-.ic17" size="65536" crc="e83cfc2c" sha1="3193bdd06a9712fc499e6fc90a33140463ef59fe" region="soundcpu" offset="0" status="good" optional="no" />
  <rom name="hh_n0.ic33" merge="gen=m81=_00.ic3" size="131072" crc="ec5127ef" sha1="014ac8ad7b19cd9b475b72a0f42a4991119501c4" region="sprites" offset="0" status="good" optional="no" />
  <rom name="hh_n1.ic34" merge="gen=m81=_10.ic5" size="131072" crc="def65294" sha1="23f5d99fa9f604fde37cb52113bff233d9be1d25" region="sprites" offset="20000" status="good" optional="no" />
  <rom name="hh_n2.ic35" merge="gen=m81=_20.ic12" size="131072" crc="bb0d6ad4" sha1="4ab617fadfc32efad90ed7f0555513f167b0c43a" region="sprites" offset="40000" status="good" optional="no" />
  <rom name="hh_n3.ic36" merge="gen=m81=_30.ic14" size="131072" crc="4351044e" sha1="0d3ce3f4f1473fd997e70de91e7b5b5a5ec60ad4" region="sprites" offset="60000" status="good" optional="no" />
  <rom name="hh_a0.ic51" merge="gen=m81=_a0.ic50" size="131072" crc="c577ba5f" sha1="c882e58cf64deca8eee6f14f3df43ecc932488fc" region="tiles0" offset="0" status="good" optional="no" />
  <rom name="hh_a1.ic57" merge="gen=m81=_a1.ic49" size="131072" crc="429d12ab" sha1="ccba25eab981fc4e664f76e06a2964066f2ae2e8" region="tiles0" offset="20000" status="good" optional="no" />
  <rom name="hh_a2.ic66" merge="gen=m81=_a2.ic51" size="131072" crc="b5b163b0" sha1="82a708fea4953a7c4dcd1d4a1b07f302221ba30b" region="tiles0" offset="40000" status="good" optional="no" />
  <rom name="hh_a3.ic64" merge="gen=m81=_a3.ic52" size="131072" crc="8ef566a1" sha1="3afb020a7317efe89c18b2a7773894ce28499d49" region="tiles0" offset="60000" status="good" optional="no" />
  <rom name="gen_a-vo-.ic14" size="131072" crc="d8595c66" sha1="97920c9947fbac609fb901415e5471c6e4ca066c" region="samples" offset="0" status="good" optional="no" />
  <rom name="gen=84=_c-4n-.ic21" merge="m81_a-9l-.ic72" size="256" crc="b460c438" sha1="00e20cf754b6fd5138ee4d2f6ec28dff9e292fe6" region="proms" offset="0" status="good" optional="no" />
  <rom name="gen=84=_c-4p-.ic22" merge="m81_a-9p-.ic74" size="256" crc="a4f2c4bc" sha1="f13b0a4b52dcc6704063b676f09d83dcba170133" region="proms" offset="100" status="good" optional="no" />
  <rom name="gen=84=_a-2h.ic5" merge="m81_a-2h-.ic2" size="279" crc="21ede612" sha1="5d05d3088f3d248db8948da175551ea29d7478b5" region="plds" offset="0" status="good" optional="no" />
  <rom name="gen=84=_a-5l.ic33" size="279" crc="579e257d" sha1="bea2da60dc068fe16f469695f66786fe5406a823" region="plds" offset="200" status="good" optional="no" />
  <rom name="gen=84=_a-7d.ic45" size="279" crc="79ef86f2" sha1="69d3ead62e2c70f5831ec6915920da356c922dfb" region="plds" offset="400" status="good" optional="no" />
  <rom name="gen=84=_c-3a.ic8" size="279" crc="c1e19913" sha1="7292ea25df818fe25e00dc4f37b3338abf2caaa2" region="plds" offset="600" status="good" optional="no" />
  <device_ref tag=":maincpu" name="v30" />
  <device_ref tag=":soundcpu" name="z80" />
  <device_ref tag=":upd71059c" name="pic8259" />
  <device_ref tag=":spriteram" name="buffered_spriteram16" />
  <device_ref tag=":gfxdecode" name="gfxdecode" />
  <device_ref tag=":palette" name="palette" />
  <device_ref tag=":screen" name="screen" />
  <device_ref tag=":speaker" name="speaker" />
  <device_ref tag=":soundlatch" name="generic_latch_8" />
  <device_ref tag=":soundirq" name="rst_neg_buffer" />
  <device_ref tag=":m72" name="m72_audio" />
  <device_ref tag=":ymsnd" name="ym2151" />
  <device_ref tag=":dac" name="dac_8bit_r2r" />
  <chip type="cpu" tag="maincpu" name="NEC V30" clock="8000000" />
  <chip type="cpu" tag="soundcpu" name="Zilog Z80" clock="3579545" />
  <chip type="audio" tag="speaker" name="Speaker" />
  <chip type="audio" tag="ymsnd" name="YM2151 OPM" clock="3579545" />
  <chip type="audio" tag="dac" name="8-Bit R-2R DAC" />
  <display tag="screen" type="raster" rotate="0" width="384" height="256" refresh="55.017606" pixclock="8000000" htotal="512" hbend="64" hbstart="448" vtotal="284" vbend="0" vbstart="256" flipx="no" />
  <sound channels="1" />
  <input players="2" coins="2" service="yes" tilt="no">
    <control type="joy" player="1" buttons="4" ways="8" reverse="no" />
    <control type="joy" player="2" buttons="4" ways="8" reverse="no" />
  </input>
  <dipswitch name="Lives" tag="DSW" mask="3">
    <diplocation name="SW1" number="1" inverted="no" />
    <diplocation name="SW1" number="2" inverted="no" />
    <dipvalue name="2" value="2" default="no" />
    <dipvalue name="3" value="3" default="yes" />
    <dipvalue name="4" value="1" default="no" />
    <dipvalue name="5" value="0" default="no" />
  </dipswitch>
  <dipswitch name="Difficulty" tag="DSW" mask="12">
    <diplocation name="SW1" number="3" inverted="no" />
    <diplocation name="SW1" number="4" inverted="no" />
    <dipvalue name="Very Easy" value="0" default="no" />
    <dipvalue name="Easy" value="8" default="no" />
    <dipvalue name="Normal" value="12" default="yes" />
    <dipvalue name="Hard" value="4" default="no" />
  </dipswitch>
  <dipswitch name="Continue Limit" tag="DSW" mask="16">
    <diplocation name="SW1" number="5" inverted="no" />
    <dipvalue name="No" value="0" default="no" />
    <dipvalue name="Yes" value="16" default="yes" />
  </dipswitch>
  <dipswitch name="Allow Continue" tag="DSW" mask="32">
    <diplocation name="SW1" number="6" inverted="no" />
    <dipvalue name="No" value="0" default="no" />
    <dipvalue name="Yes" value="32" default="yes" />
  </dipswitch>
  <dipswitch name="Demo Sounds" tag="DSW" mask="64">
    <diplocation name="SW1" number="7" inverted="no" />
    <dipvalue name="Off" value="64" default="no" />
    <dipvalue name="On" value="0" default="yes" />
  </dipswitch>
  <dipswitch name="Service Mode" tag="DSW" mask="128">
    <diplocation name="SW1" number="8" inverted="no" />
    <dipvalue name="Off" value="128" default="yes" />
    <dipvalue name="On" value="0" default="no" />
  </dipswitch>
  <dipswitch name="Flip Screen" tag="DSW" mask="256">
    <diplocation name="SW2" number="1" inverted="no" />
    <dipvalue name="Off" value="256" default="yes" />
    <dipvalue name="On" value="0" default="no" />
  </dipswitch>
  <dipswitch name="Cabinet" tag="DSW" mask="1536">
    <diplocation name="SW2" number="2" inverted="no" />
    <diplocation name="SW2" number="3" inverted="no" />
    <dipvalue name="Upright" value="1024" default="yes" />
    <dipvalue name="Upright (2P)" value="0" default="no" />
    <dipvalue name="Cocktail" value="1536" default="no" />
  </dipswitch>
  <dipswitch name="Coin Mode" tag="DSW" mask="2048">
    <diplocation name="SW2" number="4" inverted="no" />
    <dipvalue name="Mode 1" value="2048" default="yes" />
    <dipvalue name="Mode 2" value="0" default="no" />
  </dipswitch>
  <dipswitch name="Coin A" tag="DSW" mask="12288">
    <condition tag="DSW" mask="2048" relation="eq" value="0" />
    <diplocation name="SW2" number="5" inverted="no" />
    <diplocation name="SW2" number="6" inverted="no" />
    <dipvalue name="5 Coins/1 Credit" value="0" default="no" />
    <dipvalue name="3 Coins/1 Credit" value="4096" default="no" />
    <dipvalue name="2 Coins/1 Credit" value="8192" default="no" />
    <dipvalue name="1 Coin/1 Credit" value="12288" default="yes" />
  </dipswitch>
  <dipswitch name="Coin B" tag="DSW" mask="49152">
    <condition tag="DSW" mask="2048" relation="eq" value="0" />
    <diplocation name="SW2" number="7" inverted="no" />
    <diplocation name="SW2" number="8" inverted="no" />
    <dipvalue name="1 Coin/2 Credits" value="49152" default="yes" />
    <dipvalue name="1 Coin/3 Credits" value="32768" default="no" />
    <dipvalue name="1 Coin/5 Credits" value="16384" default="no" />
    <dipvalue name="1 Coin/6 Credits" value="0" default="no" />
  </dipswitch>
  <dipswitch name="Coinage" tag="DSW" mask="61440">
    <condition tag="DSW" mask="2048" relation="ne" value="0" />
    <diplocation name="SW2" number="5" inverted="no" />
    <diplocation name="SW2" number="6" inverted="no" />
    <diplocation name="SW2" number="7" inverted="no" />
    <diplocation name="SW2" number="8" inverted="no" />
    <dipvalue name="6 Coins/1 Credit" value="40960" default="no" />
    <dipvalue name="5 Coins/1 Credit" value="45056" default="no" />
    <dipvalue name="4 Coins/1 Credit" value="49152" default="no" />
    <dipvalue name="3 Coins/1 Credit" value="53248" default="no" />
    <dipvalue name="2 Coins/1 Credit" value="57344" default="no" />
    <dipvalue name="2 Coins to Start/1 to Continue" value="4096" default="no" />
    <dipvalue name="3 Coins/2 Credits" value="12288" default="no" />
    <dipvalue name="4 Coins/3 Credits" value="8192" default="no" />
    <dipvalue name="1 Coin/1 Credit" value="61440" default="yes" />
    <dipvalue name="3 Coins/4 Credits" value="16384" default="no" />
    <dipvalue name="1 Coin/2 Credits" value="36864" default="no" />
    <dipvalue name="1 Coin/3 Credits" value="32768" default="no" />
    <dipvalue name="1 Coin/4 Credits" value="28672" default="no" />
    <dipvalue name="1 Coin/5 Credits" value="24576" default="no" />
    <dipvalue name="1 Coin/6 Credits" value="20480" default="no" />
    <dipvalue name="Free Play" value="0" default="no" />
  </dipswitch>
  <port tag=":DSW"></port>
  <port tag=":IN0"></port>
  <port tag=":IN1"></port>
  <driver status="good" emulation="good" cocktail="preliminary" savestate="supported" requiresartwork="no" unofficial="no" nosoundhardware="no" incomplete="no" />
</machine>