<machine name="daimakaimaiden" sourcefile="hbmame/drivers/cps1mis.cpp" cloneof="ghouls" romof="ghouls" isbios="no" isdevice="no" ismechanical="no" runnable="yes">
  <description>Daimakaimura - Maiden Artoria Edition (Japan)</description>
  <year>2026</year>
  <manufacturer>GoodLuckTrying</manufacturer>
  <rom name="dmj_38maiden.12f" size="131072" crc="7f436646" sha1="dd60f7757418e0b682c3d14ab1f077668aa328f6" region="maincpu" offset="0" status="good" optional="no" />
  <rom name="dmj_39maiden.12h" size="131072" crc="ebc72dee" sha1="f82157fdacfe6496398b8702cb4e97a3bcb750c5" region="maincpu" offset="1" status="good" optional="no" />
  <rom name="dmj_40maiden.13f" size="131072" crc="a8371817" sha1="56f2be6fba857d026da3a0d4e801edd0e6e53d10" region="maincpu" offset="40000" status="good" optional="no" />
  <rom name="dmj_41maiden.13h" size="131072" crc="cd7de9bb" sha1="77dcf1128ae8fd2c5ef3ff9800f69aa875c56436" region="maincpu" offset="40001" status="good" optional="no" />
  <rom name="dm_33maiden.10f" size="131072" crc="0e47e3b3" sha1="3e0b12607f5745c5b4a789e68307cfd08da1ac18" region="maincpu" offset="80000" status="good" optional="no" />
  <rom name="dm_34maiden.10h" size="131072" crc="d9675957" sha1="43fd195995ec311bde79f6a17c47e938baaae545" region="maincpu" offset="80001" status="good" optional="no" />
  <rom name="dm_35maiden.11f" size="131072" crc="c04b85c8" sha1="f8659624bb9d418d02f63f43478d3b53cfe18718" region="maincpu" offset="c0000" status="good" optional="no" />
  <rom name="dm_36maiden.11h" size="131072" crc="89be83de" sha1="6dfd1380304a85dee7cac4d0b2cfd7625b9020bf" region="maincpu" offset="c0001" status="good" optional="no" />
  <rom name="dm_02maiden.4b" size="131072" crc="e195234d" sha1="e83fe906577ff9a55c6222b148ae616eee71f9bd" region="gfx" offset="0" status="good" optional="no" />
  <rom name="dm_01maiden.4a" size="131072" crc="bf40447c" sha1="129f989307618346d4d0f048cf0975fcd9ac85ba" region="gfx" offset="1" status="good" optional="no" />
  <rom name="dm_10maiden.9b" size="131072" crc="64506deb" sha1="81795caef6c183c26597e69f0ca4dc2f46a97a9b" region="gfx" offset="2" status="good" optional="no" />
  <rom name="dm_09maiden.9a" size="131072" crc="6db846bf" sha1="3031a7a754cc8a45265663d5d13c588ed1a2e3e4" region="gfx" offset="3" status="good" optional="no" />
  <rom name="dm_18maiden.5e" size="131072" crc="3d707890" sha1="1fb13ac4f4d458c1d8429cb18b3cb0c755582c8f" region="gfx" offset="4" status="good" optional="no" />
  <rom name="dm_17maiden.5c" size="131072" crc="25adb6e2" sha1="e57207799427f9372052a886be92aadd1521f9b2" region="gfx" offset="5" status="good" optional="no" />
  <rom name="dm_30maiden.8h" size="131072" crc="29bb7d32" sha1="fbf501e9674e64528846c1b4bdf1c50350e2163e" region="gfx" offset="6" status="good" optional="no" />
  <rom name="dm_29maiden.8f" size="131072" crc="d99c38e0" sha1="0d1a2a391a63eb723a07cec051daadaba8bd93b2" region="gfx" offset="7" status="good" optional="no" />
  <rom name="dm_04maiden.5b" size="131072" crc="a4f4f8f0" sha1="edca0f61b40a18afe279f7007c233064130cfb4f" region="gfx" offset="100000" status="good" optional="no" />
  <rom name="dm_03maiden.5a" size="131072" crc="b1033e62" sha1="547fc281dd9e7a74ac86c3692508c7bde9b6167b" region="gfx" offset="100001" status="good" optional="no" />
  <rom name="dm_12maiden.10b" size="131072" crc="10fdd76a" sha1="aee774d6323292799dff7a30ef9559c92fe5507a" region="gfx" offset="100002" status="good" optional="no" />
  <rom name="dm_11maiden.10a" size="131072" crc="9040cb04" sha1="b32e9056fc20a5162868eade10f3ef5efc167a28" region="gfx" offset="100003" status="good" optional="no" />
  <rom name="dm_20maiden.7e" size="131072" crc="281d0b3e" sha1="70e1813de184ad0ec164145b7b843b5e387494e3" region="gfx" offset="100004" status="good" optional="no" />
  <rom name="dm_19maiden.7c" size="131072" crc="2623b52f" sha1="fc4200924452bfbff687934782398ed345dc0aa0" region="gfx" offset="100005" status="good" optional="no" />
  <rom name="dm_32maiden.9h" size="131072" crc="99692344" sha1="67dc70618568b7c0adcb00a612aaf5501f6c8c0f" region="gfx" offset="100006" status="good" optional="no" />
  <rom name="dm_31maiden.9f" size="131072" crc="54acb729" sha1="d1fca43db36253fd19db4337c49272a6cadff597" region="gfx" offset="100007" status="good" optional="no" />
  <rom name="dm_06maiden.7b" size="65536" crc="e99f777e" sha1="015549b7745e7a1c26ae50450e5a3ff0116c64eb" region="gfx" offset="200000" status="good" optional="no" />
  <rom name="dm_05maiden.7a" size="65536" crc="9798c4be" sha1="601a2122e774b5142d152d9666cbec0a512c0fae" region="gfx" offset="200001" status="good" optional="no" />
  <rom name="dm_14maiden.11b" size="65536" crc="d731677a" sha1="53138a653737556023e384fb075c971ca0640235" region="gfx" offset="200002" status="good" optional="no" />
  <rom name="dm_13maiden.11a" size="65536" crc="e9282194" sha1="47d635673d894725cb343b2753e2be632bcb23cd" region="gfx" offset="200003" status="good" optional="no" />
  <rom name="dm_22maiden.8e" size="65536" crc="f94717d0" sha1="dc0e13727d0a2b4111f9fa64ca272986de822196" region="gfx" offset="200004" status="good" optional="no" />
  <rom name="dm_21maiden.8c" size="65536" crc="d2605c04" sha1="e6e5343d1f3737a0cdd815c8045acc81f1e6587e" region="gfx" offset="200005" status="good" optional="no" />
  <rom name="dm_26maiden.10e" size="65536" crc="ad8a53ec" sha1="48a763d5ab320a1b3ce9f8ec5319a6a854f34fca" region="gfx" offset="200006" status="good" optional="no" />
  <rom name="dm_25maiden.10c" size="65536" crc="ae66ab27" sha1="3eb22952e3b6843e13d05f14b3ccaf7c504c7aeb" region="gfx" offset="200007" status="good" optional="no" />
  <rom name="dm_08maiden.8b" size="65536" crc="afce74dd" sha1="a13d7a7e11f900d6f5a7273ca93e30f1e0a385b1" region="gfx" offset="280000" status="good" optional="no" />
  <rom name="dm_07maiden.8a" size="65536" crc="0b4e155f" sha1="268188162286e12af63653d5f700263f6f3b70d4" region="gfx" offset="280001" status="good" optional="no" />
  <rom name="dm_16maiden.12b" size="65536" crc="5bc8e886" sha1="17b727169c68b0ed3574bc321db4fbfd4d2f9266" region="gfx" offset="280002" status="good" optional="no" />
  <rom name="dm_15maiden.12a" size="65536" crc="095a6785" sha1="659530f934c1f33067e9af71503b92da88315018" region="gfx" offset="280003" status="good" optional="no" />
  <rom name="dm_24maiden.9e" size="65536" crc="c8a5b7e9" sha1="35b2f96994338816b29e1f65127f81d949a3a775" region="gfx" offset="280004" status="good" optional="no" />
  <rom name="dm_23maiden.9c" size="65536" crc="7d2f39f4" sha1="6156385421104fef4e7b02bb1aba04f13aadb750" region="gfx" offset="280005" status="good" optional="no" />
  <rom name="dm_28maiden.11e" size="65536" crc="2913fa9b" sha1="c37e526f5c647091cc45fa045f1e8049ec71483a" region="gfx" offset="280006" status="good" optional="no" />
  <rom name="dm_27maiden.11c" size="65536" crc="35d1b525" sha1="e10226e6a34c827a44908384c37a0f9aaa74c934" region="gfx" offset="280007" status="good" optional="no" />
  <rom name="37.13c" merge="c02.m1" size="65536" crc="3692f6e5" sha1="61b8438d60a39b4cf5062dff0a53228e8a4e4b5f" region="audiocpu" offset="0" status="good" optional="no" />
  <rom name="daimakai.key" size="128" crc="4d1e621d" sha1="c3636962bee035aa0a26125d8af4826bf7f148e8" region="control" offset="0" status="good" optional="no" />
  <device_ref tag=":maincpu" name="m68000" />
  <device_ref tag=":audiocpu" name="z80" />
  <device_ref tag=":screen" name="screen" />
  <device_ref tag=":gfxdecode" name="gfxdecode" />
  <device_ref tag=":palette" name="palette" />
  <device_ref tag=":mono" name="speaker" />
  <device_ref tag=":soundlatch" name="generic_latch_8" />
  <device_ref tag=":soundlatch2" name="generic_latch_8" />
  <device_ref tag=":2151" name="ym2151" />
  <device_ref tag=":oki" name="okim6295" />
  <chip type="cpu" tag="maincpu" name="Motorola MC68000" clock="10000000" />
  <chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3579545" />
  <chip type="audio" tag="mono" name="Speaker" />
  <chip type="audio" tag="2151" name="YM2151 OPM" clock="3579545" />
  <chip type="audio" tag="oki" name="OKI MSM6295 ADPCM" clock="1000000" />
  <display tag="screen" type="raster" rotate="0" width="384" height="224" refresh="59.637405" pixclock="8000000" htotal="512" hbend="64" hbstart="448" vtotal="262" vbend="16" vbstart="240" flipx="no" />
  <sound channels="1" />
  <input players="2" coins="2" service="no" tilt="no">
    <control type="joy" player="1" buttons="2" ways="4" reverse="no" />
    <control type="joy" player="2" buttons="2" ways="4" reverse="no" />
  </input>
  <dipswitch name="Coin A" tag="DSWA" mask="7">
    <diplocation name="SW(A)" number="1" inverted="no" />
    <diplocation name="SW(A)" number="2" inverted="no" />
    <diplocation name="SW(A)" number="3" inverted="no" />
    <dipvalue name="4 Coins/1 Credit" value="0" default="no" />
    <dipvalue name="3 Coins/1 Credit" value="1" default="no" />
    <dipvalue name="2 Coins/1 Credit" value="2" default="no" />
    <dipvalue name="1 Coin/1 Credit" value="7" default="yes" />
    <dipvalue name="1 Coin/2 Credits" value="6" default="no" />
    <dipvalue name="1 Coin/3 Credits" value="5" default="no" />
    <dipvalue name="1 Coin/4 Credits" value="4" default="no" />
    <dipvalue name="1 Coin/6 Credits" value="3" default="no" />
  </dipswitch>
  <dipswitch name="Coin B" tag="DSWA" mask="56">
    <diplocation name="SW(A)" number="4" inverted="no" />
    <diplocation name="SW(A)" number="5" inverted="no" />
    <diplocation name="SW(A)" number="6" inverted="no" />
    <dipvalue name="4 Coins/1 Credit" value="0" default="no" />
    <dipvalue name="3 Coins/1 Credit" value="8" default="no" />
    <dipvalue name="2 Coins/1 Credit" value="16" default="no" />
    <dipvalue name="1 Coin/1 Credit" value="56" default="yes" />
    <dipvalue name="1 Coin/2 Credits" value="48" default="no" />
    <dipvalue name="1 Coin/3 Credits" value="40" default="no" />
    <dipvalue name="1 Coin/4 Credits" value="32" default="no" />
    <dipvalue name="1 Coin/6 Credits" value="24" default="no" />
  </dipswitch>
  <dipswitch name="Cabinet" tag="DSWA" mask="192">
    <diplocation name="SW(A)" number="7" inverted="no" />
    <diplocation name="SW(A)" number="8" inverted="no" />
    <dipvalue name="Upright 1 Player" value="192" default="yes" />
    <dipvalue name="Upright 2 Players" value="128" default="no" />
    <dipvalue name="Cocktail" value="0" default="no" />
  </dipswitch>
  <dipswitch name="Difficulty" tag="DSWB" mask="7">
    <condition tag="DSWC" mask="128" relation="eq" value="128" />
    <diplocation name="SW(B)" number="1" inverted="no" />
    <diplocation name="SW(B)" number="2" inverted="no" />
    <diplocation name="SW(B)" number="3" inverted="no" />
    <dipvalue name="1 (Easiest)" value="4" default="no" />
    <dipvalue name="2" value="5" default="yes" />
    <dipvalue name="3" value="6" default="no" />
    <dipvalue name="4 (Normal)" value="7" default="no" />
    <dipvalue name="5" value="3" default="no" />
    <dipvalue name="6" value="2" default="no" />
    <dipvalue name="7" value="1" default="no" />
    <dipvalue name="8 (Hardest)" value="0" default="no" />
  </dipswitch>
  <dipswitch name="Unused" tag="DSWB" mask="8">
    <diplocation name="SW(B)" number="4" inverted="no" />
    <dipvalue name="Off" value="8" default="yes" />
    <dipvalue name="On" value="0" default="no" />
  </dipswitch>
  <dipswitch name="Bonus Life" tag="DSWB" mask="48">
    <diplocation name="SW(B)" number="5" inverted="no" />
    <diplocation name="SW(B)" number="6" inverted="no" />
    <dipvalue name="10K, 30K and every 30K" value="32" default="no" />
    <dipvalue name="20K, 50K and every 70K" value="16" default="no" />
    <dipvalue name="30K, 60K and every 70K" value="48" default="yes" />
    <dipvalue name="40K, 70K and every 80K" value="0" default="no" />
  </dipswitch>
  <dipswitch name="Unused" tag="DSWB" mask="64">
    <diplocation name="SW(B)" number="7" inverted="no" />
    <dipvalue name="Off" value="64" default="yes" />
    <dipvalue name="On" value="0" default="no" />
  </dipswitch>
  <dipswitch name="Freeze" tag="DSWB" mask="128">
    <diplocation name="SW(B)" number="8" inverted="no" />
    <dipvalue name="Off" value="128" default="yes" />
    <dipvalue name="On" value="0" default="no" />
  </dipswitch>
  <dipswitch name="Lives" tag="DSWC" mask="3">
    <diplocation name="SW(C)" number="1" inverted="no" />
    <diplocation name="SW(C)" number="2" inverted="no" />
    <dipvalue name="3" value="3" default="yes" />
    <dipvalue name="4" value="2" default="no" />
    <dipvalue name="5" value="1" default="no" />
    <dipvalue name="6" value="0" default="no" />
  </dipswitch>
  <dipswitch name="Unused" tag="DSWC" mask="4">
    <diplocation name="SW(C)" number="3" inverted="no" />
    <dipvalue name="Off" value="4" default="yes" />
    <dipvalue name="On" value="0" default="no" />
  </dipswitch>
  <dipswitch name="Unused" tag="DSWC" mask="8">
    <diplocation name="SW(C)" number="4" inverted="no" />
    <dipvalue name="Off" value="8" default="yes" />
    <dipvalue name="On" value="0" default="no" />
  </dipswitch>
  <dipswitch name="Flip Screen" tag="DSWC" mask="16">
    <diplocation name="SW(C)" number="5" inverted="no" />
    <dipvalue name="Off" value="16" default="yes" />
    <dipvalue name="On" value="0" default="no" />
  </dipswitch>
  <dipswitch name="Unused" tag="DSWC" mask="32">
    <diplocation name="SW(C)" number="6" inverted="no" />
    <dipvalue name="Off" value="32" default="yes" />
    <dipvalue name="On" value="0" default="no" />
  </dipswitch>
  <dipswitch name="Allow Continue" tag="DSWC" mask="64">
    <diplocation name="SW(C)" number="7" inverted="no" />
    <dipvalue name="No" value="0" default="no" />
    <dipvalue name="Yes" value="64" default="yes" />
  </dipswitch>
  <dipswitch name="Game Mode" tag="DSWC" mask="128">
    <diplocation name="SW(C)" number="8" inverted="no" />
    <dipvalue name="Game" value="128" default="yes" />
    <dipvalue name="Test" value="0" default="no" />
  </dipswitch>
  <dipswitch name="Service Mode" tag="IN0" mask="64">
    <dipvalue name="Off" value="64" default="yes" />
    <dipvalue name="On" value="0" default="no" />
  </dipswitch>
  <port tag=":DSWA"></port>
  <port tag=":DSWB"></port>
  <port tag=":DSWC"></port>
  <port tag=":IN0"></port>
  <port tag=":IN1"></port>
  <driver status="good" emulation="good" savestate="supported" requiresartwork="no" unofficial="no" nosoundhardware="no" incomplete="no" />
</machine>