<machine name="gameboy" sourcefile="nintendo/gb.cpp" isbios="no" isdevice="no" ismechanical="no" runnable="yes">
  <description>Game Boy</description>
  <year>1990</year>
  <manufacturer>Nintendo</manufacturer>
  <biosset name="vx" description="DMG vX" default="no" />
  <biosset name="v0" description="DMG v0" default="no" />
  <rom name="dmg_boot.bin" bios="vx" size="256" crc="59c8598e" sha1="4ed31ec6b0b175bb109c0eb5fd3d193da823339f" region="maincpu" offset="0" status="good" optional="no" />
  <rom name="dmg_v0.rom" bios="v0" size="256" crc="c2f5cc97" sha1="8bd501e31921e9601788316dbd3ce9833a97bcbc" region="maincpu" offset="0" status="good" optional="no" />
  <device_ref tag=":maincpu" name="lr35902" />
  <device_ref tag=":screen" name="screen" />
  <device_ref tag=":gfxdecode" name="gfxdecode" />
  <device_ref tag=":palette" name="palette" />
  <device_ref tag=":ppu" name="dmg_ppu" />
  <device_ref tag=":speaker" name="speaker" />
  <device_ref tag=":apu" name="dmg_apu" />
  <device_ref tag=":cartslot" name="gb_cart_slot" />
  <device_ref tag=":cart_list" name="software_list" />
  <device_ref tag=":gbc_list" name="software_list" />
  <chip type="cpu" tag="maincpu" name="Sharp LR35902" clock="4194304" />
  <chip type="audio" tag="speaker" name="Speaker" />
  <chip type="audio" tag="apu" name="LR35902 APU" clock="4194304" />
  <display tag="screen" type="lcd" rotate="0" width="160" height="144" refresh="59.727501" pixclock="4194304" htotal="456" hbend="0" hbstart="160" vtotal="154" vbend="0" vbstart="144" flipx="no" />
  <sound channels="1" />
  <input players="1" service="no" tilt="no">
    <control type="joy" buttons="2" ways="8" reverse="no" />
  </input>
  <configuration name="[HACK] Skip BIOS Logo check" tag="SKIP_CHECK" mask="1">
    <confsetting name="Off" value="0" default="yes" />
    <confsetting name="On" value="1" default="no" />
  </configuration>
  <port tag=":INPUTS"></port>
  <port tag=":SKIP_CHECK"></port>
  <driver status="imperfect" emulation="good" savestate="supported" requiresartwork="no" unofficial="no" nosoundhardware="no" incomplete="no" />
  <feature type="sound" status="imperfect" />
  <device type="cartridge" tag="cartslot" interface="gameboy_cart">
    <instance name="cartridge" briefname="cart" />
    <extension name="bin" />
    <extension name="gb" />
    <extension name="gbc" />
    <extension name="gbx" />
  </device>
  <slot name="cartslot"></slot>
  <softwarelist tag="cart_list" name="gameboy" status="original" />
  <softwarelist tag="gbc_list" name="gbcolor" status="compatible" />
</machine>