{
  "_notes": [
    "Locally added -- upstream pinmame-nvram-maps has no map for CSI.",
    "Built from a 4-player game driven through the cabinet's own streamer.",
    "current_player and current_ball are adjacent in CPU RAM at 0x0003443C and 0x0003443D, player low",
    "and ball high, the shape every Stern SAM game measured uses.",
    "Scores are 4 bytes on 8-byte centres from 0x021109F0. The sweep also offered 0x00033784 on 4-byte",
    "centres in CPU RAM, reading 601,580 / 150,440 / 15,040 / 9,400 -- each roughly a quarter of the",
    "one before, which is a scaled or derived set rather than a scoreboard. Scores live in NVRAM on",
    "every SAM game measured, which is what settles it.",
    "player_count at 0x02110900, the one address every SAM game shares.",
    "Five high score records from 0x02102B98, bounded by where the 16-bit checksum stops validating.",
    "This game has no mode champions: the block ends at five and the machine's post-game DMD cycle",
    "shows no champion entries, unlike Avatar, Dark Knight and Big Buck Hunter.",
    "Only csi_240 is claimed; SAM addresses move between revisions.",
    "Confirmed after the table exited: the map decodes that game as 4 players scoring 945,250 /",
    "1,062,000 / 1,013,750 / 1,014,000."
  ],
  "_fileformat": 0.7,
  "_metadata": {
    "version": 2,
    "license": "Open Data Commons Open Database License (ODbL) v1.0",
    "copyright": [
      "Copyright (C) 2026 by Wes Smith <evilwraith@gmail.com>"
    ],
    "platform": "stern-sam",
    "roms": [
      "csi_240"
    ]
  },
  "game_state": {
    "player_count": {
      "label": "Player Count",
      "encoding": "int",
      "start": "0x02110900"
    },
    "current_player": {
      "label": "Player",
      "encoding": "int",
      "start": "0x0003443C"
    },
    "current_ball": {
      "label": "Ball",
      "encoding": "int",
      "start": "0x0003443D"
    },
    "scores": [
      {
        "label": "Player 1",
        "encoding": "int",
        "length": 4,
        "start": "0x021109F0"
      },
      {
        "label": "Player 2",
        "encoding": "int",
        "length": 4,
        "start": "0x021109F8"
      },
      {
        "label": "Player 3",
        "encoding": "int",
        "length": 4,
        "start": "0x02110A00"
      },
      {
        "label": "Player 4",
        "encoding": "int",
        "length": 4,
        "start": "0x02110A08"
      }
    ]
  },
  "high_scores": [
    {
      "label": "Grand Champion",
      "short_label": "GC",
      "initials": {
        "encoding": "ch",
        "null": "terminate",
        "length": 11,
        "start": "0x02102B98"
      },
      "score": {
        "encoding": "int",
        "length": 4,
        "start": "0x02102BB0"
      }
    },
    {
      "label": "High Score #1",
      "short_label": "HS1",
      "initials": {
        "encoding": "ch",
        "null": "terminate",
        "length": 11,
        "start": "0x02102BB8"
      },
      "score": {
        "encoding": "int",
        "length": 4,
        "start": "0x02102BD0"
      }
    },
    {
      "label": "High Score #2",
      "short_label": "HS2",
      "initials": {
        "encoding": "ch",
        "null": "terminate",
        "length": 11,
        "start": "0x02102BD8"
      },
      "score": {
        "encoding": "int",
        "length": 4,
        "start": "0x02102BF0"
      }
    },
    {
      "label": "High Score #3",
      "short_label": "HS3",
      "initials": {
        "encoding": "ch",
        "null": "terminate",
        "length": 11,
        "start": "0x02102BF8"
      },
      "score": {
        "encoding": "int",
        "length": 4,
        "start": "0x02102C10"
      }
    },
    {
      "label": "High Score #4",
      "short_label": "HS4",
      "initials": {
        "encoding": "ch",
        "null": "terminate",
        "length": 11,
        "start": "0x02102C18"
      },
      "score": {
        "encoding": "int",
        "length": 4,
        "start": "0x02102C30"
      }
    }
  ],
  "checksum16": [
    {
      "start": "0x02102B98",
      "length": 30,
      "label": "Grand Champion"
    },
    {
      "start": "0x02102BB8",
      "length": 30,
      "label": "High Score #1"
    },
    {
      "start": "0x02102BD8",
      "length": 30,
      "label": "High Score #2"
    },
    {
      "start": "0x02102BF8",
      "length": 30,
      "label": "High Score #3"
    },
    {
      "start": "0x02102C18",
      "length": 30,
      "label": "High Score #4"
    }
  ]
}
