{
  "machine": {
    "name": "empcityubl",
    "sourcefile": "seibu/stfight.cpp",
    "cloneof": "empcity",
    "romof": "empcity",
    "isbios": "no",
    "isdevice": "no",
    "ismechanical": "no",
    "runnable": "yes",
    "description": "Empire City: 1931 (US, bootleg)",
    "year": "1986",
    "manufacturer": "Seibu Kaihatsu",
    "rom": [
      {
        "name": "1.4u",
        "size": "32768",
        "crc": "57109a70",
        "sha1": "dfe96ad724e3135443565dbfd3a4608a1e0abba2",
        "region": "maincpu",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "2.2u",
        "size": "32768",
        "crc": "cec3beb8",
        "sha1": "6867f035352ff489fbf5ab9330f597df06d22c5e",
        "region": "maincpu",
        "offset": "10000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "4.5c",
        "size": "32768",
        "crc": "6a8cb7a6",
        "sha1": "dc123cc48d3623752b78e7c23dd8d2f5adf84f92",
        "region": "audiocpu",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "empcityu_68705.3j",
        "merge": "empcityu_68705.3j",
        "size": "2048",
        "crc": "182f7616",
        "sha1": "38b4f23a559ae13f8ca1b974407a2a40fc52879f",
        "region": "mcu",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "21.2p",
        "size": "8192",
        "crc": "1d130987",
        "sha1": "8d5ae3d8302bee4b0b234b2778d9b7baa7fab68e",
        "region": "stfight_vid:tx_gfx",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "15.2c",
        "merge": "5.2c",
        "size": "32768",
        "crc": "0c099a31",
        "sha1": "dabaf8edc59e4954941cd8176031a358f45a1956",
        "region": "stfight_vid:fg_gfx",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "16.3c",
        "merge": "6.3c",
        "size": "32768",
        "crc": "3cc77c31",
        "sha1": "13d2324df5a322d499c9959a6bb3a844edaefb45",
        "region": "stfight_vid:fg_gfx",
        "offset": "8000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "17.4c",
        "merge": "7.4c",
        "size": "32768",
        "crc": "2c6caa5f",
        "sha1": "f6893cb87004979ead331897c684f995f850447e",
        "region": "stfight_vid:fg_gfx",
        "offset": "10000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "18.5c",
        "merge": "8.5c",
        "size": "32768",
        "crc": "e11ded31",
        "sha1": "e3e634ad324d51e52d79dd79e5e6e5697cb8d21f",
        "region": "stfight_vid:fg_gfx",
        "offset": "18000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "9.2j",
        "merge": "11.2j",
        "size": "32768",
        "crc": "8261ecfe",
        "sha1": "5817f4a0458a949298414fe09c86bbcf50be52f3",
        "region": "stfight_vid:bg_gfx",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "10.3j",
        "merge": "12.3j",
        "size": "32768",
        "crc": "71137301",
        "sha1": "087a9f401939bc30f1dafa9916e8d8c564595a57",
        "region": "stfight_vid:bg_gfx",
        "offset": "8000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "11.4j",
        "merge": "13.4c",
        "size": "32768",
        "crc": "0ae48dd3",
        "sha1": "ca3d9aeb9f4343c379cef9282e408fbf8aa67d99",
        "region": "stfight_vid:bg_gfx",
        "offset": "10000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "12.5j",
        "merge": "14.5j",
        "size": "32768",
        "crc": "debf5d76",
        "sha1": "eb18c35166eb5f93be98b3c30c7d909c0a68eada",
        "region": "stfight_vid:bg_gfx",
        "offset": "18000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "5.6w",
        "merge": "18.6w",
        "size": "32768",
        "crc": "68acd627",
        "sha1": "f98ff9ccb0913711079a2988e8dd08695fb5e107",
        "region": "stfight_vid:spr_gfx",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "6.7w",
        "merge": "19.7w",
        "size": "32768",
        "crc": "5170a057",
        "sha1": "9222f9febc222fa0c2eead258ad77c857f6d40c8",
        "region": "stfight_vid:spr_gfx",
        "offset": "8000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "7.8w",
        "merge": "20.8w",
        "size": "32768",
        "crc": "8299f247",
        "sha1": "71891f7b1fbfaed14c3854b7f6e10a3ddb4bd479",
        "region": "stfight_vid:spr_gfx",
        "offset": "10000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "8.9w",
        "merge": "21.9w",
        "size": "32768",
        "crc": "b57dc037",
        "sha1": "69ac79a95ba9ace7c9ca7af480a4a10176be5ace",
        "region": "stfight_vid:spr_gfx",
        "offset": "18000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "19.7c",
        "merge": "9.7c",
        "size": "32768",
        "crc": "8ceaf4fe",
        "sha1": "5698f2ff44c109825b8d9d0b6dd2426624df668b",
        "region": "stfight_vid:fg_map",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "20.8c",
        "merge": "10.8c",
        "size": "32768",
        "crc": "5a1a227a",
        "sha1": "24928ab218824ae1f5380398ceb90dcad525cc08",
        "region": "stfight_vid:fg_map",
        "offset": "8000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "13.7j",
        "merge": "15.7j",
        "size": "32768",
        "crc": "27a310bc",
        "sha1": "dd30d72bc33b0bf7ddaf3ab730e028f51b20152a",
        "region": "stfight_vid:bg_map",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "14.8j",
        "merge": "16.8j",
        "size": "32768",
        "crc": "3d19ce18",
        "sha1": "38f691a23c96ef672637965c1a13f6d1595f9d51",
        "region": "stfight_vid:bg_map",
        "offset": "8000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "82s129.006.1j",
        "merge": "82s129.006",
        "size": "256",
        "crc": "f9424b5b",
        "sha1": "e3bc23213406d35d54f1221f17f25d433df273a2",
        "region": "stfight_vid:tx_clut",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "82s129.002.1b",
        "merge": "82s129.002",
        "size": "256",
        "crc": "c883d49b",
        "sha1": "e84900ccf6f27e5043e43c0d85ea1e4eee7e52d3",
        "region": "stfight_vid:fg_clut",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "82s129.003.1c",
        "merge": "82s129.003",
        "size": "256",
        "crc": "af81882a",
        "sha1": "b1008c991bd8d1157b3479e465ab286c70418b58",
        "region": "stfight_vid:fg_clut",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "82s129.004.1d",
        "merge": "82s129.004",
        "size": "256",
        "crc": "1831ce7c",
        "sha1": "57afbee9225f0efd63895a5f522e96dc87ca2616",
        "region": "stfight_vid:bg_clut",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "82s129.005.1e",
        "merge": "82s129.005",
        "size": "256",
        "crc": "96cb6293",
        "sha1": "1dcdeaa995e6ffa3753b742842c5ffe0f68ef8cd",
        "region": "stfight_vid:bg_clut",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "82s129.052.3y",
        "merge": "82s129.052",
        "size": "256",
        "crc": "3d915ffc",
        "sha1": "921be6d5e5fc0fdee9c9f545c1c4a0c334e9844c",
        "region": "stfight_vid:spr_clut",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "82s129.066.4y",
        "merge": "82s129.066",
        "size": "256",
        "crc": "51e8832f",
        "sha1": "ed8c00559e7a02bb8c11861d747c8c64c01b7437",
        "region": "stfight_vid:spr_clut",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "82s129.9s",
        "size": "256",
        "crc": "cf14ba30",
        "sha1": "3284b6809075756b3c8e07d9705fc7eacb7556f1",
        "region": "proms",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "82s129.015.1t",
        "merge": "82s129.015",
        "size": "256",
        "crc": "0eaf5158",
        "sha1": "bafd4108708f66cd7b280e47152b108f3e254fc9",
        "region": "proms",
        "offset": "100",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "3.5j",
        "merge": "5j",
        "size": "32768",
        "crc": "1b8d0c07",
        "sha1": "c163ccd2b7ed6c84facc075eb1564ca399f3ba17",
        "region": "adpcm",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "82s123.7a",
        "size": "32",
        "crc": "93e2d292",
        "sha1": "af8edd0cfe85f28ede9604cfaf4516d54e5277c9",
        "region": "user1",
        "offset": "0",
        "status": "good",
        "optional": "no"
      }
    ],
    "device_ref": [
      {
        "tag": ":maincpu",
        "name": "z80"
      },
      {
        "tag": ":audiocpu",
        "name": "z80"
      },
      {
        "tag": ":mcu",
        "name": "m68705p5"
      },
      {
        "tag": ":palette",
        "name": "palette"
      },
      {
        "tag": ":mono",
        "name": "speaker"
      },
      {
        "tag": ":ym0",
        "name": "ym2203"
      },
      {
        "tag": ":ym1",
        "name": "ym2203"
      },
      {
        "tag": ":msm",
        "name": "msm5205"
      },
      {
        "tag": ":stfight_vid",
        "name": "stfight_vid"
      },
      {
        "tag": ":stfight_vid:screen",
        "name": "screen"
      },
      {
        "tag": ":stfight_vid:gfxdecode",
        "name": "gfxdecode"
      }
    ],
    "chip": [
      {
        "type": "cpu",
        "tag": "maincpu",
        "name": "Zilog Z80",
        "clock": "3000000"
      },
      {
        "type": "cpu",
        "tag": "audiocpu",
        "name": "Zilog Z80",
        "clock": "3000000"
      },
      {
        "type": "cpu",
        "tag": "mcu",
        "name": "Motorola MC68705P5",
        "clock": "3000000"
      },
      {
        "type": "audio",
        "tag": "mono",
        "name": "Speaker"
      },
      {
        "type": "audio",
        "tag": "ym0",
        "name": "YM2203 OPN",
        "clock": "1500000"
      },
      {
        "type": "audio",
        "tag": "ym1",
        "name": "YM2203 OPN",
        "clock": "1500000"
      },
      {
        "type": "audio",
        "tag": "msm",
        "name": "OKI MSM5205 ADPCM",
        "clock": "384000"
      }
    ],
    "display": {
      "tag": "stfight_vid:screen",
      "type": "raster",
      "rotate": "0",
      "width": "256",
      "height": "224",
      "refresh": "60.000000",
      "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"
        },
        {
          "type": "joy",
          "player": "2",
          "buttons": "2",
          "ways": "8",
          "reverse": "no"
        }
      ]
    },
    "dipswitch": [
      {
        "name": "Coin A",
        "tag": "DSW0",
        "mask": "7",
        "diplocation": [
          {
            "name": "SW1",
            "number": "1",
            "inverted": "no"
          },
          {
            "name": "SW1",
            "number": "2",
            "inverted": "no"
          },
          {
            "name": "SW1",
            "number": "3",
            "inverted": "no"
          }
        ],
        "dipvalue": [
          {
            "name": "5 Coins/1 Credit",
            "value": "0",
            "default": "no"
          },
          {
            "name": "4 Coins/1 Credit",
            "value": "4",
            "default": "no"
          },
          {
            "name": "3 Coins/1 Credit",
            "value": "2",
            "default": "no"
          },
          {
            "name": "2 Coins/1 Credit",
            "value": "6",
            "default": "no"
          },
          {
            "name": "1 Coin/1 Credit",
            "value": "7",
            "default": "yes"
          },
          {
            "name": "1 Coin/2 Credits",
            "value": "3",
            "default": "no"
          },
          {
            "name": "1 Coin/3 Credits",
            "value": "5",
            "default": "no"
          },
          {
            "name": "1 Coin/5 Credits",
            "value": "1",
            "default": "no"
          }
        ]
      },
      {
        "name": "Coin B",
        "tag": "DSW0",
        "mask": "24",
        "diplocation": [
          {
            "name": "SW1",
            "number": "4",
            "inverted": "no"
          },
          {
            "name": "SW1",
            "number": "5",
            "inverted": "no"
          }
        ],
        "dipvalue": [
          {
            "name": "2 Coins/1 Credit",
            "value": "16",
            "default": "no"
          },
          {
            "name": "1 Coin/1 Credit",
            "value": "24",
            "default": "yes"
          },
          {
            "name": "3 Coins/4 Credits",
            "value": "0",
            "default": "no"
          },
          {
            "name": "1 Coin/2 Credits",
            "value": "8",
            "default": "no"
          }
        ]
      },
      {
        "name": "Service Mode",
        "tag": "DSW0",
        "mask": "32",
        "diplocation": {
          "name": "SW1",
          "number": "6",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "32",
            "default": "yes"
          },
          {
            "name": "On",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Allow Continue",
        "tag": "DSW0",
        "mask": "64",
        "diplocation": {
          "name": "SW1",
          "number": "7",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "No",
            "value": "64",
            "default": "no"
          },
          {
            "name": "Yes",
            "value": "0",
            "default": "yes"
          }
        ]
      },
      {
        "name": "Bullet Colour",
        "tag": "DSW0",
        "mask": "128",
        "diplocation": {
          "name": "SW1",
          "number": "8",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Red",
            "value": "0",
            "default": "yes"
          },
          {
            "name": "Blue",
            "value": "128",
            "default": "no"
          }
        ]
      },
      {
        "name": "Cabinet",
        "tag": "DSW1",
        "mask": "1",
        "diplocation": {
          "name": "SW2",
          "number": "1",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Upright",
            "value": "1",
            "default": "yes"
          },
          {
            "name": "Cocktail",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Difficulty",
        "tag": "DSW1",
        "mask": "6",
        "diplocation": [
          {
            "name": "SW2",
            "number": "2",
            "inverted": "no"
          },
          {
            "name": "SW2",
            "number": "3",
            "inverted": "no"
          }
        ],
        "dipvalue": [
          {
            "name": "Easy",
            "value": "6",
            "default": "no"
          },
          {
            "name": "Normal",
            "value": "4",
            "default": "yes"
          },
          {
            "name": "Hard",
            "value": "2",
            "default": "no"
          },
          {
            "name": "Hardest",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Lives",
        "tag": "DSW1",
        "mask": "24",
        "diplocation": [
          {
            "name": "SW2",
            "number": "4",
            "inverted": "no"
          },
          {
            "name": "SW2",
            "number": "5",
            "inverted": "no"
          }
        ],
        "dipvalue": [
          {
            "name": "1",
            "value": "24",
            "default": "no"
          },
          {
            "name": "2",
            "value": "16",
            "default": "no"
          },
          {
            "name": "3",
            "value": "8",
            "default": "yes"
          },
          {
            "name": "4",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Bonus Life",
        "tag": "DSW1",
        "mask": "96",
        "diplocation": [
          {
            "name": "SW2",
            "number": "6",
            "inverted": "no"
          },
          {
            "name": "SW2",
            "number": "7",
            "inverted": "no"
          }
        ],
        "dipvalue": [
          {
            "name": "10000 30000",
            "value": "96",
            "default": "no"
          },
          {
            "name": "20000 40000",
            "value": "64",
            "default": "yes"
          },
          {
            "name": "30000 60000",
            "value": "32",
            "default": "no"
          },
          {
            "name": "40000 80000",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Demo Sounds",
        "tag": "DSW1",
        "mask": "128",
        "diplocation": {
          "name": "SW2",
          "number": "8",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "128",
            "default": "no"
          },
          {
            "name": "On",
            "value": "0",
            "default": "yes"
          }
        ]
      }
    ],
    "port": [
      {
        "tag": ":COIN"
      },
      {
        "tag": ":DSW0"
      },
      {
        "tag": ":DSW1"
      },
      {
        "tag": ":P1"
      },
      {
        "tag": ":P2"
      },
      {
        "tag": ":START"
      }
    ],
    "driver": {
      "status": "imperfect",
      "emulation": "good",
      "savestate": "supported",
      "requiresartwork": "no",
      "unofficial": "no",
      "nosoundhardware": "no",
      "incomplete": "no"
    },
    "feature": {
      "type": "sound",
      "status": "imperfect"
    }
  }
}