{
  "machine": {
    "name": "marioja",
    "sourcefile": "nintendo/mario.cpp",
    "cloneof": "mario",
    "romof": "mario",
    "isbios": "no",
    "isdevice": "no",
    "ismechanical": "no",
    "runnable": "yes",
    "description": "Mario Bros. (Japan, older)",
    "year": "1983",
    "manufacturer": "Nintendo",
    "rom": [
      {
        "name": "tma1-c-7f.7f",
        "size": "8192",
        "crc": "797770a3",
        "sha1": "3b6cbac3338487d596c2f21f9fb9fb7080601fe0",
        "region": "maincpu",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "tma1-c-7e.7e",
        "size": "8192",
        "crc": "35ef2dc6",
        "sha1": "b8d28e0a2983ee5a71d12e1411bef3015cd4942f",
        "region": "maincpu",
        "offset": "2000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "tma1-c-7d.7d",
        "size": "8192",
        "crc": "6e25d1a8",
        "sha1": "4b1d80aa86545d450bb384231d9ea25c60532689",
        "region": "maincpu",
        "offset": "4000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "tma1-c-7c.7c",
        "size": "4096",
        "crc": "4b588f4b",
        "sha1": "26066b9987c536a0f54e51a459d02eef0be582fb",
        "region": "maincpu",
        "offset": "f000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "m58715-051p.5l",
        "size": "2048",
        "status": "nodump",
        "region": "audiocpu",
        "offset": "0",
        "optional": "no"
      },
      {
        "name": "tma1-c-6k.6k",
        "merge": "tma1-c-6k_e.6k",
        "size": "4096",
        "crc": "06b9ff85",
        "sha1": "111a29bcb9cda0d935675fa26eca6b099a88427f",
        "region": "soundrom",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "tma1-v-3f_c.3f",
        "size": "4096",
        "crc": "adf49ee0",
        "sha1": "11fc2cd197bfe3ecb6af55c3c7a326c94988d2bd",
        "region": "gfx1",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "tma1-v-3j_c.3j",
        "size": "4096",
        "crc": "a5318f2d",
        "sha1": "e42f5e51804195c64a56addb18b7ad12c57bb09a",
        "region": "gfx1",
        "offset": "1000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "tma1-v-7m_c.7m",
        "size": "4096",
        "crc": "eacc5bfa",
        "sha1": "ef5ceca3416c95314816e725fb32cc9fa1659d34",
        "region": "gfx2",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "tma1-v-7n_c.7n",
        "size": "4096",
        "crc": "e0e08bba",
        "sha1": "315eba2c10d426c9c0bb4e36987bf8ebed7df9a0",
        "region": "gfx2",
        "offset": "1000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "tma1-v-7p_c.7p",
        "size": "4096",
        "crc": "7b27c8c1",
        "sha1": "3fb2613ce19e353fbcc77b6817927794fb35810f",
        "region": "gfx2",
        "offset": "2000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "tma1-v-7s_c.7s",
        "size": "4096",
        "crc": "385f1076",
        "sha1": "5a6f55709d7b607318c61e2f403128143d5658ff",
        "region": "gfx2",
        "offset": "3000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "tma1-v-7t_c.7t",
        "size": "4096",
        "crc": "5cbb92a5",
        "sha1": "a78a378e6d3060143dc456e9c33a5068da648331",
        "region": "gfx2",
        "offset": "4000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "tma1-v-7u_c.7u",
        "size": "4096",
        "crc": "badb0191",
        "sha1": "7dcb31dcdfe0b68f4e74a8678e4a5cfd82d8f0fe",
        "region": "gfx2",
        "offset": "5000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "tma1-c-4p.4p",
        "size": "512",
        "crc": "8187d286",
        "sha1": "8a6d8e622599f1aacaeb10f7b1a39a23c8a840a0",
        "region": "proms",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "tma1-c-5b.5b",
        "merge": "tma1-c-5b.5b",
        "size": "32",
        "crc": "58d86098",
        "sha1": "d654995004b9052b12d3b682a2b39530e70030fc",
        "region": "decoder_prom",
        "offset": "0",
        "status": "good",
        "optional": "no"
      }
    ],
    "device_ref": [
      {
        "tag": ":maincpu",
        "name": "z80"
      },
      {
        "tag": ":z80dma",
        "name": "z80dma"
      },
      {
        "tag": ":mainlatch",
        "name": "ls259"
      },
      {
        "tag": ":nvram",
        "name": "nvram"
      },
      {
        "tag": ":screen",
        "name": "screen"
      },
      {
        "tag": ":gfxdecode",
        "name": "gfxdecode"
      },
      {
        "tag": ":palette",
        "name": "palette"
      },
      {
        "tag": ":audiocpu",
        "name": "m58715"
      },
      {
        "tag": ":mono",
        "name": "speaker"
      },
      {
        "tag": ":soundlatch0",
        "name": "generic_latch_8"
      },
      {
        "tag": ":soundlatch1",
        "name": "generic_latch_8"
      },
      {
        "tag": ":soundlatch2",
        "name": "generic_latch_8"
      },
      {
        "tag": ":soundlatch3",
        "name": "generic_latch_8"
      },
      {
        "tag": ":snd_nl",
        "name": "netlist_sound"
      },
      {
        "tag": ":snd_nl:snd0",
        "name": "nl_logic_in"
      },
      {
        "tag": ":snd_nl:snd1",
        "name": "nl_logic_in"
      },
      {
        "tag": ":snd_nl:snd7",
        "name": "nl_logic_in"
      },
      {
        "tag": ":snd_nl:dac",
        "name": "nl_int_out"
      },
      {
        "tag": ":snd_nl:cout0",
        "name": "nl_stream_out"
      }
    ],
    "chip": [
      {
        "type": "cpu",
        "tag": "maincpu",
        "name": "Zilog Z80",
        "clock": "4000000"
      },
      {
        "type": "cpu",
        "tag": "audiocpu",
        "name": "Mitsubishi M58715",
        "clock": "11000000"
      },
      {
        "type": "audio",
        "tag": "mono",
        "name": "Speaker"
      },
      {
        "type": "audio",
        "tag": "snd_nl",
        "name": "Netlist Sound Device"
      }
    ],
    "display": {
      "tag": "screen",
      "type": "raster",
      "rotate": "0",
      "width": "256",
      "height": "224",
      "refresh": "59.185606",
      "pixclock": "6000000",
      "htotal": "384",
      "hbend": "0",
      "hbstart": "256",
      "vtotal": "264",
      "vbend": "16",
      "vbstart": "240",
      "flipx": "no"
    },
    "sound": {
      "channels": "1"
    },
    "input": {
      "players": "2",
      "coins": "2",
      "service": "yes",
      "tilt": "no",
      "control": [
        {
          "type": "joy",
          "player": "1",
          "buttons": "1",
          "ways": "2",
          "reverse": "no"
        },
        {
          "type": "joy",
          "player": "2",
          "buttons": "1",
          "ways": "2",
          "reverse": "no"
        }
      ]
    },
    "dipswitch": [
      {
        "name": "Lives",
        "tag": "DSW",
        "mask": "3",
        "diplocation": [
          {
            "name": "SW1",
            "number": "1",
            "inverted": "yes"
          },
          {
            "name": "SW1",
            "number": "2",
            "inverted": "yes"
          }
        ],
        "dipvalue": [
          {
            "name": "3",
            "value": "0",
            "default": "yes"
          },
          {
            "name": "4",
            "value": "1",
            "default": "no"
          },
          {
            "name": "5",
            "value": "2",
            "default": "no"
          },
          {
            "name": "6",
            "value": "3",
            "default": "no"
          }
        ]
      },
      {
        "name": "Coinage",
        "tag": "DSW",
        "mask": "12",
        "diplocation": [
          {
            "name": "SW1",
            "number": "3",
            "inverted": "yes"
          },
          {
            "name": "SW1",
            "number": "4",
            "inverted": "yes"
          }
        ],
        "dipvalue": [
          {
            "name": "2 Coins/1 Credit",
            "value": "4",
            "default": "no"
          },
          {
            "name": "1 Coin/1 Credit",
            "value": "0",
            "default": "yes"
          },
          {
            "name": "1 Coin/2 Credits",
            "value": "8",
            "default": "no"
          },
          {
            "name": "1 Coin/3 Credits",
            "value": "12",
            "default": "no"
          }
        ]
      },
      {
        "name": "Bonus Life",
        "tag": "DSW",
        "mask": "48",
        "diplocation": [
          {
            "name": "SW1",
            "number": "5",
            "inverted": "yes"
          },
          {
            "name": "SW1",
            "number": "6",
            "inverted": "yes"
          }
        ],
        "dipvalue": [
          {
            "name": "20k 40k 20k+",
            "value": "0",
            "default": "yes"
          },
          {
            "name": "30k 50k 20k+",
            "value": "16",
            "default": "no"
          },
          {
            "name": "40k 60k 20k+",
            "value": "32",
            "default": "no"
          },
          {
            "name": "None",
            "value": "48",
            "default": "no"
          }
        ]
      },
      {
        "name": "Difficulty",
        "tag": "DSW",
        "mask": "192",
        "diplocation": [
          {
            "name": "SW1",
            "number": "7",
            "inverted": "yes"
          },
          {
            "name": "SW1",
            "number": "8",
            "inverted": "yes"
          }
        ],
        "dipvalue": [
          {
            "name": "Easy",
            "value": "0",
            "default": "yes"
          },
          {
            "name": "Medium",
            "value": "128",
            "default": "no"
          },
          {
            "name": "Hard",
            "value": "64",
            "default": "no"
          },
          {
            "name": "Hardest",
            "value": "192",
            "default": "no"
          }
        ]
      }
    ],
    "configuration": {
      "name": "Monitor",
      "tag": "MONITOR",
      "mask": "1",
      "confsetting": [
        {
          "name": "Nintendo",
          "value": "0",
          "default": "yes"
        },
        {
          "name": "Std 15.72Khz",
          "value": "1",
          "default": "no"
        }
      ]
    },
    "port": [
      {
        "tag": ":DSW"
      },
      {
        "tag": ":IN0"
      },
      {
        "tag": ":IN1"
      },
      {
        "tag": ":MONITOR"
      }
    ],
    "driver": {
      "status": "good",
      "emulation": "good",
      "savestate": "supported",
      "requiresartwork": "no",
      "unofficial": "no",
      "nosoundhardware": "no",
      "incomplete": "no"
    }
  }
}