{
 "schema": 1,
 "platform": "c64",
 "game": "galactic-games",
 "part": "menu",
 "build": "",
 "source": "regenerator2000 live",
 "regions": {
  "exclude": [
   [
    256,
    511,
    "stack"
   ],
   [
    53248,
    57343,
    "I/O and colour RAM"
   ],
   [
    1024,
    2047,
    "screen RAM"
   ],
   [
    0,
    2303,
    "The resident loader and championship"
   ],
   [
    11008,
    65535,
    "The resident loader and championship"
   ]
  ],
  "extra": [
   [
    10240,
    12287,
    "character set"
   ]
  ],
  "edges": [
   0,
   256,
   512,
   1024,
   2048,
   4096,
   16384,
   32768,
   40960,
   49152,
   53248,
   57344
  ],
  "elsewhere": [
   [
    0,
    2303,
    "The resident loader and championship"
   ],
   [
    11008,
    65535,
    "The resident loader and championship"
   ]
  ]
 },
 "blocks": [
  {
   "start": 2304,
   "end": 2318,
   "type": "Byte"
  },
  {
   "start": 2319,
   "end": 2325,
   "type": "PETSCII Text"
  },
  {
   "start": 2326,
   "end": 2508,
   "type": "Code"
  },
  {
   "start": 2509,
   "end": 2729,
   "type": "PETSCII Text"
  },
  {
   "start": 2730,
   "end": 3711,
   "type": "Byte"
  },
  {
   "start": 3712,
   "end": 4069,
   "type": "Code"
  },
  {
   "start": 4070,
   "end": 4075,
   "type": "PETSCII Text"
  },
  {
   "start": 4076,
   "end": 4181,
   "type": "Code"
  },
  {
   "start": 4182,
   "end": 4195,
   "type": "Byte"
  },
  {
   "start": 4196,
   "end": 4373,
   "type": "Code"
  },
  {
   "start": 4374,
   "end": 4383,
   "type": "Byte"
  },
  {
   "start": 4384,
   "end": 4563,
   "type": "Code"
  },
  {
   "start": 4564,
   "end": 4677,
   "type": "Byte"
  },
  {
   "start": 4678,
   "end": 5056,
   "type": "Code"
  },
  {
   "start": 5057,
   "end": 5058,
   "type": "Byte"
  },
  {
   "start": 5059,
   "end": 5071,
   "type": "Code"
  },
  {
   "start": 5072,
   "end": 5072,
   "type": "Byte"
  },
  {
   "start": 5073,
   "end": 5114,
   "type": "Address"
  },
  {
   "start": 5115,
   "end": 9092,
   "type": "PETSCII Text"
  },
  {
   "start": 9093,
   "end": 9334,
   "type": "Code"
  },
  {
   "start": 9335,
   "end": 9444,
   "type": "Byte"
  },
  {
   "start": 9445,
   "end": 9549,
   "type": "Code"
  },
  {
   "start": 9550,
   "end": 9551,
   "type": "Byte"
  },
  {
   "start": 9552,
   "end": 9571,
   "type": "Code"
  },
  {
   "start": 9572,
   "end": 11007,
   "type": "Byte"
  }
 ],
 "symbols": [
  {
   "address": 2304,
   "name": "event_entries",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 2305,
   "name": "f_0901",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 2313,
   "name": "f_0909",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 2314,
   "name": "event_sides",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 2319,
   "name": "event_name",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 2325,
   "name": "a_0915",
   "type": "AbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 2326,
   "name": "load_event",
   "type": "Jump",
   "kind": "user"
  },
  {
   "address": 2365,
   "name": "j_093D",
   "type": "Jump",
   "kind": "auto"
  },
  {
   "address": 2367,
   "name": "b_093F",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 2380,
   "name": "b_094C",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 2416,
   "name": "event_jump",
   "type": "Jump",
   "kind": "user"
  },
  {
   "address": 2417,
   "name": "event_jump_lo",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 2418,
   "name": "event_jump_hi",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 2419,
   "name": "disk_error",
   "type": "Branch",
   "kind": "user"
  },
  {
   "address": 2421,
   "name": "b_0975",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 2434,
   "name": "b_0982",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 2450,
   "name": "b_0992",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 2458,
   "name": "j_099A",
   "type": "Jump",
   "kind": "auto"
  },
  {
   "address": 2460,
   "name": "b_099C",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 2472,
   "name": "b_09A8",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 2474,
   "name": "b_09AA",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 2487,
   "name": "b_09B7",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 2494,
   "name": "b_09BE",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 2509,
   "name": "disk_texts",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 2629,
   "name": "any_key_text",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 2667,
   "name": "loading_text",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 2730,
   "name": "loader_leftover",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 2816,
   "name": "ball_sprites",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 2880,
   "name": "ball_01",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 2944,
   "name": "ball_02",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 3008,
   "name": "ball_03",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 3042,
   "name": "a_0BE2",
   "type": "AbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 3072,
   "name": "ball_04",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 3136,
   "name": "ball_05",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 3200,
   "name": "ball_06",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 3264,
   "name": "ball_07",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 3328,
   "name": "ball_08",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 3392,
   "name": "ball_09",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 3456,
   "name": "ball_10",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 3520,
   "name": "ball_11",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 3584,
   "name": "ball_12",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 3648,
   "name": "ball_13",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 3712,
   "name": "menu_first",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 3728,
   "name": "menu_return",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 3864,
   "name": "after_comment",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 3887,
   "name": "b_0F2F",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 3894,
   "name": "b_0F36",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 3905,
   "name": "save_records",
   "type": "Branch",
   "kind": "user"
  },
  {
   "address": 3913,
   "name": "j_0F49",
   "type": "Jump",
   "kind": "auto"
  },
  {
   "address": 3935,
   "name": "b_0F5F",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 3937,
   "name": "b_0F61",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 3950,
   "name": "b_0F6E",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4036,
   "name": "b_0FC4",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4061,
   "name": "b_0FDD",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4070,
   "name": "scratch_name",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 4076,
   "name": "records_saved",
   "type": "Branch",
   "kind": "user"
  },
  {
   "address": 4084,
   "name": "menu_choice",
   "type": "Jump",
   "kind": "user"
  },
  {
   "address": 4106,
   "name": "start_event",
   "type": "Jump",
   "kind": "user"
  },
  {
   "address": 4143,
   "name": "b_102F",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4145,
   "name": "j_1031",
   "type": "Jump",
   "kind": "auto"
  },
  {
   "address": 4155,
   "name": "b_103B",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4165,
   "name": "b_1045",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4182,
   "name": "cursor_column",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 4183,
   "name": "cursor_row",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 4196,
   "name": "hook_irq",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 4226,
   "name": "unhook_irq",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 4256,
   "name": "wait_frame",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 4261,
   "name": "b_10A5",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4267,
   "name": "place_ball",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 4269,
   "name": "b_10AD",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4306,
   "name": "b_10D2",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4308,
   "name": "j_10D4",
   "type": "Jump",
   "kind": "auto"
  },
  {
   "address": 4322,
   "name": "b_10E2",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4337,
   "name": "b_10F1",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4355,
   "name": "b_1103",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4374,
   "name": "ball_pointers",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 4376,
   "name": "ball_spin_ptr",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 4379,
   "name": "ball_colours",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 4384,
   "name": "ball_irq",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 4399,
   "name": "j_112F",
   "type": "Jump",
   "kind": "auto"
  },
  {
   "address": 4409,
   "name": "b_1139",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4422,
   "name": "b_1146",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4452,
   "name": "b_1164",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4484,
   "name": "b_1184",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4506,
   "name": "b_119A",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4522,
   "name": "b_11AA",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4538,
   "name": "j_11BA",
   "type": "Jump",
   "kind": "auto"
  },
  {
   "address": 4548,
   "name": "b_11C4",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4555,
   "name": "b_11CB",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4564,
   "name": "irq_counts",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 4565,
   "name": "a_11D5",
   "type": "AbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 4566,
   "name": "a_11D6",
   "type": "AbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 4567,
   "name": "ball_flash",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 4573,
   "name": "last_cursor",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 4574,
   "name": "a_11DE",
   "type": "AbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 4575,
   "name": "spin_place",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 4576,
   "name": "spin_list",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 4673,
   "name": "row_work",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 4674,
   "name": "a_1242",
   "type": "AbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 4675,
   "name": "old_irq",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 4676,
   "name": "a_1244",
   "type": "AbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 4677,
   "name": "spin_count",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 4678,
   "name": "say",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 4711,
   "name": "j_1267",
   "type": "Jump",
   "kind": "auto"
  },
  {
   "address": 4738,
   "name": "b_1282",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4756,
   "name": "b_1294",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4768,
   "name": "b_12A0",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4780,
   "name": "b_12AC",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4797,
   "name": "j_12BD",
   "type": "Jump",
   "kind": "auto"
  },
  {
   "address": 4802,
   "name": "b_12C2",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4805,
   "name": "j_12C5",
   "type": "Jump",
   "kind": "auto"
  },
  {
   "address": 4810,
   "name": "j_12CA",
   "type": "Jump",
   "kind": "auto"
  },
  {
   "address": 4816,
   "name": "b_12D0",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4821,
   "name": "b_12D5",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4827,
   "name": "say_skip",
   "type": "Branch",
   "kind": "user"
  },
  {
   "address": 4862,
   "name": "new_line",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 4875,
   "name": "b_130B",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4891,
   "name": "b_131B",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4906,
   "name": "b_132A",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4907,
   "name": "j_132B",
   "type": "Jump",
   "kind": "auto"
  },
  {
   "address": 4915,
   "name": "clear_text",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 4933,
   "name": "b_1345",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4945,
   "name": "b_1351",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4958,
   "name": "b_135E",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4968,
   "name": "b_1368",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4984,
   "name": "scroll_text",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 5000,
   "name": "b_1388",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 5028,
   "name": "b_13A4",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 5057,
   "name": "spare_13c1",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 5058,
   "name": "last_row",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 5059,
   "name": "pause",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 5065,
   "name": "b_13C9",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 5072,
   "name": "pause_flag",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 5073,
   "name": "message_table",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 5074,
   "name": "f_13D2",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 5115,
   "name": "a_13FB",
   "type": "AbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 5121,
   "name": "msg_01",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 5796,
   "name": "msg_02",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 5913,
   "name": "msg_03",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 6015,
   "name": "msg_04",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 6127,
   "name": "msg_05",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 6294,
   "name": "msg_06",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 6423,
   "name": "msg_07",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 6587,
   "name": "msg_08",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 6593,
   "name": "msg_09",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 6595,
   "name": "msg_10",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 7244,
   "name": "msg_11",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 7600,
   "name": "msg_12",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 8017,
   "name": "msg_13",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 8224,
   "name": "msg_13b",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 8318,
   "name": "msg_14",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 8674,
   "name": "msg_14b",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 8873,
   "name": "msg_15",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 8915,
   "name": "msg_16",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 8950,
   "name": "msg_17",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 8987,
   "name": "msg_18",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 9022,
   "name": "msg_19",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 9057,
   "name": "msg_20",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 9093,
   "name": "menu",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 9118,
   "name": "menu_wait",
   "type": "Jump",
   "kind": "user"
  },
  {
   "address": 9122,
   "name": "j_23A2",
   "type": "Jump",
   "kind": "auto"
  },
  {
   "address": 9126,
   "name": "b_23A6",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 9141,
   "name": "b_23B5",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 9145,
   "name": "b_23B9",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 9152,
   "name": "colour_end",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 9154,
   "name": "colour_start",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 9176,
   "name": "b_23D8",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 9188,
   "name": "b_23E4",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 9191,
   "name": "menu_move",
   "type": "Jump",
   "kind": "user"
  },
  {
   "address": 9196,
   "name": "b_23EC",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 9203,
   "name": "b_23F3",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 9239,
   "name": "b_2417",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 9250,
   "name": "menu_input",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 9279,
   "name": "b_243F",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 9297,
   "name": "b_2451",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 9307,
   "name": "b_245B",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 9313,
   "name": "b_2461",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 9324,
   "name": "b_246C",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 9330,
   "name": "b_2472",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 9335,
   "name": "menu_colours",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 9431,
   "name": "menu_rows",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 9432,
   "name": "f_24D8",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 9445,
   "name": "read_device",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 9459,
   "name": "b_24F3",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 9465,
   "name": "b_24F9",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 9547,
   "name": "j_254B",
   "type": "Jump",
   "kind": "auto"
  },
  {
   "address": 9550,
   "name": "key_bits",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 9552,
   "name": "roms_out",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 9561,
   "name": "roms_in",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 9572,
   "name": "judo_leftover",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 10240,
   "name": "menu_charset",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 10304,
   "name": "chars_08",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 10368,
   "name": "chars_10",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 10432,
   "name": "chars_18",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 10496,
   "name": "chars_20",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 10560,
   "name": "chars_28",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 10624,
   "name": "chars_30",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 10688,
   "name": "chars_38",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 10816,
   "name": "chars_48",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 10880,
   "name": "chars_50",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 10944,
   "name": "chars_58",
   "type": "UserDefined",
   "kind": "user"
  }
 ],
 "comments": [
  {
   "address": 2304,
   "type": "line",
   "text": "The five events' entry addresses, which load_event jumps to once the event's file is in: 100m Slither $0B00, Space Hockey $0B01, Psychic Judo $1C14, Head Throwing $1000, Metamorph Marathon $1F9F."
  },
  {
   "address": 2305,
   "type": "line",
   "text": "Its high bytes interleaved: Slither's."
  },
  {
   "address": 2313,
   "type": "line",
   "text": "event_sides is read from here, as $0909 + the event's number (1 to 5)."
  },
  {
   "address": 2314,
   "type": "line",
   "text": "The disk side each event's file is on, read as $0909 + the event's number: 0 for the first side (Slither, Hockey), 1 for the second (Judo, Head Throwing, Marathon)."
  },
  {
   "address": 2319,
   "type": "line",
   "text": "The file name \"0:PROG0\", its digit set to the event's number less 1."
  },
  {
   "address": 2325,
   "type": "line",
   "text": "The name's digit."
  },
  {
   "address": 2326,
   "type": "line",
   "text": "Loads event $04 and runs it: unhooks the menu's interrupt ($1082), takes the entry address from $0900 into the JMP at $0970, puts the digit into the name, switches to the ROM character set, prints \"EVENT LOADING / PLEASE WAIT\", and loads the file from drive 8 through the resident loader at $0800."
  },
  {
   "address": 2409,
   "type": "line",
   "text": "After the load: status $40 (the end of the file reached) runs the event through the JMP; anything else prints the disk message and waits for a key."
  },
  {
   "address": 2416,
   "type": "line",
   "text": "The JMP to the event's entry, its operand set by load_event."
  },
  {
   "address": 2417,
   "type": "line",
   "text": "The JMP's operand, low byte."
  },
  {
   "address": 2418,
   "type": "line",
   "text": "The JMP's operand, high byte."
  },
  {
   "address": 2419,
   "type": "line",
   "text": "Prints \"PLEASE ENSURE THAT THE GALACTIC GAMES DISK\" and the side it should be ($09FB label side up, $0A1F label side down, by $08FF), then \"PRESS ANY KEY TO CONTINUE\"; waits for a key to be let go and pressed, clears the screen and loads again."
  },
  {
   "address": 2509,
   "type": "line",
   "text": "The disk message's three parts, each ended by $FF: the first line, \"IS LABEL SIDE UP IN THE DRIVE.\" ($09FB) and \"IS LABEL SIDE DOWN IN THE DRIVE.\" ($0A1F)."
  },
  {
   "address": 2555,
   "type": "line",
   "text": "\"DISK IS LABEL SIDE UP IN THE DRIVE.\", ended by $FF."
  },
  {
   "address": 2591,
   "type": "line",
   "text": "\"DISK IS LABEL SIDE DOWN IN THE DRIVE.\", ended by $FF."
  },
  {
   "address": 2629,
   "type": "line",
   "text": "\"PRESS ANY KEY TO CONTINUE\", ended by $FF."
  },
  {
   "address": 2667,
   "type": "line",
   "text": "The loading screen: clear screen, light blue, \"EVENT LOADING\" and \"PLEASE WAIT\", ended by $FF."
  },
  {
   "address": 2730,
   "type": "line",
   "text": "Left over and called by nothing: the end of a serial-bus routine and two banking routines from a build of the loader, up to $0AEF."
  },
  {
   "address": 2800,
   "type": "line",
   "text": "Left over: sixteen bytes after it."
  },
  {
   "address": 2816,
   "type": "line",
   "text": "The commentator's ball: fourteen sprite shapes, $2C to $39, 64 bytes each."
  },
  {
   "address": 2880,
   "type": "line",
   "text": "Ball shape $2D."
  },
  {
   "address": 2944,
   "type": "line",
   "text": "Ball shape $2E."
  },
  {
   "address": 3008,
   "type": "line",
   "text": "Ball shape $2F."
  },
  {
   "address": 3042,
   "type": "line",
   "text": "Part of ball shape $2F."
  },
  {
   "address": 3072,
   "type": "line",
   "text": "Ball shape $30."
  },
  {
   "address": 3136,
   "type": "line",
   "text": "Ball shape $31."
  },
  {
   "address": 3200,
   "type": "line",
   "text": "Ball shape $32."
  },
  {
   "address": 3264,
   "type": "line",
   "text": "Ball shape $33."
  },
  {
   "address": 3328,
   "type": "line",
   "text": "Ball shape $34."
  },
  {
   "address": 3392,
   "type": "line",
   "text": "Ball shape $35."
  },
  {
   "address": 3456,
   "type": "line",
   "text": "Ball shape $36."
  },
  {
   "address": 3520,
   "type": "line",
   "text": "Ball shape $37."
  },
  {
   "address": 3584,
   "type": "line",
   "text": "Ball shape $38."
  },
  {
   "address": 3648,
   "type": "line",
   "text": "Ball shape $39."
  },
  {
   "address": 3712,
   "type": "line",
   "text": "The first entry, after the intro: banks the ROMs out ($2550), clears the championship flag ($B800), the last event ($FF), the disk side ($08FF) and the records-changed flag ($08FE), then goes on as menu_return."
  },
  {
   "address": 3728,
   "type": "line",
   "text": "The entry from an event's quit: sets up three voices that sound only while the volume is up, which is how the typing clicks, the colours and the character set at $2800 ($D018 = $1A), prints message 0, hooks the interrupt ($1064), and has the commentator say the line for the event just played (message $FF + 1: 1 the welcome after the intro, 2 to 6 after each event). FIRE skips to $0F18."
  },
  {
   "address": 3864,
   "type": "line",
   "text": "In the championship ($B800 set), the next event loads by itself, or after the marathon the championship ends; otherwise the records are saved if they changed ($0F41) and the menu runs ($0FF4)."
  },
  {
   "address": 3905,
   "type": "line",
   "text": "Saves the records: asks for the first side when the second is in (messages 15, 16 and 20, waiting for FIRE), shows \"SAVING RECORDS TO DISK\", deletes the file RECO (\"S:RECO\" on the command channel), and saves $BC64-$BC95 as RECO; on a disk error says \"ERROR WHILE SAVING RECORDS\" and tries again."
  },
  {
   "address": 4070,
   "type": "line",
   "text": "\"S:RECO\", the command that deletes the records file; its last four bytes ($0FE8) are the file name RECO."
  },
  {
   "address": 4076,
   "type": "line",
   "text": "Saved: the ball hooked again and the disk marked as the first side ($08FF = 0)."
  },
  {
   "address": 4084,
   "type": "line",
   "text": "Runs the menu ($2385); choice 6 is the championship, which starts with event 1 and $B800 set; any other loads that event."
  },
  {
   "address": 4106,
   "type": "line",
   "text": "Starts event $04: FIRE skips to load_event; if the event's file is on the other side, asks for that side (message 15, then 16 or 17); then waits three seconds, has the commentator describe the event (message $04 + 9) and loads it."
  },
  {
   "address": 4182,
   "type": "line",
   "text": "The text cursor's column, which the ball follows."
  },
  {
   "address": 4183,
   "type": "line",
   "text": "The text cursor's row, which the ball follows."
  },
  {
   "address": 4184,
   "type": "line",
   "text": "Twelve bytes nothing reads."
  },
  {
   "address": 4196,
   "type": "line",
   "text": "Points the KERNAL's interrupt vector at the ball's handler ($1120) and turns on sprites 0 to 4, sprite 4 multicolour and twice the size."
  },
  {
   "address": 4226,
   "type": "line",
   "text": "Gives the interrupt vector back ($1243) and turns the sprites off."
  },
  {
   "address": 4256,
   "type": "line",
   "text": "Waits for the raster to pass line 256: the bottom of the screen."
  },
  {
   "address": 4267,
   "type": "line",
   "text": "Puts the ball's five sprites at the text cursor: pointers from $1116 and colours from $111B; X from the cursor's column, Y from its row, and $14 higher while the click sounds, so the ball hops at each letter."
  },
  {
   "address": 4374,
   "type": "line",
   "text": "The ball's five sprite pointers; the third ($1118) is the spinning frame."
  },
  {
   "address": 4376,
   "type": "line",
   "text": "The third sprite's pointer: the spinning shape."
  },
  {
   "address": 4379,
   "type": "line",
   "text": "The ball's five sprite colours."
  },
  {
   "address": 4384,
   "type": "line",
   "text": "The ball's interrupt, every frame before the KERNAL's own: steps the ball's spin through the list at $11E0; every three frames clicks (volume up) when the cursor has moved a column or a row, and moves the ball to it ($10AB); every two frames steps sprite multicolour 2 through the list at $11D7."
  },
  {
   "address": 4564,
   "type": "line",
   "text": "The click's frame count ($11D4, 3), the colour's frame count ($11D5, 2) and place in its list ($11D6)."
  },
  {
   "address": 4565,
   "type": "line",
   "text": "The colour's frame count."
  },
  {
   "address": 4566,
   "type": "line",
   "text": "The place in the colour list."
  },
  {
   "address": 4567,
   "type": "line",
   "text": "The colours the ball flashes through, ended by $FF."
  },
  {
   "address": 4572,
   "type": "line",
   "text": "A byte nothing reads."
  },
  {
   "address": 4573,
   "type": "line",
   "text": "The cursor's column ($11DD) and row ($11DE) at the last click."
  },
  {
   "address": 4574,
   "type": "line",
   "text": "The row at the last click."
  },
  {
   "address": 4575,
   "type": "line",
   "text": "The place in the spin list."
  },
  {
   "address": 4576,
   "type": "line",
   "text": "The ball's spin: pairs of a sprite shape and the frames it shows, ended by $FF."
  },
  {
   "address": 4673,
   "type": "line",
   "text": "ball_irq's work: the cursor's line address less $0400, counted down by 40 to its row."
  },
  {
   "address": 4674,
   "type": "line",
   "text": "Its high byte."
  },
  {
   "address": 4675,
   "type": "line",
   "text": "The KERNAL's interrupt vector, saved by menu_return."
  },
  {
   "address": 4676,
   "type": "line",
   "text": "The saved vector's high byte."
  },
  {
   "address": 4677,
   "type": "line",
   "text": "The frames left of the spin's current shape."
  },
  {
   "address": 4678,
   "type": "line",
   "text": "The commentator says message A: banks the ROMs in, then types the message a character at a time through CHROUT, with a pause after each ($13C3): two frames for a letter, three for a space, twenty for \"$\"; $0C clears the text ($1333) and $0D starts a new line ($12FE). FIRE on any device can skip the rest ($12DB)."
  },
  {
   "address": 4827,
   "type": "line",
   "text": "FIRE while the commentator speaks: ignored while $07 is set (from the end of the comment after an event); otherwise silences the click, prints message 0, and jumps through ($08), throwing away the stack."
  },
  {
   "address": 4862,
   "type": "line",
   "text": "A new line: slides the ball back to column 2, then moves the cursor down a row, scrolling the text up ($1378) when it is on the last row ($13C2)."
  },
  {
   "address": 4915,
   "type": "line",
   "text": "Clears the text: rows 1 to 18 blanked and the ball slid back to column 2, row 2."
  },
  {
   "address": 4984,
   "type": "line",
   "text": "Scrolls rows 2 to 18 of the screen and of colour RAM up one row."
  },
  {
   "address": 5057,
   "type": "line",
   "text": "A byte between scroll_text and last_row, read by nothing."
  },
  {
   "address": 5058,
   "type": "line",
   "text": "The commentator's last row, 18."
  },
  {
   "address": 5059,
   "type": "line",
   "text": "Waits X frames, one fewer when bit 7 of $13D0 is set."
  },
  {
   "address": 5072,
   "type": "line",
   "text": "pause's flag: counted down when the menu runs and up when an event starts."
  },
  {
   "address": 5073,
   "type": "line",
   "text": "The addresses of the commentator's 21 messages, numbered from 0."
  },
  {
   "address": 5074,
   "type": "line",
   "text": "The message addresses' high bytes, interleaved."
  },
  {
   "address": 5115,
   "type": "line",
   "text": "Message 0, nothing: clear screen and light blue, used to blank the text, ended by $FF."
  },
  {
   "address": 5121,
   "type": "line",
   "text": "Message 1, the welcome: \"WELCOME GALACTI-SPORT FANS TO THE MEGA EVENT OF THE CENTURY......\", ended by $FF."
  },
  {
   "address": 5796,
   "type": "line",
   "text": "Message 2, after 100m Slither: \"OKAY, THAT WAS THE 100M SLITHER OR 'SLITH' AS WE PROFESSIONALS CALL...\", ended by $FF."
  },
  {
   "address": 5913,
   "type": "line",
   "text": "Message 3, after Space Hockey: \"HEY! THAT PUCK IS NICE CHAP REALLY! YOU DIDN'T HAVE TO BASH THE...\", ended by $FF."
  },
  {
   "address": 6015,
   "type": "line",
   "text": "Message 4, after Psychic Judo: \"QUITE A PSYCHIC EXPERIENCE, HUH? WELL, WHEN YOU'VE RECOVERED HOW...\", ended by $FF."
  },
  {
   "address": 6127,
   "type": "line",
   "text": "Message 5, after Head Throwing: \"WELL, YOU OBVIOUSLY DIDN'T LOSE YOUR HEAD OVER THAT ONE! NOW TRY...\", ended by $FF."
  },
  {
   "address": 6294,
   "type": "line",
   "text": "Message 6, after Metamorph Marathon: \"THAT REALLY WAS A GOOD EFFORT. BUT IT'S VERY DIFFICULT TO CRACK THE...\", ended by $FF."
  },
  {
   "address": 6423,
   "type": "line",
   "text": "Message 7, the menu: \"SPACE HOCKEY PSYCHIC JUDO HEAD THROWING METAMORPH MARATHON GALACTIC...\", ended by $FF."
  },
  {
   "address": 6587,
   "type": "line",
   "text": "Message 8, empty, ended by $FF."
  },
  {
   "address": 6593,
   "type": "line",
   "text": "Message 9, empty, ended by $FF."
  },
  {
   "address": 6595,
   "type": "line",
   "text": "Message 10, 100m Slither described: \"HOLD TIGHT AS WE DESCEND INTO THE MAIN STADIUM FOR THE 100M SLITHER....\", ended by $FF."
  },
  {
   "address": 7244,
   "type": "line",
   "text": "Message 11, Space Hockey described: \"NOT AN OPTICAL ILLUSION! HERE IS YOUR CHANCE TO BE AN EYE WITNESS TO...\", ended by $FF."
  },
  {
   "address": 7600,
   "type": "line",
   "text": "Message 12, Psychic Judo described: \"MIND GAMES FOR THOSE WITH A STRONG STOMACH! KNOWN AS THE BELCHING...\", ended by $FF."
  },
  {
   "address": 8017,
   "type": "line",
   "text": "Message 13, Head Throwing described: \"THOSE HUNKY HURLING HRUNTANS FROM THE PLANET JAVELOS ARE STICKING...\", ended by $FF."
  },
  {
   "address": 8224,
   "type": "line",
   "text": "Message 13 goes on."
  },
  {
   "address": 8318,
   "type": "line",
   "text": "Message 14, Metamorph Marathon described: \"IS IT A RIGHT-BREASTED, LESSER SPOTTED GORABIRD FROM CLUTOCUS? IS IT...\", ended by $FF."
  },
  {
   "address": 8674,
   "type": "line",
   "text": "Part of message 14, the marathon described."
  },
  {
   "address": 8873,
   "type": "line",
   "text": "Message 15, the disk prompt: \"PLEASE ENSURE THAT THE GALACTIC GAMES\", ended by $FF."
  },
  {
   "address": 8915,
   "type": "line",
   "text": "Message 16, label side up: \"DISK IS LABEL SIDE UP IN THE DRIVE\", ended by $FF."
  },
  {
   "address": 8950,
   "type": "line",
   "text": "Message 17, label side down: \"DISK IS LABEL SIDE DOWN IN THE DRIVE\", ended by $FF."
  },
  {
   "address": 8987,
   "type": "line",
   "text": "Message 18, the save error: \"ERROR WHILE SAVING RECORDS\", ended by $FF."
  },
  {
   "address": 9022,
   "type": "line",
   "text": "Message 19, saving records: \"SAVING RECORDS TO DISK\", ended by $FF."
  },
  {
   "address": 9057,
   "type": "line",
   "text": "Message 20, press fire: \"PRESS FIRE TO CONTINUE\", ended by $FF."
  },
  {
   "address": 9093,
   "type": "line",
   "text": "The menu: prints it (message 7), unhooks the ball, lights choice 1, and waits: UP and DOWN move the choice (1 to 6, wrapping), its line cycling through the colours at $2477; FIRE takes it. Returns the choice in A, the ball hooked again."
  },
  {
   "address": 9118,
   "type": "line",
   "text": "Cycles the chosen line's colours a step, every few frames, and reads the controls ($2422) between steps."
  },
  {
   "address": 9152,
   "type": "line",
   "text": "The STY operand: the end of the line's colours, $1D, then moved on."
  },
  {
   "address": 9154,
   "type": "line",
   "text": "The LDX operand: the colour list's start, moved on a step each time."
  },
  {
   "address": 9191,
   "type": "line",
   "text": "A new choice: the old line back to light blue, waits until the stick is let go on all three devices, and points $02/$03 at the new line's colour RAM ($24D7)."
  },
  {
   "address": 9250,
   "type": "line",
   "text": "Reads the three devices ($24E5): FIRE returns carry set with A = the current choice (1 to 6); UP or DOWN moves the choice and returns carry set with A = 0; nothing, or only LEFT or RIGHT, returns carry clear."
  },
  {
   "address": 9262,
   "type": "line",
   "text": "Joystick two."
  },
  {
   "address": 9335,
   "type": "line",
   "text": "The colours the chosen line cycles through: 1 to 10, 13 and 14, repeated."
  },
  {
   "address": 9431,
   "type": "line",
   "text": "The colour RAM addresses of the menu's lines, by choice."
  },
  {
   "address": 9432,
   "type": "line",
   "text": "The colour rows' high bytes, interleaved."
  },
  {
   "address": 9445,
   "type": "line",
   "text": "Reads device A as a joystick, a 1 bit for each held: 0 the keyboard (@ up, : down, H left, K right, the up-arrow key fire), 1 joystick one, 2 joystick two."
  },
  {
   "address": 9550,
   "type": "line",
   "text": "read_device's work byte."
  },
  {
   "address": 9551,
   "type": "line",
   "text": "A byte nothing reads."
  },
  {
   "address": 9552,
   "type": "line",
   "text": "Banks the BASIC and KERNAL ROMs out (and the I/O), keeping A."
  },
  {
   "address": 9561,
   "type": "line",
   "text": "Banks the KERNAL in with the I/O, BASIC out, keeping A."
  },
  {
   "address": 9572,
   "type": "line",
   "text": "Left over and called by nothing: code from an earlier build of Psychic Judo (its interrupt and more), up to $27FF."
  },
  {
   "address": 9728,
   "type": "line",
   "text": "More of the leftover Judo code."
  },
  {
   "address": 9984,
   "type": "line",
   "text": "The end of the leftover Judo code."
  },
  {
   "address": 10240,
   "type": "line",
   "text": "The menu's character set, characters $00 to $5F: the letters, digits and signs the commentator types; \"[\" is drawn as a 1, and the font has no digits, so \"100M\" is typed \"[OOM\"."
  },
  {
   "address": 10304,
   "type": "line",
   "text": "Menu characters $08 to $0F."
  },
  {
   "address": 10368,
   "type": "line",
   "text": "Menu characters $10 to $17."
  },
  {
   "address": 10432,
   "type": "line",
   "text": "Menu characters $18 to $1F."
  },
  {
   "address": 10496,
   "type": "line",
   "text": "Menu characters $20 to $27."
  },
  {
   "address": 10560,
   "type": "line",
   "text": "Menu characters $28 to $2F."
  },
  {
   "address": 10624,
   "type": "line",
   "text": "Menu characters $30 to $37."
  },
  {
   "address": 10688,
   "type": "line",
   "text": "Menu characters $38 to $3F."
  },
  {
   "address": 10752,
   "type": "line",
   "text": "Characters $40 to $5F, which no message types."
  },
  {
   "address": 10816,
   "type": "line",
   "text": "Menu characters $48 to $4F."
  },
  {
   "address": 10880,
   "type": "line",
   "text": "Menu characters $50 to $57."
  },
  {
   "address": 10944,
   "type": "line",
   "text": "Menu characters $58 to $5F."
  }
 ]
}
