{
  "machine": {
    "name": "spiero",
    "sourcefile": "universal/docastle.cpp",
    "cloneof": "dorunrun",
    "romof": "dorunrun",
    "isbios": "no",
    "isdevice": "no",
    "ismechanical": "no",
    "runnable": "yes",
    "description": "Super Pierrot (Japan)",
    "year": "1987",
    "manufacturer": "Universal",
    "rom": [
      {
        "name": "sp1.bin",
        "size": "8192",
        "crc": "08d23e38",
        "sha1": "0810b0ecaa1bd7f16f78ce08054f5d24a57b1266",
        "region": "maincpu",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "sp3.bin",
        "size": "8192",
        "crc": "faa0c18c",
        "sha1": "0dadea03b529bb889f45bd710bca0b4333cbbba8",
        "region": "maincpu",
        "offset": "4000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "sp4.bin",
        "size": "8192",
        "crc": "639b4e5d",
        "sha1": "cf252869fa0c5351f093026996c4e372f19a52a9",
        "region": "maincpu",
        "offset": "6000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "sp2.bin",
        "size": "8192",
        "crc": "3a29ccb0",
        "sha1": "37d6ce598a9c3b5dbb23c19a4bd94265287f83f7",
        "region": "maincpu",
        "offset": "8000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "27128.p7",
        "merge": "27128.p7",
        "size": "16384",
        "crc": "8b06d461",
        "sha1": "2434478810c6301197997be76505f5fc6beba5d3",
        "region": "subcpu",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "bprom2.bin",
        "merge": "bprom2.bin",
        "size": "512",
        "crc": "2747ca77",
        "sha1": "abc0ca05925974c4b852827605ee2f1caefb8524",
        "region": "spritecpu",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "sp5.bin",
        "size": "16384",
        "crc": "1b704bb0",
        "sha1": "db3b2f120d632b5f897c47aee115916ec6c52a69",
        "region": "gfx1",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "sp6.bin",
        "size": "8192",
        "crc": "00f893a7",
        "sha1": "9680d59065a18ea25734bdcd9a1dd1d5d721a47b",
        "region": "gfx2",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "sp7.bin",
        "size": "8192",
        "crc": "173e5c6a",
        "sha1": "5d06b8702e90af122c347e20b01811994165e727",
        "region": "gfx2",
        "offset": "2000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "sp8.bin",
        "size": "8192",
        "crc": "2e66525a",
        "sha1": "50e7b5e5f01d961eb311c65321fc536d8e4eb7b0",
        "region": "gfx2",
        "offset": "4000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "sp9.bin",
        "size": "8192",
        "crc": "9c571525",
        "sha1": "c7f1c22c6decd6326ef188bbf440115c1e2b16f4",
        "region": "gfx2",
        "offset": "6000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "bprom1.bin",
        "size": "512",
        "crc": "fc1b66ff",
        "sha1": "0a73f7e00501c638f017473b1e0786d7bcbbe82a",
        "region": "proms",
        "offset": "0",
        "status": "good",
        "optional": "no"
      }
    ],
    "device_ref": [
      {
        "tag": ":maincpu",
        "name": "z80"
      },
      {
        "tag": ":subcpu",
        "name": "z80"
      },
      {
        "tag": ":spritecpu",
        "name": "z80"
      },
      {
        "tag": ":inp1",
        "name": "tms1025"
      },
      {
        "tag": ":inp2",
        "name": "tms1025"
      },
      {
        "tag": ":watchdog",
        "name": "watchdog"
      },
      {
        "tag": ":crtc",
        "name": "hd6845s"
      },
      {
        "tag": ":screen",
        "name": "screen"
      },
      {
        "tag": ":gfxdecode",
        "name": "gfxdecode"
      },
      {
        "tag": ":palette",
        "name": "palette"
      },
      {
        "tag": ":mono",
        "name": "speaker"
      },
      {
        "tag": ":sn1",
        "name": "sn76489a"
      },
      {
        "tag": ":sn2",
        "name": "sn76489a"
      },
      {
        "tag": ":sn3",
        "name": "sn76489a"
      },
      {
        "tag": ":sn4",
        "name": "sn76489a"
      },
      {
        "tag": ":sn_ready",
        "name": "ipt_merge_any_lo"
      }
    ],
    "chip": [
      {
        "type": "cpu",
        "tag": "maincpu",
        "name": "Zilog Z80",
        "clock": "4000000"
      },
      {
        "type": "cpu",
        "tag": "subcpu",
        "name": "Zilog Z80",
        "clock": "4000000"
      },
      {
        "type": "cpu",
        "tag": "spritecpu",
        "name": "Zilog Z80",
        "clock": "4000000"
      },
      {
        "type": "audio",
        "tag": "mono",
        "name": "Speaker"
      },
      {
        "type": "audio",
        "tag": "sn1",
        "name": "SN76489A",
        "clock": "4000000"
      },
      {
        "type": "audio",
        "tag": "sn2",
        "name": "SN76489A",
        "clock": "4000000"
      },
      {
        "type": "audio",
        "tag": "sn3",
        "name": "SN76489A",
        "clock": "4000000"
      },
      {
        "type": "audio",
        "tag": "sn4",
        "name": "SN76489A",
        "clock": "4000000"
      }
    ],
    "display": {
      "tag": "screen",
      "type": "raster",
      "rotate": "0",
      "width": "240",
      "height": "192",
      "refresh": "59.659091",
      "pixclock": "4914000",
      "htotal": "312",
      "hbend": "8",
      "hbstart": "248",
      "vtotal": "264",
      "vbend": "0",
      "vbstart": "192",
      "flipx": "no"
    },
    "sound": {
      "channels": "1"
    },
    "input": {
      "players": "2",
      "coins": "2",
      "service": "yes",
      "tilt": "yes",
      "control": [
        {
          "type": "joy",
          "player": "1",
          "buttons": "2",
          "ways": "4",
          "reverse": "no"
        },
        {
          "type": "joy",
          "player": "2",
          "buttons": "2",
          "ways": "4",
          "reverse": "no"
        }
      ]
    },
    "dipswitch": [
      {
        "name": "Difficulty",
        "tag": "DSW1",
        "mask": "3",
        "diplocation": [
          {
            "name": "SWA",
            "number": "8",
            "inverted": "no"
          },
          {
            "name": "SWA",
            "number": "7",
            "inverted": "no"
          }
        ],
        "dipvalue": [
          {
            "name": "Easy",
            "value": "3",
            "default": "yes"
          },
          {
            "name": "Medium",
            "value": "2",
            "default": "no"
          },
          {
            "name": "Hard",
            "value": "1",
            "default": "no"
          },
          {
            "name": "Hardest",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Demo Sounds",
        "tag": "DSW1",
        "mask": "4",
        "diplocation": {
          "name": "SWA",
          "number": "6",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "0",
            "default": "no"
          },
          {
            "name": "On",
            "value": "4",
            "default": "yes"
          }
        ]
      },
      {
        "name": "Flip Screen",
        "tag": "DSW1",
        "mask": "8",
        "diplocation": {
          "name": "SWA",
          "number": "5",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "8",
            "default": "yes"
          },
          {
            "name": "On",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Difficulty of EXTRA",
        "tag": "DSW1",
        "mask": "16",
        "diplocation": {
          "name": "SWA",
          "number": "4",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Easy",
            "value": "16",
            "default": "yes"
          },
          {
            "name": "Difficult",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Cabinet",
        "tag": "DSW1",
        "mask": "32",
        "diplocation": {
          "name": "SWA",
          "number": "3",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Upright",
            "value": "0",
            "default": "yes"
          },
          {
            "name": "Cocktail",
            "value": "32",
            "default": "no"
          }
        ]
      },
      {
        "name": "Special",
        "tag": "DSW1",
        "mask": "64",
        "diplocation": {
          "name": "SWA",
          "number": "2",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Given",
            "value": "64",
            "default": "yes"
          },
          {
            "name": "Not Given",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Lives",
        "tag": "DSW1",
        "mask": "128",
        "diplocation": {
          "name": "SWA",
          "number": "1",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "3",
            "value": "128",
            "default": "yes"
          },
          {
            "name": "5",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Coin B",
        "tag": "DSW2",
        "mask": "15",
        "diplocation": [
          {
            "name": "SWB",
            "number": "8",
            "inverted": "no"
          },
          {
            "name": "SWB",
            "number": "7",
            "inverted": "no"
          },
          {
            "name": "SWB",
            "number": "6",
            "inverted": "no"
          },
          {
            "name": "SWB",
            "number": "5",
            "inverted": "no"
          }
        ],
        "dipvalue": [
          {
            "name": "4 Coins/1 Credit",
            "value": "6",
            "default": "no"
          },
          {
            "name": "3 Coins/1 Credit",
            "value": "8",
            "default": "no"
          },
          {
            "name": "2 Coins/1 Credit",
            "value": "10",
            "default": "no"
          },
          {
            "name": "3 Coins/2 Credits",
            "value": "7",
            "default": "no"
          },
          {
            "name": "1 Coin/1 Credit",
            "value": "15",
            "default": "yes"
          },
          {
            "name": "2 Coins/3 Credits",
            "value": "9",
            "default": "no"
          },
          {
            "name": "1 Coin/2 Credits",
            "value": "14",
            "default": "no"
          },
          {
            "name": "1 Coin/3 Credits",
            "value": "13",
            "default": "no"
          },
          {
            "name": "1 Coin/4 Credits",
            "value": "12",
            "default": "no"
          },
          {
            "name": "1 Coin/5 Credits",
            "value": "11",
            "default": "no"
          },
          {
            "name": "Free Play",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Coin A",
        "tag": "DSW2",
        "mask": "240",
        "diplocation": [
          {
            "name": "SWB",
            "number": "4",
            "inverted": "no"
          },
          {
            "name": "SWB",
            "number": "3",
            "inverted": "no"
          },
          {
            "name": "SWB",
            "number": "2",
            "inverted": "no"
          },
          {
            "name": "SWB",
            "number": "1",
            "inverted": "no"
          }
        ],
        "dipvalue": [
          {
            "name": "4 Coins/1 Credit",
            "value": "96",
            "default": "no"
          },
          {
            "name": "3 Coins/1 Credit",
            "value": "128",
            "default": "no"
          },
          {
            "name": "2 Coins/1 Credit",
            "value": "160",
            "default": "no"
          },
          {
            "name": "3 Coins/2 Credits",
            "value": "112",
            "default": "no"
          },
          {
            "name": "1 Coin/1 Credit",
            "value": "240",
            "default": "yes"
          },
          {
            "name": "2 Coins/3 Credits",
            "value": "144",
            "default": "no"
          },
          {
            "name": "1 Coin/2 Credits",
            "value": "224",
            "default": "no"
          },
          {
            "name": "1 Coin/3 Credits",
            "value": "208",
            "default": "no"
          },
          {
            "name": "1 Coin/4 Credits",
            "value": "192",
            "default": "no"
          },
          {
            "name": "1 Coin/5 Credits",
            "value": "176",
            "default": "no"
          },
          {
            "name": "Free Play",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Freeze",
        "tag": "SYSTEM",
        "mask": "8",
        "dipvalue": [
          {
            "name": "Off",
            "value": "8",
            "default": "yes"
          },
          {
            "name": "On",
            "value": "0",
            "default": "no"
          }
        ]
      }
    ],
    "port": [
      {
        "tag": ":BUTTONS"
      },
      {
        "tag": ":DSW1"
      },
      {
        "tag": ":DSW2"
      },
      {
        "tag": ":JOYS"
      },
      {
        "tag": ":SYSTEM"
      }
    ],
    "driver": {
      "status": "good",
      "emulation": "good",
      "savestate": "supported",
      "requiresartwork": "no",
      "unofficial": "no",
      "nosoundhardware": "no",
      "incomplete": "no"
    }
  }
}