{
  "machine": {
    "name": "screwloo",
    "sourcefile": "gottlieb/gottlieb.cpp",
    "isbios": "no",
    "isdevice": "no",
    "ismechanical": "no",
    "runnable": "yes",
    "description": "Screw Loose (prototype)",
    "year": "1983",
    "manufacturer": "Mylstar",
    "rom": [
      {
        "name": "rom4",
        "size": "8192",
        "crc": "744a2513",
        "sha1": "d6e8e016d9af984fae9b6667bedeea069637bd3a",
        "region": "maincpu",
        "offset": "6000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "rom3",
        "size": "8192",
        "crc": "ffde5b5d",
        "sha1": "50ac0e600935b8b1f8b68c40ad21a179b176e535",
        "region": "maincpu",
        "offset": "8000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "rom2",
        "size": "8192",
        "crc": "97932b05",
        "sha1": "6807c6e08edeb93aa7b4969eb78de3cf88a00b72",
        "region": "maincpu",
        "offset": "a000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "rom1",
        "size": "8192",
        "crc": "571b65ca",
        "sha1": "75077f4fab296b3802271fa77af588003570cde6",
        "region": "maincpu",
        "offset": "c000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "rom0",
        "size": "8192",
        "crc": "6447fe54",
        "sha1": "6391c841cafd35dd315d9fac99ed5d8304018747",
        "region": "maincpu",
        "offset": "e000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "drom1",
        "size": "8192",
        "crc": "ae965ade",
        "sha1": "84a690cba8990fe6406b7cfbd6ea643a48446567",
        "region": "r2sound:audiocpu",
        "offset": "c000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "yrom1",
        "size": "8192",
        "crc": "3719b0b5",
        "sha1": "4f215ca2f15956374c4cd9484b6798f1c4d60fc7",
        "region": "r2sound:speechcpu",
        "offset": "e000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "bg0",
        "size": "4096",
        "crc": "1fd5b649",
        "sha1": "4e2127a4458d54f094934c6f5f154a6db5d0c8b0",
        "region": "bgtiles",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "bg1",
        "size": "4096",
        "crc": "c8ddb8ba",
        "sha1": "58137a5043157d08af4d628cf5384d7f530393f7",
        "region": "bgtiles",
        "offset": "1000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "fg3",
        "size": "8192",
        "crc": "97d4e63b",
        "sha1": "e06ecb73148f16b33132767f8f0dffc37eeba5f1",
        "region": "sprites",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "fg2",
        "size": "8192",
        "crc": "f76e56ca",
        "sha1": "32252d424f31aa899d6c614f1d1006c2ef49df84",
        "region": "sprites",
        "offset": "2000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "fg1",
        "size": "8192",
        "crc": "698c395f",
        "sha1": "46c6700b2943c35c9ac45791652eafbb4a4e059a",
        "region": "sprites",
        "offset": "4000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "fg0",
        "size": "8192",
        "crc": "f23269fb",
        "sha1": "9a418a372da18cf33bcfba07202cf2ac7a1dcd1d",
        "region": "sprites",
        "offset": "6000",
        "status": "good",
        "optional": "no"
      }
    ],
    "device_ref": [
      {
        "tag": ":maincpu",
        "name": "i8088"
      },
      {
        "tag": ":nvram",
        "name": "nvram"
      },
      {
        "tag": ":watchdog",
        "name": "watchdog"
      },
      {
        "tag": ":screen",
        "name": "screen"
      },
      {
        "tag": ":gfxdecode",
        "name": "gfxdecode"
      },
      {
        "tag": ":palette",
        "name": "palette"
      },
      {
        "tag": ":speaker",
        "name": "speaker"
      },
      {
        "tag": ":r2sound",
        "name": "gotsndr2"
      },
      {
        "tag": ":r2sound:audiocpu",
        "name": "m6502"
      },
      {
        "tag": ":r2sound:speechcpu",
        "name": "m6502"
      },
      {
        "tag": ":r2sound:dac",
        "name": "ad7528"
      },
      {
        "tag": ":r2sound:dacvol",
        "name": "ad7528"
      },
      {
        "tag": ":r2sound:ay1",
        "name": "ay8913"
      },
      {
        "tag": ":r2sound:ay2",
        "name": "ay8913"
      },
      {
        "tag": ":r2sound:spsnd",
        "name": "sp0250"
      }
    ],
    "chip": [
      {
        "type": "cpu",
        "tag": "maincpu",
        "name": "Intel 8088",
        "clock": "5000000"
      },
      {
        "type": "cpu",
        "tag": "r2sound:audiocpu",
        "name": "MOS Technology 6502",
        "clock": "1000000"
      },
      {
        "type": "cpu",
        "tag": "r2sound:speechcpu",
        "name": "MOS Technology 6502",
        "clock": "1000000"
      },
      {
        "type": "audio",
        "tag": "speaker",
        "name": "Speaker"
      },
      {
        "type": "audio",
        "tag": "r2sound",
        "name": "Gottlieb Sound rev. 2"
      },
      {
        "type": "audio",
        "tag": "r2sound:dac",
        "name": "AD7528 DAC"
      },
      {
        "type": "audio",
        "tag": "r2sound:dacvol",
        "name": "AD7528 DAC"
      },
      {
        "type": "audio",
        "tag": "r2sound:ay1",
        "name": "AY-3-8913 PSG",
        "clock": "2000000"
      },
      {
        "type": "audio",
        "tag": "r2sound:ay2",
        "name": "AY-3-8913 PSG",
        "clock": "2000000"
      },
      {
        "type": "audio",
        "tag": "r2sound:spsnd",
        "name": "GI SP0250 LPC",
        "clock": "3120000"
      }
    ],
    "display": {
      "tag": "screen",
      "type": "raster",
      "rotate": "0",
      "width": "256",
      "height": "240",
      "refresh": "61.419025",
      "pixclock": "5000000",
      "htotal": "318",
      "hbend": "0",
      "hbstart": "256",
      "vtotal": "256",
      "vbend": "0",
      "vbstart": "240",
      "flipx": "no"
    },
    "sound": {
      "channels": "1"
    },
    "input": {
      "players": "1",
      "coins": "2",
      "service": "no",
      "tilt": "no",
      "control": {
        "type": "doublejoy",
        "buttons": "2",
        "ways": "8",
        "ways2": "8",
        "reverse": "no"
      }
    },
    "dipswitch": [
      {
        "name": "Demo Sounds",
        "tag": "DSW",
        "mask": "1",
        "diplocation": {
          "name": "DSW",
          "number": "1",
          "inverted": "yes"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "1",
            "default": "no"
          },
          {
            "name": "On",
            "value": "0",
            "default": "yes"
          }
        ]
      },
      {
        "name": "Demo mode",
        "tag": "DSW",
        "mask": "2",
        "diplocation": {
          "name": "DSW",
          "number": "2",
          "inverted": "yes"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "0",
            "default": "yes"
          },
          {
            "name": "On",
            "value": "2",
            "default": "no"
          }
        ]
      },
      {
        "name": "1st Bonus Atom at",
        "tag": "DSW",
        "mask": "4",
        "diplocation": {
          "name": "DSW",
          "number": "3",
          "inverted": "yes"
        },
        "dipvalue": [
          {
            "name": "5000",
            "value": "0",
            "default": "yes"
          },
          {
            "name": "20000",
            "value": "4",
            "default": "no"
          }
        ]
      },
      {
        "name": "Free Play",
        "tag": "DSW",
        "mask": "8",
        "diplocation": {
          "name": "DSW",
          "number": "4",
          "inverted": "yes"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "0",
            "default": "yes"
          },
          {
            "name": "On",
            "value": "8",
            "default": "no"
          }
        ]
      },
      {
        "name": "Coinage",
        "tag": "DSW",
        "mask": "80",
        "diplocation": [
          {
            "name": "DSW",
            "number": "5",
            "inverted": "yes"
          },
          {
            "name": "DSW",
            "number": "6",
            "inverted": "yes"
          }
        ],
        "dipvalue": [
          {
            "name": "2 Coins/1 Credit",
            "value": "0",
            "default": "no"
          },
          {
            "name": "2 Coins/2 Credits",
            "value": "16",
            "default": "no"
          },
          {
            "name": "1 Coin/1 Credit",
            "value": "64",
            "default": "yes"
          },
          {
            "name": "1 Coin/2 Credits",
            "value": "80",
            "default": "no"
          }
        ]
      },
      {
        "name": "1st Bonus Hand at",
        "tag": "DSW",
        "mask": "32",
        "diplocation": {
          "name": "DSW",
          "number": "7",
          "inverted": "yes"
        },
        "dipvalue": [
          {
            "name": "25000",
            "value": "0",
            "default": "yes"
          },
          {
            "name": "50000",
            "value": "32",
            "default": "no"
          }
        ]
      },
      {
        "name": "Hands",
        "tag": "DSW",
        "mask": "128",
        "diplocation": {
          "name": "DSW",
          "number": "8",
          "inverted": "yes"
        },
        "dipvalue": [
          {
            "name": "3",
            "value": "0",
            "default": "yes"
          },
          {
            "name": "5",
            "value": "128",
            "default": "no"
          }
        ]
      },
      {
        "name": "Service Mode",
        "tag": "IN1",
        "mask": "1",
        "dipvalue": [
          {
            "name": "Off",
            "value": "1",
            "default": "yes"
          },
          {
            "name": "On",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Unknown",
        "tag": "r2sound:SB2",
        "mask": "16",
        "diplocation": {
          "name": "SB2",
          "number": "1",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "16",
            "default": "yes"
          },
          {
            "name": "On",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Unknown",
        "tag": "r2sound:SB2",
        "mask": "32",
        "diplocation": {
          "name": "SB2",
          "number": "2",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "32",
            "default": "yes"
          },
          {
            "name": "On",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Sound Test",
        "tag": "r2sound:SB2",
        "mask": "64",
        "diplocation": {
          "name": "SB2",
          "number": "3",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "64",
            "default": "yes"
          },
          {
            "name": "On",
            "value": "0",
            "default": "no"
          }
        ]
      }
    ],
    "port": [
      {
        "tag": ":DSW"
      },
      {
        "tag": ":IN1"
      },
      {
        "tag": ":IN2"
      },
      {
        "tag": ":IN3"
      },
      {
        "tag": ":IN4"
      },
      {
        "tag": ":r2sound:SB2"
      }
    ],
    "driver": {
      "status": "good",
      "emulation": "good",
      "savestate": "supported",
      "requiresartwork": "no",
      "unofficial": "no",
      "nosoundhardware": "no",
      "incomplete": "no"
    }
  }
}