{
  "_notes": [
    "Automated map generated by parsing ROM.",
    "Mirrored working memory: 0x90 bytes at 0x400, 0x521, and 0x5B2."
  ],
  "_fileformat": 0.8,
  "_metadata": {
    "version": 3,
    "copyright": [
      "Copyright (C) 2026 by Tom Collins <tom@scorbit.io>"
    ],
    "license": "Open Data Commons Open Database License (ODbL) v1.0",
    "platform": "gottlieb-system3",
    "roms": [
      "smbmush"
    ]
  },
  "game_state": {
    "scores": [
      {
        "label": "Player 1",
        "encoding": "bcd",
        "length": 5,
        "start": "0x001"
      },
      {
        "label": "Player 2",
        "encoding": "bcd",
        "length": 5,
        "start": "0x006"
      },
      {
        "label": "Player 3",
        "encoding": "bcd",
        "length": 5,
        "start": "0x00B"
      },
      {
        "label": "Player 4",
        "encoding": "bcd",
        "length": 5,
        "start": "0x010"
      }
    ],
    "credits": {
      "_notes": "mirrored to 0x16, 0x05B1, and 0x0642 as well",
      "label": "Credits",
      "start": "0x0490",
      "encoding": "bcd"
    },
    "max_credits": {
      "label": "Max Credits",
      "start": "0x0750",
      "encoding": "bcd"
    },
    "current_ball": {
      "_notes": "set to 0 when game over",
      "label": "Ball",
      "start": "0x0015",
      "encoding": "bcd"
    },
    "ball_count": {
      "label": "Ball Count",
      "start": "0x0752",
      "encoding": "bcd"
    },
    "current_player": {
      "_notes": "0-3; bit 7 (0x80) sometimes set?",
      "label": "Current Player",
      "short_label": "P#",
      "start": "0x0200",
      "encoding": "int",
      "mask": "0x0F",
      "offset": 1
    },
    "player_count": {
      "_notes": "set to 0 when game over",
      "label": "Player Count",
      "short_label": "Players",
      "start": "0x0201",
      "encoding": "int"
    },
    "game_over": {
      "label": "Game Over",
      "start": "0x0201",
      "encoding": "bool",
      "invert": true
    }
  },
  "high_scores": [
    {
      "label": "First",
      "short_label": "#1",
      "initials": {
        "start": "0x070C",
        "encoding": "ch",
        "length": 3
      },
      "score": {
        "start": "0x0725",
        "encoding": "bcd",
        "length": 5
      }
    },
    {
      "label": "Second",
      "short_label": "#2",
      "initials": {
        "start": "0x0711",
        "encoding": "ch",
        "length": 3
      },
      "score": {
        "start": "0x072A",
        "encoding": "bcd",
        "length": 5
      }
    },
    {
      "label": "Third",
      "short_label": "#3",
      "initials": {
        "start": "0x0716",
        "encoding": "ch",
        "length": 3
      },
      "score": {
        "start": "0x072F",
        "encoding": "bcd",
        "length": 5
      }
    },
    {
      "label": "Fourth",
      "short_label": "#4",
      "initials": {
        "start": "0x071B",
        "encoding": "ch",
        "length": 3
      },
      "score": {
        "start": "0x0734",
        "encoding": "bcd",
        "length": 5
      }
    },
    {
      "label": "Fifth",
      "short_label": "#5",
      "initials": {
        "start": "0x0720",
        "encoding": "ch",
        "length": 3
      },
      "score": {
        "start": "0x0739",
        "encoding": "bcd",
        "length": 5
      }
    }
  ]
}
