{
 "schema": 1,
 "platform": "c64",
 "game": "summer-games",
 "part": "resident",
 "build": "The PAL G64 of Epyx's disk (directory \"SUMMER GAMES\"): the boot file SUMMER GAMES and SGLOAD, the engine B unpacked to $0C00-$3EFF, the opening ceremony A, six event files D, E, F, H, I and K each unpacked over $4000 upward (swimming over $1000-$BEFF), the world records WR and DEFAULT, and an unused file L; a second PAL image and an NTSC image were supplied too",
 "source": "regenerator2000 live",
 "regions": {
  "exclude": [
   [
    256,
    511,
    "stack"
   ],
   [
    53248,
    57343,
    "I/O and colour RAM"
   ],
   [
    1024,
    2047,
    "screen RAM"
   ],
   [
    64816,
    64847,
    "the KERNAL's table of default vectors, which the KERNAL's own vector copy leaves in the RAM beneath its ROM: not the game's"
   ],
   [
    1024,
    2023,
    "screen RAM: the engine's text screen, cleared and drawn at run time; at the hand-over it still shows the loader's screen"
   ],
   [
    51968,
    52726,
    "graphics the boot loader (SGLOAD, at $C000) left in memory after drawing the title screen; the boot loader is not the engine and no part covers it"
   ],
   [
    16384,
    51967,
    "6 parts: Skeet shooting, Opening ceremony, 4\u00d7400 m relay and 100 m dash and others"
   ]
  ],
  "extra": [
   [
    8192,
    10239,
    "character set"
   ]
  ],
  "edges": [
   0,
   256,
   512,
   1024,
   2048,
   4096,
   16384,
   32768,
   40960,
   49152,
   53248,
   57344
  ],
  "elsewhere": [
   [
    16384,
    51967,
    "6 parts: Skeet shooting, Opening ceremony, 4\u00d7400 m relay and 100 m dash and others"
   ]
  ]
 },
 "blocks": [
  {
   "start": 0,
   "end": 2047,
   "type": "Undefined"
  },
  {
   "start": 2048,
   "end": 2303,
   "type": "Byte"
  },
  {
   "start": 2304,
   "end": 2693,
   "type": "Code"
  },
  {
   "start": 2694,
   "end": 3071,
   "type": "Byte"
  },
  {
   "start": 3072,
   "end": 3118,
   "type": "Code"
  },
  {
   "start": 3119,
   "end": 3149,
   "type": "Byte"
  },
  {
   "start": 3150,
   "end": 3152,
   "type": "Code"
  },
  {
   "start": 3153,
   "end": 3178,
   "type": "Byte"
  },
  {
   "start": 3179,
   "end": 3181,
   "type": "Code"
  },
  {
   "start": 3182,
   "end": 3205,
   "type": "Byte"
  },
  {
   "start": 3206,
   "end": 3216,
   "type": "Code"
  },
  {
   "start": 3217,
   "end": 3244,
   "type": "Byte"
  },
  {
   "start": 3245,
   "end": 3247,
   "type": "Code"
  },
  {
   "start": 3248,
   "end": 3270,
   "type": "Byte"
  },
  {
   "start": 3271,
   "end": 3273,
   "type": "Code"
  },
  {
   "start": 3274,
   "end": 3297,
   "type": "Byte"
  },
  {
   "start": 3298,
   "end": 3317,
   "type": "Code"
  },
  {
   "start": 3318,
   "end": 3329,
   "type": "Byte"
  },
  {
   "start": 3330,
   "end": 3419,
   "type": "Code"
  },
  {
   "start": 3420,
   "end": 3445,
   "type": "Byte"
  },
  {
   "start": 3446,
   "end": 3545,
   "type": "Code"
  },
  {
   "start": 3546,
   "end": 3564,
   "type": "Byte"
  },
  {
   "start": 3565,
   "end": 3625,
   "type": "Code"
  },
  {
   "start": 3626,
   "end": 3641,
   "type": "Byte"
  },
  {
   "start": 3642,
   "end": 3692,
   "type": "Code"
  },
  {
   "start": 3693,
   "end": 3709,
   "type": "Byte"
  },
  {
   "start": 3710,
   "end": 3823,
   "type": "Code"
  },
  {
   "start": 3824,
   "end": 3837,
   "type": "Byte"
  },
  {
   "start": 3838,
   "end": 4138,
   "type": "Code"
  },
  {
   "start": 4139,
   "end": 4146,
   "type": "Byte"
  },
  {
   "start": 4147,
   "end": 4191,
   "type": "Code"
  },
  {
   "start": 4192,
   "end": 4227,
   "type": "Byte"
  },
  {
   "start": 4228,
   "end": 4429,
   "type": "Code"
  },
  {
   "start": 4430,
   "end": 4435,
   "type": "Byte"
  },
  {
   "start": 4436,
   "end": 4441,
   "type": "Code"
  },
  {
   "start": 4442,
   "end": 4465,
   "type": "Byte"
  },
  {
   "start": 4466,
   "end": 4530,
   "type": "Code"
  },
  {
   "start": 4531,
   "end": 4546,
   "type": "Byte"
  },
  {
   "start": 4547,
   "end": 4588,
   "type": "Code"
  },
  {
   "start": 4589,
   "end": 4607,
   "type": "Byte"
  },
  {
   "start": 4608,
   "end": 4610,
   "type": "Code"
  },
  {
   "start": 4611,
   "end": 4620,
   "type": "Byte"
  },
  {
   "start": 4621,
   "end": 4623,
   "type": "Code"
  },
  {
   "start": 4624,
   "end": 4632,
   "type": "Byte"
  },
  {
   "start": 4633,
   "end": 4726,
   "type": "Code"
  },
  {
   "start": 4727,
   "end": 4876,
   "type": "Byte"
  },
  {
   "start": 4877,
   "end": 4891,
   "type": "Code"
  },
  {
   "start": 4892,
   "end": 4918,
   "type": "Byte"
  },
  {
   "start": 4919,
   "end": 5193,
   "type": "Code"
  },
  {
   "start": 5194,
   "end": 5217,
   "type": "Byte"
  },
  {
   "start": 5218,
   "end": 5226,
   "type": "Code"
  },
  {
   "start": 5227,
   "end": 5240,
   "type": "Byte"
  },
  {
   "start": 5241,
   "end": 5252,
   "type": "Code"
  },
  {
   "start": 5253,
   "end": 5266,
   "type": "Byte"
  },
  {
   "start": 5267,
   "end": 5362,
   "type": "Code"
  },
  {
   "start": 5363,
   "end": 5474,
   "type": "Byte"
  },
  {
   "start": 5475,
   "end": 5571,
   "type": "Code"
  },
  {
   "start": 5572,
   "end": 5589,
   "type": "Byte"
  },
  {
   "start": 5590,
   "end": 5710,
   "type": "Code"
  },
  {
   "start": 5711,
   "end": 5718,
   "type": "Byte"
  },
  {
   "start": 5719,
   "end": 5928,
   "type": "Code"
  },
  {
   "start": 5929,
   "end": 5960,
   "type": "Byte"
  },
  {
   "start": 5961,
   "end": 6000,
   "type": "Code"
  },
  {
   "start": 6001,
   "end": 7681,
   "type": "Byte"
  },
  {
   "start": 7682,
   "end": 7767,
   "type": "Code"
  },
  {
   "start": 7768,
   "end": 7791,
   "type": "Byte"
  },
  {
   "start": 7792,
   "end": 7930,
   "type": "Code"
  },
  {
   "start": 7931,
   "end": 12927,
   "type": "Byte"
  },
  {
   "start": 12928,
   "end": 13013,
   "type": "Code"
  },
  {
   "start": 13014,
   "end": 13036,
   "type": "Byte"
  },
  {
   "start": 13037,
   "end": 13105,
   "type": "Code"
  },
  {
   "start": 13106,
   "end": 13129,
   "type": "Byte"
  },
  {
   "start": 13130,
   "end": 13274,
   "type": "Code"
  },
  {
   "start": 13275,
   "end": 13354,
   "type": "Byte"
  },
  {
   "start": 13355,
   "end": 13646,
   "type": "Code"
  },
  {
   "start": 13647,
   "end": 13758,
   "type": "Byte"
  },
  {
   "start": 13759,
   "end": 13867,
   "type": "Code"
  },
  {
   "start": 13868,
   "end": 13899,
   "type": "Byte"
  },
  {
   "start": 13900,
   "end": 14261,
   "type": "Code"
  },
  {
   "start": 14262,
   "end": 14269,
   "type": "Byte"
  },
  {
   "start": 14270,
   "end": 14426,
   "type": "Code"
  },
  {
   "start": 14427,
   "end": 15081,
   "type": "Byte"
  },
  {
   "start": 15082,
   "end": 15207,
   "type": "Code"
  },
  {
   "start": 15208,
   "end": 16383,
   "type": "Byte"
  },
  {
   "start": 51968,
   "end": 65535,
   "type": "Undefined"
  }
 ],
 "symbols": [
  {
   "address": 0,
   "name": "zpa_00",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 1,
   "name": "zpa_01",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 16,
   "name": "zpa_10",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 17,
   "name": "zpa_11",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 18,
   "name": "zpa_12",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 19,
   "name": "zpa_13",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 20,
   "name": "zpa_14",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 21,
   "name": "zpa_15",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 22,
   "name": "zpa_16",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 24,
   "name": "zpa_18",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 25,
   "name": "zpa_19",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 26,
   "name": "zpa_1A",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 27,
   "name": "zpa_1B",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 28,
   "name": "zpa_1C",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 29,
   "name": "zpa_1D",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 30,
   "name": "zpa_1E",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 31,
   "name": "zpa_1F",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 32,
   "name": "zpa_20",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 33,
   "name": "zpa_21",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 34,
   "name": "zpa_22",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 35,
   "name": "zpa_23",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 36,
   "name": "zpa_24",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 37,
   "name": "zpa_25",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 38,
   "name": "zpa_26",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 39,
   "name": "zpa_27",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 40,
   "name": "zpa_28",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 43,
   "name": "zpa_2B",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 44,
   "name": "zpa_2C",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 45,
   "name": "zpa_2D",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 46,
   "name": "zpa_2E",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 47,
   "name": "zpa_2F",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 48,
   "name": "zpa_30",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 49,
   "name": "zpa_31",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 50,
   "name": "zpa_32",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 52,
   "name": "zpa_34",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 53,
   "name": "zpa_35",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 54,
   "name": "zpa_36",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 55,
   "name": "zpa_37",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 56,
   "name": "zpa_38",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 57,
   "name": "zpa_39",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 58,
   "name": "zpa_3A",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 59,
   "name": "zpa_3B",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 60,
   "name": "zpa_3C",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 61,
   "name": "zpa_3D",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 62,
   "name": "zpa_3E",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 64,
   "name": "zpa_40",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 65,
   "name": "zpa_41",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 66,
   "name": "zpa_42",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 67,
   "name": "zpa_43",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 68,
   "name": "zpa_44",
   "type": "ZeroPageAbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 788,
   "name": "f_0314",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 789,
   "name": "a_0315",
   "type": "AbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 1024,
   "name": "f_0400",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 1026,
   "name": "a_0402",
   "type": "AbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 1030,
   "name": "f_0406",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 1047,
   "name": "f_0417",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 1064,
   "name": "f_0428",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 1104,
   "name": "f_0450",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 1107,
   "name": "f_0453",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 1144,
   "name": "f_0478",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 1184,
   "name": "f_04A0",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 1224,
   "name": "f_04C8",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 1264,
   "name": "f_04F0",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 1280,
   "name": "f_0500",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 1304,
   "name": "f_0518",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 1344,
   "name": "f_0540",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 1384,
   "name": "f_0568",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 1424,
   "name": "f_0590",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 1464,
   "name": "f_05B8",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 1504,
   "name": "f_05E0",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 1536,
   "name": "f_0600",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 1544,
   "name": "f_0608",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 1584,
   "name": "f_0630",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 1624,
   "name": "f_0658",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 1664,
   "name": "f_0680",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 1704,
   "name": "f_06A8",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 1744,
   "name": "f_06D0",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 1768,
   "name": "f_06E8",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 1784,
   "name": "f_06F8",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 1824,
   "name": "f_0720",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 1864,
   "name": "f_0748",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 1904,
   "name": "f_0770",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 1944,
   "name": "f_0798",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 1984,
   "name": "f_07C0",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 2040,
   "name": "a_07F8",
   "type": "AbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 2048,
   "name": "players",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 2059,
   "name": "f_080B",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 2060,
   "name": "f_080C",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 2061,
   "name": "f_080D",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 2062,
   "name": "f_080E",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 2063,
   "name": "f_080F",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 2064,
   "name": "f_0810",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 2069,
   "name": "f_0815",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 2070,
   "name": "f_0816",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 2071,
   "name": "f_0817",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 2072,
   "name": "f_0818",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 2073,
   "name": "f_0819",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 2074,
   "name": "f_081A",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 2075,
   "name": "f_081B",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 2076,
   "name": "a_081C",
   "type": "AbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 2077,
   "name": "practice_flag",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 2078,
   "name": "num_players",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 2079,
   "name": "event_num",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 2080,
   "name": "f_0820",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 2102,
   "name": "f_0836",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 2103,
   "name": "f_0837",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 2104,
   "name": "f_0838",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 2109,
   "name": "reload_engine",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 2110,
   "name": "menu_choice",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 2111,
   "name": "event_choice",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 2112,
   "name": "f_0840",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 2141,
   "name": "resume_lo",
   "type": "Pointer",
   "kind": "user"
  },
  {
   "address": 2142,
   "name": "resume_hi",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 2143,
   "name": "loading",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 2144,
   "name": "f_0860",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 2173,
   "name": "joysticks",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 2174,
   "name": "module_letter",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 2176,
   "name": "f_0880",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 2208,
   "name": "f_08A0",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 2240,
   "name": "f_08C0",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 2272,
   "name": "f_08E0",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 2301,
   "name": "rnd_lo",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 2302,
   "name": "rnd_mid",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 2303,
   "name": "rnd_count",
   "type": "AbsoluteAddress",
   "kind": "user"
  },
  {
   "address": 2304,
   "name": "boot_restart",
   "type": "Jump",
   "kind": "user"
  },
  {
   "address": 2307,
   "name": "run_module",
   "type": "Jump",
   "kind": "user"
  },
  {
   "address": 2310,
   "name": "nmi_restore",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 2343,
   "name": "b_0927",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 2356,
   "name": "load_module",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 2371,
   "name": "b_0943",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 2413,
   "name": "b_096D",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 2418,
   "name": "b_0972",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 2450,
   "name": "b_0992",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 2463,
   "name": "b_099F",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 2471,
   "name": "b_09A7",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 2485,
   "name": "b_09B5",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 2488,
   "name": "b_09B8",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 2506,
   "name": "unpack_put",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 2514,
   "name": "r_09D2",
   "type": "Return",
   "kind": "auto"
  },
  {
   "address": 2515,
   "name": "unpack_get",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 2523,
   "name": "r_09DB",
   "type": "Return",
   "kind": "auto"
  },
  {
   "address": 2524,
   "name": "restart_game",
   "type": "Jump",
   "kind": "user"
  },
  {
   "address": 2537,
   "name": "enter_module",
   "type": "Jump",
   "kind": "user"
  },
  {
   "address": 2550,
   "name": "b_09F6",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 2553,
   "name": "b_09F9",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 2563,
   "name": "b_0A03",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 2576,
   "name": "init_machine",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 2580,
   "name": "b_0A14",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 2587,
   "name": "b_0A1B",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 2608,
   "name": "b_0A30",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 2676,
   "name": "b_0A74",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 2694,
   "name": "sid_voice_init",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 2701,
   "name": "mod_src_lo",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 2713,
   "name": "mod_src_hi",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 2725,
   "name": "mod_dst_lo",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 2737,
   "name": "mod_dst_hi",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 2749,
   "name": "mod_end_lo",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 2761,
   "name": "mod_end_hi",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 2773,
   "name": "mod_entry_lo",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 2785,
   "name": "mod_entry_hi",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 2797,
   "name": "vectors_init",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 2803,
   "name": "module_letters",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 2816,
   "name": "world_records",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 2833,
   "name": "f_0B11",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 2834,
   "name": "f_0B12",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 2835,
   "name": "f_0B13",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 2836,
   "name": "wr_diving",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 2856,
   "name": "wr_relay",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 2876,
   "name": "wr_dash",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 2896,
   "name": "wr_gymnastics",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 2916,
   "name": "wr_free_relay",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 2936,
   "name": "wr_free_100",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 2956,
   "name": "wr_skeet",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 3072,
   "name": "engine_start",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 3103,
   "name": "main_menu",
   "type": "Branch",
   "kind": "user"
  },
  {
   "address": 3243,
   "name": "a_0CAB",
   "type": "AbsoluteAddress",
   "kind": "auto"
  },
  {
   "address": 3318,
   "name": "menu_jump_lo",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 3324,
   "name": "menu_jump_hi",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 3330,
   "name": "menu_ceremony",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 3338,
   "name": "menu_joysticks",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 3349,
   "name": "practice",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 3356,
   "name": "b_0D1C",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 3411,
   "name": "one_event",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 3467,
   "name": "all_events",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 3478,
   "name": "all_events_loop",
   "type": "Jump",
   "kind": "user"
  },
  {
   "address": 3524,
   "name": "b_0DC4",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 3531,
   "name": "b_0DCB",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 3579,
   "name": "b_0DFB",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 3626,
   "name": "final_pauses",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 3633,
   "name": "f_0E31",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 3642,
   "name": "wait_or_fire",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 3647,
   "name": "b_0E3F",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 3659,
   "name": "r_0E4B",
   "type": "Return",
   "kind": "auto"
  },
  {
   "address": 3660,
   "name": "music_pause",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 3665,
   "name": "b_0E51",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 3669,
   "name": "b_0E55",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 3686,
   "name": "r_0E66",
   "type": "Return",
   "kind": "auto"
  },
  {
   "address": 3687,
   "name": "world_records_show",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 3715,
   "name": "b_0E83",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 3747,
   "name": "b_0EA3",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 3775,
   "name": "b_0EBF",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 3780,
   "name": "b_0EC4",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 3799,
   "name": "b_0ED7",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 3805,
   "name": "call_registration",
   "type": "Jump",
   "kind": "user"
  },
  {
   "address": 3821,
   "name": "print_next_event",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 3841,
   "name": "jam",
   "type": "Jump",
   "kind": "user"
  },
  {
   "address": 3847,
   "name": "run_event",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 3861,
   "name": "run_module_x",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 3877,
   "name": "print_inline",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 3908,
   "name": "b_0F44",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 3913,
   "name": "next_byte",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 3917,
   "name": "step_text",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 3923,
   "name": "b_0F53",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 3926,
   "name": "print_space",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 3928,
   "name": "print_char",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 3940,
   "name": "b_0F64",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 3954,
   "name": "r_0F72",
   "type": "Return",
   "kind": "auto"
  },
  {
   "address": 3955,
   "name": "print_marker",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 3971,
   "name": "clear_screen",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 4009,
   "name": "b_0FA9",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4042,
   "name": "b_0FCA",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4065,
   "name": "b_0FE1",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4090,
   "name": "print_record_name",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 4100,
   "name": "print_n_chars",
   "type": "Jump",
   "kind": "user"
  },
  {
   "address": 4104,
   "name": "b_1008",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4114,
   "name": "print_event_name",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 4117,
   "name": "print_event_x",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 4123,
   "name": "print_text_at",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 4130,
   "name": "b_1022",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4133,
   "name": "print_text",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 4139,
   "name": "record_offsets",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 4147,
   "name": "print_record_result",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 4160,
   "name": "b_1040",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4177,
   "name": "standings",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 4232,
   "name": "b_1088",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4270,
   "name": "print_player_name",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 4281,
   "name": "print_result",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 4289,
   "name": "print_medals",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 4291,
   "name": "b_10C3",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4312,
   "name": "count_points",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 4315,
   "name": "b_10DB",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4342,
   "name": "print_digit",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 4350,
   "name": "print_digit_char",
   "type": "Jump",
   "kind": "user"
  },
  {
   "address": 4355,
   "name": "print_number",
   "type": "Jump",
   "kind": "user"
  },
  {
   "address": 4369,
   "name": "b_1111",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4382,
   "name": "b_111E",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4391,
   "name": "award_medal",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 4429,
   "name": "r_114D",
   "type": "Return",
   "kind": "auto"
  },
  {
   "address": 4430,
   "name": "medal_text_lo",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 4433,
   "name": "medal_text_hi",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 4436,
   "name": "practice_menu",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 4466,
   "name": "event_menu",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 4470,
   "name": "b_1176",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4531,
   "name": "contestant_name",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 4547,
   "name": "register_players",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 4560,
   "name": "b_11D0",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4568,
   "name": "b_11D8",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4574,
   "name": "confirm_players",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 4635,
   "name": "b_121B",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4671,
   "name": "clear_medals",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 4673,
   "name": "b_1241",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4690,
   "name": "clear_scores",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 4692,
   "name": "b_1254",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4710,
   "name": "b_1266",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4727,
   "name": "event_names_lo",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 4735,
   "name": "event_names_hi",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 4743,
   "name": "event_names",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 4850,
   "name": "marker_counts",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 4877,
   "name": "event_results",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 4927,
   "name": "b_133F",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4939,
   "name": "b_134B",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4945,
   "name": "b_1351",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 4996,
   "name": "victory",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 5016,
   "name": "b_1398",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 5027,
   "name": "flash_band",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 5074,
   "name": "tie_test",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 5096,
   "name": "r_13E8",
   "type": "Return",
   "kind": "auto"
  },
  {
   "address": 5097,
   "name": "fix_metres",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 5102,
   "name": "b_13EE",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 5117,
   "name": "b_13FD",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 5122,
   "name": "r_1402",
   "type": "Return",
   "kind": "auto"
  },
  {
   "address": 5123,
   "name": "check_record",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 5160,
   "name": "b_1428",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 5174,
   "name": "b_1436",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 5190,
   "name": "r_1446",
   "type": "Return",
   "kind": "auto"
  },
  {
   "address": 5191,
   "name": "new_record_text",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 5268,
   "name": "draw_flag",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 5326,
   "name": "copy_flag",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 5328,
   "name": "b_14D0",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 5330,
   "name": "b_14D2",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 5348,
   "name": "b_14E4",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 5359,
   "name": "b_14EF",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 5363,
   "name": "flag_chars_lo",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 5385,
   "name": "flag_chars_hi",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 5407,
   "name": "flag_colours_lo",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 5429,
   "name": "flag_colours_hi",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 5451,
   "name": "flag_colours",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 5475,
   "name": "save_records",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 5522,
   "name": "b_1592",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 5553,
   "name": "disk_command",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 5567,
   "name": "close_command",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 5572,
   "name": "disk_commands",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 5590,
   "name": "sort_players",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 5599,
   "name": "b_15DF",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 5604,
   "name": "b_15E4",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 5638,
   "name": "b_1606",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 5656,
   "name": "r_1618",
   "type": "Return",
   "kind": "auto"
  },
  {
   "address": 5657,
   "name": "shuffle_players",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 5667,
   "name": "b_1623",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 5687,
   "name": "swap_records",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 5710,
   "name": "record_starts_m1",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 5711,
   "name": "record_starts",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 5719,
   "name": "random_player",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 5723,
   "name": "b_165B",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 5729,
   "name": "random",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 5754,
   "name": "ask_yes_no",
   "type": "Jump",
   "kind": "user"
  },
  {
   "address": 5763,
   "name": "menu_select",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 5765,
   "name": "menu_select_at",
   "type": "Jump",
   "kind": "user"
  },
  {
   "address": 5779,
   "name": "b_1693",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 5809,
   "name": "b_16B1",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 5827,
   "name": "b_16C3",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 5834,
   "name": "b_16CA",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 5847,
   "name": "b_16D7",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 5853,
   "name": "b_16DD",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 5864,
   "name": "b_16E8",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 5866,
   "name": "b_16EA",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 5872,
   "name": "wait_release",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 5876,
   "name": "b_16F4",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 5893,
   "name": "place_cursor",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 5920,
   "name": "wait_press",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 5923,
   "name": "b_1723",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 5929,
   "name": "row_lo",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 5937,
   "name": "row_hi",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 5945,
   "name": "line_lo",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 5953,
   "name": "line_hi",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 5961,
   "name": "read_stick",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 5963,
   "name": "b_174B",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 5969,
   "name": "b_1751",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 5990,
   "name": "b_1766",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 5995,
   "name": "wait_line",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 6001,
   "name": "tune_table",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 6002,
   "name": "f_1772",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 6041,
   "name": "tune_esp",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 6242,
   "name": "tune_nor",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 6351,
   "name": "tune_irl",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 6504,
   "name": "tune_den",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 6697,
   "name": "tune_frg",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 6766,
   "name": "tune_aus",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 6863,
   "name": "tune_jpn",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 7024,
   "name": "tune_urs",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 7137,
   "name": "tune_can",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 7222,
   "name": "tune_mex",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 7315,
   "name": "tune_fra",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 7396,
   "name": "tune_usa",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 7501,
   "name": "tune_gbr",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 7570,
   "name": "freq_lo",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 7614,
   "name": "freq_hi",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 7658,
   "name": "note_lengths",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 7682,
   "name": "sound_init",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 7686,
   "name": "b_1E06",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 7743,
   "name": "start_tune",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 7767,
   "name": "r_1E57",
   "type": "Return",
   "kind": "auto"
  },
  {
   "address": 7768,
   "name": "tune_offsets",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 7792,
   "name": "music_step",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 7819,
   "name": "r_1E8B",
   "type": "Return",
   "kind": "auto"
  },
  {
   "address": 7820,
   "name": "b_1E8C",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 7905,
   "name": "r_1EE1",
   "type": "Return",
   "kind": "auto"
  },
  {
   "address": 7906,
   "name": "music_stop",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 8192,
   "name": "charset",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 9896,
   "name": "flag_map_r0",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 9974,
   "name": "flag_map_r1",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 10052,
   "name": "flag_map_r2",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 10130,
   "name": "flag_map_r3",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 10208,
   "name": "flag_map_r4",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 10286,
   "name": "flag_names_r5",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 10364,
   "name": "flag_map_r6",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 10442,
   "name": "flag_map_r7",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 10520,
   "name": "flag_map_r8",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 10598,
   "name": "flag_map_r9",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 10676,
   "name": "flag_map_r10",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 10754,
   "name": "flag_names_r11",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 10832,
   "name": "flag_map_r12",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 10910,
   "name": "flag_map_r13",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 10988,
   "name": "flag_map_r14",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 11066,
   "name": "flag_map_r15",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 11144,
   "name": "flag_map_r16",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 11222,
   "name": "flag_names_r17",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 11300,
   "name": "flag_colour_r0",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 11378,
   "name": "flag_colour_r1",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 11456,
   "name": "flag_colour_r2",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 11534,
   "name": "flag_colour_r3",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 11612,
   "name": "flag_colour_r4",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 11690,
   "name": "flag_colour_r6",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 11768,
   "name": "flag_colour_r7",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 11846,
   "name": "flag_colour_r8",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 11924,
   "name": "flag_colour_r9",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 12002,
   "name": "flag_colour_r10",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 12080,
   "name": "flag_colour_r12",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 12158,
   "name": "flag_colour_r13",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 12236,
   "name": "flag_colour_r14",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 12314,
   "name": "flag_colour_r15",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 12392,
   "name": "flag_colour_r16",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 12480,
   "name": "sprite_arrow",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 12544,
   "name": "sprite_frame",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 12928,
   "name": "registration",
   "type": "Jump",
   "kind": "user"
  },
  {
   "address": 12940,
   "name": "b_328C",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 12959,
   "name": "frame_sprites",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 12979,
   "name": "b_32B3",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 13004,
   "name": "b_32CC",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 13014,
   "name": "frame_positions",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 13031,
   "name": "frame_pointers",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 13037,
   "name": "registration_irq_on",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 13073,
   "name": "registration_irq",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 13097,
   "name": "b_3329",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 13106,
   "name": "irq_lines",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 13114,
   "name": "irq_handlers_hi",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 13122,
   "name": "irq_handlers_lo",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 13133,
   "name": "irq_exit",
   "type": "Jump",
   "kind": "user"
  },
  {
   "address": 13213,
   "name": "b_339D",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 13222,
   "name": "clear_zp",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 13226,
   "name": "b_33AA",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 13232,
   "name": "read_key",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 13234,
   "name": "b_33B2",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 13244,
   "name": "b_33BC",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 13259,
   "name": "b_33CB",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 13268,
   "name": "b_33D4",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 13275,
   "name": "row_masks",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 13283,
   "name": "column_bits",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 13291,
   "name": "keymap",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 13355,
   "name": "scan_row",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 13382,
   "name": "b_3446",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 13383,
   "name": "r_3447",
   "type": "Return",
   "kind": "auto"
  },
  {
   "address": 13384,
   "name": "registration_step",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 13395,
   "name": "b_3453",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 13417,
   "name": "b_3469",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 13420,
   "name": "b_346C",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 13427,
   "name": "b_3473",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 13435,
   "name": "b_347B",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 13439,
   "name": "type_name",
   "type": "Jump",
   "kind": "user"
  },
  {
   "address": 13448,
   "name": "b_3488",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 13485,
   "name": "b_34AD",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 13502,
   "name": "b_34BE",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 13522,
   "name": "b_34D2",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 13549,
   "name": "b_34ED",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 13554,
   "name": "b_34F2",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 13556,
   "name": "r_34F4",
   "type": "Return",
   "kind": "auto"
  },
  {
   "address": 13557,
   "name": "duplicate_name",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 13571,
   "name": "b_3503",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 13573,
   "name": "b_3505",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 13586,
   "name": "b_3512",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 13597,
   "name": "b_351D",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 13600,
   "name": "r_3520",
   "type": "Return",
   "kind": "auto"
  },
  {
   "address": 13601,
   "name": "country_line",
   "type": "Jump",
   "kind": "user"
  },
  {
   "address": 13607,
   "name": "b_3527",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 13629,
   "name": "b_353D",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 13646,
   "name": "r_354E",
   "type": "Return",
   "kind": "auto"
  },
  {
   "address": 13647,
   "name": "country_prompt",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 13687,
   "name": "country_codes",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 13688,
   "name": "f_3578",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 13689,
   "name": "f_3579",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 13759,
   "name": "choose_flag",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 13795,
   "name": "b_35E3",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 13801,
   "name": "b_35E9",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 13816,
   "name": "b_35F8",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 13826,
   "name": "b_3602",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 13836,
   "name": "b_360C",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 13838,
   "name": "b_360E",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 13842,
   "name": "b_3612",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 13849,
   "name": "b_3619",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 13856,
   "name": "b_3620",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 13865,
   "name": "b_3629",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 13867,
   "name": "r_362B",
   "type": "Return",
   "kind": "auto"
  },
  {
   "address": 13868,
   "name": "stick_dx",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 13884,
   "name": "stick_dy",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 13900,
   "name": "scroll_chart",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 13917,
   "name": "b_365D",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 13919,
   "name": "b_365F",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 13922,
   "name": "move_frame",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 13924,
   "name": "b_3664",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 13938,
   "name": "draw_chart",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 13942,
   "name": "b_3676",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 14013,
   "name": "b_36BD",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 14020,
   "name": "b_36C4",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 14091,
   "name": "b_370B",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 14098,
   "name": "b_3712",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 14169,
   "name": "b_3759",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 14173,
   "name": "frame_flash",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 14185,
   "name": "b_3769",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 14223,
   "name": "b_378F",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 14229,
   "name": "b_3795",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 14251,
   "name": "b_37AB",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 14257,
   "name": "b_37B1",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 14261,
   "name": "r_37B5",
   "type": "Return",
   "kind": "auto"
  },
  {
   "address": 14262,
   "name": "frame_colours",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 14270,
   "name": "register_country",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 14326,
   "name": "draw_registration",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 14349,
   "name": "draw_registration_colours",
   "type": "Jump",
   "kind": "user"
  },
  {
   "address": 14351,
   "name": "b_380F",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 14427,
   "name": "registration_title",
   "type": "Field",
   "kind": "user"
  },
  {
   "address": 14467,
   "name": "tune_epx",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 14632,
   "name": "tune_records",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 14977,
   "name": "tune_bra",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 15082,
   "name": "protection_check",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 15086,
   "name": "b_3AEE",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 15159,
   "name": "b_3B37",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 15163,
   "name": "close_channels",
   "type": "Subroutine",
   "kind": "user"
  },
  {
   "address": 15179,
   "name": "b_3B4B",
   "type": "Branch",
   "kind": "auto"
  },
  {
   "address": 15208,
   "name": "protection_text",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 15222,
   "name": "tune_final",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 15335,
   "name": "tune_hol",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 15464,
   "name": "tune_aut",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 15549,
   "name": "tune_ita",
   "type": "UserDefined",
   "kind": "user"
  },
  {
   "address": 55296,
   "name": "f_D800",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 55336,
   "name": "f_D828",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 55376,
   "name": "f_D850",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 55379,
   "name": "f_D853",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 55416,
   "name": "f_D878",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 55456,
   "name": "f_D8A0",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 55496,
   "name": "f_D8C8",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 55536,
   "name": "f_D8F0",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 55552,
   "name": "f_D900",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 55576,
   "name": "f_D918",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 55616,
   "name": "f_D940",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 55656,
   "name": "f_D968",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 55696,
   "name": "f_D990",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 55736,
   "name": "f_D9B8",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 55776,
   "name": "f_D9E0",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 55808,
   "name": "f_DA00",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 55816,
   "name": "f_DA08",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 55856,
   "name": "f_DA30",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 55896,
   "name": "f_DA58",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 55936,
   "name": "f_DA80",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 55976,
   "name": "f_DAA8",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 56016,
   "name": "f_DAD0",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 56040,
   "name": "f_DAE8",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 56056,
   "name": "f_DAF8",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 56096,
   "name": "f_DB20",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 56136,
   "name": "f_DB48",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 56176,
   "name": "f_DB70",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 56216,
   "name": "f_DB98",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 56256,
   "name": "f_DBC0",
   "type": "Field",
   "kind": "auto"
  },
  {
   "address": 65451,
   "name": "KERNAL_UNTLK",
   "type": "Predefined",
   "kind": "system"
  },
  {
   "address": 65466,
   "name": "KERNAL_SETLFS",
   "type": "Predefined",
   "kind": "system"
  },
  {
   "address": 65469,
   "name": "KERNAL_SETNAM",
   "type": "Predefined",
   "kind": "system"
  },
  {
   "address": 65472,
   "name": "KERNAL_OPEN",
   "type": "Predefined",
   "kind": "system"
  },
  {
   "address": 65475,
   "name": "KERNAL_CLOSE",
   "type": "Predefined",
   "kind": "system"
  },
  {
   "address": 65478,
   "name": "KERNAL_CHKIN",
   "type": "Predefined",
   "kind": "system"
  },
  {
   "address": 65484,
   "name": "KERNAL_CLRCHN",
   "type": "Predefined",
   "kind": "system"
  },
  {
   "address": 65487,
   "name": "KERNAL_CHRIN",
   "type": "Predefined",
   "kind": "system"
  },
  {
   "address": 65493,
   "name": "KERNAL_LOAD",
   "type": "Predefined",
   "kind": "system"
  },
  {
   "address": 65496,
   "name": "KERNAL_SAVE",
   "type": "Predefined",
   "kind": "system"
  }
 ],
 "comments": [
  {
   "address": 0,
   "type": "line",
   "text": "The processor port's direction register: init_machine sets it to $2F"
  },
  {
   "address": 1,
   "type": "line",
   "text": "The processor port: load_module sets it to $36 (KERNAL and I/O in, BASIC out)"
  },
  {
   "address": 16,
   "type": "line",
   "text": "The music's tune pointer, low byte ($10/$11: the line being played). load_module uses $10/$11 as the unpacker's destination"
  },
  {
   "address": 17,
   "type": "line",
   "text": "The music's tune pointer, high byte; the unpacker's destination high byte"
  },
  {
   "address": 18,
   "type": "line",
   "text": "The tune playing, as its offset in tune_table; $FF when none (tested with BIT: bit 7 set means silent). The unpacker's source pointer low byte"
  },
  {
   "address": 19,
   "type": "line",
   "text": "Steps left of the music's current note. The unpacker's source pointer high byte"
  },
  {
   "address": 20,
   "type": "line",
   "text": "The registration screen's frame counter, low byte; the unpacker's end address, low byte"
  },
  {
   "address": 21,
   "type": "line",
   "text": "The registration frame counter, high byte; the unpacker's end address, high byte"
  },
  {
   "address": 22,
   "type": "line",
   "text": "A loop counter many routines share; load_module keeps X here"
  },
  {
   "address": 24,
   "type": "line",
   "text": "The registration screen's frame flag: its raster interrupt rotates a 1 in, the main loop shifts it out"
  },
  {
   "address": 25,
   "type": "line",
   "text": "Which of the registration screen's eight raster handlers runs next"
  },
  {
   "address": 26,
   "type": "line",
   "text": "The column of the chosen flag, 0-5"
  },
  {
   "address": 27,
   "type": "line",
   "text": "The band of the chosen flag, 0-2"
  },
  {
   "address": 28,
   "type": "line",
   "text": "The chart's column step for the move under way: -1, 0 or +1"
  },
  {
   "address": 29,
   "type": "line",
   "text": "The frame's line step for the move under way: -4, 0 or +4"
  },
  {
   "address": 30,
   "type": "line",
   "text": "Frames left of a move across the chart: the chart scrolls while it is 16 or more, the frame moves while it is 13 or more"
  },
  {
   "address": 31,
   "type": "line",
   "text": "The flag chart's left column on the screen, 0-77"
  },
  {
   "address": 32,
   "type": "line",
   "text": "Set to 1 by draw_registration; nothing reads it"
  },
  {
   "address": 33,
   "type": "line",
   "text": "The chosen country's number, kept while its tag is written"
  },
  {
   "address": 34,
   "type": "line",
   "text": "The registration's step, 0-5 (see registration_step)"
  },
  {
   "address": 35,
   "type": "line",
   "text": "The key read_key found, as a character, or $FF"
  },
  {
   "address": 36,
   "type": "line",
   "text": "The key last taken while typing, so a held key is taken once"
  },
  {
   "address": 37,
   "type": "line",
   "text": "The length of the name typed so far"
  },
  {
   "address": 38,
   "type": "line",
   "text": "A short pause after DEL before the next key is taken"
  },
  {
   "address": 39,
   "type": "line",
   "text": "Pointer to the record whose name duplicate_name compares, low byte"
  },
  {
   "address": 40,
   "type": "line",
   "text": "Pointer to the record being compared, high byte"
  },
  {
   "address": 43,
   "type": "line",
   "text": "Set while the chosen country's anthem plays, before the next player"
  },
  {
   "address": 44,
   "type": "line",
   "text": "Text pointer for print_inline and print_text, low byte"
  },
  {
   "address": 45,
   "type": "line",
   "text": "Text pointer, high byte"
  },
  {
   "address": 46,
   "type": "line",
   "text": "Screen pointer of the print routines, low byte"
  },
  {
   "address": 47,
   "type": "line",
   "text": "Screen pointer, high byte ($04-$07; flipped with $DC it gives colour RAM)"
  },
  {
   "address": 48,
   "type": "line",
   "text": "The menu cursor's choice"
  },
  {
   "address": 49,
   "type": "line",
   "text": "The last choice of the menu (the number of options less one)"
  },
  {
   "address": 50,
   "type": "line",
   "text": "The inner index of sort_players"
  },
  {
   "address": 52,
   "type": "line",
   "text": "Frames before the menu cursor moves again while the stick is held"
  },
  {
   "address": 53,
   "type": "line",
   "text": "The joystick bits read last frame"
  },
  {
   "address": 54,
   "type": "line",
   "text": "The steady joystick bits, the same two frames running"
  },
  {
   "address": 55,
   "type": "line",
   "text": "The player being listed or revealed"
  },
  {
   "address": 56,
   "type": "line",
   "text": "The medal column being printed"
  },
  {
   "address": 57,
   "type": "line",
   "text": "The event being listed on the event menu"
  },
  {
   "address": 58,
   "type": "line",
   "text": "The place being given out on the results screen"
  },
  {
   "address": 59,
   "type": "line",
   "text": "How many players share the place being given"
  },
  {
   "address": 60,
   "type": "line",
   "text": "save_records' start address for the KERNAL's SAVE, low byte ($0B00)"
  },
  {
   "address": 61,
   "type": "line",
   "text": "save_records' start address, high byte"
  },
  {
   "address": 62,
   "type": "line",
   "text": "The menu cursor's top line on the screen, as a sprite y"
  },
  {
   "address": 64,
   "type": "line",
   "text": "The winner's flag's colour, for the ceremony's band"
  },
  {
   "address": 65,
   "type": "line",
   "text": "Pause counter of wait_or_fire and music_pause"
  },
  {
   "address": 66,
   "type": "line",
   "text": "Outer pause counter of music_pause"
  },
  {
   "address": 67,
   "type": "line",
   "text": "Frames left of wait_release"
  },
  {
   "address": 68,
   "type": "line",
   "text": "Tries left of the copy-protection check"
  },
  {
   "address": 788,
   "type": "line",
   "text": "The KERNAL's IRQ vector, low byte: set by init_machine to $EA31 and by the registration screen to registration_irq"
  },
  {
   "address": 789,
   "type": "line",
   "text": "The IRQ vector, high byte"
  },
  {
   "address": 2048,
   "type": "line",
   "text": "The eight player records, 32 bytes each ($0800, $0820 ... $08E0), filled at run time. Bytes 0-10 the name, 11-15 the country tag such as \"(USA)\", 16-21 this event's result as text, 22-24 its score as a 24-bit number (low byte first), 25-27 the counts of gold, silver and bronze medals, 28 the country's number. Bytes 29-31 of each record are not players' data: the engine keeps its own variables there"
  },
  {
   "address": 2059,
   "type": "line",
   "text": "The country tag's \"(\" in player 0's record; register_country ($37BE) writes it at $080B + 32 x the player"
  },
  {
   "address": 2060,
   "type": "line",
   "text": "The country tag's three letters, taken from country_codes ($3577)"
  },
  {
   "address": 2061,
   "type": "line",
   "text": "The country tag's second letter"
  },
  {
   "address": 2062,
   "type": "line",
   "text": "The country tag's third letter"
  },
  {
   "address": 2063,
   "type": "line",
   "text": "The country tag's \")\""
  },
  {
   "address": 2064,
   "type": "line",
   "text": "This event's result as six characters of text, written by the event module; reset to spaces by clear_scores ($1252)"
  },
  {
   "address": 2069,
   "type": "line",
   "text": "The last character of the result text: a pole vault result's \"M\" is changed into the small \"m\" glyph $B8 by fix_metres ($13E9)"
  },
  {
   "address": 2070,
   "type": "line",
   "text": "The score, low byte: what the module stored for this event, and after the last event the points total ($10D8). Sorting and medals compare all three bytes"
  },
  {
   "address": 2071,
   "type": "line",
   "text": "The score, middle byte"
  },
  {
   "address": 2072,
   "type": "line",
   "text": "The score, high byte"
  },
  {
   "address": 2073,
   "type": "line",
   "text": "Gold medals won by this player, counted by award_medal ($1127)"
  },
  {
   "address": 2074,
   "type": "line",
   "text": "Silver medals won"
  },
  {
   "address": 2075,
   "type": "line",
   "text": "Bronze medals won"
  },
  {
   "address": 2076,
   "type": "line",
   "text": "The country's number, 0-21 (row x 8 + column of the flag chart, so 6, 7, 14, 15, 22 and 23 are never used); in player 0's record after sorting, the winner's country, whose flag and anthem the medal ceremony uses"
  },
  {
   "address": 2077,
   "type": "line",
   "text": "$FF while a practice is running, set by practice ($0D15). Kept in player 0's spare byte 29"
  },
  {
   "address": 2078,
   "type": "line",
   "text": "The number of players, 0-8 (1 in practice). Player 0's spare byte 30"
  },
  {
   "address": 2079,
   "type": "line",
   "text": "The event being run or shown, 0-7: 0 pole vault, 1 platform diving, 2 4 x 400 m relay, 3 100 m dash, 4 gymnastics, 5 freestyle relay, 6 100 m freestyle, 7 skeet shooting. Player 0's spare byte 31"
  },
  {
   "address": 2080,
   "type": "line",
   "text": "Player 1's record (bytes as at $0800)"
  },
  {
   "address": 2102,
   "type": "line",
   "text": "Player 1's score, low byte: tie_test ($13D2) compares a record with the next one through these"
  },
  {
   "address": 2103,
   "type": "line",
   "text": "Player 1's score, middle byte"
  },
  {
   "address": 2104,
   "type": "line",
   "text": "Player 1's score, high byte"
  },
  {
   "address": 2109,
   "type": "line",
   "text": "Bit 7 set means the engine was overwritten (swimming unpacks to $1000) and must be loaded again; restart_game ($09DC) tests it, the engine's start clears it. Player 1's spare byte 29"
  },
  {
   "address": 2110,
   "type": "line",
   "text": "The main menu's last choice, where its cursor starts. Player 1's spare byte 30"
  },
  {
   "address": 2111,
   "type": "line",
   "text": "The last event chosen on the event menus, where their cursor starts. Player 1's spare byte 31"
  },
  {
   "address": 2112,
   "type": "line",
   "text": "Player 2's record (bytes as at $0800)"
  },
  {
   "address": 2141,
   "type": "line",
   "text": "Where the engine carries on after a module has run, low byte. run_event ($0F07) and call_registration ($0EDD) store their caller's return address here before leaving the engine, and engine_start ($0C00) jumps through it. Player 2's spare byte 29"
  },
  {
   "address": 2142,
   "type": "line",
   "text": "The resume address, high byte; zero means none, so the engine starts at the main menu. RESTORE with RUN/STOP clears it"
  },
  {
   "address": 2143,
   "type": "line",
   "text": "Non-zero while load_module ($0934) is loading or unpacking, so a load cut short by RESTORE is not mistaken for a finished one"
  },
  {
   "address": 2144,
   "type": "line",
   "text": "Player 3's record (bytes as at $0800)"
  },
  {
   "address": 2173,
   "type": "line",
   "text": "The number of joysticks, 1 or 2, flipped by main menu option 4 ($0D0A) and printed in the menu as a digit"
  },
  {
   "address": 2174,
   "type": "line",
   "text": "The one-letter file name of the module in memory, which is also the name SETNAM gives the KERNAL when loading it"
  },
  {
   "address": 2176,
   "type": "line",
   "text": "Player 4's record (bytes as at $0800)"
  },
  {
   "address": 2208,
   "type": "line",
   "text": "Player 5's record"
  },
  {
   "address": 2240,
   "type": "line",
   "text": "Player 6's record"
  },
  {
   "address": 2272,
   "type": "line",
   "text": "Player 7's record"
  },
  {
   "address": 2301,
   "type": "line",
   "text": "The random number generator's state, three bytes ($08FD-$08FF) in player 7's spare bytes; see random ($1661)"
  },
  {
   "address": 2302,
   "type": "line",
   "text": "The random number generator's state, middle byte"
  },
  {
   "address": 2303,
   "type": "line",
   "text": "The random number generator's counter byte, incremented on every call and mixed into the result"
  },
  {
   "address": 2304,
   "type": "line",
   "text": "Entry used at power-on and by RESTORE: jumps to restart_game ($09DC), which resets the stack, the chips and the interrupt vectors and runs module 1 (the engine at $0C00)."
  },
  {
   "address": 2307,
   "type": "line",
   "text": "Entry the engine and every module call to change module: X is the module's number (0 front end, 1 engine, 3 pole vault, 4 diving, 5 relay, 6 dash, 7 gymnastics, 8 freestyle relay, 9 100 m freestyle, 10 skeet). Loads it unless its file is already in ($09E9), then jumps to its entry."
  },
  {
   "address": 2310,
   "type": "line",
   "text": "The NMI handler ($0318 points here): RESTORE on its own returns at once; RESTORE with RUN/STOP held (column 7 of row 7 read through $DC00/$DC01) clears the resume address's high byte at $085E and restarts the game at restart_game, which then goes to the main menu."
  },
  {
   "address": 2356,
   "type": "line",
   "text": "Load and unpack module X. Puts the I/O and KERNAL in ($01 = $36), marks a load under way at $085F, takes the file's one-letter name from module_letters ($0AF3,x) into $087E and loads it from drive 8 to its own address through the KERNAL (SETLFS, SETNAM, LOAD), retrying on error. Blanks the screen for A and I. Then copies the packed bytes from mod_src to mod_dst until mod_end, expanding the run-length codes: $BF n is n zeros, $CF n v is n copies of v, any other byte is itself. Clears $085F and returns with X kept."
  },
  {
   "address": 2506,
   "type": "line",
   "text": "Store A at the unpacker's destination pointer ($10/$11) and step it on."
  },
  {
   "address": 2515,
   "type": "line",
   "text": "Read the next packed byte from the source pointer ($12/$13) and step it on."
  },
  {
   "address": 2524,
   "type": "line",
   "text": "Reset everything and start the engine: stack to $FF, init_machine ($0A10), then X = 1. With bit 7 of $083D clear the engine is in memory and its entry is taken at once; with it set (swimming unpacks over the engine) the engine is loaded again first."
  },
  {
   "address": 2537,
   "type": "line",
   "text": "Load module X unless it is already there, then jump to it. A load is skipped when no earlier load was cut short ($085F clear) and the letter in $087E is this module's. Then pushes the module's entry minus one, waits for raster line 11, selects video bank 0 ($DD00 = $17) and returns into the module with A = $FF."
  },
  {
   "address": 2576,
   "type": "line",
   "text": "Put the machine in a known state: waits for raster line 251, copies the KERNAL's IRQ, BRK and NMI vectors (with NMI = nmi_restore) from $0AED to $0314, sets the processor port ($00 = $2F, $01 = $36), zeroes the sprite, collision and colour registers and the filter ($D415-$D417; the volume at $D418 is left alone), sets the multicolour colours (1 white, 2 red), turns off every CIA interrupt but CIA 1's timer A, sets the keyboard port directions and the background to cyan, and loads each SID voice's seven registers from $0A86. Ends by jumping to the KERNAL's UNTLK at $FFAB, which tells the drive to stop talking and returns to init_machine's caller."
  },
  {
   "address": 2694,
   "type": "line",
   "text": "Seven bytes copied into each of the three SID voices by init_machine: frequency 0, pulse width $0800, control 0 (gate off), attack/decay 0 and sustain/release 0."
  },
  {
   "address": 2701,
   "type": "line",
   "text": "The low bytes of each module's packed load address, one per module number 0-11 (the file loads there; the unpacker reads from it). The high bytes follow at mod_src_hi."
  },
  {
   "address": 2713,
   "type": "line",
   "text": "The high bytes of each module's packed load address: A $8000, B $4000, C $E000, D $8200, E $8300, F $8000 (twice), H $6580, I $6D40 (twice), K $8000, L $4000."
  },
  {
   "address": 2725,
   "type": "line",
   "text": "The low bytes of where each module unpacks to; high bytes at mod_dst_hi."
  },
  {
   "address": 2737,
   "type": "line",
   "text": "The high bytes of where each module unpacks to: A $4000, B $0C00, C $E000, D $4000, E $5800, F $4000, H $4000, I $1000, K $4000, L $C400."
  },
  {
   "address": 2749,
   "type": "line",
   "text": "The low bytes of the address the unpacker stops at for each module; high bytes at mod_end_hi."
  },
  {
   "address": 2761,
   "type": "line",
   "text": "The high bytes of where each module's unpacked bytes end (exclusive): A $7F9A, B $3F00, C $E010, D $CB00, E $BC00, F $7FF0, H $BF12, I $BF00, K $7CF0, L $CC08."
  },
  {
   "address": 2773,
   "type": "line",
   "text": "The low bytes of each module's entry minus one, pushed for the RTS that enters it; high bytes at mod_entry_hi."
  },
  {
   "address": 2785,
   "type": "line",
   "text": "The high bytes of each module's entry minus one, giving the entries A $7600, B $0C00, D $6FE0, E $7FE0, F $5700 (relay) and $6D75 (dash), H $4000, I $17D0 (relay) and $17D3 (100 m), K $7000, and $E000 for C and L."
  },
  {
   "address": 2797,
   "type": "line",
   "text": "Six bytes init_machine copies to $0314-$0319: the IRQ vector $EA31 (the KERNAL's), BRK $FE66 and NMI nmi_restore ($0906)."
  },
  {
   "address": 2803,
   "type": "line",
   "text": "The file name of each module, one letter for numbers 0-11: A B C D E F F H I I K L. The disk has no file C; L is on the disk but nothing the engine runs asks for module 11 (see media.json)."
  },
  {
   "address": 2815,
   "type": "line",
   "text": "The byte after the twelve module letters, \"P\": no module number reaches it"
  },
  {
   "address": 2816,
   "type": "line",
   "text": "The world records, eight of 20 bytes, one for each event in event_num order: the holder's name (11 characters), the result as text (6) and its value (3 bytes, low first). Loaded from the file WR and written back to it by save_records ($1563): $0B00-$0B9F"
  },
  {
   "address": 2833,
   "type": "line",
   "text": "The value of event 0's world record, low byte: check_record ($1403) compares the winner's score with $0B11 + 20 x the event"
  },
  {
   "address": 2834,
   "type": "line",
   "text": "The record value's middle byte"
  },
  {
   "address": 2835,
   "type": "line",
   "text": "The record value's high byte"
  },
  {
   "address": 2836,
   "type": "line",
   "text": "The world record of event 1, platform diving (20 bytes as at $0B00)"
  },
  {
   "address": 2856,
   "type": "line",
   "text": "The world record of event 2, the 4 x 400 m relay"
  },
  {
   "address": 2876,
   "type": "line",
   "text": "The world record of event 3, the 100 m dash"
  },
  {
   "address": 2896,
   "type": "line",
   "text": "The world record of event 4, gymnastics"
  },
  {
   "address": 2916,
   "type": "line",
   "text": "The world record of event 5, the freestyle relay"
  },
  {
   "address": 2936,
   "type": "line",
   "text": "The world record of event 6, the 100 m freestyle"
  },
  {
   "address": 2956,
   "type": "line",
   "text": "The world record of event 7, skeet shooting"
  },
  {
   "address": 2976,
   "type": "line",
   "text": "96 bytes after the records that nothing reads: a copy of the end of init_machine's code ($0A26 on), left there when the loader put the stub in place"
  },
  {
   "address": 3072,
   "type": "line",
   "text": "The engine's entry, from restart_game ($09DC) after every module. Clears reload_engine, silences the SID ($1E02), clears the screen, sets CIA 1's ports for the keyboard, and then either jumps to the resume address in $085D, when there is one, so the engine carries on after the module it ran, or falls into the main menu"
  },
  {
   "address": 3103,
   "type": "line",
   "text": "The main menu: sets its own address as the resume address, prints the six options (1 compete in all the events, 2 compete in one event, 3 practice one event, 4 number of joysticks, 5 see world records, 6 opening ceremonies) and lets the player pick one with menu_select ($1683); then jumps to the option's routine through the table at $0CF6"
  },
  {
   "address": 3119,
   "type": "line",
   "text": "Text for print_inline: screen address $04F5 (row 6, column 5), then \"1) COMPETE IN ALL THE EVENTS\" and a zero"
  },
  {
   "address": 3150,
   "type": "line",
   "text": "Prints the second option"
  },
  {
   "address": 3153,
   "type": "line",
   "text": "Text for print_inline: screen address $0545 (row 8, column 5), then \"2) COMPETE IN ONE EVENT\" and a zero"
  },
  {
   "address": 3179,
   "type": "line",
   "text": "Prints the third option"
  },
  {
   "address": 3182,
   "type": "line",
   "text": "Text for print_inline: screen address $0595 (row 10, column 5), then \"3) PRACTICE ONE EVENT\" and a zero"
  },
  {
   "address": 3206,
   "type": "line",
   "text": "Writes the number of joysticks into option 4's text as a digit, then prints it"
  },
  {
   "address": 3217,
   "type": "line",
   "text": "Text for print_inline: screen address $05E5 (row 12, column 5), then \"4) NUMBER OF JOYSTICKS: 2\" and a zero"
  },
  {
   "address": 3243,
   "type": "line",
   "text": "The digit in \"NUMBER OF JOYSTICKS: 2\", inside the menu's own text: main_menu writes the joystick count into it before printing"
  },
  {
   "address": 3245,
   "type": "line",
   "text": "Prints the fifth option"
  },
  {
   "address": 3248,
   "type": "line",
   "text": "Text for print_inline: screen address $0635 (row 14, column 5), then \"5) SEE WORLD RECORDS\" and a zero"
  },
  {
   "address": 3271,
   "type": "line",
   "text": "Prints the sixth option"
  },
  {
   "address": 3274,
   "type": "line",
   "text": "Text for print_inline: screen address $0685 (row 16, column 5), then \"6) OPENING CEREMONIES\" and a zero"
  },
  {
   "address": 3298,
   "type": "line",
   "text": "Runs the menu cursor over the six options, keeps the choice, and jumps to the chosen option's routine through menu_jump_lo/hi"
  },
  {
   "address": 3318,
   "type": "line",
   "text": "Low bytes of the main menu's six routines minus one, pushed for an RTS: $0D8B all events, $0D53 one event, $0D15 practice, $0D0A joysticks, $0E67 world records, $0D02 ceremony"
  },
  {
   "address": 3324,
   "type": "line",
   "text": "High bytes of the main menu's routines minus one"
  },
  {
   "address": 3330,
   "type": "line",
   "text": "Option 6: runs module 0, the opening ceremony, through run_module_x ($0F15), then returns to the menu"
  },
  {
   "address": 3338,
   "type": "line",
   "text": "Option 4: switches the number of joysticks between 1 and 2"
  },
  {
   "address": 3349,
   "type": "line",
   "text": "Option 3: names all eight records \"CONTESTANT\", sets one player and the practice flag, asks for the event ($1154), runs it through run_event and goes back to the menu"
  },
  {
   "address": 3411,
   "type": "line",
   "text": "Option 2: registers the players (or confirms them), shuffles their order, asks which event, runs it and shows its results"
  },
  {
   "address": 3420,
   "type": "line",
   "text": "Text for print_inline: screen address $04A3 (row 4, column 3), then \"COMPETE IN WHICH EVENT?\" and a zero"
  },
  {
   "address": 3446,
   "type": "line",
   "text": "After the question: shuffles the players, clears the scores, takes the event from the event menu, runs it and shows its results"
  },
  {
   "address": 3467,
   "type": "line",
   "text": "Option 1: registers or confirms the players, shuffles them, then runs the eight events in order. After each but the last it shows the standings ($1051) and shuffles the order again; after the relay it shows the name of the dash early and waits. Then works out the points, sorts the players, shows \"FINAL STANDINGS\", plays tune 6 and reveals the players from last place up with pauses, and ends with the winner's flag and anthem ($1384)"
  },
  {
   "address": 3546,
   "type": "line",
   "text": "Text for print_inline: screen address $05E3 (row 12, column 3), then \"FINAL STANDINGS:\" and a zero"
  },
  {
   "address": 3565,
   "type": "line",
   "text": "Plays tune 6 and reveals the players from last place to first, a pause before each, then the winner's ceremony"
  },
  {
   "address": 3626,
   "type": "line",
   "text": "Pauses in final_standings, in units of 74 frames: the first, before the last-placed player, read at $0E2A + players - 1; the rest at $0E31 + players"
  },
  {
   "address": 3633,
   "type": "line",
   "text": "Second half of the pause table ($0E2A)"
  },
  {
   "address": 3642,
   "type": "line",
   "text": "Waits A x 2 frames, stopping early when the button is pressed (after the button and keys are first released)"
  },
  {
   "address": 3660,
   "type": "line",
   "text": "Plays the music on for A x 74 frames, two music steps a frame"
  },
  {
   "address": 3687,
   "type": "line",
   "text": "Option 5: lists the eight events with each record's holder and result, then plays tune 7, two music steps a frame as everywhere, over and over, until the button is pressed"
  },
  {
   "address": 3693,
   "type": "line",
   "text": "Text for print_inline: screen address $04A3 (row 4, column 3), then \"WORLD RECORDS:\" and a zero"
  },
  {
   "address": 3710,
   "type": "line",
   "text": "Lists each event's name and a colon, the record holder's name and the result; then plays tune 7 over and over until the button is pressed"
  },
  {
   "address": 3805,
   "type": "line",
   "text": "Saves its caller's return address as the resume address and jumps to registration ($3280); the registration ends by restarting the engine ($0900), which resumes there"
  },
  {
   "address": 3821,
   "type": "line",
   "text": "Prints \"NEXT EVENT:\" and the event's name"
  },
  {
   "address": 3824,
   "type": "line",
   "text": "Text for print_inline: screen address $04A3 (row 4, column 3), then \"NEXT EVENT:\" and a zero"
  },
  {
   "address": 3838,
   "type": "line",
   "text": "Prints the event's name after the words"
  },
  {
   "address": 3841,
   "type": "line",
   "text": "Where a failed copy-protection check sends the processor: $02 is an opcode that halts the 6502 until a reset. The NOPs and the JMP after it would only run if it did not"
  },
  {
   "address": 3847,
   "type": "line",
   "text": "Runs event event_num: prints its name, makes the copy-protection check ($3AEA) and jams the machine if it fails; otherwise saves the caller's return address in $085D and asks the loader to run module event_num + 3 ($0903). The engine is entered again afterwards and resumes at that address"
  },
  {
   "address": 3861,
   "type": "line",
   "text": "The second half of run_event: with module X, saves the return address and jumps to run_module"
  },
  {
   "address": 3877,
   "type": "line",
   "text": "Prints the text that follows the JSR: two bytes of screen address, then characters up to a zero, and returns to the byte after the zero"
  },
  {
   "address": 3913,
   "type": "line",
   "text": "Reads the byte at ($2C), steps the pointer on and sets Z if it is zero"
  },
  {
   "address": 3917,
   "type": "line",
   "text": "next_byte's second entry, which steps the pointer without reading"
  },
  {
   "address": 3926,
   "type": "line",
   "text": "Prints a space"
  },
  {
   "address": 3928,
   "type": "line",
   "text": "Prints character A at the screen pointer ($2E) in white (its colour byte is found by flipping the pointer's high byte with $DC, $04 to $D8) and steps the pointer on"
  },
  {
   "address": 3955,
   "type": "line",
   "text": "Prints character $D4 in red: the mark in front of each player's name in the tables"
  },
  {
   "address": 3971,
   "type": "line",
   "text": "The engine's screen: black border, cyan background, multicolour text with the character set at $2000 and the screen at $0400, sprites off. Fills the screen with character 0 in cyan and draws the top and bottom borders (characters $B9 and $BA) and the striped line under the title row"
  },
  {
   "address": 4090,
   "type": "line",
   "text": "Prints the name of the world record holder for event_num"
  },
  {
   "address": 4100,
   "type": "line",
   "text": "Prints X characters from address A/Y at the screen pointer"
  },
  {
   "address": 4114,
   "type": "line",
   "text": "Prints the name of event event_num"
  },
  {
   "address": 4117,
   "type": "line",
   "text": "Prints the name of event X"
  },
  {
   "address": 4123,
   "type": "line",
   "text": "Prints the zero-ended text at address A/Y"
  },
  {
   "address": 4133,
   "type": "line",
   "text": "Prints the zero-ended text at ($2C)"
  },
  {
   "address": 4139,
   "type": "line",
   "text": "20 x the event, the offset of each event's world record from $0B00"
  },
  {
   "address": 4147,
   "type": "line",
   "text": "Prints the world record's result for event_num, two spaces further right for gymnastics"
  },
  {
   "address": 4177,
   "type": "line",
   "text": "Shows the standings between events: works out each player's points, sorts the players and lists \"COMPETITOR G S B TOTAL\" with each player's name, medal counts and points"
  },
  {
   "address": 4192,
   "type": "line",
   "text": "Text for print_inline: screen address $051B (row 7, column 3), then \"COMPETITOR         G  S  B  TOTAL\" and a zero"
  },
  {
   "address": 4228,
   "type": "line",
   "text": "Lists each player with the red marker, the name and tag, the medal counts and the points"
  },
  {
   "address": 4270,
   "type": "line",
   "text": "Prints the 16 characters of player Y's name and country tag"
  },
  {
   "address": 4281,
   "type": "line",
   "text": "Prints a space and then six characters at ($2C): a player's result"
  },
  {
   "address": 4289,
   "type": "line",
   "text": "Prints a player's gold, silver and bronze counts as single digits, then their points as a number up to 255"
  },
  {
   "address": 4312,
   "type": "line",
   "text": "Each player's points: 5 for a gold, 3 for a silver and 1 for a bronze, stored over the score"
  },
  {
   "address": 4342,
   "type": "line",
   "text": "Prints two spaces and the digit A"
  },
  {
   "address": 4355,
   "type": "line",
   "text": "Prints three spaces and A as a decimal number, a leading zero shown as a space"
  },
  {
   "address": 4391,
   "type": "line",
   "text": "For a player with a score that is not zero and a place better than third ($3A): counts the medal and prints GOLD, SILVER or BRONZE"
  },
  {
   "address": 4430,
   "type": "line",
   "text": "Low bytes of the addresses of \"GOLD\", \"SILVER\" and \"BRONZE\""
  },
  {
   "address": 4433,
   "type": "line",
   "text": "High bytes of the medal names' addresses"
  },
  {
   "address": 4436,
   "type": "line",
   "text": "\"PRACTICE WHICH EVENT?\" followed by the event list (see $1172)"
  },
  {
   "address": 4442,
   "type": "line",
   "text": "Text for print_inline: screen address $04A3 (row 4, column 3), then \"PRACTICE WHICH EVENT?\" and a zero"
  },
  {
   "address": 4466,
   "type": "line",
   "text": "Lists the eight events numbered 1-8 and lets the player pick one; stores it in event_num and event_choice"
  },
  {
   "address": 4531,
   "type": "line",
   "text": "\"CONTESTANT\" and six spaces, the name every record gets in practice"
  },
  {
   "address": 4547,
   "type": "line",
   "text": "Zeroes the medal counts; registers the players afresh, or, when there are players already, shows them and asks \"IS THIS CORRECT?\", registering again on N"
  },
  {
   "address": 4574,
   "type": "line",
   "text": "\"IS THIS CORRECT?\" over the list of names with Y) YES and N) NO; returns the choice in X"
  },
  {
   "address": 4589,
   "type": "line",
   "text": "Text for print_inline: screen address $04CB (row 5, column 3), then \"IS THIS CORRECT?\" and a zero"
  },
  {
   "address": 4608,
   "type": "line",
   "text": "Prints \"Y) YES\""
  },
  {
   "address": 4611,
   "type": "line",
   "text": "Text for print_inline: screen address $051D (row 7, column 5), then \"Y)  YES\" and a zero"
  },
  {
   "address": 4621,
   "type": "line",
   "text": "Prints \"N) NO\""
  },
  {
   "address": 4624,
   "type": "line",
   "text": "Text for print_inline: screen address $056D (row 9, column 5), then \"N)  NO\" and a zero"
  },
  {
   "address": 4633,
   "type": "line",
   "text": "Lists the players' names under the question and waits for Y or N"
  },
  {
   "address": 4671,
   "type": "line",
   "text": "Zeroes the three medal counts in all eight records, by stepping X through 0, $20 ... $E0 and then on to 1, $21 ... and 2, $22 ...: the carry from $E0 + $20 moves it to the next byte"
  },
  {
   "address": 4690,
   "type": "line",
   "text": "Zeroes the three score bytes of all eight records and fills their six characters of result text with spaces, stepping through the records as clear_medals does"
  },
  {
   "address": 4727,
   "type": "line",
   "text": "Low bytes of the addresses of the eight event names at $1287"
  },
  {
   "address": 4735,
   "type": "line",
   "text": "High bytes of the event names' addresses"
  },
  {
   "address": 4743,
   "type": "line",
   "text": "The event names, each ended by a zero: POLE VAULT, PLATFORM DIVING, 4x400m RELAY, 100m DASH, GYMNASTICS, FREESTYLE RELAY, 100m FREESTYLE, SKEET SHOOTING. The m is glyph $B8 and the x in 4x400 glyph $40"
  },
  {
   "address": 4850,
   "type": "line",
   "text": "For each event, one less than the number of spaces printed after its name and colon in the world record list, so the holders' names line up in one column"
  },
  {
   "address": 4858,
   "type": "line",
   "text": "The medal names GOLD, SILVER and BRONZE, each ended by a zero"
  },
  {
   "address": 4877,
   "type": "line",
   "text": "The results of one event: sorts the players, fixes pole vault's \"m\", checks for a world record, and lists the contestants with their results, giving tied players the same place and the first three places their medals; then the winner's ceremony and silence"
  },
  {
   "address": 4892,
   "type": "line",
   "text": "Text for print_inline: screen address $060B (row 13, column 3), then \"CONTESTANTS        SCORE\" and a zero"
  },
  {
   "address": 4919,
   "type": "line",
   "text": "Lists the players in order with their results; equal scores share a place, and the first three places get their medals"
  },
  {
   "address": 4996,
   "type": "line",
   "text": "The medal ceremony: draws the winner's flag in the middle of the screen and sets its multicolour colours, flashes the band behind it for 60 frames, then plays the winner's country's tune while it flashes, and goes on flashing after the tune until the button is pressed"
  },
  {
   "address": 5027,
   "type": "line",
   "text": "The ceremony's band: from raster line $4D to $8D the background is white and the first multicolour the flag's; outside it the screen's own colours. Two music steps a frame, one at each of the two lines; runs until the tune has ended and the count in $16 has run out"
  },
  {
   "address": 5074,
   "type": "line",
   "text": "Compares the score of the record at X with the next record's; Z set when they are equal"
  },
  {
   "address": 5097,
   "type": "line",
   "text": "After the pole vault, turns each player's \"M\" in the result into the small m glyph"
  },
  {
   "address": 5123,
   "type": "line",
   "text": "Compares the winner's score with event_num's world record; when it is equal or better, shows \"NEW WORLD RECORD FOR\" the event with the old record and the new, copies the winner's name, result and score into the table, and saves the table to disk"
  },
  {
   "address": 5191,
   "type": "line",
   "text": "The new world record screen's text and the old record's line"
  },
  {
   "address": 5194,
   "type": "line",
   "text": "Text for print_inline: screen address $04CB (row 5, column 3), then \"NEW WORLD RECORD FOR\" and a zero"
  },
  {
   "address": 5218,
   "type": "line",
   "text": "Prints the event's name and the old record's heading"
  },
  {
   "address": 5227,
   "type": "line",
   "text": "Text for print_inline: screen address $051B (row 7, column 3), then \"OLD RECORD:\" and a zero"
  },
  {
   "address": 5241,
   "type": "line",
   "text": "Prints the old holder's name and result and the new record's heading"
  },
  {
   "address": 5253,
   "type": "line",
   "text": "Text for print_inline: screen address $056B (row 9, column 3), then \"NEW RECORD:\" and a zero"
  },
  {
   "address": 5267,
   "type": "line",
   "text": "Returns, leaving the new record's line for check_record to fill"
  },
  {
   "address": 5268,
   "type": "line",
   "text": "Draws flag Y (a country number) ten characters wide and five high on the screen at $04D7 with its colours, and sets the two multicolour colours from flag_colours"
  },
  {
   "address": 5326,
   "type": "line",
   "text": "Copies a 10 x 5 block from the flag chart (78 bytes a line) to the screen (40 a line)"
  },
  {
   "address": 5363,
   "type": "line",
   "text": "Low bytes of where each country's flag starts in the character map of the flag chart, by country number (zeros for the unused numbers)"
  },
  {
   "address": 5385,
   "type": "line",
   "text": "High bytes of the flags' places in the character map"
  },
  {
   "address": 5407,
   "type": "line",
   "text": "Low bytes of where each flag starts in the colour map of the flag chart"
  },
  {
   "address": 5429,
   "type": "line",
   "text": "High bytes of the flags' places in the colour map"
  },
  {
   "address": 5451,
   "type": "line",
   "text": "Each country's two multicolour colours in one byte: low four bits for $D022, high four bits for $D023"
  },
  {
   "address": 5475,
   "type": "line",
   "text": "Saves the world records safely: writes $0B00-$0B9F to drive 8 as WR2, then on success scratches WR, renames WR2 to WR, scratches WR2 and initialises the drive"
  },
  {
   "address": 5553,
   "type": "line",
   "text": "Sends the command of A characters at X/Y on channel 15 of drive 8 and closes it"
  },
  {
   "address": 5567,
   "type": "line",
   "text": "Closes file 15"
  },
  {
   "address": 5572,
   "type": "line",
   "text": "The drive commands save_records sends: \"S0:WR2\" (also read as \"S0:WR\" with five characters), \"R0:WR=0:WR2\" and \"I\"; \"WR2\" is also the name the records are saved under"
  },
  {
   "address": 5590,
   "type": "line",
   "text": "Sorts the player records by score, highest first, swapping whole records"
  },
  {
   "address": 5657,
   "type": "line",
   "text": "Puts the players in a random order: swaps each record with one chosen at random"
  },
  {
   "address": 5687,
   "type": "line",
   "text": "Swaps the first 29 bytes of the records at X and Y (the spare bytes 29-31 stay where they are)"
  },
  {
   "address": 5710,
   "type": "line",
   "text": "The byte before record_starts, read when an index counts from 1"
  },
  {
   "address": 5711,
   "type": "line",
   "text": "The offset of each player's record from $0800: 0, $20 ... $E0"
  },
  {
   "address": 5719,
   "type": "line",
   "text": "A random number below the number of players, made by adding the count to a random byte until it carries"
  },
  {
   "address": 5729,
   "type": "line",
   "text": "The random number generator: a shift register in $08FD-$08FE fed back from its own bits, with a counter at $08FF stirred in. Stepped every frame by read_stick too"
  },
  {
   "address": 5754,
   "type": "line",
   "text": "menu_select for two choices (Y or N) with the cursor lower down"
  },
  {
   "address": 5763,
   "type": "line",
   "text": "Menu cursor: an arrow sprite moved up and down the A options by the joystick, with a delay before it repeats, starting at choice X. The button, a number key or Y and N pick an option, which it returns in X"
  },
  {
   "address": 5872,
   "type": "line",
   "text": "Waits until 15 frames have passed with the button and every key up"
  },
  {
   "address": 5893,
   "type": "line",
   "text": "Puts the arrow sprite (pointer $C3, blue) beside choice $30"
  },
  {
   "address": 5920,
   "type": "line",
   "text": "Waits for the button and every key to be released and then for the button. Nothing calls it"
  },
  {
   "address": 5929,
   "type": "line",
   "text": "Screen offsets of the menu lines, every other row: low bytes"
  },
  {
   "address": 5937,
   "type": "line",
   "text": "Screen offsets of the menu lines: high bytes"
  },
  {
   "address": 5945,
   "type": "line",
   "text": "Screen offsets of eight lines one row apart: low bytes"
  },
  {
   "address": 5953,
   "type": "line",
   "text": "Screen offsets of eight lines one row apart: high bytes"
  },
  {
   "address": 5961,
   "type": "line",
   "text": "Waits for raster line $FA and the next line, then steps the random generator and reads the joystick in port 2 ($DC00); a reading the same two frames running is kept as the steady one in $36. Returns Z set when the button is down"
  },
  {
   "address": 5995,
   "type": "line",
   "text": "Waits for raster line A"
  },
  {
   "address": 6001,
   "type": "line",
   "text": "The addresses of the 20 tunes, low byte first. tune_offsets ($1E58) picks one for each tune number"
  },
  {
   "address": 6002,
   "type": "line",
   "text": "High bytes of tune_table's addresses, read with $1771's low bytes"
  },
  {
   "address": 6041,
   "type": "line",
   "text": "The tune for Spain (country 11). Each line of a tune is four bytes: the notes of voices 1, 2 and 3 (indexes into the frequency tables, 0 a rest) and a length (index into note_lengths); $FF ends the tune"
  },
  {
   "address": 6242,
   "type": "line",
   "text": "The tune for Norway (country 19)"
  },
  {
   "address": 6351,
   "type": "line",
   "text": "The tune for Ireland (country 20)"
  },
  {
   "address": 6504,
   "type": "line",
   "text": "The tune for Denmark (country 12)"
  },
  {
   "address": 6697,
   "type": "line",
   "text": "The tune for West Germany (country 3)"
  },
  {
   "address": 6766,
   "type": "line",
   "text": "The tune for Australia (country 13)"
  },
  {
   "address": 6863,
   "type": "line",
   "text": "The tune for Japan (country 16)"
  },
  {
   "address": 7024,
   "type": "line",
   "text": "The tune for the USSR (country 8)"
  },
  {
   "address": 7137,
   "type": "line",
   "text": "The tune for Canada (country 9)"
  },
  {
   "address": 7222,
   "type": "line",
   "text": "The tune for Mexico (country 10)"
  },
  {
   "address": 7315,
   "type": "line",
   "text": "The tune for France (country 1)"
  },
  {
   "address": 7396,
   "type": "line",
   "text": "The tune for the USA (country 0): in voice 3, notes $19, $16, $12, $16, $19, $1E, three and four semitones apart, the falling and rising chord of The Star-Spangled Banner's opening"
  },
  {
   "address": 7501,
   "type": "line",
   "text": "The tune for Great Britain (country 2)"
  },
  {
   "address": 7570,
   "type": "line",
   "text": "SID frequencies of the 44 notes, low bytes; note 0 is silence"
  },
  {
   "address": 7614,
   "type": "line",
   "text": "SID frequencies of the notes, high bytes"
  },
  {
   "address": 7658,
   "type": "line",
   "text": "Note lengths in music steps, picked by the fourth byte of a tune line: 23 values from 4 to 192"
  },
  {
   "address": 7682,
   "type": "line",
   "text": "Silences the SID and sets it up for the music: attack/decay $21 and sustain/release $84 on all three voices, pulse width $0400, full volume; no tune playing"
  },
  {
   "address": 7743,
   "type": "line",
   "text": "Starts tune Y, unless one with a lower place in tune_table is already playing"
  },
  {
   "address": 7768,
   "type": "line",
   "text": "For each tune number, the offset of its address in tune_table. Tune numbers are country numbers, so a winner's country number picks its anthem; numbers 6 and 7, which no country has, are the final standings tune (6) and the world records tune (7)"
  },
  {
   "address": 7792,
   "type": "line",
   "text": "One step of the music: counts down the note's length and lifts the gates for the last four steps; at the end reads the next line, sets all three voices' frequencies and gates them on (pulse for voices 1 and 2, sawtooth for voice 3)"
  },
  {
   "address": 7906,
   "type": "line",
   "text": "Stops the music: zeroes the voices' frequencies and marks no tune playing"
  },
  {
   "address": 7931,
   "type": "line",
   "text": "261 zero bytes between the music and the character set"
  },
  {
   "address": 8192,
   "type": "line",
   "text": "The engine's character set, 256 characters of 8 bytes in multicolour, at $2000 ($D018 = $18): letters and digits at their ASCII codes, the border and stripe characters ($B9-$BB), the m glyph $B8, and the multicolour pieces the flags are drawn with. Its last characters ($D5 on) are not a separate font: the flag chart's character map starts inside them at $26A8"
  },
  {
   "address": 9216,
   "type": "line",
   "text": "The character set, characters $80-$D4, and from $26A8 the flag chart that shares its last bytes"
  },
  {
   "address": 9896,
   "type": "line",
   "text": "The flag chart's character map, line 0 of the first band of flags (USA to Italy): 78 characters, six flags of 13 columns. The chart is 18 lines: three bands of six flags, each band five lines of flag and a line of country names, 78 columns wide and wrapping, so the registration screen can scroll it sideways"
  },
  {
   "address": 9974,
   "type": "line",
   "text": "The flag chart's character map, first band, line 1"
  },
  {
   "address": 10052,
   "type": "line",
   "text": "First band, line 2"
  },
  {
   "address": 10130,
   "type": "line",
   "text": "First band, line 3"
  },
  {
   "address": 10208,
   "type": "line",
   "text": "First band, line 4"
  },
  {
   "address": 10286,
   "type": "line",
   "text": "First band's country names: U.S.A., FRANCE, G. BRITAIN, W. GERMANY, AUSTRIA, ITALY"
  },
  {
   "address": 10364,
   "type": "line",
   "text": "Second band of flags (USSR to Australia), line 0"
  },
  {
   "address": 10442,
   "type": "line",
   "text": "Second band, line 1"
  },
  {
   "address": 10520,
   "type": "line",
   "text": "Second band, line 2"
  },
  {
   "address": 10598,
   "type": "line",
   "text": "Second band, line 3"
  },
  {
   "address": 10676,
   "type": "line",
   "text": "Second band, line 4"
  },
  {
   "address": 10754,
   "type": "line",
   "text": "Second band's names: U.S.S.R., CANADA, MEXICO, SPAIN, DENMARK, AUSTRALIA"
  },
  {
   "address": 10832,
   "type": "line",
   "text": "Third band of flags (Japan to Brazil), line 0"
  },
  {
   "address": 10910,
   "type": "line",
   "text": "Third band, line 1"
  },
  {
   "address": 10988,
   "type": "line",
   "text": "Third band, line 2"
  },
  {
   "address": 11066,
   "type": "line",
   "text": "Third band, line 3"
  },
  {
   "address": 11144,
   "type": "line",
   "text": "Third band, line 4"
  },
  {
   "address": 11222,
   "type": "line",
   "text": "Third band's names: JAPAN, NETHERLANDS, EPYX, NORWAY, IRELAND, BRAZIL"
  },
  {
   "address": 11300,
   "type": "line",
   "text": "The flag chart's colour map, first band, line 0 (the colour RAM value of each character; names need none, they are yellow)"
  },
  {
   "address": 11378,
   "type": "line",
   "text": "Colour map, first band, line 1"
  },
  {
   "address": 11456,
   "type": "line",
   "text": "Colour map, first band, line 2"
  },
  {
   "address": 11534,
   "type": "line",
   "text": "Colour map, first band, line 3"
  },
  {
   "address": 11612,
   "type": "line",
   "text": "Colour map, first band, line 4"
  },
  {
   "address": 11690,
   "type": "line",
   "text": "Colour map, second band, line 0"
  },
  {
   "address": 11768,
   "type": "line",
   "text": "Colour map, second band, line 1"
  },
  {
   "address": 11846,
   "type": "line",
   "text": "Colour map, second band, line 2"
  },
  {
   "address": 11924,
   "type": "line",
   "text": "Colour map, second band, line 3"
  },
  {
   "address": 12002,
   "type": "line",
   "text": "Colour map, second band, line 4"
  },
  {
   "address": 12080,
   "type": "line",
   "text": "Colour map, third band, line 0"
  },
  {
   "address": 12158,
   "type": "line",
   "text": "Colour map, third band, line 1"
  },
  {
   "address": 12236,
   "type": "line",
   "text": "Colour map, third band, line 2"
  },
  {
   "address": 12314,
   "type": "line",
   "text": "Colour map, third band, line 3"
  },
  {
   "address": 12392,
   "type": "line",
   "text": "Colour map, third band, line 4"
  },
  {
   "address": 12470,
   "type": "line",
   "text": "Ten bytes after the colour map that nothing reads: $81 and the text \"31,22,7,4\""
  },
  {
   "address": 12480,
   "type": "line",
   "text": "Sprite $C3: the menu cursor arrow"
  },
  {
   "address": 12544,
   "type": "line",
   "text": "Sprites $C4-$C9 ($3100-$327F): the frame drawn round the flag being chosen on the registration screen, in six pieces"
  },
  {
   "address": 12928,
   "type": "line",
   "text": "The registration screen: \"ENTER YOUR NAME\", then \"PICK YOUR COUNTRY\" from the scrolling flag chart, for up to eight players. Clears its variables, draws the chart, sets up the frame sprites and its own raster interrupts, then loops once a frame: draw the chart, flash the frame, run the steps of entry, read the joystick"
  },
  {
   "address": 12959,
   "type": "line",
   "text": "Sets up the six sprites of the flag frame: pointers $C4-$C9, black, the first four doubled in both directions, and their places"
  },
  {
   "address": 13014,
   "type": "line",
   "text": "The frame sprites' starting x and y, and the x high bits"
  },
  {
   "address": 13031,
   "type": "line",
   "text": "The frame sprites' pointers, $C4-$C9 (after a $20 for the cursor's slot)"
  },
  {
   "address": 13037,
   "type": "line",
   "text": "Turns off the CIA's timer interrupt and starts a chain of raster interrupts at line $FB through registration_irq ($3311)"
  },
  {
   "address": 13073,
   "type": "line",
   "text": "The registration screen's raster interrupt: runs the next of eight handlers in turn, taken from $333A/$3342 and pushed for an RTS, and sets the line of the next. The handlers change the background and multicolour colours between the bands of flags, so each band has its own; two of them step the music, so it plays two steps a frame, and one sets the frame flag"
  },
  {
   "address": 13106,
   "type": "line",
   "text": "The raster lines of the eight handlers: $FB, $EB, $C0, $AB, $80, $78, $6C, $40"
  },
  {
   "address": 13114,
   "type": "line",
   "text": "High bytes of the handlers' addresses minus one (all $33)"
  },
  {
   "address": 13122,
   "type": "line",
   "text": "Low bytes of the handlers' addresses minus one"
  },
  {
   "address": 13130,
   "type": "line",
   "text": "Handler for line $FB: steps the music, then leaves the interrupt"
  },
  {
   "address": 13133,
   "type": "line",
   "text": "Ends a raster interrupt: black border, acknowledges the VIC and returns"
  },
  {
   "address": 13150,
   "type": "line",
   "text": "Handler for line $40, above the first band: background white, multicolours blue ($06) and red ($02)"
  },
  {
   "address": 13168,
   "type": "line",
   "text": "Handler for lines $6C, $AB and $EB, the gaps under each band: background black"
  },
  {
   "address": 13176,
   "type": "line",
   "text": "Handler for line $80, above the second band: background white, first multicolour yellow ($07)"
  },
  {
   "address": 13189,
   "type": "line",
   "text": "Handler for line $C0, above the third band: background white, multicolours light blue ($0E) and yellow ($07)"
  },
  {
   "address": 13207,
   "type": "line",
   "text": "Handler for line $78: counts frames in $14/$15, sets the frame flag in $18 and steps the music"
  },
  {
   "address": 13222,
   "type": "line",
   "text": "Zeroes the registration screen's variables, $11-$46"
  },
  {
   "address": 13232,
   "type": "line",
   "text": "Scans the keyboard and returns the key pressed as a character in A and $23, or $FF when none: finds the row and column through scan_row ($342B) and looks the pair up in keymap"
  },
  {
   "address": 13275,
   "type": "line",
   "text": "The eight row masks written to $DC00, one row low at a time"
  },
  {
   "address": 13283,
   "type": "line",
   "text": "The column bits, one per column, compared with what $DC01 reads"
  },
  {
   "address": 13291,
   "type": "line",
   "text": "The keyboard as characters, row by row: DEL ($08), RETURN ($0D), letters, digits, space, a full stop; $FF for keys the entry ignores"
  },
  {
   "address": 13355,
   "type": "line",
   "text": "Reads keyboard row A: makes sure no joystick button or direction is pulling the lines low first (all high, $DC01 = $FF), then reads the column bits"
  },
  {
   "address": 13384,
   "type": "line",
   "text": "The registration's steps, by $22: 0 start with no players; 1 show the next player's name line; 2 type the name; 3 \"PICK YOUR COUNTRY\" line; 4 choose the flag; 5 all registered: \"IS THIS CORRECT?\", and Y restarts the engine ($0900) to carry on with the event"
  },
  {
   "address": 13439,
   "type": "line",
   "text": "Typing a name: up to ten characters at $0417, DEL to rub one out (with a short pause), RETURN to finish. A name the same as an earlier player's is refused; an empty name ends the registration when there is at least one player"
  },
  {
   "address": 13557,
   "type": "line",
   "text": "Compares the typed name with each registered player's; on a match it drops its own return address so the RETURN is ignored"
  },
  {
   "address": 13601,
   "type": "line",
   "text": "Step 3: writes \"PICK YOUR COUNTRY\" with the player's name in the top line and shows the frame sprites"
  },
  {
   "address": 13647,
   "type": "line",
   "text": "The line for step 3, 40 characters: \"B.B.MCGHIE PICK YOUR COUNTRY\". The first ten letters, a name, are always covered by the player's name before the line is seen"
  },
  {
   "address": 13687,
   "type": "line",
   "text": "Three letters for each country number, 24 in all: USA FRA GBR FRG AUT ITA, then XXX XXX for the unused 6 and 7, URS CAN MEX ESP DEN AUS, XXX XXX, JPN HOL EPX NOR IRL BRA, XXX XXX"
  },
  {
   "address": 13688,
   "type": "line",
   "text": "country_codes read from its second letter"
  },
  {
   "address": 13689,
   "type": "line",
   "text": "country_codes read from its third letter"
  },
  {
   "address": 13753,
   "type": "line",
   "text": "The last two countries' letters, IRL and BRA, and the two unused XXX"
  },
  {
   "address": 13759,
   "type": "line",
   "text": "Step 4 with the joystick: left and right scroll the chart by one flag, 13 columns over 13 frames, the chosen column wrapping round the six flags of a band; up and down move the frame between the three bands"
  },
  {
   "address": 13868,
   "type": "line",
   "text": "Column change for each joystick direction (-1, 0 or +1)"
  },
  {
   "address": 13884,
   "type": "line",
   "text": "Frame's y change for each joystick direction (-4, 0 or +4 lines)"
  },
  {
   "address": 13900,
   "type": "line",
   "text": "Moves the chart's left column ($1F) by the column change, wrapping at 78"
  },
  {
   "address": 13922,
   "type": "line",
   "text": "Moves the frame sprites up or down by the line change"
  },
  {
   "address": 13938,
   "type": "line",
   "text": "Copies the flag chart onto the screen from column $1F, wrapping at 78: the five flag lines of each band with their colours and the names line"
  },
  {
   "address": 14173,
   "type": "line",
   "text": "Cycles the frame's colour through frame_colours, and in step 4 takes a choice: the button or S picks the flag under the frame, stores the country and plays its anthem; when it ends, the next player, or step 5 after the eighth"
  },
  {
   "address": 14262,
   "type": "line",
   "text": "The frame's eight colours in turn: black, dark grey, grey, light grey, white, light grey, grey, dark grey"
  },
  {
   "address": 14270,
   "type": "line",
   "text": "Stores the chosen country's number and its \"(XXX)\" tag in the player's record"
  },
  {
   "address": 14326,
   "type": "line",
   "text": "Draws the registration screen: the chart from column $28, the frame at the first flag, and the colours, the top line \"#1 ENTER YOUR NAME\" and the bars between the bands"
  },
  {
   "address": 14349,
   "type": "line",
   "text": "Draws the screen's colours, the top line and the bars, and puts the player's number in it"
  },
  {
   "address": 14427,
   "type": "line",
   "text": "\"#1 ENTER YOUR NAME\" and padding, 40 characters"
  },
  {
   "address": 14467,
   "type": "line",
   "text": "The tune for Epyx, the 19th country (number 18)"
  },
  {
   "address": 14632,
   "type": "line",
   "text": "Tune 7, played on the world records screen"
  },
  {
   "address": 14977,
   "type": "line",
   "text": "The tune for Brazil (country 21)"
  },
  {
   "address": 15082,
   "type": "line",
   "text": "The copy protection: opens a buffer channel and asks the drive with \"U1: 5 0 35 1\" to read track 35, sector 1, which on the original disk fails; the drive's error channel must answer 29. Tries six times. Returns Z set when the answer was right"
  },
  {
   "address": 15163,
   "type": "line",
   "text": "Closes channels 5 and 15, keeping the flags"
  },
  {
   "address": 15208,
   "type": "line",
   "text": "\"#\" (the buffer channel's name), \"U1: 5 0 35 1\" and \"I\", the drive commands of the check"
  },
  {
   "address": 15222,
   "type": "line",
   "text": "Tune 6, played over the final standings"
  },
  {
   "address": 15335,
   "type": "line",
   "text": "The tune for the Netherlands (country 17)"
  },
  {
   "address": 15464,
   "type": "line",
   "text": "The tune for Austria (country 4)"
  },
  {
   "address": 15549,
   "type": "line",
   "text": "The tune for Italy (country 5)"
  }
 ]
}