{
  "machine": {
    "name": "mk2r31e",
    "sourcefile": "williams/midtunit.cpp",
    "cloneof": "mk2",
    "romof": "mk2",
    "isbios": "no",
    "isdevice": "no",
    "ismechanical": "no",
    "runnable": "yes",
    "description": "Mortal Kombat II (rev L3.1, European)",
    "year": "1993",
    "manufacturer": "Midway",
    "rom": [
      {
        "name": "l1_mortal_kombat_ii_sound_rom_u2.u2",
        "merge": "l1_mortal_kombat_ii_sound_rom_u2.u2",
        "size": "524288",
        "crc": "5f23d71d",
        "sha1": "54c2afef243759e0f3dbe2907edbc4302f5c8bad",
        "region": "dcs",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "l1_mortal_kombat_ii_sound_rom_u3.u3",
        "merge": "l1_mortal_kombat_ii_sound_rom_u3.u3",
        "size": "524288",
        "crc": "d6d92bf9",
        "sha1": "397351c6b707f2595e36360471015f9fa494e894",
        "region": "dcs",
        "offset": "200000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "l1_mortal_kombat_ii_sound_rom_u4.u4",
        "merge": "l1_mortal_kombat_ii_sound_rom_u4.u4",
        "size": "524288",
        "crc": "eebc8e0f",
        "sha1": "705ab63ff7672a4857d546afda6dca4973cce1ad",
        "region": "dcs",
        "offset": "400000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "l1_mortal_kombat_ii_sound_rom_u5.u5",
        "merge": "l1_mortal_kombat_ii_sound_rom_u5.u5",
        "size": "524288",
        "crc": "2b0b7961",
        "sha1": "1cdc64aab74d14afbd8c3531e3d0bd49271a281f",
        "region": "dcs",
        "offset": "600000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "l1_mortal_kombat_ii_sound_rom_u6.u6",
        "merge": "l1_mortal_kombat_ii_sound_rom_u6.u6",
        "size": "524288",
        "crc": "f694b27f",
        "sha1": "d43e38a124665f49ebb4ffc5a55e8f19a1a64686",
        "region": "dcs",
        "offset": "800000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "l1_mortal_kombat_ii_sound_rom_u7.u7",
        "merge": "l1_mortal_kombat_ii_sound_rom_u7.u7",
        "size": "524288",
        "crc": "20387e0a",
        "sha1": "505d05173b2a1f1ee3ebc2898ccd3a95c98dd04a",
        "region": "dcs",
        "offset": "a00000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "uj12.l31e",
        "size": "524288",
        "crc": "f64306d1",
        "sha1": "b1fb8d59400a411498a56a740a7b35e4687ecebd",
        "region": "maincpu",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "ug12.l31e",
        "size": "524288",
        "crc": "4adeae7e",
        "sha1": "4c9e5c7df3f86cc5c97c7fb70d4acca71d65cab5",
        "region": "maincpu",
        "offset": "1",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "l1_mortal_kombat_ii_game_rom_ug14.ug14",
        "merge": "l1_mortal_kombat_ii_game_rom_ug14.ug14",
        "size": "1048576",
        "crc": "01e73af6",
        "sha1": "6598cfd704cc92a7f358a0e1f1c973ab79dcc493",
        "region": "video",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "l1_mortal_kombat_ii_game_rom_uj14.uj14",
        "merge": "l1_mortal_kombat_ii_game_rom_uj14.uj14",
        "size": "1048576",
        "crc": "d4985cbb",
        "sha1": "367865da7efae38d83de3c0868d02a705177ae63",
        "region": "video",
        "offset": "1",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "l1_mortal_kombat_ii_game_rom_ug19.ug19",
        "merge": "l1_mortal_kombat_ii_game_rom_ug19.ug19",
        "size": "1048576",
        "crc": "fec137be",
        "sha1": "f11ecb8a7993f5c4f4449564b4911f69bd6e9bf8",
        "region": "video",
        "offset": "2",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "l1_mortal_kombat_ii_game_rom_uj19.uj19",
        "merge": "l1_mortal_kombat_ii_game_rom_uj19.uj19",
        "size": "1048576",
        "crc": "2d763156",
        "sha1": "06536006da49ab5fb6b75b25f801b83fad000ff5",
        "region": "video",
        "offset": "3",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "l1_mortal_kombat_ii_game_rom_ug16.ug16",
        "merge": "l1_mortal_kombat_ii_game_rom_ug16.ug16",
        "size": "1048576",
        "crc": "8ba6ae18",
        "sha1": "465fe907de4a1e502180c4e41642998dd3abc8e6",
        "region": "video",
        "offset": "400000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "l1_mortal_kombat_ii_game_rom_uj16.uj16",
        "merge": "l1_mortal_kombat_ii_game_rom_uj16.uj16",
        "size": "1048576",
        "crc": "39d885b4",
        "sha1": "2251826d247c3c6df421124718401fb35a672f83",
        "region": "video",
        "offset": "400001",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "l1_mortal_kombat_ii_game_rom_ug20.ug20",
        "merge": "l1_mortal_kombat_ii_game_rom_ug20.ug20",
        "size": "1048576",
        "crc": "809118c1",
        "sha1": "86153e648834c749e34573151cd4fee403a81962",
        "region": "video",
        "offset": "400002",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "l1_mortal_kombat_ii_game_rom_uj20.uj20",
        "merge": "l1_mortal_kombat_ii_game_rom_uj20.uj20",
        "size": "1048576",
        "crc": "b96824f0",
        "sha1": "d42b122f9a57da330192abc7e5f97abc4065d718",
        "region": "video",
        "offset": "400003",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "l1_mortal_kombat_ii_game_rom_ug17.ug17",
        "merge": "l1_mortal_kombat_ii_game_rom_ug17.ug17",
        "size": "1048576",
        "crc": "937d8620",
        "sha1": "8b9f80a460b124a747a6d1495b53f01f580e28f1",
        "region": "video",
        "offset": "800000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "l1_mortal_kombat_ii_game_rom_uj17.uj17",
        "merge": "l1_mortal_kombat_ii_game_rom_uj17.uj17",
        "size": "1048576",
        "crc": "218de160",
        "sha1": "87aea173720d2a33d8183903f4fe8ba1d47e3348",
        "region": "video",
        "offset": "800001",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "l1_mortal_kombat_ii_game_rom_ug22.ug22",
        "merge": "l1_mortal_kombat_ii_game_rom_ug22.ug22",
        "size": "1048576",
        "crc": "154d53b1",
        "sha1": "58ff0aa59101f40a9a3b5fbae1c904d0b0b31612",
        "region": "video",
        "offset": "800002",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "l1_mortal_kombat_ii_game_rom_uj22.uj22",
        "merge": "l1_mortal_kombat_ii_game_rom_uj22.uj22",
        "size": "1048576",
        "crc": "8891d785",
        "sha1": "fd460df1ef8f4306ea42f7dc41488a80fd2c8f53",
        "region": "video",
        "offset": "800003",
        "status": "good",
        "optional": "no"
      }
    ],
    "device_ref": [
      {
        "tag": ":video",
        "name": "tunitvid"
      },
      {
        "tag": ":maincpu",
        "name": "tms34010"
      },
      {
        "tag": ":nvram",
        "name": "nvram"
      },
      {
        "tag": ":watchdog",
        "name": "watchdog"
      },
      {
        "tag": ":palette",
        "name": "palette"
      },
      {
        "tag": ":screen",
        "name": "screen"
      },
      {
        "tag": ":speaker",
        "name": "speaker"
      },
      {
        "tag": ":dcs",
        "name": "dcs_audio_2k"
      },
      {
        "tag": ":dcs:dcs",
        "name": "adsp2105"
      },
      {
        "tag": ":dcs:dcs_reg_timer",
        "name": "timer"
      },
      {
        "tag": ":dcs:dcs_int_timer",
        "name": "timer"
      },
      {
        "tag": ":dcs:dac",
        "name": "dmadac"
      }
    ],
    "chip": [
      {
        "type": "cpu",
        "tag": "maincpu",
        "name": "Texas Instruments TMS34010",
        "clock": "50000000"
      },
      {
        "type": "cpu",
        "tag": "dcs:dcs",
        "name": "Analog Devices ADSP-2105",
        "clock": "10000000"
      },
      {
        "type": "audio",
        "tag": "speaker",
        "name": "Speaker"
      },
      {
        "type": "audio",
        "tag": "dcs",
        "name": "DCS Audio 2K"
      },
      {
        "type": "audio",
        "tag": "dcs:dac",
        "name": "DMA-driven DAC"
      }
    ],
    "display": {
      "tag": "screen",
      "type": "raster",
      "rotate": "0",
      "width": "400",
      "height": "254",
      "refresh": "54.706840",
      "pixclock": "8000000",
      "htotal": "506",
      "hbend": "100",
      "hbstart": "500",
      "vtotal": "289",
      "vbend": "20",
      "vbstart": "274",
      "flipx": "no"
    },
    "sound": {
      "channels": "1"
    },
    "input": {
      "players": "2",
      "coins": "4",
      "tilt": "yes",
      "service": "no",
      "control": [
        {
          "type": "joy",
          "player": "1",
          "buttons": "6",
          "ways": "8",
          "reverse": "no"
        },
        {
          "type": "joy",
          "player": "2",
          "buttons": "6",
          "ways": "8",
          "reverse": "no"
        }
      ]
    },
    "dipswitch": [
      {
        "name": "Test Switch",
        "tag": "DSW",
        "mask": "1",
        "dipvalue": [
          {
            "name": "Off",
            "value": "1",
            "default": "yes"
          },
          {
            "name": "On",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Counters",
        "tag": "DSW",
        "mask": "2",
        "dipvalue": [
          {
            "name": "One",
            "value": "2",
            "default": "no"
          },
          {
            "name": "Two",
            "value": "0",
            "default": "yes"
          }
        ]
      },
      {
        "name": "Coinage",
        "tag": "DSW",
        "mask": "124",
        "dipvalue": [
          {
            "name": "USA-1",
            "value": "124",
            "default": "yes"
          },
          {
            "name": "USA-2",
            "value": "60",
            "default": "no"
          },
          {
            "name": "USA-3",
            "value": "92",
            "default": "no"
          },
          {
            "name": "USA-4",
            "value": "28",
            "default": "no"
          },
          {
            "name": "USA-ECA",
            "value": "108",
            "default": "no"
          },
          {
            "name": "USA-Free Play",
            "value": "12",
            "default": "no"
          },
          {
            "name": "German-1",
            "value": "116",
            "default": "no"
          },
          {
            "name": "German-2",
            "value": "52",
            "default": "no"
          },
          {
            "name": "German-3",
            "value": "84",
            "default": "no"
          },
          {
            "name": "German-4",
            "value": "20",
            "default": "no"
          },
          {
            "name": "German-5",
            "value": "100",
            "default": "no"
          },
          {
            "name": "German-ECA",
            "value": "36",
            "default": "no"
          },
          {
            "name": "German-Free Play",
            "value": "4",
            "default": "no"
          },
          {
            "name": "French-1",
            "value": "120",
            "default": "no"
          },
          {
            "name": "French-2",
            "value": "56",
            "default": "no"
          },
          {
            "name": "French-3",
            "value": "88",
            "default": "no"
          },
          {
            "name": "French-4",
            "value": "24",
            "default": "no"
          },
          {
            "name": "French-ECA",
            "value": "104",
            "default": "no"
          },
          {
            "name": "French-Free Play",
            "value": "8",
            "default": "no"
          }
        ]
      },
      {
        "name": "Coinage Source",
        "tag": "DSW",
        "mask": "128",
        "dipvalue": [
          {
            "name": "Dipswitch",
            "value": "128",
            "default": "no"
          },
          {
            "name": "CMOS",
            "value": "0",
            "default": "yes"
          }
        ]
      },
      {
        "name": "Circuit Boards",
        "tag": "DSW",
        "mask": "256",
        "dipvalue": [
          {
            "name": "2",
            "value": "256",
            "default": "no"
          },
          {
            "name": "1",
            "value": "0",
            "default": "yes"
          }
        ]
      },
      {
        "name": "Powerup Test",
        "tag": "DSW",
        "mask": "512",
        "dipvalue": [
          {
            "name": "Off",
            "value": "0",
            "default": "yes"
          },
          {
            "name": "On",
            "value": "512",
            "default": "no"
          }
        ]
      },
      {
        "name": "Bill Validator",
        "tag": "DSW",
        "mask": "1024",
        "dipvalue": [
          {
            "name": "Installed",
            "value": "0",
            "default": "no"
          },
          {
            "name": "Not Present",
            "value": "1024",
            "default": "yes"
          }
        ]
      },
      {
        "name": "Comic Book Offer",
        "tag": "DSW",
        "mask": "2048",
        "dipvalue": [
          {
            "name": "Off",
            "value": "0",
            "default": "no"
          },
          {
            "name": "On",
            "value": "2048",
            "default": "yes"
          }
        ]
      },
      {
        "name": "Attract Sound",
        "tag": "DSW",
        "mask": "4096",
        "dipvalue": [
          {
            "name": "Off",
            "value": "0",
            "default": "no"
          },
          {
            "name": "On",
            "value": "4096",
            "default": "yes"
          }
        ]
      },
      {
        "name": "Low Blows",
        "tag": "DSW",
        "mask": "8192",
        "dipvalue": [
          {
            "name": "Off",
            "value": "0",
            "default": "no"
          },
          {
            "name": "On",
            "value": "8192",
            "default": "yes"
          }
        ]
      },
      {
        "name": "Blood",
        "tag": "DSW",
        "mask": "16384",
        "dipvalue": [
          {
            "name": "Off",
            "value": "0",
            "default": "no"
          },
          {
            "name": "On",
            "value": "16384",
            "default": "yes"
          }
        ]
      },
      {
        "name": "Violence",
        "tag": "DSW",
        "mask": "32768",
        "dipvalue": [
          {
            "name": "Off",
            "value": "0",
            "default": "no"
          },
          {
            "name": "On",
            "value": "32768",
            "default": "yes"
          }
        ]
      },
      {
        "name": "Service Mode",
        "tag": "IN1",
        "mask": "16",
        "dipvalue": [
          {
            "name": "Off",
            "value": "16",
            "default": "yes"
          },
          {
            "name": "On",
            "value": "0",
            "default": "no"
          }
        ]
      }
    ],
    "port": [
      {
        "tag": ":DSW"
      },
      {
        "tag": ":IN0"
      },
      {
        "tag": ":IN1"
      },
      {
        "tag": ":IN2"
      }
    ],
    "driver": {
      "status": "good",
      "emulation": "good",
      "savestate": "supported",
      "requiresartwork": "no",
      "unofficial": "no",
      "nosoundhardware": "no",
      "incomplete": "no"
    }
  }
}