{
  "machine": {
    "name": "polepos2",
    "sourcefile": "namco/polepos.cpp",
    "isbios": "no",
    "isdevice": "no",
    "ismechanical": "no",
    "runnable": "yes",
    "description": "Pole Position II (Japan)",
    "year": "1983",
    "manufacturer": "Namco",
    "rom": [
      {
        "name": "pp4_9.6h",
        "size": "8192",
        "crc": "bcf87004",
        "sha1": "0c60cbb777fe72dfd11c6f3e9da806a515cd0f8a",
        "region": "maincpu",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp4_10.5h",
        "size": "4096",
        "crc": "a9d4c380",
        "sha1": "6048a8e858824936901e8e3e6b65d7505ccd82b4",
        "region": "maincpu",
        "offset": "2000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp4_1.8m",
        "size": "8192",
        "crc": "3f6ac294",
        "sha1": "414ea7e43e62a573ad8971a7045f61eb997cf94e",
        "region": "sub1",
        "offset": "1",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp4_2.8l",
        "size": "8192",
        "crc": "51b9a669",
        "sha1": "563ba42098d330801a992cd9c008c4cbbb993530",
        "region": "sub1",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp4_5.4m",
        "size": "8192",
        "crc": "c3053cae",
        "sha1": "f42cf61fe696dd7e282b29e2234ea7f487ec2372",
        "region": "sub2",
        "offset": "1",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp4_6.4l",
        "size": "8192",
        "crc": "38d04e0f",
        "sha1": "5527cb1864248208b10d219a50ad742f286a119f",
        "region": "sub2",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp4_7.3m",
        "size": "4096",
        "crc": "ad1c8994",
        "sha1": "2877de9641516767170c0109900955cc7d1ff402",
        "region": "sub2",
        "offset": "4001",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp4_8.3l",
        "size": "4096",
        "crc": "ef25a2ee",
        "sha1": "45959355cad1a48f19ae14193374e03d4f9965c7",
        "region": "sub2",
        "offset": "4000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp4_28.1f",
        "size": "8192",
        "crc": "280dde7d",
        "sha1": "b7c7fb3a5076aa4d0e0cf3256ece9a6194315626",
        "region": "chars",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp4_29.1e",
        "size": "8192",
        "crc": "ec3ec6e6",
        "sha1": "ae905d0ae802d1010b2c1f1a13e88a1f0dbe57da",
        "region": "tiles",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp4_25.1n",
        "size": "8192",
        "crc": "fd098e65",
        "sha1": "2c497f1d278ba6730752706a0d1b5a5a0fec3d5b",
        "region": "sprites",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp4_26.1m",
        "size": "8192",
        "crc": "35ac62b3",
        "sha1": "21038a78eb73d520e3e1ae8e1c0047d06b94cdab",
        "region": "sprites",
        "offset": "2000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp1_17.5n",
        "size": "8192",
        "crc": "2e134b46",
        "sha1": "0938f5f9f5cc6d7c1096c569449db78dbc42da01",
        "region": "bigsprites",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp1_19.4n",
        "size": "8192",
        "crc": "43ff83e1",
        "sha1": "8f830549a629b019125e59801e5027e4e4b3c0f2",
        "region": "bigsprites",
        "offset": "2000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp1_21.3n",
        "size": "8192",
        "crc": "5f958eb4",
        "sha1": "b56d84e5e5e0ddeb0e71851ba66e5fa1b1409551",
        "region": "bigsprites",
        "offset": "4000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp4_23.2n",
        "size": "8192",
        "crc": "9e056fcd",
        "sha1": "8545e0a9b6ebf8c2903321ceb9c4d693db10d750",
        "region": "bigsprites",
        "offset": "6000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp1_18.5m",
        "size": "8192",
        "crc": "6f9997d2",
        "sha1": "b26d505266ccf23bfd867f881756c3251c80f57b",
        "region": "bigsprites",
        "offset": "8000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp1_20.4m",
        "size": "8192",
        "crc": "ec18075b",
        "sha1": "af7be549c5fa47551a8dca4c0a531552147fa50f",
        "region": "bigsprites",
        "offset": "a000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp1_22.3m",
        "size": "8192",
        "crc": "1d2f30b1",
        "sha1": "1d88a3069e9b15febd2835dd63e5511b3b2a6b45",
        "region": "bigsprites",
        "offset": "c000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp4_24.2m",
        "size": "8192",
        "crc": "795268cf",
        "sha1": "84136142ef4bdcd97ede2209ecb16745960ac393",
        "region": "bigsprites",
        "offset": "e000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp1_30.3a",
        "size": "8192",
        "crc": "ee6b3315",
        "sha1": "9cc26c6d3604c0f60d716f86e67e9d9c0487f87d",
        "region": "road",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp1_31.2a",
        "size": "8192",
        "crc": "6d1e7042",
        "sha1": "90113ff0c93ed86d95067290088705bb5e6608d1",
        "region": "road",
        "offset": "2000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp1_32.1a",
        "size": "4096",
        "crc": "4e97f101",
        "sha1": "f377d053821c74aee93ebcd30a4d43e6156f3cfe",
        "region": "road",
        "offset": "4000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp1_27.1l",
        "size": "4096",
        "crc": "a61bff15",
        "sha1": "f7a59970831cdaaa7bf59c2221a38e4746c54244",
        "region": "scalelut",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp4-7.8l",
        "size": "256",
        "crc": "16d69c31",
        "sha1": "f24b345448e4f4ef4e2f3b057b81d399cf427f88",
        "region": "proms",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp4-8.9l",
        "size": "256",
        "crc": "07340311",
        "sha1": "3820d1fa99013ed18de5d9400ad376cc446d1217",
        "region": "proms",
        "offset": "100",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp4-9.10l",
        "size": "256",
        "crc": "1efc84d7",
        "sha1": "6946e1c209eec0a4b75778ae88111e6cb63c63fb",
        "region": "proms",
        "offset": "200",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp4-10.2h",
        "size": "256",
        "crc": "064d51a0",
        "sha1": "d5baa29930530a8930b44a374e285de849c2a6ce",
        "region": "proms",
        "offset": "300",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp4-11.4d",
        "size": "256",
        "crc": "7880c5af",
        "sha1": "e4388e354420be3f99594a10c091e3d2f745cc04",
        "region": "proms",
        "offset": "400",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp1-15.9a",
        "size": "256",
        "crc": "2d502464",
        "sha1": "682b7dd22e51d5db52c0804b7e27e47641dfa6bd",
        "region": "proms",
        "offset": "500",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp1-16.10a",
        "size": "256",
        "crc": "027aa62c",
        "sha1": "c7030d8b64b80e107c446f6fbdd63f560c0a91c0",
        "region": "proms",
        "offset": "600",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp1-17.11a",
        "size": "256",
        "crc": "1f8d0df3",
        "sha1": "b8f17758f114f5e247b65b3f2922ca2660757e66",
        "region": "proms",
        "offset": "700",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp4-12.3c",
        "size": "1024",
        "crc": "8b270902",
        "sha1": "27b3ebc92d3a2a5c0432bde018a0e43669041d50",
        "region": "proms",
        "offset": "800",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp4-6.6m",
        "size": "1024",
        "crc": "647212b5",
        "sha1": "ad58dfebd0ce8226285c2671c3b7797852c26d07",
        "region": "proms",
        "offset": "c00",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp1-13.8e",
        "size": "32",
        "crc": "4330a51b",
        "sha1": "9531d18ce2de4eda9913d47ef8c5cd8f05791716",
        "region": "proms",
        "offset": "1000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp1-14.9e",
        "size": "32",
        "crc": "4330a51b",
        "sha1": "9531d18ce2de4eda9913d47ef8c5cd8f05791716",
        "region": "proms",
        "offset": "1020",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp1-5.3b",
        "size": "256",
        "crc": "8568decc",
        "sha1": "0aac1fa082858d4d201e21511c609a989f9a1535",
        "region": "namco",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp4_15.6a",
        "size": "8192",
        "crc": "7d93bc1c",
        "sha1": "dad7c0aa24aef593c84e21f7f8858ca7ada86364",
        "region": "engine",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp4_16.5a",
        "size": "8192",
        "crc": "7d93bc1c",
        "sha1": "dad7c0aa24aef593c84e21f7f8858ca7ada86364",
        "region": "engine",
        "offset": "2000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp1_11.2e",
        "size": "8192",
        "crc": "45b9bfeb",
        "sha1": "ff8c690471944d414931fb88666594ef608997f8",
        "region": "52xx",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp1_13.1e",
        "size": "8192",
        "crc": "a4237466",
        "sha1": "88a397276038cc2fc05f2c18472e6b7cef167f2e",
        "region": "52xx",
        "offset": "2000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp1_12.2f",
        "size": "8192",
        "crc": "a31b4be5",
        "sha1": "38298093bb97ea8647fe187359cae05b65e1c616",
        "region": "52xx",
        "offset": "4000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp1_14.1f",
        "size": "8192",
        "crc": "944580f9",
        "sha1": "c76f529cae718674ce97a1a599a3c6eaf6bf561a",
        "region": "52xx",
        "offset": "6000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "pp1-4.9h",
        "size": "256",
        "crc": "2401c817",
        "sha1": "8991b7994513a469e64392fa8f233af5e5f06d54",
        "region": "user1",
        "offset": "0",
        "status": "good",
        "optional": "no"
      }
    ],
    "device_ref": [
      {
        "tag": ":maincpu",
        "name": "z80"
      },
      {
        "tag": ":sub1",
        "name": "z8002"
      },
      {
        "tag": ":sub2",
        "name": "z8002"
      },
      {
        "tag": ":51xx",
        "name": "namco51"
      },
      {
        "tag": ":51xx:mcu",
        "name": "mb8843"
      },
      {
        "tag": ":52xx",
        "name": "namco52"
      },
      {
        "tag": ":52xx:mcu",
        "name": "mb8843"
      },
      {
        "tag": ":53xx",
        "name": "namco53"
      },
      {
        "tag": ":53xx:mcu",
        "name": "mb8843"
      },
      {
        "tag": ":54xx",
        "name": "namco54"
      },
      {
        "tag": ":54xx:mcu",
        "name": "mb8844"
      },
      {
        "tag": ":06xx",
        "name": "namco06"
      },
      {
        "tag": ":watchdog",
        "name": "watchdog"
      },
      {
        "tag": ":nvram",
        "name": "nvram"
      },
      {
        "tag": ":scantimer",
        "name": "timer"
      },
      {
        "tag": ":latch",
        "name": "ls259"
      },
      {
        "tag": ":adc",
        "name": "adc0804"
      },
      {
        "tag": ":screen",
        "name": "screen"
      },
      {
        "tag": ":gfxdecode",
        "name": "gfxdecode"
      },
      {
        "tag": ":palette",
        "name": "palette"
      },
      {
        "tag": ":speaker",
        "name": "speaker"
      },
      {
        "tag": ":rspeaker",
        "name": "speaker"
      },
      {
        "tag": ":namco",
        "name": "polepos_wsg"
      },
      {
        "tag": ":discrete",
        "name": "discrete"
      },
      {
        "tag": ":engine",
        "name": "polepos_sound"
      }
    ],
    "chip": [
      {
        "type": "cpu",
        "tag": "maincpu",
        "name": "Zilog Z80",
        "clock": "3072000"
      },
      {
        "type": "cpu",
        "tag": "sub1",
        "name": "Zilog Z8002",
        "clock": "3072000"
      },
      {
        "type": "cpu",
        "tag": "sub2",
        "name": "Zilog Z8002",
        "clock": "3072000"
      },
      {
        "type": "cpu",
        "tag": "51xx:mcu",
        "name": "Fujitsu MB8843",
        "clock": "1536000"
      },
      {
        "type": "cpu",
        "tag": "52xx:mcu",
        "name": "Fujitsu MB8843",
        "clock": "1536000"
      },
      {
        "type": "cpu",
        "tag": "53xx:mcu",
        "name": "Fujitsu MB8843",
        "clock": "1536000"
      },
      {
        "type": "cpu",
        "tag": "54xx:mcu",
        "name": "Fujitsu MB8844",
        "clock": "1536000"
      },
      {
        "type": "audio",
        "tag": "speaker",
        "name": "Speaker"
      },
      {
        "type": "audio",
        "tag": "rspeaker",
        "name": "Speaker"
      },
      {
        "type": "audio",
        "tag": "namco",
        "name": "Namco Pole Position WSG",
        "clock": "48000"
      },
      {
        "type": "audio",
        "tag": "discrete",
        "name": "Discrete Sound"
      },
      {
        "type": "audio",
        "tag": "engine",
        "name": "Pole Position Custom Sound",
        "clock": "3072000"
      }
    ],
    "display": {
      "tag": "screen",
      "type": "raster",
      "rotate": "0",
      "width": "256",
      "height": "224",
      "refresh": "60.606061",
      "pixclock": "6144000",
      "htotal": "384",
      "hbend": "0",
      "hbstart": "256",
      "vtotal": "264",
      "vbend": "16",
      "vbstart": "240",
      "flipx": "no"
    },
    "sound": {
      "channels": "2"
    },
    "input": {
      "players": "1",
      "coins": "2",
      "service": "no",
      "tilt": "no",
      "control": [
        {
          "type": "dial",
          "buttons": "1",
          "minimum": "0",
          "maximum": "255",
          "sensitivity": "30",
          "keydelta": "4",
          "reverse": "no"
        },
        {
          "type": "pedal",
          "minimum": "0",
          "maximum": "144",
          "sensitivity": "100",
          "keydelta": "16",
          "reverse": "no"
        }
      ]
    },
    "dipswitch": [
      {
        "name": "Freeze",
        "tag": "DSWA",
        "mask": "1",
        "diplocation": {
          "name": "SW1",
          "number": "8",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "1",
            "default": "yes"
          },
          {
            "name": "On",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Demo Sounds",
        "tag": "DSWA",
        "mask": "2",
        "diplocation": {
          "name": "SW1",
          "number": "7",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "0",
            "default": "no"
          },
          {
            "name": "On",
            "value": "2",
            "default": "yes"
          }
        ]
      },
      {
        "name": "Speed Unit",
        "tag": "DSWA",
        "mask": "4",
        "diplocation": {
          "name": "SW1",
          "number": "6",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "mph",
            "value": "0",
            "default": "no"
          },
          {
            "name": "km/h",
            "value": "4",
            "default": "yes"
          }
        ]
      },
      {
        "name": "Coin B",
        "tag": "DSWA",
        "mask": "24",
        "diplocation": [
          {
            "name": "SW1",
            "number": "4",
            "inverted": "no"
          },
          {
            "name": "SW1",
            "number": "5",
            "inverted": "no"
          }
        ],
        "dipvalue": [
          {
            "name": "2 Coins/1 Credit",
            "value": "8",
            "default": "no"
          },
          {
            "name": "3 Coins/2 Credits",
            "value": "16",
            "default": "no"
          },
          {
            "name": "4 Coins/3 Credits",
            "value": "0",
            "default": "no"
          },
          {
            "name": "1 Coin/1 Credit",
            "value": "24",
            "default": "yes"
          }
        ]
      },
      {
        "name": "Coin A",
        "tag": "DSWA",
        "mask": "224",
        "diplocation": [
          {
            "name": "SW1",
            "number": "1",
            "inverted": "no"
          },
          {
            "name": "SW1",
            "number": "2",
            "inverted": "no"
          },
          {
            "name": "SW1",
            "number": "3",
            "inverted": "no"
          }
        ],
        "dipvalue": [
          {
            "name": "3 Coins/1 Credit",
            "value": "192",
            "default": "no"
          },
          {
            "name": "2 Coins/1 Credit",
            "value": "32",
            "default": "no"
          },
          {
            "name": "3 Coins/2 Credits",
            "value": "64",
            "default": "no"
          },
          {
            "name": "4 Coins/3 Credits",
            "value": "128",
            "default": "no"
          },
          {
            "name": "1 Coin/1 Credit",
            "value": "224",
            "default": "yes"
          },
          {
            "name": "1 Coin/2 Credits",
            "value": "96",
            "default": "no"
          },
          {
            "name": "1 Coin/3 Credits",
            "value": "160",
            "default": "no"
          },
          {
            "name": "Free Play",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Speed",
        "tag": "DSWB",
        "mask": "1",
        "diplocation": {
          "name": "SW2",
          "number": "8",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Average",
            "value": "1",
            "default": "yes"
          },
          {
            "name": "High",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Goal",
        "tag": "DSWB",
        "mask": "6",
        "diplocation": [
          {
            "name": "SW2",
            "number": "6",
            "inverted": "no"
          },
          {
            "name": "SW2",
            "number": "7",
            "inverted": "no"
          }
        ],
        "dipvalue": [
          {
            "name": "3",
            "value": "2",
            "default": "no"
          },
          {
            "name": "4",
            "value": "6",
            "default": "yes"
          },
          {
            "name": "5",
            "value": "4",
            "default": "no"
          },
          {
            "name": "6",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Extended Rank",
        "tag": "DSWB",
        "mask": "24",
        "diplocation": [
          {
            "name": "SW2",
            "number": "4",
            "inverted": "no"
          },
          {
            "name": "SW2",
            "number": "5",
            "inverted": "no"
          }
        ],
        "dipvalue": [
          {
            "name": "A",
            "value": "8",
            "default": "no"
          },
          {
            "name": "B",
            "value": "24",
            "default": "yes"
          },
          {
            "name": "C",
            "value": "16",
            "default": "no"
          },
          {
            "name": "D",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Practice Rank",
        "tag": "DSWB",
        "mask": "96",
        "diplocation": [
          {
            "name": "SW2",
            "number": "2",
            "inverted": "no"
          },
          {
            "name": "SW2",
            "number": "3",
            "inverted": "no"
          }
        ],
        "dipvalue": [
          {
            "name": "A",
            "value": "32",
            "default": "no"
          },
          {
            "name": "B",
            "value": "96",
            "default": "yes"
          },
          {
            "name": "C",
            "value": "64",
            "default": "no"
          },
          {
            "name": "D",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Game Time",
        "tag": "DSWB",
        "mask": "128",
        "diplocation": {
          "name": "SW2",
          "number": "1",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "90 secs.",
            "value": "128",
            "default": "yes"
          },
          {
            "name": "120 secs.",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Service Mode",
        "tag": "IN0",
        "mask": "128",
        "dipvalue": [
          {
            "name": "Off",
            "value": "128",
            "default": "yes"
          },
          {
            "name": "On",
            "value": "0",
            "default": "no"
          }
        ]
      }
    ],
    "port": [
      {
        "tag": ":ACCEL",
        "analog": {
          "mask": "255"
        }
      },
      {
        "tag": ":BRAKE",
        "analog": {
          "mask": "255"
        }
      },
      {
        "tag": ":DSWA"
      },
      {
        "tag": ":DSWB"
      },
      {
        "tag": ":IN0"
      },
      {
        "tag": ":STEER",
        "analog": {
          "mask": "255"
        }
      }
    ],
    "driver": {
      "status": "imperfect",
      "emulation": "good",
      "savestate": "supported",
      "requiresartwork": "no",
      "unofficial": "no",
      "nosoundhardware": "no",
      "incomplete": "no"
    },
    "feature": {
      "type": "sound",
      "overall": "imperfect"
    }
  }
}