{
  "machine": {
    "name": "plgirls2j",
    "sourcefile": "taito/taito_l.cpp",
    "cloneof": "plgirls2",
    "romof": "plgirls2",
    "isbios": "no",
    "isdevice": "no",
    "ismechanical": "no",
    "runnable": "yes",
    "description": "Play Girls 2 (Japan)",
    "year": "1993",
    "manufacturer": "Hot-B",
    "rom": [
      {
        "name": "pg2_1j.ic6",
        "size": "262144",
        "crc": "f924197a",
        "sha1": "ecaaefd1b3715ba60608e05d58be67e3c71f653a",
        "region": "maincpu",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "cho-l.ic9",
        "merge": "cho-l.ic9",
        "size": "524288",
        "crc": "956384ec",
        "sha1": "94a2b95f340e96bdccbeafd373f0dea90b8328dd",
        "region": "maincpu:gfx",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "cho-h.ic7",
        "merge": "cho-h.ic7",
        "size": "524288",
        "crc": "992f99b1",
        "sha1": "c79f1014d73654740f7823812f92376d65d6b15d",
        "region": "maincpu:gfx",
        "offset": "1",
        "status": "good",
        "optional": "no"
      }
    ],
    "device_ref": [
      {
        "tag": ":maincpu",
        "name": "tc0090lvc"
      },
      {
        "tag": ":maincpu:palette",
        "name": "palette"
      },
      {
        "tag": ":screen",
        "name": "screen"
      },
      {
        "tag": ":scantimer",
        "name": "timer"
      },
      {
        "tag": ":mono",
        "name": "speaker"
      },
      {
        "tag": ":ymsnd",
        "name": "ym2203"
      },
      {
        "tag": ":dswmux",
        "name": "ls157_x2"
      },
      {
        "tag": ":inmux",
        "name": "ls157_x2"
      },
      {
        "tag": ":ppi",
        "name": "i8255"
      }
    ],
    "chip": [
      {
        "type": "cpu",
        "tag": "maincpu",
        "name": "Taito TC0090LVC",
        "clock": "6665280"
      },
      {
        "type": "audio",
        "tag": "mono",
        "name": "Speaker"
      },
      {
        "type": "audio",
        "tag": "ymsnd",
        "name": "YM2203 OPN",
        "clock": "3332640"
      }
    ],
    "display": {
      "tag": "screen",
      "type": "raster",
      "rotate": "270",
      "width": "320",
      "height": "224",
      "refresh": "60.000000",
      "flipx": "no"
    },
    "sound": {
      "channels": "1"
    },
    "input": {
      "players": "2",
      "coins": "2",
      "tilt": "yes",
      "service": "no",
      "control": [
        {
          "type": "joy",
          "player": "1",
          "buttons": "2",
          "ways": "8",
          "reverse": "no"
        },
        {
          "type": "joy",
          "player": "2",
          "buttons": "2",
          "ways": "8",
          "reverse": "no"
        }
      ]
    },
    "dipswitch": [
      {
        "name": "Unused",
        "tag": "DSWA",
        "mask": "1",
        "diplocation": {
          "name": "SW1",
          "number": "1",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "1",
            "default": "yes"
          },
          {
            "name": "On",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Flip Screen",
        "tag": "DSWA",
        "mask": "2",
        "diplocation": {
          "name": "SW1",
          "number": "2",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "2",
            "default": "yes"
          },
          {
            "name": "On",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Service Mode",
        "tag": "DSWA",
        "mask": "4",
        "diplocation": {
          "name": "SW1",
          "number": "3",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "4",
            "default": "yes"
          },
          {
            "name": "On",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Coin Mode",
        "tag": "DSWA",
        "mask": "8",
        "diplocation": {
          "name": "SW1",
          "number": "4",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Mode A",
            "value": "8",
            "default": "yes"
          },
          {
            "name": "Mode B",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Coin A",
        "tag": "DSWA",
        "mask": "48",
        "diplocation": [
          {
            "name": "SW1",
            "number": "5",
            "inverted": "no"
          },
          {
            "name": "SW1",
            "number": "6",
            "inverted": "no"
          }
        ],
        "dipvalue": [
          {
            "name": "2 Coins/1 Credit",
            "value": "16",
            "default": "no",
            "condition": {
              "tag": "DSWA",
              "mask": "8",
              "relation": "eq",
              "value": "8"
            }
          },
          {
            "name": "1 Coin/1 Credit",
            "value": "48",
            "default": "yes",
            "condition": {
              "tag": "DSWA",
              "mask": "8",
              "relation": "eq",
              "value": "8"
            }
          },
          {
            "name": "2 Coins/3 Credits",
            "value": "0",
            "default": "no",
            "condition": {
              "tag": "DSWA",
              "mask": "8",
              "relation": "eq",
              "value": "8"
            }
          },
          {
            "name": "1 Coin/2 Credits",
            "value": "32",
            "default": "no",
            "condition": {
              "tag": "DSWA",
              "mask": "8",
              "relation": "eq",
              "value": "8"
            }
          },
          {
            "name": "4 Coins/1 Credit",
            "value": "0",
            "default": "no",
            "condition": {
              "tag": "DSWA",
              "mask": "8",
              "relation": "eq",
              "value": "0"
            }
          },
          {
            "name": "3 Coins/1 Credit",
            "value": "16",
            "default": "no",
            "condition": {
              "tag": "DSWA",
              "mask": "8",
              "relation": "eq",
              "value": "0"
            }
          },
          {
            "name": "1 Coin/1 Credit",
            "value": "48",
            "default": "yes",
            "condition": {
              "tag": "DSWA",
              "mask": "8",
              "relation": "eq",
              "value": "0"
            }
          },
          {
            "name": "1 Coin/4 Credits",
            "value": "32",
            "default": "no",
            "condition": {
              "tag": "DSWA",
              "mask": "8",
              "relation": "eq",
              "value": "0"
            }
          }
        ]
      },
      {
        "name": "Coin B",
        "tag": "DSWA",
        "mask": "192",
        "diplocation": [
          {
            "name": "SW1",
            "number": "7",
            "inverted": "no"
          },
          {
            "name": "SW1",
            "number": "8",
            "inverted": "no"
          }
        ],
        "dipvalue": [
          {
            "name": "2 Coins/1 Credit",
            "value": "64",
            "default": "no",
            "condition": {
              "tag": "DSWA",
              "mask": "8",
              "relation": "eq",
              "value": "8"
            }
          },
          {
            "name": "1 Coin/1 Credit",
            "value": "192",
            "default": "yes",
            "condition": {
              "tag": "DSWA",
              "mask": "8",
              "relation": "eq",
              "value": "8"
            }
          },
          {
            "name": "2 Coins/3 Credits",
            "value": "0",
            "default": "no",
            "condition": {
              "tag": "DSWA",
              "mask": "8",
              "relation": "eq",
              "value": "8"
            }
          },
          {
            "name": "1 Coin/2 Credits",
            "value": "128",
            "default": "no",
            "condition": {
              "tag": "DSWA",
              "mask": "8",
              "relation": "eq",
              "value": "8"
            }
          },
          {
            "name": "4 Coins/1 Credit",
            "value": "0",
            "default": "no",
            "condition": {
              "tag": "DSWA",
              "mask": "8",
              "relation": "eq",
              "value": "0"
            }
          },
          {
            "name": "3 Coins/1 Credit",
            "value": "64",
            "default": "no",
            "condition": {
              "tag": "DSWA",
              "mask": "8",
              "relation": "eq",
              "value": "0"
            }
          },
          {
            "name": "1 Coin/1 Credit",
            "value": "192",
            "default": "yes",
            "condition": {
              "tag": "DSWA",
              "mask": "8",
              "relation": "eq",
              "value": "0"
            }
          },
          {
            "name": "1 Coin/4 Credits",
            "value": "128",
            "default": "no",
            "condition": {
              "tag": "DSWA",
              "mask": "8",
              "relation": "eq",
              "value": "0"
            }
          }
        ]
      },
      {
        "name": "Difficulty",
        "tag": "DSWB",
        "mask": "3",
        "diplocation": [
          {
            "name": "SW2",
            "number": "1",
            "inverted": "no"
          },
          {
            "name": "SW2",
            "number": "2",
            "inverted": "no"
          }
        ],
        "dipvalue": [
          {
            "name": "Easy",
            "value": "2",
            "default": "no"
          },
          {
            "name": "Medium",
            "value": "3",
            "default": "yes"
          },
          {
            "name": "Hard",
            "value": "1",
            "default": "no"
          },
          {
            "name": "Hardest",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Time",
        "tag": "DSWB",
        "mask": "4",
        "diplocation": {
          "name": "SW2",
          "number": "3",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "2 Seconds",
            "value": "4",
            "default": "yes"
          },
          {
            "name": "3 Seconds",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Lives for Joe/Lady/Jack",
        "tag": "DSWB",
        "mask": "24",
        "diplocation": [
          {
            "name": "SW2",
            "number": "4",
            "inverted": "no"
          },
          {
            "name": "SW2",
            "number": "5",
            "inverted": "no"
          }
        ],
        "dipvalue": [
          {
            "name": "3/2/3",
            "value": "16",
            "default": "no"
          },
          {
            "name": "4/3/4",
            "value": "24",
            "default": "yes"
          },
          {
            "name": "5/4/5",
            "value": "8",
            "default": "no"
          },
          {
            "name": "6/5/6",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Character Speed",
        "tag": "DSWB",
        "mask": "32",
        "diplocation": {
          "name": "SW2",
          "number": "6",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Normal",
            "value": "32",
            "default": "yes"
          },
          {
            "name": "Fast",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Unused",
        "tag": "DSWB",
        "mask": "64",
        "diplocation": {
          "name": "SW2",
          "number": "7",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "64",
            "default": "yes"
          },
          {
            "name": "On",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Unused",
        "tag": "DSWB",
        "mask": "128",
        "diplocation": {
          "name": "SW2",
          "number": "8",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "128",
            "default": "yes"
          },
          {
            "name": "On",
            "value": "0",
            "default": "no"
          }
        ]
      }
    ],
    "port": [
      {
        "tag": ":DSWA"
      },
      {
        "tag": ":DSWB"
      },
      {
        "tag": ":IN0"
      },
      {
        "tag": ":IN1"
      },
      {
        "tag": ":IN2"
      }
    ],
    "driver": {
      "status": "good",
      "emulation": "good",
      "savestate": "unsupported",
      "requiresartwork": "no",
      "unofficial": "no",
      "nosoundhardware": "no",
      "incomplete": "no"
    }
  }
}