{
  "machine": {
    "name": "s97801_terminal",
    "sourcefile": "devices/bus/rs232/s97801.cpp",
    "isdevice": "yes",
    "runnable": "no",
    "isbios": "no",
    "ismechanical": "no",
    "description": "Siemens 97801 Terminal (RS-232)",
    "device_ref": [
      {
        "tag": ":_tmp:term",
        "name": "s97801_device"
      },
      {
        "tag": ":_tmp:term:maincpu",
        "name": "i8031"
      },
      {
        "tag": ":_tmp:term:kbd",
        "name": "s97801_kbd"
      },
      {
        "tag": ":_tmp:term:kbd:mcu",
        "name": "i8035"
      },
      {
        "tag": ":_tmp:term:kbd:mono",
        "name": "speaker"
      },
      {
        "tag": ":_tmp:term:kbd:beep",
        "name": "beep"
      },
      {
        "tag": ":_tmp:term:screen",
        "name": "screen"
      },
      {
        "tag": ":_tmp:term:avdc",
        "name": "scn2672"
      },
      {
        "tag": ":_tmp:term:epci",
        "name": "scn2661b"
      }
    ],
    "chip": [
      {
        "type": "cpu",
        "tag": ":term:maincpu",
        "name": "Intel 8031",
        "clock": "11059200"
      },
      {
        "type": "cpu",
        "tag": ":term:kbd:mcu",
        "name": "Intel 8035",
        "clock": "5760000"
      },
      {
        "type": "audio",
        "tag": ":term:kbd:mono",
        "name": "Speaker"
      },
      {
        "type": "audio",
        "tag": ":term:kbd:beep",
        "name": "Beep",
        "clock": "1500"
      }
    ],
    "display": {
      "tag": ":term:screen",
      "type": "raster",
      "rotate": "0",
      "width": "640",
      "height": "400",
      "refresh": "57.334826",
      "pixclock": "22118400",
      "htotal": "912",
      "hbend": "0",
      "hbstart": "640",
      "vtotal": "423",
      "vbend": "0",
      "vbstart": "400",
      "flipx": "no"
    },
    "sound": {
      "channels": "1"
    },
    "input": {
      "players": "1",
      "service": "no",
      "tilt": "no",
      "control": {
        "type": "keyboard",
        "buttons": "130",
        "reverse": "no"
      }
    },
    "configuration": {
      "name": "Keylock switch",
      "tag": ":term:kbd:MOD",
      "mask": "96",
      "confsetting": [
        {
          "name": "Position 1 (status DC)",
          "value": "96",
          "default": "yes"
        },
        {
          "name": "Position 2 (status DD)",
          "value": "64",
          "default": "no"
        },
        {
          "name": "Position 3 (status DE)",
          "value": "32",
          "default": "no"
        },
        {
          "name": "Position 4 (status DF)",
          "value": "0",
          "default": "no"
        }
      ]
    }
  }
}