{
  "machine": {
    "name": "samsho2s28",
    "sourcefile": "ngsamsho.cpp",
    "cloneof": "samsho2",
    "romof": "samsho2",
    "isbios": "no",
    "isdevice": "no",
    "ismechanical": "no",
    "runnable": "yes",
    "description": "Samurai Shodown II (Special v1.0.0311, 2017-03-11)",
    "year": "2017",
    "manufacturer": "GSC2007",
    "biosset": [
      {
        "name": "euro",
        "description": "Europe MVS (Ver. 2)",
        "default": "no"
      },
      {
        "name": "euro-s1",
        "description": "Europe MVS (Ver. 1)",
        "default": "no"
      },
      {
        "name": "asia-mv1c",
        "description": "Asia NEO-MVH MV1C",
        "default": "no"
      },
      {
        "name": "asia-mv1b",
        "description": "Asia MV1B",
        "default": "no"
      },
      {
        "name": "us",
        "description": "US MVS (Ver. 2?)",
        "default": "no"
      },
      {
        "name": "us-e",
        "description": "US MVS (Ver. 1)",
        "default": "no"
      },
      {
        "name": "us-v2",
        "description": "US MVS (4 slot, Ver 2)",
        "default": "no"
      },
      {
        "name": "us-u4",
        "description": "US MVS (U4)",
        "default": "no"
      },
      {
        "name": "us-u3",
        "description": "US MVS (U3)",
        "default": "no"
      },
      {
        "name": "japan",
        "description": "Japan MVS (Ver. 3)",
        "default": "no"
      },
      {
        "name": "japan-s2",
        "description": "Japan MVS (Ver. 2)",
        "default": "no"
      },
      {
        "name": "japan-s1",
        "description": "Japan MVS (Ver. 1)",
        "default": "no"
      },
      {
        "name": "japan-mv1b",
        "description": "Japan MV1B",
        "default": "no"
      },
      {
        "name": "japan-j3a",
        "description": "Japan MVS (J3, alt)",
        "default": "no"
      },
      {
        "name": "japan-mv1c",
        "description": "Japan NEO-MVH MV1C",
        "default": "no"
      },
      {
        "name": "japan-hotel",
        "description": "Custom Japanese Hotel",
        "default": "no"
      },
      {
        "name": "unibios40",
        "description": "Universe Bios (Hack, Ver. 4.0)",
        "default": "yes"
      },
      {
        "name": "unibios33",
        "description": "Universe Bios (Hack, Ver. 3.3)",
        "default": "no"
      },
      {
        "name": "unibios32",
        "description": "Universe Bios (Hack, Ver. 3.2)",
        "default": "no"
      },
      {
        "name": "unibios31",
        "description": "Universe Bios (Hack, Ver. 3.1)",
        "default": "no"
      },
      {
        "name": "unibios30",
        "description": "Universe Bios (Hack, Ver. 3.0)",
        "default": "no"
      }
    ],
    "rom": [
      {
        "name": "sp-s2.sp1",
        "merge": "sp-s2.sp1",
        "bios": "euro",
        "size": "131072",
        "crc": "9036d879",
        "sha1": "4f5ed7105b7128794654ce82b51723e16e389543",
        "region": "mainbios",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "sp-s.sp1",
        "merge": "sp-s.sp1",
        "bios": "euro-s1",
        "size": "131072",
        "crc": "c7f2fa45",
        "sha1": "09576ff20b4d6b365e78e6a5698ea450262697cd",
        "region": "mainbios",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "sp-45.sp1",
        "merge": "sp-45.sp1",
        "bios": "asia-mv1c",
        "size": "524288",
        "crc": "03cc9f6a",
        "sha1": "cdf1f49e3ff2bac528c21ed28449cf35b7957dc1",
        "region": "mainbios",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "sp-s3.sp1",
        "merge": "sp-s3.sp1",
        "bios": "asia-mv1b",
        "size": "131072",
        "crc": "91b64be3",
        "sha1": "720a3e20d26818632aedf2c2fd16c54f213543e1",
        "region": "mainbios",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "sp-u2.sp1",
        "merge": "sp-u2.sp1",
        "bios": "us",
        "size": "131072",
        "crc": "e72943de",
        "sha1": "5c6bba07d2ec8ac95776aa3511109f5e1e2e92eb",
        "region": "mainbios",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "sp-e.sp1",
        "merge": "sp-e.sp1",
        "bios": "us-e",
        "size": "131072",
        "crc": "2723a5b5",
        "sha1": "5dbff7531cf04886cde3ef022fb5ca687573dcb8",
        "region": "mainbios",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "sp1-u2",
        "merge": "sp1-u2",
        "bios": "us-v2",
        "size": "131072",
        "crc": "62f021f4",
        "sha1": "62d372269e1b3161c64ae21123655a0a22ffd1bb",
        "region": "mainbios",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "sp1-u4.bin",
        "merge": "sp1-u4.bin",
        "bios": "us-u4",
        "size": "131072",
        "crc": "1179a30f",
        "sha1": "866817f47aa84d903d0b819d61f6ef356893d16a",
        "region": "mainbios",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "sp1-u3.bin",
        "merge": "sp1-u3.bin",
        "bios": "us-u3",
        "size": "131072",
        "crc": "2025b7a2",
        "sha1": "73d774746196f377111cd7aa051cc8bb5dd948b3",
        "region": "mainbios",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "vs-bios.rom",
        "merge": "vs-bios.rom",
        "bios": "japan",
        "size": "131072",
        "crc": "f0e8f27d",
        "sha1": "ecf01eda815909f1facec62abf3594eaa8d11075",
        "region": "mainbios",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "sp-j2.sp1",
        "merge": "sp-j2.sp1",
        "bios": "japan-s2",
        "size": "131072",
        "crc": "acede59c",
        "sha1": "b6f97acd282fd7e94d9426078a90f059b5e9dd91",
        "region": "mainbios",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "sp1.jipan.1024",
        "merge": "sp1.jipan.1024",
        "bios": "japan-s1",
        "size": "131072",
        "crc": "9fb0abe4",
        "sha1": "18a987ce2229df79a8cf6a84f968f0e42ce4e59d",
        "region": "mainbios",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "japan-j3.bin",
        "merge": "japan-j3.bin",
        "bios": "japan-mv1b",
        "size": "131072",
        "crc": "dff6d41f",
        "sha1": "e92910e20092577a4523a6b39d578a71d4de7085",
        "region": "mainbios",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "sp1-j3.bin",
        "merge": "sp1-j3.bin",
        "bios": "japan-j3a",
        "size": "131072",
        "crc": "fbc6d469",
        "sha1": "46b2b409b5b68869e367b40c846373623edb632a",
        "region": "mainbios",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "sp-j3.sp1",
        "merge": "sp-j3.sp1",
        "bios": "japan-mv1c",
        "size": "524288",
        "crc": "486cb450",
        "sha1": "52c21ea817928904b80745a8c8d15cbad61e1dc1",
        "region": "mainbios",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "sp-1v1_3db8c.bin",
        "merge": "sp-1v1_3db8c.bin",
        "bios": "japan-hotel",
        "size": "131072",
        "crc": "162f0ebe",
        "sha1": "fe1c6dd3dfcf97d960065b1bb46c1e11cb7bf271",
        "region": "mainbios",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "uni-bios_4_0.rom",
        "merge": "uni-bios_4_0.rom",
        "bios": "unibios40",
        "size": "131072",
        "crc": "a7aab458",
        "sha1": "938a0bda7d9a357240718c2cec319878d36b8f72",
        "region": "mainbios",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "uni-bios_3_3.rom",
        "merge": "uni-bios_3_3.rom",
        "bios": "unibios33",
        "size": "131072",
        "crc": "24858466",
        "sha1": "0ad92efb0c2338426635e0159d1f60b4473d0785",
        "region": "mainbios",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "uni-bios_3_2.rom",
        "merge": "uni-bios_3_2.rom",
        "bios": "unibios32",
        "size": "131072",
        "crc": "a4e8b9b3",
        "sha1": "c92f18c3f1edda543d264ecd0ea915240e7c8258",
        "region": "mainbios",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "uni-bios_3_1.rom",
        "merge": "uni-bios_3_1.rom",
        "bios": "unibios31",
        "size": "131072",
        "crc": "0c58093f",
        "sha1": "29329a3448c2505e1ff45ffa75e61e9693165153",
        "region": "mainbios",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "uni-bios_3_0.rom",
        "merge": "uni-bios_3_0.rom",
        "bios": "unibios30",
        "size": "131072",
        "crc": "a97c89a9",
        "sha1": "97a5eff3b119062f10e31ad6f04fe4b90d366e7f",
        "region": "mainbios",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "063s28.p1",
        "size": "1048576",
        "crc": "2bd5a4ab",
        "sha1": "5d5b1cd7efc5a71b1cb97b81b920a0924b7cd760",
        "region": "maincpu",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "063s25.p2",
        "size": "1048576",
        "crc": "6e1aef70",
        "sha1": "7a035e80b6f6af1d105ecccf3f5a2c44470366f3",
        "region": "maincpu",
        "offset": "100000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "063s28.p3",
        "size": "131072",
        "crc": "72eec1f4",
        "sha1": "122548fdfd6ca4b80e6a232f5928ce6bac6c862b",
        "region": "gsc",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "000-lo.lo",
        "merge": "000-lo.lo",
        "size": "131072",
        "crc": "5a86cff2",
        "sha1": "5992277debadeb64d1c1c64b0a92d9293eaf7e4a",
        "region": "zoomy",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "sfix.sfix",
        "merge": "sfix.sfix",
        "size": "131072",
        "crc": "c2ea0cfd",
        "sha1": "fd4a618cdcdbf849374f0a50dd8efe9dbab706c3",
        "region": "fixedbios",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "063s25.s1",
        "size": "131072",
        "crc": "1951a907",
        "sha1": "ee0e4743d7c2ba6306f08f16de2e3fea6697a89e",
        "region": "fixed",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "sp-s2.sp1",
        "merge": "sp-s2.sp1",
        "size": "131072",
        "crc": "9036d879",
        "sha1": "4f5ed7105b7128794654ce82b51723e16e389543",
        "region": "mainbios",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "sm1.sm1",
        "merge": "sm1.sm1",
        "size": "131072",
        "crc": "94416d67",
        "sha1": "42f9d7ddd6c0931fd64226a60dc73602b2819dcf",
        "region": "audiobios",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "063.m1",
        "merge": "063.m1",
        "size": "131072",
        "crc": "56675098",
        "sha1": "90429fc40d056d480d0e2bbefbc691d9fa260fc4",
        "region": "audiocpu",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "063.v1",
        "merge": "063.v1",
        "size": "2097152",
        "crc": "37703f91",
        "sha1": "a373ebef4c33ba1d8340e826981a58769aada238",
        "region": "ymsnd:adpcma",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "063.v2",
        "merge": "063.v2",
        "size": "2097152",
        "crc": "0142bde8",
        "sha1": "0be6c53acac44802bf70b6925452f70289a139d9",
        "region": "ymsnd:adpcma",
        "offset": "200000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "063.v3",
        "merge": "063.v3",
        "size": "2097152",
        "crc": "d07fa5ca",
        "sha1": "1da7f081f8b8fc86a91feacf900f573218d82676",
        "region": "ymsnd:adpcma",
        "offset": "400000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "063.v4",
        "merge": "063.v4",
        "size": "1048576",
        "crc": "24aab4bb",
        "sha1": "10ee4c5b3579865b93dcc1e4079963276aa700a6",
        "region": "ymsnd:adpcma",
        "offset": "600000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "063.c1",
        "merge": "063.c1",
        "size": "2097152",
        "crc": "86cd307c",
        "sha1": "0d04336f7c436d74638d8c1cd8651faf436a6bec",
        "region": "sprites",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "063.c2",
        "merge": "063.c2",
        "size": "2097152",
        "crc": "cdfcc4ca",
        "sha1": "179dc81432424d68cefedd20cc1c4b2a95deb891",
        "region": "sprites",
        "offset": "1",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "063.c3",
        "merge": "063.c3",
        "size": "2097152",
        "crc": "7a63ccc7",
        "sha1": "49d97c543bc2860d493a353ab0d059088c6fbd21",
        "region": "sprites",
        "offset": "400000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "063.c4",
        "merge": "063.c4",
        "size": "2097152",
        "crc": "751025ce",
        "sha1": "e1bbaa7cd67fd04e4aab7f7ea77f63ae1cbc90d0",
        "region": "sprites",
        "offset": "400001",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "063.c5",
        "merge": "063.c5",
        "size": "2097152",
        "crc": "20d3a475",
        "sha1": "28da44a136bd14c73c62c147c3f6e6bcfa1066de",
        "region": "sprites",
        "offset": "800000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "063.c6",
        "merge": "063.c6",
        "size": "2097152",
        "crc": "ae4c0a88",
        "sha1": "cc8a7d11daa3821f83a6fd0942534706f939e576",
        "region": "sprites",
        "offset": "800001",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "063s25.c7",
        "size": "2097152",
        "crc": "dbebced2",
        "sha1": "c1db8a0a6814b8078934b68f1f579060e36f67b2",
        "region": "sprites",
        "offset": "c00000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "063s25.c8",
        "size": "2097152",
        "crc": "bf70b93c",
        "sha1": "1bffeb6c7e158b9aee33802fe86f75cee04c6ecc",
        "region": "sprites",
        "offset": "c00001",
        "status": "good",
        "optional": "no"
      }
    ],
    "device_ref": [
      {
        "name": "m68000"
      },
      {
        "name": "z80"
      },
      {
        "name": "screen"
      },
      {
        "name": "gfxdecode"
      },
      {
        "name": "palette"
      },
      {
        "name": "neosprite"
      },
      {
        "name": "speaker"
      },
      {
        "name": "speaker"
      },
      {
        "name": "generic_latch_8"
      },
      {
        "name": "generic_latch_8"
      },
      {
        "name": "ym2610"
      },
      {
        "name": "neogeo_banked_cart"
      },
      {
        "name": "watchdog"
      },
      {
        "name": "upd4990a"
      },
      {
        "name": "nvram"
      },
      {
        "name": "ng_memcard"
      },
      {
        "name": "neogeo_ctrl_edge"
      },
      {
        "name": "neogeo_joyac"
      },
      {
        "name": "neogeo_control_port"
      },
      {
        "name": "neogeo_control_port"
      },
      {
        "name": "mslugx_prot"
      },
      {
        "name": "sma_prot"
      },
      {
        "name": "cmc_prot"
      },
      {
        "name": "pcm2_prot"
      },
      {
        "name": "pvc_prot"
      },
      {
        "name": "ngbootleg_prot"
      },
      {
        "name": "kof2002_prot"
      },
      {
        "name": "fatfury2_prot"
      },
      {
        "name": "kof98_prot"
      },
      {
        "name": "sbp_prot"
      }
    ],
    "chip": [
      {
        "type": "cpu",
        "tag": "maincpu",
        "name": "Motorola MC68000",
        "clock": "12000000"
      },
      {
        "type": "cpu",
        "tag": "audiocpu",
        "name": "Zilog Z80",
        "clock": "4000000"
      },
      {
        "type": "audio",
        "tag": "lspeaker",
        "name": "Speaker"
      },
      {
        "type": "audio",
        "tag": "rspeaker",
        "name": "Speaker"
      },
      {
        "type": "audio",
        "tag": "ymsnd",
        "name": "YM2610 OPNB",
        "clock": "8000000"
      }
    ],
    "display": {
      "tag": "screen",
      "type": "raster",
      "rotate": "0",
      "width": "320",
      "height": "224",
      "refresh": "59.185606",
      "pixclock": "6000000",
      "htotal": "384",
      "hbend": "30",
      "hbstart": "350",
      "vtotal": "264",
      "vbend": "16",
      "vbstart": "240",
      "flipx": "no"
    },
    "sound": {
      "channels": "2"
    },
    "input": {
      "players": "2",
      "coins": "4",
      "service": "yes",
      "tilt": "no",
      "control": [
        {
          "type": "joy",
          "player": "1",
          "buttons": "4",
          "ways": "8",
          "reverse": "no"
        },
        {
          "type": "joy",
          "player": "2",
          "buttons": "4",
          "ways": "8",
          "reverse": "no"
        }
      ]
    },
    "dipswitch": [
      {
        "name": "Setting Mode",
        "tag": "DSW",
        "mask": "1",
        "diplocation": {
          "name": "SW",
          "number": "1",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "1",
            "default": "yes"
          },
          {
            "name": "On",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Cabinet",
        "tag": "DSW",
        "mask": "2",
        "diplocation": {
          "name": "SW",
          "number": "2",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Normal",
            "value": "2",
            "default": "yes"
          },
          {
            "name": "VS Mode",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Controller",
        "tag": "DSW",
        "mask": "4",
        "diplocation": {
          "name": "SW",
          "number": "3",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Joystick",
            "value": "4",
            "default": "yes"
          },
          {
            "name": "Mahjong Panel",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "COMM Setting (Cabinet No.)",
        "tag": "DSW",
        "mask": "24",
        "diplocation": [
          {
            "name": "SW",
            "number": "4",
            "inverted": "no"
          },
          {
            "name": "SW",
            "number": "5",
            "inverted": "no"
          }
        ],
        "dipvalue": [
          {
            "name": "1",
            "value": "24",
            "default": "yes"
          },
          {
            "name": "2",
            "value": "16",
            "default": "no"
          },
          {
            "name": "3",
            "value": "8",
            "default": "no"
          },
          {
            "name": "4",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "COMM Setting (Link Enable)",
        "tag": "DSW",
        "mask": "32",
        "diplocation": {
          "name": "SW",
          "number": "6",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "32",
            "default": "yes"
          },
          {
            "name": "On",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Free Play",
        "tag": "DSW",
        "mask": "64",
        "diplocation": {
          "name": "SW",
          "number": "7",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "64",
            "default": "yes"
          },
          {
            "name": "On",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Freeze",
        "tag": "DSW",
        "mask": "128",
        "diplocation": {
          "name": "SW",
          "number": "8",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "128",
            "default": "yes"
          },
          {
            "name": "On",
            "value": "0",
            "default": "no"
          }
        ]
      }
    ],
    "port": [
      {
        "tag": ":AUDIO_COIN"
      },
      {
        "tag": ":DSW"
      },
      {
        "tag": ":SYSTEM"
      },
      {
        "tag": ":TEST"
      },
      {
        "tag": ":edge:joy:JOY1"
      },
      {
        "tag": ":edge:joy:JOY2"
      }
    ],
    "driver": {
      "status": "good",
      "emulation": "good",
      "savestate": "supported",
      "requiresartwork": "no",
      "unofficial": "no",
      "nosoundhardware": "no",
      "incomplete": "no"
    },
    "device": {
      "type": "memcard",
      "tag": "memcard",
      "instance": {
        "name": "memcard",
        "briefname": "memc"
      },
      "extension": {
        "name": "neo"
      }
    }
  }
}