{
  "machine": {
    "name": "bbustersja",
    "sourcefile": "snk/bbusters.cpp",
    "cloneof": "bbusters",
    "romof": "bbusters",
    "isbios": "no",
    "isdevice": "no",
    "ismechanical": "no",
    "runnable": "yes",
    "description": "Beast Busters (Japan, Version 2, 2 Player)",
    "year": "1989",
    "manufacturer": "SNK",
    "rom": [
      {
        "name": "bb3_ver2_j2.k10",
        "size": "131072",
        "crc": "605eb62f",
        "sha1": "b13afd561731ad9115c5b997b8a7a79a57557612",
        "region": "maincpu",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "bb5_ver2_j2.k12",
        "size": "131072",
        "crc": "9deea26f",
        "sha1": "c5436db0c55da9b0c5e0e053f59a1e17ee4690a6",
        "region": "maincpu",
        "offset": "1",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "bb-2.k8",
        "merge": "bb-2.k8",
        "size": "131072",
        "crc": "20141805",
        "sha1": "0958579681bda81bcf48d020a14bc147c1e575f1",
        "region": "maincpu",
        "offset": "40000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "bb-4.k11",
        "merge": "bb-4.k11",
        "size": "131072",
        "crc": "d482e0e9",
        "sha1": "e56ca92965e8954b613ba4b0e3975e3a12840c30",
        "region": "maincpu",
        "offset": "40001",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "bb-1.e6",
        "merge": "bb-1.e6",
        "size": "65536",
        "crc": "4360f2ee",
        "sha1": "4c6b212f59389bdf4388893d2030493b110ac087",
        "region": "audiocpu",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "bb-10.l9",
        "merge": "bb-10.l9",
        "size": "131072",
        "crc": "490c0d9b",
        "sha1": "567c25a6d96407259c64061d674305e4117d9fa4",
        "region": "tx_tiles",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "bb-f11.m16",
        "merge": "bb-f11.m16",
        "size": "524288",
        "crc": "39fdf9c0",
        "sha1": "80392947e3a1831c3ee80139f6f3bdc3bafa4f0d",
        "region": "sprites1",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "bb-f12.m13",
        "merge": "bb-f12.m13",
        "size": "524288",
        "crc": "69ee046b",
        "sha1": "5c0435f1ce76b584fa8d154d7617d73c7ab5f62f",
        "region": "sprites1",
        "offset": "80000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "bb-f13.m12",
        "merge": "bb-f13.m12",
        "size": "524288",
        "crc": "f5ef840e",
        "sha1": "dd0f630c52076e0d330f47931e68a3ae9a401078",
        "region": "sprites1",
        "offset": "100000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "bb-f14.m11",
        "merge": "bb-f14.m11",
        "size": "524288",
        "crc": "1a7df3bb",
        "sha1": "1f27a528e6f89fe56a7342c4f1ff733da0a09327",
        "region": "sprites1",
        "offset": "180000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "bb-f21.l10",
        "merge": "bb-f21.l10",
        "size": "524288",
        "crc": "530f595b",
        "sha1": "820898693b878c4423de9c244f943d39ea69515e",
        "region": "sprites2",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "bb-f22.l12",
        "merge": "bb-f22.l12",
        "size": "524288",
        "crc": "889c562e",
        "sha1": "d19172d6515ab9793c98de75d6e41687e61a408d",
        "region": "sprites2",
        "offset": "80000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "bb-f23.l13",
        "merge": "bb-f23.l13",
        "size": "524288",
        "crc": "c89fe0da",
        "sha1": "92be860a7191e7473c42aa2da981eda873219d3d",
        "region": "sprites2",
        "offset": "100000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "bb-f24.l15",
        "merge": "bb-f24.l15",
        "size": "524288",
        "crc": "e0d81359",
        "sha1": "2213c17651b6c023a456447f352b0739439f913a",
        "region": "sprites2",
        "offset": "180000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "bb-back1.m4",
        "merge": "bb-back1.m4",
        "size": "524288",
        "crc": "b5445313",
        "sha1": "3c99b557b2af30ff0fbc8a7dc6c40448c4f327db",
        "region": "bg1_tiles",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "bb-back2.m6",
        "merge": "bb-back2.m6",
        "size": "524288",
        "crc": "8be996f6",
        "sha1": "1e2c56f4c24793f806d7b366b92edc03145ae94c",
        "region": "bg2_tiles",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "bb-6.e7",
        "merge": "bb-6.e7",
        "size": "65536",
        "crc": "61f3de03",
        "sha1": "736f9634fe054ea68a2aa90a743bd0dc320f23c9",
        "region": "sprites1:scale_table",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "bb-7.h7",
        "merge": "bb-6.e7",
        "size": "65536",
        "crc": "61f3de03",
        "sha1": "736f9634fe054ea68a2aa90a743bd0dc320f23c9",
        "region": "sprites1:scale_table",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "bb-8.a14",
        "merge": "bb-6.e7",
        "size": "65536",
        "crc": "61f3de03",
        "sha1": "736f9634fe054ea68a2aa90a743bd0dc320f23c9",
        "region": "sprites2:scale_table",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "bb-9.c14",
        "merge": "bb-6.e7",
        "size": "65536",
        "crc": "61f3de03",
        "sha1": "736f9634fe054ea68a2aa90a743bd0dc320f23c9",
        "region": "sprites2:scale_table",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "bb-pcma.l5",
        "merge": "bb-pcma.l5",
        "size": "524288",
        "crc": "44cd5bfe",
        "sha1": "26a612191a0aa614c090203485aba17c99c763ee",
        "region": "ymsnd:adpcma",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "bb-pcmb.l3",
        "merge": "bb-pcmb.l3",
        "size": "524288",
        "crc": "c8d5dd53",
        "sha1": "0f7e94532cc14852ca12c1b792e5479667af899e",
        "region": "ymsnd:adpcmb",
        "offset": "0",
        "status": "good",
        "optional": "no"
      }
    ],
    "device_ref": [
      {
        "tag": ":maincpu",
        "name": "m68000"
      },
      {
        "tag": ":audiocpu",
        "name": "z80"
      },
      {
        "tag": ":eeprom",
        "name": "nvram"
      },
      {
        "tag": ":adc",
        "name": "upd7004"
      },
      {
        "tag": ":screen",
        "name": "screen"
      },
      {
        "tag": ":gfxdecode",
        "name": "gfxdecode"
      },
      {
        "tag": ":palette",
        "name": "palette"
      },
      {
        "tag": ":sprites1",
        "name": "snk_bbusters_spr"
      },
      {
        "tag": ":sprites2",
        "name": "snk_bbusters_spr"
      },
      {
        "tag": ":spriteram1",
        "name": "buffered_spriteram16"
      },
      {
        "tag": ":spriteram2",
        "name": "buffered_spriteram16"
      },
      {
        "tag": ":speaker",
        "name": "speaker"
      },
      {
        "tag": ":soundlatch1",
        "name": "generic_latch_8"
      },
      {
        "tag": ":soundlatch2",
        "name": "generic_latch_8"
      },
      {
        "tag": ":ymsnd",
        "name": "ym2610"
      }
    ],
    "chip": [
      {
        "type": "cpu",
        "tag": "maincpu",
        "name": "Motorola MC68000",
        "clock": "12000000"
      },
      {
        "type": "cpu",
        "tag": "audiocpu",
        "name": "Zilog Z80",
        "clock": "4000000"
      },
      {
        "type": "audio",
        "tag": "speaker",
        "name": "Speaker"
      },
      {
        "type": "audio",
        "tag": "ymsnd",
        "name": "YM2610 OPNB",
        "clock": "8000000"
      }
    ],
    "display": {
      "tag": "screen",
      "type": "raster",
      "rotate": "0",
      "width": "256",
      "height": "224",
      "refresh": "60.000000",
      "pixclock": "7864320",
      "htotal": "512",
      "hbend": "0",
      "hbstart": "256",
      "vtotal": "256",
      "vbend": "16",
      "vbstart": "240",
      "flipx": "no"
    },
    "sound": {
      "channels": "1"
    },
    "input": {
      "players": "2",
      "coins": "2",
      "service": "no",
      "tilt": "no",
      "control": [
        {
          "type": "lightgun",
          "player": "1",
          "buttons": "2",
          "minimum": "230",
          "maximum": "626",
          "sensitivity": "100",
          "keydelta": "10",
          "reverse": "no"
        },
        {
          "type": "lightgun",
          "player": "2",
          "buttons": "2",
          "minimum": "326",
          "maximum": "682",
          "sensitivity": "100",
          "keydelta": "10",
          "reverse": "no"
        }
      ]
    },
    "dipswitch": [
      {
        "name": "Allow Continue",
        "tag": "DSW1",
        "mask": "1",
        "diplocation": {
          "name": "SW1",
          "number": "1",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "No",
            "value": "0",
            "default": "no"
          },
          {
            "name": "Yes",
            "value": "1",
            "default": "yes"
          }
        ]
      },
      {
        "name": "Magazine / Grenade",
        "tag": "DSW1",
        "mask": "6",
        "diplocation": [
          {
            "name": "SW1",
            "number": "2",
            "inverted": "no"
          },
          {
            "name": "SW1",
            "number": "3",
            "inverted": "no"
          }
        ],
        "dipvalue": [
          {
            "name": "5 / 2",
            "value": "4",
            "default": "no"
          },
          {
            "name": "7 / 3",
            "value": "6",
            "default": "yes"
          },
          {
            "name": "9 / 4",
            "value": "2",
            "default": "no"
          },
          {
            "name": "12 / 5",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Coin A",
        "tag": "DSW1",
        "mask": "24",
        "diplocation": [
          {
            "name": "SW1",
            "number": "4",
            "inverted": "no"
          },
          {
            "name": "SW1",
            "number": "5",
            "inverted": "no"
          }
        ],
        "dipvalue": [
          {
            "name": "4 Coins/1 Credit",
            "value": "0",
            "default": "no"
          },
          {
            "name": "3 Coins/1 Credit",
            "value": "8",
            "default": "no"
          },
          {
            "name": "2 Coins/1 Credit",
            "value": "16",
            "default": "no"
          },
          {
            "name": "1 Coin/1 Credit",
            "value": "24",
            "default": "yes"
          }
        ]
      },
      {
        "name": "Coin B",
        "tag": "DSW1",
        "mask": "96",
        "diplocation": [
          {
            "name": "SW1",
            "number": "6",
            "inverted": "no"
          },
          {
            "name": "SW1",
            "number": "7",
            "inverted": "no"
          }
        ],
        "dipvalue": [
          {
            "name": "1 Coin/2 Credits",
            "value": "96",
            "default": "yes"
          },
          {
            "name": "1 Coin/3 Credits",
            "value": "64",
            "default": "no"
          },
          {
            "name": "1 Coin/4 Credits",
            "value": "32",
            "default": "no"
          },
          {
            "name": "1 Coin/6 Credits",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Unused",
        "tag": "DSW1",
        "mask": "128",
        "diplocation": {
          "name": "SW1",
          "number": "8",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "128",
            "default": "yes"
          },
          {
            "name": "On",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Difficulty",
        "tag": "DSW2",
        "mask": "3",
        "diplocation": [
          {
            "name": "SW2",
            "number": "1",
            "inverted": "no"
          },
          {
            "name": "SW2",
            "number": "2",
            "inverted": "no"
          }
        ],
        "dipvalue": [
          {
            "name": "Easy",
            "value": "2",
            "default": "no"
          },
          {
            "name": "Normal",
            "value": "3",
            "default": "yes"
          },
          {
            "name": "Hard",
            "value": "1",
            "default": "no"
          },
          {
            "name": "Hardest",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Game Mode",
        "tag": "DSW2",
        "mask": "12",
        "diplocation": [
          {
            "name": "SW2",
            "number": "3",
            "inverted": "no"
          },
          {
            "name": "SW2",
            "number": "4",
            "inverted": "no"
          }
        ],
        "dipvalue": [
          {
            "name": "Demo Sounds Off",
            "value": "8",
            "default": "no"
          },
          {
            "name": "Demo Sounds On",
            "value": "12",
            "default": "yes"
          },
          {
            "name": "Infinite Energy (Cheat)",
            "value": "4",
            "default": "no"
          },
          {
            "name": "Freeze",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Unused",
        "tag": "DSW2",
        "mask": "16",
        "diplocation": {
          "name": "SW2",
          "number": "5",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "16",
            "default": "yes"
          },
          {
            "name": "On",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Unused",
        "tag": "DSW2",
        "mask": "32",
        "diplocation": {
          "name": "SW2",
          "number": "6",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "32",
            "default": "yes"
          },
          {
            "name": "On",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Unused",
        "tag": "DSW2",
        "mask": "64",
        "diplocation": {
          "name": "SW2",
          "number": "7",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "64",
            "default": "yes"
          },
          {
            "name": "On",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Service Mode",
        "tag": "DSW2",
        "mask": "128",
        "diplocation": {
          "name": "SW2",
          "number": "8",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "128",
            "default": "yes"
          },
          {
            "name": "On",
            "value": "0",
            "default": "no"
          }
        ]
      }
    ],
    "port": [
      {
        "tag": ":COINS"
      },
      {
        "tag": ":DSW1"
      },
      {
        "tag": ":DSW2"
      },
      {
        "tag": ":GUNX1",
        "analog": {
          "mask": "1023"
        }
      },
      {
        "tag": ":GUNX2",
        "analog": {
          "mask": "1023"
        }
      },
      {
        "tag": ":GUNX3"
      },
      {
        "tag": ":GUNY1",
        "analog": {
          "mask": "1023"
        }
      },
      {
        "tag": ":GUNY2",
        "analog": {
          "mask": "1023"
        }
      },
      {
        "tag": ":GUNY3"
      },
      {
        "tag": ":IN0"
      },
      {
        "tag": ":IN1"
      }
    ],
    "driver": {
      "status": "good",
      "emulation": "good",
      "savestate": "supported",
      "requiresartwork": "no",
      "unofficial": "no",
      "nosoundhardware": "no",
      "incomplete": "no"
    }
  }
}