{
  "machine": {
    "name": "bigappg",
    "sourcefile": "merit/merit.cpp",
    "isbios": "no",
    "isdevice": "no",
    "ismechanical": "no",
    "runnable": "yes",
    "description": "The Big Apple (2131-13, U5-0)",
    "year": "1986",
    "manufacturer": "Big Apple Games / Merit",
    "rom": [
      {
        "name": "2131-13_u5-0.u5",
        "size": "32768",
        "crc": "47bad6fd",
        "sha1": "87f6c603b52e184f82179869d7b58453cbd34814",
        "region": "maincpu",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "haip_u39.u39",
        "size": "8192",
        "crc": "506e20b4",
        "sha1": "cd28d4f56f83ed3f7cfa44280975c0a6af474707",
        "region": "gfx1",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "haip_u38.u38",
        "size": "8192",
        "crc": "1924feeb",
        "sha1": "c4656a04e2284a265554ea9774d0201c44864809",
        "region": "gfx1",
        "offset": "2000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "haip_u37.u37",
        "size": "8192",
        "crc": "12a04867",
        "sha1": "8e3a6050d854ccc906ae473a104a16d610e4f1da",
        "region": "gfx1",
        "offset": "4000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "haip_u40.u40",
        "size": "8192",
        "crc": "ac4983b8",
        "sha1": "a552a15f813c331de67eaae2ed42cc037b26c5bd",
        "region": "gfx2",
        "offset": "0",
        "status": "good",
        "optional": "no"
      }
    ],
    "device_ref": [
      {
        "tag": ":maincpu",
        "name": "z80"
      },
      {
        "tag": ":ppi0",
        "name": "i8255"
      },
      {
        "tag": ":ppi1",
        "name": "i8255"
      },
      {
        "tag": ":screen",
        "name": "screen"
      },
      {
        "tag": ":crtc",
        "name": "mc6845"
      },
      {
        "tag": ":mono",
        "name": "speaker"
      },
      {
        "tag": ":aysnd",
        "name": "ay8912"
      },
      {
        "tag": ":nvram",
        "name": "nvram"
      }
    ],
    "chip": [
      {
        "type": "cpu",
        "tag": "maincpu",
        "name": "Zilog Z80",
        "clock": "2500000"
      },
      {
        "type": "audio",
        "tag": "mono",
        "name": "Speaker"
      },
      {
        "type": "audio",
        "tag": "aysnd",
        "name": "AY-3-8912A PSG",
        "clock": "1250000"
      }
    ],
    "display": {
      "tag": "screen",
      "type": "raster",
      "rotate": "0",
      "width": "512",
      "height": "256",
      "refresh": "76.293945",
      "pixclock": "10000000",
      "htotal": "512",
      "hbend": "0",
      "hbstart": "512",
      "vtotal": "256",
      "vbend": "0",
      "vbstart": "256",
      "flipx": "no"
    },
    "sound": {
      "channels": "1"
    },
    "input": {
      "players": "1",
      "coins": "2",
      "service": "yes",
      "tilt": "no",
      "control": {
        "type": "gambling",
        "buttons": "10",
        "reverse": "no"
      }
    },
    "dipswitch": [
      {
        "name": "Auto Hold",
        "tag": "DSW",
        "mask": "1",
        "diplocation": {
          "name": "SW1",
          "number": "1",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "1",
            "default": "no"
          },
          {
            "name": "On",
            "value": "0",
            "default": "yes"
          }
        ]
      },
      {
        "name": "Bonus Jackpot",
        "tag": "DSW",
        "mask": "2",
        "diplocation": {
          "name": "SW1",
          "number": "2",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "2",
            "default": "no"
          },
          {
            "name": "On",
            "value": "0",
            "default": "yes"
          }
        ]
      },
      {
        "name": "Take Half Option",
        "tag": "DSW",
        "mask": "4",
        "diplocation": {
          "name": "SW1",
          "number": "3",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "4",
            "default": "no"
          },
          {
            "name": "On",
            "value": "0",
            "default": "yes"
          }
        ]
      },
      {
        "name": "Raise Option",
        "tag": "DSW",
        "mask": "8",
        "diplocation": {
          "name": "SW1",
          "number": "4",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "8",
            "default": "no"
          },
          {
            "name": "On",
            "value": "0",
            "default": "yes"
          }
        ]
      },
      {
        "name": "Unlimited Double Up",
        "tag": "DSW",
        "mask": "16",
        "diplocation": {
          "name": "SW1",
          "number": "5",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "16",
            "default": "no"
          },
          {
            "name": "On",
            "value": "0",
            "default": "yes"
          }
        ]
      },
      {
        "name": "Double Up",
        "tag": "DSW",
        "mask": "32",
        "diplocation": {
          "name": "SW1",
          "number": "6",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "32",
            "default": "no"
          },
          {
            "name": "On",
            "value": "0",
            "default": "yes"
          }
        ]
      },
      {
        "name": "Maximum Bet",
        "tag": "DSW",
        "mask": "192",
        "diplocation": [
          {
            "name": "SW1",
            "number": "7",
            "inverted": "no"
          },
          {
            "name": "SW1",
            "number": "8",
            "inverted": "no"
          }
        ],
        "dipvalue": [
          {
            "name": "10",
            "value": "64",
            "default": "no"
          },
          {
            "name": "20",
            "value": "192",
            "default": "no"
          },
          {
            "name": "50",
            "value": "0",
            "default": "yes",
            "condition": {
              "tag": "DSW",
              "mask": "8",
              "relation": "eq",
              "value": "0"
            }
          },
          {
            "name": "99",
            "value": "0",
            "default": "yes",
            "condition": {
              "tag": "DSW",
              "mask": "8",
              "relation": "eq",
              "value": "8"
            }
          }
        ]
      }
    ],
    "port": [
      {
        "tag": ":DSW"
      },
      {
        "tag": ":IN0"
      },
      {
        "tag": ":IN1"
      },
      {
        "tag": ":IN2"
      }
    ],
    "driver": {
      "status": "good",
      "emulation": "good",
      "savestate": "supported",
      "requiresartwork": "no",
      "unofficial": "no",
      "nosoundhardware": "no",
      "incomplete": "no"
    }
  }
}