{
  "machine": {
    "name": "dleuroalt",
    "sourcefile": "cinematronics/dlair.cpp",
    "cloneof": "dlair",
    "romof": "dlair",
    "isbios": "no",
    "isdevice": "no",
    "ismechanical": "no",
    "runnable": "yes",
    "description": "Dragon's Lair (European, alternate)",
    "year": "1983",
    "manufacturer": "Cinematronics (Atari license)",
    "rom": [
      {
        "name": "elu45_d2.bin",
        "size": "8192",
        "crc": "329b354a",
        "sha1": "54bbc5aa647d3c20166a57f9d3aa5569e7289af8",
        "region": "maincpu",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "elu46.bin",
        "size": "8192",
        "crc": "8479612b",
        "sha1": "b5543a06928274bde0e1bdda0747d936feaff177",
        "region": "maincpu",
        "offset": "2000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "elu47.bin",
        "size": "8192",
        "crc": "6a66f6b4",
        "sha1": "2bee981870e61977565439c34568952043656cfa",
        "region": "maincpu",
        "offset": "4000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "elu48.bin",
        "size": "8192",
        "crc": "36575106",
        "sha1": "178e26e7d5c7f879bc55c2fb170f3bb47a709610",
        "region": "maincpu",
        "offset": "6000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "elu33.bin",
        "size": "8192",
        "crc": "e7506d96",
        "sha1": "610ae25bd8db13b18b9e681e855ffa978043255b",
        "region": "gfx1",
        "offset": "0",
        "status": "good",
        "optional": "no"
      }
    ],
    "disk": {
      "name": "dleuro",
      "status": "nodump",
      "region": "ld_22vp932",
      "index": "0",
      "writable": "no",
      "optional": "no"
    },
    "device_ref": [
      {
        "tag": ":maincpu",
        "name": "z80"
      },
      {
        "tag": ":ctc",
        "name": "z80ctc"
      },
      {
        "tag": ":ctc:ch0",
        "name": "z80ctc_channel"
      },
      {
        "tag": ":ctc:ch1",
        "name": "z80ctc_channel"
      },
      {
        "tag": ":ctc:ch2",
        "name": "z80ctc_channel"
      },
      {
        "tag": ":ctc:ch3",
        "name": "z80ctc_channel"
      },
      {
        "tag": ":sio",
        "name": "z80sio"
      },
      {
        "tag": ":sio:cha",
        "name": "z80sio_channel"
      },
      {
        "tag": ":sio:chb",
        "name": "z80sio_channel"
      },
      {
        "tag": ":watchdog",
        "name": "watchdog"
      },
      {
        "tag": ":ld_22vp932",
        "name": "22vp932"
      },
      {
        "tag": ":screen",
        "name": "screen"
      },
      {
        "tag": ":gfxdecode",
        "name": "gfxdecode"
      },
      {
        "tag": ":palette",
        "name": "palette"
      },
      {
        "tag": ":speaker",
        "name": "speaker"
      },
      {
        "tag": ":speaker_sound",
        "name": "speaker_sound_device"
      }
    ],
    "chip": [
      {
        "type": "cpu",
        "tag": "maincpu",
        "name": "Zilog Z80",
        "clock": "3579545"
      },
      {
        "type": "audio",
        "tag": "ld_22vp932",
        "name": "Philips 22VP932"
      },
      {
        "type": "audio",
        "tag": "speaker",
        "name": "Speaker"
      },
      {
        "type": "audio",
        "tag": "speaker_sound",
        "name": "Filtered DAC"
      }
    ],
    "display": {
      "tag": "screen",
      "type": "raster",
      "rotate": "0",
      "width": "768",
      "height": "576",
      "refresh": "50.000268",
      "pixclock": "35468940",
      "htotal": "1135",
      "hbend": "0",
      "hbstart": "768",
      "vtotal": "625",
      "vbend": "48",
      "vbstart": "624",
      "flipx": "no"
    },
    "sound": {
      "channels": "1"
    },
    "input": {
      "players": "1",
      "coins": "2",
      "service": "no",
      "tilt": "no",
      "control": {
        "type": "joy",
        "buttons": "1",
        "ways": "8",
        "reverse": "no"
      }
    },
    "dipswitch": [
      {
        "name": "Coinage",
        "tag": "DSW1",
        "mask": "1",
        "diplocation": {
          "name": "A",
          "number": "1",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "3 Coins/1 Credit",
            "value": "1",
            "default": "no"
          },
          {
            "name": "2 Coins/1 Credit",
            "value": "0",
            "default": "yes"
          }
        ]
      },
      {
        "name": "Unused",
        "tag": "DSW1",
        "mask": "2",
        "diplocation": {
          "name": "A",
          "number": "2",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "0",
            "default": "yes"
          },
          {
            "name": "On",
            "value": "2",
            "default": "no"
          }
        ]
      },
      {
        "name": "Difficulty Mode",
        "tag": "DSW1",
        "mask": "4",
        "diplocation": {
          "name": "A",
          "number": "3",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Mode 1",
            "value": "4",
            "default": "no"
          },
          {
            "name": "Mode 2",
            "value": "0",
            "default": "yes"
          }
        ]
      },
      {
        "name": "Engineering mode",
        "tag": "DSW1",
        "mask": "8",
        "diplocation": {
          "name": "A",
          "number": "4",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "0",
            "default": "yes"
          },
          {
            "name": "On",
            "value": "8",
            "default": "no"
          }
        ]
      },
      {
        "name": "2 Credits/Free play",
        "tag": "DSW1",
        "mask": "16",
        "diplocation": {
          "name": "A",
          "number": "5",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "0",
            "default": "yes"
          },
          {
            "name": "On",
            "value": "16",
            "default": "no"
          }
        ]
      },
      {
        "name": "Lives",
        "tag": "DSW1",
        "mask": "32",
        "diplocation": {
          "name": "A",
          "number": "6",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "3",
            "value": "0",
            "default": "no"
          },
          {
            "name": "5",
            "value": "32",
            "default": "yes"
          }
        ]
      },
      {
        "name": "Pay as you go",
        "tag": "DSW1",
        "mask": "64",
        "diplocation": {
          "name": "A",
          "number": "7",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "0",
            "default": "yes"
          },
          {
            "name": "On",
            "value": "64",
            "default": "no"
          }
        ]
      },
      {
        "name": "Service Mode",
        "tag": "DSW1",
        "mask": "128",
        "diplocation": {
          "name": "A",
          "number": "8",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "0",
            "default": "yes"
          },
          {
            "name": "On",
            "value": "128",
            "default": "no"
          }
        ]
      },
      {
        "name": "Sound Every 8 Attracts",
        "tag": "DSW2",
        "mask": "1",
        "diplocation": {
          "name": "B",
          "number": "1",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "0",
            "default": "no"
          },
          {
            "name": "On",
            "value": "1",
            "default": "yes"
          }
        ]
      },
      {
        "name": "Demo Sounds",
        "tag": "DSW2",
        "mask": "2",
        "diplocation": {
          "name": "B",
          "number": "2",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "2",
            "default": "no"
          },
          {
            "name": "On",
            "value": "0",
            "default": "yes"
          }
        ]
      },
      {
        "name": "Unlimited Dirks",
        "tag": "DSW2",
        "mask": "4",
        "diplocation": {
          "name": "B",
          "number": "3",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "0",
            "default": "yes"
          },
          {
            "name": "On",
            "value": "4",
            "default": "no"
          }
        ]
      },
      {
        "name": "Joystick Feedback Sound",
        "tag": "DSW2",
        "mask": "8",
        "diplocation": {
          "name": "B",
          "number": "4",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "0",
            "default": "no"
          },
          {
            "name": "On",
            "value": "8",
            "default": "yes"
          }
        ]
      },
      {
        "name": "Difficulty",
        "tag": "DSW2",
        "mask": "144",
        "diplocation": [
          {
            "name": "B",
            "number": "8",
            "inverted": "no"
          },
          {
            "name": "B",
            "number": "5",
            "inverted": "no"
          }
        ],
        "dipvalue": [
          {
            "name": "Increase after 5",
            "value": "0",
            "default": "no",
            "condition": {
              "tag": "DSW1",
              "mask": "4",
              "relation": "eq",
              "value": "0"
            }
          },
          {
            "name": "Increase after 9",
            "value": "16",
            "default": "yes",
            "condition": {
              "tag": "DSW1",
              "mask": "4",
              "relation": "eq",
              "value": "0"
            }
          },
          {
            "name": "Easy",
            "value": "128",
            "default": "no",
            "condition": {
              "tag": "DSW1",
              "mask": "4",
              "relation": "eq",
              "value": "0"
            }
          },
          {
            "name": "Easy",
            "value": "144",
            "default": "no",
            "condition": {
              "tag": "DSW1",
              "mask": "4",
              "relation": "eq",
              "value": "0"
            }
          },
          {
            "name": "Hard",
            "value": "0",
            "default": "no",
            "condition": {
              "tag": "DSW1",
              "mask": "4",
              "relation": "eq",
              "value": "4"
            }
          },
          {
            "name": "Easy",
            "value": "16",
            "default": "yes",
            "condition": {
              "tag": "DSW1",
              "mask": "4",
              "relation": "eq",
              "value": "4"
            }
          },
          {
            "name": "Easy",
            "value": "128",
            "default": "no",
            "condition": {
              "tag": "DSW1",
              "mask": "4",
              "relation": "eq",
              "value": "4"
            }
          },
          {
            "name": "Easy",
            "value": "144",
            "default": "no",
            "condition": {
              "tag": "DSW1",
              "mask": "4",
              "relation": "eq",
              "value": "4"
            }
          }
        ]
      },
      {
        "name": "Pay as you go options",
        "tag": "DSW2",
        "mask": "96",
        "diplocation": [
          {
            "name": "B",
            "number": "7",
            "inverted": "no"
          },
          {
            "name": "B",
            "number": "6",
            "inverted": "no"
          }
        ],
        "dipvalue": [
          {
            "name": "PAYG1",
            "value": "0",
            "default": "no"
          },
          {
            "name": "PAYG2",
            "value": "32",
            "default": "no"
          },
          {
            "name": "PAYG3",
            "value": "64",
            "default": "no"
          },
          {
            "name": "PAYG4",
            "value": "96",
            "default": "yes"
          }
        ]
      },
      {
        "name": "Service Mode",
        "tag": "P1",
        "mask": "128",
        "dipvalue": [
          {
            "name": "Off",
            "value": "128",
            "default": "yes"
          },
          {
            "name": "On",
            "value": "0",
            "default": "no"
          }
        ]
      }
    ],
    "port": [
      {
        "tag": ":DSW1"
      },
      {
        "tag": ":DSW2"
      },
      {
        "tag": ":P1"
      },
      {
        "tag": ":SYSTEM"
      }
    ],
    "driver": {
      "status": "preliminary",
      "emulation": "preliminary",
      "savestate": "unsupported",
      "requiresartwork": "no",
      "unofficial": "no",
      "nosoundhardware": "no",
      "incomplete": "no"
    }
  }
}