<machine name="kaguyaa" sourcefile="nichibutsu/nbmj8688.cpp" cloneof="kaguya" romof="kaguya" isbios="no" isdevice="no" ismechanical="no" runnable="yes">
  <description>Mahjong Kaguyahime (Japan 880425)</description>
  <year>1988</year>
  <manufacturer>Miki Syouji</manufacturer>
  <rom name="mk1.3f" size="65536" crc="79242558" sha1="f683e49df798f339f9d995ec1654e204f916ecf7" region="maincpu" offset="0" status="good" optional="no" />
  <rom name="mk2.3k" merge="kaguya02.bin" size="65536" crc="561dc656" sha1="0c3ca794ec71202aabcb337bb7d972a6d69dbbc7" region="voice" offset="0" status="good" optional="no" />
  <rom name="mk3.3l" merge="kaguya03.bin" size="65536" crc="a09e9387" sha1="c5f5e0f5d841671bc38cd240193f60ccf7ab0455" region="voice" offset="10000" status="good" optional="no" />
  <rom name="mk4.6a" merge="kaguya04.bin" size="131072" crc="ccd08d8d" sha1="6495946efdc99a945e30e7a46d4e0e2045ce62d5" region="gfx1" offset="0" status="good" optional="no" />
  <rom name="mk5.6b" merge="kaguya05.bin" size="131072" crc="a3abc686" sha1="822c9e2a25343501f4168b45bb93942952640feb" region="gfx1" offset="20000" status="good" optional="no" />
  <rom name="mk6.6d" merge="kaguya06.bin" size="131072" crc="6accd6d3" sha1="ebcb911580329453ea91f2fbcba9f46bd5f6110f" region="gfx1" offset="40000" status="good" optional="no" />
  <rom name="mk7.6e" size="131072" crc="4309e77e" sha1="6cee4c03fedba2ff79babd9562cc0014a9293a1e" region="gfx1" offset="60000" status="good" optional="no" />
  <rom name="mk8.6f" merge="kaguya08.bin" size="131072" crc="f0ad7c6c" sha1="fb7587852b29b68bbeea3c123b13d50c23ba7584" region="gfx1" offset="80000" status="good" optional="no" />
  <rom name="mk9.6h" size="131072" crc="a0b5bedd" sha1="0b21e335b8cc15ca91d0e4dc05fc8fac94895f88" region="gfx1" offset="a0000" status="good" optional="no" />
  <rom name="mk10.6k" merge="kaguya10.bin" size="131072" crc="741d13f6" sha1="5d8143ec158b2e6c58b44f61dd063fb1615ff59e" region="gfx1" offset="c0000" status="good" optional="no" />
  <rom name="mk11.6l" merge="kaguya11.bin" size="131072" crc="fcbede4f" sha1="543912e9fbb1c2b208701e5eb1347f734f5ce3cb" region="gfx1" offset="e0000" status="good" optional="no" />
  <device_ref tag=":maincpu" name="z80" />
  <device_ref tag=":nb1413m3" name="nb1413m3" />
  <device_ref tag=":nvram" name="nvram" />
  <device_ref tag=":screen" name="screen" />
  <device_ref tag=":palette" name="palette" />
  <device_ref tag=":speaker" name="speaker" />
  <device_ref tag=":psg" name="ay8910" />
  <device_ref tag=":dac" name="dac_8bit_r2r" />
  <chip type="cpu" tag="maincpu" name="Zilog Z80" clock="5000000" />
  <chip type="audio" tag="speaker" name="Speaker" />
  <chip type="audio" tag="psg" name="AY-3-8910A PSG" clock="1250000" />
  <chip type="audio" tag="dac" name="8-Bit R-2R DAC" />
  <display tag="screen" type="raster" rotate="0" width="512" height="224" refresh="60.000000" flipx="no" />
  <sound channels="1" />
  <input players="2" coins="2" service="no" tilt="no">
    <control type="mahjong" player="1" buttons="26" reverse="no" />
    <control type="mahjong" player="2" buttons="26" reverse="no" />
  </input>
  <dipswitch name="Nudity graphic on bet" tag="DSWA" mask="1">
    <diplocation name="DSWA" number="1" inverted="no" />
    <dipvalue name="Off" value="1" default="no" />
    <dipvalue name="On" value="0" default="yes" />
  </dipswitch>
  <dipswitch name="Bet Min" tag="DSWA" mask="6">
    <diplocation name="DSWA" number="2" inverted="no" />
    <diplocation name="DSWA" number="3" inverted="no" />
    <dipvalue name="1" value="6" default="yes" />
    <dipvalue name="3" value="4" default="no" />
    <dipvalue name="5" value="2" default="no" />
    <dipvalue name="7" value="0" default="no" />
  </dipswitch>
  <dipswitch name="Number of extend TSUMO" tag="DSWA" mask="24">
    <diplocation name="DSWA" number="4" inverted="no" />
    <diplocation name="DSWA" number="5" inverted="no" />
    <dipvalue name="0" value="24" default="no" />
    <dipvalue name="2" value="16" default="no" />
    <dipvalue name="3" value="8" default="no" />
    <dipvalue name="4" value="0" default="yes" />
  </dipswitch>
  <dipswitch name="Extend TSUMO needs credit" tag="DSWA" mask="32">
    <diplocation name="DSWA" number="6" inverted="no" />
    <dipvalue name="Off" value="32" default="yes" />
    <dipvalue name="On" value="0" default="no" />
  </dipswitch>
  <dipswitch name="Unused" tag="DSWA" mask="64">
    <diplocation name="DSWA" number="7" inverted="no" />
    <dipvalue name="Off" value="64" default="yes" />
    <dipvalue name="On" value="0" default="no" />
  </dipswitch>
  <dipswitch name="Unused" tag="DSWA" mask="128">
    <diplocation name="DSWA" number="8" inverted="no" />
    <dipvalue name="Off" value="128" default="yes" />
    <dipvalue name="On" value="0" default="no" />
  </dipswitch>
  <dipswitch name="Coinage" tag="DSWB" mask="3">
    <diplocation name="DSWB" number="1" inverted="no" />
    <diplocation name="DSWB" number="2" inverted="no" />
    <dipvalue name="1 Coin/1 Credit" value="3" default="yes" />
    <dipvalue name="1 Coin/2 Credits" value="2" default="no" />
    <dipvalue name="1 Coin/5 Credits" value="1" default="no" />
    <dipvalue name="1 Coin/10 Credits" value="0" default="no" />
  </dipswitch>
  <dipswitch name="NOTE" tag="DSWB" mask="4">
    <diplocation name="DSWB" number="3" inverted="no" />
    <dipvalue name="Coin x5" value="4" default="yes" />
    <dipvalue name="Coin x10" value="0" default="no" />
  </dipswitch>
  <dipswitch name="Game Out Rate" tag="DSWB" mask="24">
    <diplocation name="DSWB" number="4" inverted="no" />
    <diplocation name="DSWB" number="5" inverted="no" />
    <dipvalue name="60%" value="0" default="no" />
    <dipvalue name="70%" value="8" default="no" />
    <dipvalue name="80%" value="16" default="no" />
    <dipvalue name="90%" value="24" default="yes" />
  </dipswitch>
  <dipswitch name="Bonus awarded on" tag="DSWB" mask="32">
    <diplocation name="DSWB" number="6" inverted="no" />
    <dipvalue name="[over BAIMAN]" value="32" default="yes" />
    <dipvalue name="[BAIMAN]" value="0" default="no" />
  </dipswitch>
  <dipswitch name="Variability of payout rate" tag="DSWB" mask="64">
    <diplocation name="DSWB" number="7" inverted="no" />
    <dipvalue name="[big]" value="64" default="yes" />
    <dipvalue name="[small]" value="0" default="no" />
  </dipswitch>
  <dipswitch name="Flip Screen" tag="DSWB" mask="128">
    <diplocation name="DSWB" number="8" inverted="no" />
    <dipvalue name="Off" value="128" default="yes" />
    <dipvalue name="On" value="0" default="no" />
  </dipswitch>
  <dipswitch name="Service Mode" tag="SYSTEM" mask="16">
    <dipvalue name="Off" value="16" default="yes" />
    <dipvalue name="On" value="0" default="no" />
  </dipswitch>
  <port tag=":DSWA"></port>
  <port tag=":DSWB"></port>
  <port tag=":KEY0"></port>
  <port tag=":KEY1"></port>
  <port tag=":KEY2"></port>
  <port tag=":KEY3"></port>
  <port tag=":KEY4"></port>
  <port tag=":KEY5"></port>
  <port tag=":KEY6"></port>
  <port tag=":KEY7"></port>
  <port tag=":KEY8"></port>
  <port tag=":KEY9"></port>
  <port tag=":SYSTEM"></port>
  <driver status="good" emulation="good" savestate="supported" requiresartwork="no" unofficial="no" nosoundhardware="no" incomplete="no" />
</machine>