<machine name="hyxevious" sourcefile="hbmame/drivers/galaga.cpp" cloneof="xevious" romof="xevious" isbios="no" isdevice="no" ismechanical="no" runnable="yes">
  <description>Hyper Xevious (2026-07-30)</description>
  <year>2026</year>
  <manufacturer>Zeroco</manufacturer>
  <rom name="hyxvi_1.3p" size="4096" crc="08272d28" sha1="4f9fab73fc5f0c0070459f592ea8f039514c23b4" region="maincpu" offset="0" status="good" optional="no" />
  <rom name="hyxvi_2.3m" size="4096" crc="8c9f4685" sha1="9c11150cce2f7c228110d9298011d8bbc0f8357c" region="maincpu" offset="1000" status="good" optional="no" />
  <rom name="hyxvi_3.2m" size="4096" crc="3088765b" sha1="f8abbbacc4f0418c58b72094a44e2557b8a9275c" region="maincpu" offset="2000" status="good" optional="no" />
  <rom name="hyxvi_4.2l" size="4096" crc="c27a7ed4" sha1="e240a3d37c7d07ad0b01c283819074ea3e9c0977" region="maincpu" offset="3000" status="good" optional="no" />
  <rom name="hyxvi_5.3f" size="4096" crc="ac6c050d" sha1="f448ad969894e27d7314c68b20c777772ba34615" region="sub" offset="0" status="good" optional="no" />
  <rom name="hyxvi_6.3j" size="4096" crc="e32de02d" sha1="eb1aba1a8d46120177535c9848b9d183ccef94b5" region="sub" offset="1000" status="good" optional="no" />
  <rom name="xvi_7.2c" merge="xvi_7.2c" size="4096" crc="dd35cf1c" sha1="f8d1f8e019d8198308443c2e7e815d0d04b23d14" region="sub2" offset="0" status="good" optional="no" />
  <rom name="xvi_12.3b" merge="xvi_12.3b" size="4096" crc="088c8b26" sha1="9c3b61dfca2f84673a78f7f66e363777a8f47a59" region="gfx1" offset="0" status="good" optional="no" />
  <rom name="xvi_13.3c" merge="xvi_13.3c" size="4096" crc="de60ba25" sha1="32bc09be5ff8b52ee3a26e0ac3ebc2d4107badb7" region="gfx2" offset="0" status="good" optional="no" />
  <rom name="xvi_14.3d" merge="xvi_14.3d" size="4096" crc="535cdbbc" sha1="fb9ffe5fc43e0213231267e98d605d43c15f61e8" region="gfx2" offset="1000" status="good" optional="no" />
  <rom name="xvi_15.4m" merge="xvi_15.4m" size="8192" crc="dc2c0ecb" sha1="19ddbd9805f77f38c9a9a1bb30dba6c720b8609f" region="gfx3" offset="0" status="good" optional="no" />
  <rom name="xvi_17.4p" merge="xvi_17.4p" size="8192" crc="dfb587ce" sha1="acff2bf5cde85a16cdc98a52cdea11f77fadf25a" region="gfx3" offset="2000" status="good" optional="no" />
  <rom name="xvi_16.4n" merge="xvi_16.4n" size="4096" crc="605ca889" sha1="3bf380ef76c03822a042ecc73b5edd4543c268ce" region="gfx3" offset="4000" status="good" optional="no" />
  <rom name="xvi_18.4r" merge="xvi_18.4r" size="8192" crc="02417d19" sha1="b5f830dd2cf25cf154308d2e640f0ecdcda5d8cd" region="gfx3" offset="5000" status="good" optional="no" />
  <rom name="xvi_9.2a" merge="xvi_9.2a" size="4096" crc="57ed9879" sha1="3106d1aacff06cf78371bd19967141072b32b7d7" region="gfx4" offset="0" status="good" optional="no" />
  <rom name="xvi_10.2b" merge="xvi_10.2b" size="8192" crc="ae3ba9e5" sha1="49064b25667ffcd81137cd5e800df4b78b182a46" region="gfx4" offset="1000" status="good" optional="no" />
  <rom name="xvi_11.2c" merge="xvi_11.2c" size="4096" crc="31e244dd" sha1="3f7eac12863697a98e1122111801606759e44b2a" region="gfx4" offset="3000" status="good" optional="no" />
  <rom name="xvi-8.6a" merge="xvi-8.6a" size="256" crc="5cc2727f" sha1="0dc1e63a47a4cb0ba75f6f1e0c15e408bb0ee2a1" region="proms" offset="0" status="good" optional="no" />
  <rom name="xvi-9.6d" merge="xvi-9.6d" size="256" crc="5c8796cc" sha1="63015e3c0874afc6b1ca032f1ffb8f90562c77c8" region="proms" offset="100" status="good" optional="no" />
  <rom name="xvi-10.6e" merge="xvi-10.6e" size="256" crc="3cb60975" sha1="c94d5a5dd4d8a08d6d39c051a4a722581b903f45" region="proms" offset="200" status="good" optional="no" />
  <rom name="xvi-7.4h" merge="xvi-7.4h" size="512" crc="22d98032" sha1="ec6626828c79350417d08b98e9631ad35edd4a41" region="proms" offset="300" status="good" optional="no" />
  <rom name="xvi-6.4f" merge="xvi-6.4f" size="512" crc="3a7599f0" sha1="a4bdf58c190ca16fc7b976c97f41087a61fdb8b8" region="proms" offset="500" status="good" optional="no" />
  <rom name="xvi-4.3l" merge="xvi-4.3l" size="512" crc="fd8b9d91" sha1="87ddf0b9d723aabb422d6d416aa9ec6bc246bf34" region="proms" offset="700" status="good" optional="no" />
  <rom name="xvi-5.3m" merge="xvi-5.3m" size="512" crc="bf906d82" sha1="776168a73d3b9f0ce05610acc8a623deae0a572b" region="proms" offset="900" status="good" optional="no" />
  <rom name="xvi-2.7n" merge="xvi-2.7n" size="256" crc="550f06bc" sha1="816a0fafa0b084ac11ae1af70a5186539376fc2a" region="namco" offset="0" status="good" optional="no" />
  <rom name="xvi-1.5n" merge="xvi-1.5n" size="256" crc="77245b66" sha1="0c4d0bee858b97632411c440bea6948a74759746" region="namco" offset="100" status="good" optional="no" />
  <device_ref tag=":maincpu" name="z80" />
  <device_ref tag=":sub" name="z80" />
  <device_ref tag=":sub2" name="z80" />
  <device_ref tag=":misclatch" name="ls259" />
  <device_ref tag=":50xx" name="namco50" />
  <device_ref tag=":50xx:mcu" name="mb8842" />
  <device_ref tag=":51xx" name="namco51" />
  <device_ref tag=":51xx:mcu" name="mb8843" />
  <device_ref tag=":54xx" name="namco54" />
  <device_ref tag=":54xx:mcu" name="mb8844" />
  <device_ref tag=":06xx" name="namco06" />
  <device_ref tag=":watchdog" name="watchdog" />
  <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=":namco" name="namco_wsg" />
  <device_ref tag=":discrete" name="discrete" />
  <chip type="cpu" tag="maincpu" name="Zilog Z80" clock="3072000" />
  <chip type="cpu" tag="sub" name="Zilog Z80" clock="3072000" />
  <chip type="cpu" tag="sub2" name="Zilog Z80" clock="3072000" />
  <chip type="cpu" tag="50xx:mcu" name="Fujitsu MB8842" clock="1536000" />
  <chip type="cpu" tag="51xx:mcu" name="Fujitsu MB8843" clock="1536000" />
  <chip type="cpu" tag="54xx:mcu" name="Fujitsu MB8844" clock="1536000" />
  <chip type="audio" tag="mono" name="Speaker" />
  <chip type="audio" tag="namco" name="Namco WSG" clock="96000" />
  <chip type="audio" tag="discrete" name="Discrete Sound" />
  <display tag="screen" type="raster" rotate="90" width="288" height="224" refresh="60.606061" pixclock="6144000" htotal="384" hbend="0" hbstart="288" vtotal="264" vbend="0" vbstart="224" flipx="no" />
  <sound channels="1" />
  <input players="2" coins="2" service="no" tilt="no">
    <control type="joy" player="1" buttons="2" ways="8" reverse="no" />
    <control type="joy" player="2" buttons="2" ways="8" reverse="no" />
  </input>
  <dipswitch name="Coin A" tag="DSWA" mask="3">
    <diplocation name="SWA" number="1" inverted="no" />
    <diplocation name="SWA" number="2" inverted="no" />
    <dipvalue name="2 Coins/1 Credit" value="1" default="no" />
    <dipvalue name="1 Coin/1 Credit" value="3" default="yes" />
    <dipvalue name="2 Coins/3 Credits" value="0" default="no" />
    <dipvalue name="1 Coin/2 Credits" value="2" default="no" />
  </dipswitch>
  <dipswitch name="Bonus Life" tag="DSWA" mask="28">
    <diplocation name="SWA" number="3" inverted="no" />
    <diplocation name="SWA" number="4" inverted="no" />
    <diplocation name="SWA" number="5" inverted="no" />
    <dipvalue name="10K, 40K, Every 40K" value="24" default="no">
      <condition tag="DSWA" mask="96" relation="ne" value="0" />
    </dipvalue>
    <dipvalue name="10K, 50K, Every 50K" value="20" default="no">
      <condition tag="DSWA" mask="96" relation="ne" value="0" />
    </dipvalue>
    <dipvalue name="20K, 50K, Every 50K" value="16" default="no">
      <condition tag="DSWA" mask="96" relation="ne" value="0" />
    </dipvalue>
    <dipvalue name="20K, 60K, Every 60K" value="28" default="yes">
      <condition tag="DSWA" mask="96" relation="ne" value="0" />
    </dipvalue>
    <dipvalue name="20K, 70K, Every 70K" value="12" default="no">
      <condition tag="DSWA" mask="96" relation="ne" value="0" />
    </dipvalue>
    <dipvalue name="20K, 80K, Every 80K" value="8" default="no">
      <condition tag="DSWA" mask="96" relation="ne" value="0" />
    </dipvalue>
    <dipvalue name="20K and 60K Only" value="4" default="no">
      <condition tag="DSWA" mask="96" relation="ne" value="0" />
    </dipvalue>
    <dipvalue name="None" value="0" default="no">
      <condition tag="DSWA" mask="96" relation="ne" value="0" />
    </dipvalue>
    <dipvalue name="10K, 50K, Every 50K" value="24" default="no">
      <condition tag="DSWA" mask="96" relation="eq" value="0" />
    </dipvalue>
    <dipvalue name="20K, 50K, Every 50K" value="20" default="no">
      <condition tag="DSWA" mask="96" relation="eq" value="0" />
    </dipvalue>
    <dipvalue name="20K, 60K, Every 60K" value="16" default="no">
      <condition tag="DSWA" mask="96" relation="eq" value="0" />
    </dipvalue>
    <dipvalue name="20K, 70K, Every 70K" value="28" default="yes">
      <condition tag="DSWA" mask="96" relation="eq" value="0" />
    </dipvalue>
    <dipvalue name="20K, 80K, Every 80K" value="12" default="no">
      <condition tag="DSWA" mask="96" relation="eq" value="0" />
    </dipvalue>
    <dipvalue name="30K, 100K, Every 100K" value="8" default="no">
      <condition tag="DSWA" mask="96" relation="eq" value="0" />
    </dipvalue>
    <dipvalue name="20K and 80K Only" value="4" default="no">
      <condition tag="DSWA" mask="96" relation="eq" value="0" />
    </dipvalue>
    <dipvalue name="None" value="0" default="no">
      <condition tag="DSWA" mask="96" relation="eq" value="0" />
    </dipvalue>
  </dipswitch>
  <dipswitch name="Lives" tag="DSWA" mask="96">
    <diplocation name="SWA" number="6" inverted="no" />
    <diplocation name="SWA" number="7" inverted="no" />
    <dipvalue name="1" value="64" default="no" />
    <dipvalue name="2" value="32" default="no" />
    <dipvalue name="3" value="96" default="yes" />
    <dipvalue name="5" value="0" default="no" />
  </dipswitch>
  <dipswitch name="Cabinet" tag="DSWA" mask="128">
    <diplocation name="SWA" number="8" inverted="no" />
    <dipvalue name="Upright" value="128" default="yes" />
    <dipvalue name="Cocktail" value="0" default="no" />
  </dipswitch>
  <dipswitch name="Flags Award Bonus Life" tag="DSWB" mask="2">
    <diplocation name="SWB" number="2" inverted="no" />
    <dipvalue name="No" value="0" default="no" />
    <dipvalue name="Yes" value="2" default="yes" />
  </dipswitch>
  <dipswitch name="Coin B" tag="DSWB" mask="12">
    <diplocation name="SWB" number="3" inverted="no" />
    <diplocation name="SWB" number="4" inverted="no" />
    <dipvalue name="1 Coin/1 Credit" value="12" default="yes" />
    <dipvalue name="1 Coin/2 Credits" value="8" default="no" />
    <dipvalue name="1 Coin/3 Credits" value="4" default="no" />
    <dipvalue name="1 Coin/6 Credits" value="0" default="no" />
  </dipswitch>
  <dipswitch name="Difficulty" tag="DSWB" mask="96">
    <diplocation name="SWB" number="6" inverted="no" />
    <diplocation name="SWB" number="7" inverted="no" />
    <dipvalue name="Easy" value="64" default="no" />
    <dipvalue name="Normal" value="96" default="yes" />
    <dipvalue name="Hard" value="32" default="no" />
    <dipvalue name="Hardest" value="0" default="no" />
  </dipswitch>
  <dipswitch name="Freeze" tag="DSWB" mask="128">
    <diplocation name="SWB" number="8" inverted="no" />
    <dipvalue name="Off" value="0" default="yes" />
    <dipvalue name="On" value="128" default="no" />
  </dipswitch>
  <dipswitch name="Service Mode" tag="IN1" mask="128">
    <dipvalue name="Off" value="128" default="yes" />
    <dipvalue name="On" value="0" default="no" />
  </dipswitch>
  <port tag=":DSWA"></port>
  <port tag=":DSWB"></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>