{
  "machine": {
    "name": "piratdwb",
    "sourcefile": "nintendo/snesb.cpp",
    "isbios": "no",
    "isdevice": "no",
    "ismechanical": "no",
    "runnable": "yes",
    "description": "The Pirates of Dark Water (SNES bootleg)",
    "year": "1996",
    "manufacturer": "bootleg (Conny)",
    "rom": [
      {
        "name": "rom2",
        "size": "524288",
        "crc": "026247eb",
        "sha1": "3eabfa06cce1f9227c5b957e7624a6879783133a",
        "region": "user3",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "rom1",
        "size": "524288",
        "crc": "770a23f2",
        "sha1": "ff4f750da7161089b4000a91e7c9b29bd7b73df1",
        "region": "user3",
        "offset": "80000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "1",
        "size": "131072",
        "crc": "4ad4d7ab",
        "sha1": "15bf2a47af8c778ba81f8f17430f1ea0fe6cfc63",
        "region": "m68000",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "2",
        "size": "131072",
        "crc": "81fb1936",
        "sha1": "ba7168a6f117eb9722180eb6cd78f69fc1db90ec",
        "region": "m68000",
        "offset": "1",
        "status": "good",
        "optional": "no"
      }
    ],
    "device_ref": [
      {
        "tag": ":maincpu",
        "name": "5a22"
      },
      {
        "tag": ":soundcpu",
        "name": "s_smp"
      },
      {
        "tag": ":screen",
        "name": "screen"
      },
      {
        "tag": ":ppu",
        "name": "snes_ppu"
      },
      {
        "tag": ":speaker",
        "name": "speaker"
      },
      {
        "tag": ":s_dsp",
        "name": "s_dsp"
      },
      {
        "tag": ":latch",
        "name": "generic_latch_8"
      },
      {
        "tag": ":m68000",
        "name": "m68000"
      }
    ],
    "chip": [
      {
        "type": "cpu",
        "tag": "maincpu",
        "name": "Ricoh 5A22",
        "clock": "21480000"
      },
      {
        "type": "cpu",
        "tag": "soundcpu",
        "name": "Nintendo/Sony S-SMP",
        "clock": "2048000"
      },
      {
        "type": "cpu",
        "tag": "m68000",
        "name": "Motorola MC68000",
        "clock": "8000000"
      },
      {
        "type": "audio",
        "tag": "speaker",
        "name": "Speaker"
      },
      {
        "type": "audio",
        "tag": "s_dsp",
        "name": "Nintendo/Sony S-DSP",
        "clock": "24576000"
      }
    ],
    "display": {
      "tag": "screen",
      "type": "raster",
      "rotate": "0",
      "width": "512",
      "height": "225",
      "refresh": "60.098476",
      "pixclock": "10738636",
      "htotal": "682",
      "hbend": "0",
      "hbstart": "512",
      "vtotal": "262",
      "vbend": "0",
      "vbstart": "225",
      "flipx": "no"
    },
    "sound": {
      "channels": "1"
    },
    "input": {
      "players": "2",
      "coins": "1",
      "service": "no",
      "tilt": "no",
      "control": [
        {
          "type": "joy",
          "player": "1",
          "buttons": "6",
          "ways": "8",
          "reverse": "no"
        },
        {
          "type": "joy",
          "player": "2",
          "buttons": "6",
          "ways": "8",
          "reverse": "no"
        }
      ]
    },
    "dipswitch": [
      {
        "name": "Unused",
        "tag": "DSW",
        "mask": "1",
        "dipvalue": [
          {
            "name": "Off",
            "value": "1",
            "default": "yes"
          },
          {
            "name": "On",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Unused",
        "tag": "DSW",
        "mask": "2",
        "dipvalue": [
          {
            "name": "Off",
            "value": "2",
            "default": "yes"
          },
          {
            "name": "On",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Unused",
        "tag": "DSW",
        "mask": "4",
        "dipvalue": [
          {
            "name": "Off",
            "value": "4",
            "default": "yes"
          },
          {
            "name": "On",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Difficulty",
        "tag": "DSW",
        "mask": "56",
        "dipvalue": [
          {
            "name": "1 (Easiest)",
            "value": "56",
            "default": "no"
          },
          {
            "name": "2",
            "value": "48",
            "default": "yes"
          },
          {
            "name": "3",
            "value": "40",
            "default": "no"
          },
          {
            "name": "4",
            "value": "32",
            "default": "no"
          },
          {
            "name": "5",
            "value": "24",
            "default": "no"
          },
          {
            "name": "6",
            "value": "16",
            "default": "no"
          },
          {
            "name": "7",
            "value": "8",
            "default": "no"
          },
          {
            "name": "8 (Hardest)",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Lives",
        "tag": "DSW",
        "mask": "192",
        "dipvalue": [
          {
            "name": "1",
            "value": "192",
            "default": "no"
          },
          {
            "name": "2",
            "value": "128",
            "default": "no"
          },
          {
            "name": "3",
            "value": "64",
            "default": "no"
          },
          {
            "name": "4",
            "value": "0",
            "default": "yes"
          }
        ]
      }
    ],
    "port": [
      {
        "tag": ":C00002"
      },
      {
        "tag": ":COIN"
      },
      {
        "tag": ":DSW"
      },
      {
        "tag": ":SERIAL1_DATA1"
      },
      {
        "tag": ":SERIAL1_DATA2"
      },
      {
        "tag": ":SERIAL2_DATA1"
      },
      {
        "tag": ":SERIAL2_DATA2"
      }
    ],
    "driver": {
      "status": "imperfect",
      "emulation": "good",
      "savestate": "unsupported",
      "requiresartwork": "no",
      "unofficial": "no",
      "nosoundhardware": "no",
      "incomplete": "no"
    },
    "feature": [
      {
        "type": "graphics",
        "status": "imperfect"
      },
      {
        "type": "sound",
        "status": "imperfect"
      }
    ]
  }
}